Macro Execution

<< Click to Display Table of Contents >>

Navigation:  PKIN Data Processing > Configuration and Fitting of Kinetic Tissue Models > Macro Fitting >

Macro Execution

Existing macros can be executed to fit the measurements of the current region or all regions. First select the appropriate Macro from the list (Vt calculation in the example below).  To start the macro switch the fitting button to Macro fit, current region, or Macro fit, all regions as illustrated below.

MacroExecution

Note that if the Dialog box is checked, the macro contents will be shown in a dialog window as below

MacroExecutionDialog

This allows adjusting the preset fitting options and specifying a .kinPar file to which the parameters resulting from the fits will be written.

External Macro

Macros which are not stored in the default location can be loaded with the Load external macro entry. In the appearing dialog window select the macro from a database, or use Load from File System to browse for a .kmMacro file on the disk. The selected macro will be listed below the Load external macro entry.

externalMacro

Note that only one external macro is supported. If a different macro is selected, the previously listed external macro will be replaced.

Initial Parameters

The initial parameters of the models applied in the macro are retrieved from the corresponding Default Configurations of the model. This means, if specific initial parameters are to be applied, these model configurations should be stored beforehand and retrieved before macro execution with Settings from file as illustrated below.

RestoreModelConfiguration

An alternative is to prepare dedicated  users in the global PMOD configuration for different types of data analysis tasks, because the set of model default configurations is serialized per user between PMOD sessions.

UserConfig