Options#
- set_magia_options(varargin)#
Set default MAGIA options.
- Parameters:
varargin – Varargin explanation here.
- Returns:
magia_options – Default MAGIA options struct.
- Return type:
struct
- set_modelling_options(options)#
Creates a default modelling options struct for run_totalbody_turbo. TODO add comments for each parameter.
- Parameters:
tracer (
char array
) – Tracer determines used model (to some extent).frametimes (
Nx2 double array
) – Frametimes used in the study.
- Returns:
modelling_options – Modelling options struct for run_totalbody_turbo that contains default options.
- Return type:
struct
- set_study_specs(options)#
Creates a study_specs struct template with all the necessary fields that the user must fill.
- Parameters:
frames (
Nx2 double array, default: []
) – Frametimes of the study.tracer (
char array, default: ''
) – Tracer that was used in the study.scanner (
char array, default: ''
) – Used scanner in the study.dose (
double, default: NaN
) – Given dose in the study.weight (
double, default: NaN
) – Weight of the patient in the study.dc (
logical, default: NaN
) – If the data is decay corrected or not. 0 = no decay correction, 1 = decay corrected.mri_code (
char array, default: ''
) – Necessary if ROIs are defined using FreeSurfer or if spatial normalization is done via MRI.glucose (
double, default: NaN
) – Glucose uptake value.hct (
double, default: NaN
) – Hematocrit value.
- Returns:
study_specs – Specifies all necessary fields for study_specs that the user must fill before running TURBO.
- Return type:
struct
- set_turbo_options(options)#
Creates a struct containing settings for TURBO with default values.
- Parameters:
frametimes (
Nx2 array, default : []
) – Frametimes of the scan.tracer (
char array, default : ''
) – Used tracer
- Returns:
turbo_options – Struct containing all parameters controlling turbo. These values are set to default. You can modify these by altering the field values.
- Return type:
struct
Notes
There are also separate parameter structs study_info, modelling_options and magia_options that need to be initialized separately.