This configuration file's syntax is :
attributes = { '__syntax__' : 'aims_settings', 'spm_input_radio_convention' : 1, 'spm_input_spm2_normalization' : 1, 'spm_output_radio_convention' : 1, 'spm_output_spm2_normalization' : 1, 'spm_output_4d_volumes' : 1, 'nifti_output_4d_volumes' : 1, }
Meaning of the different attributes :
Table C.1. .aimsrc file attributes
Attribute | Description |
---|---|
spm_input_radio_convention |
Convention that will be used to read and display images in Analyze format. 0 : neurological convention 1 : radiological convention |
spm_input_spm2_normalization |
Indicates if normalized images in Analyze format must be read with SPM99 or SPM2 convention. 0 : SPM99, normalized images are always in neurological convention. This attributes has priority on spm_input_radio_convention attribute. 1 : SPM2, the orientation is variable. spm_input_radio_convention is used to determine the convention. |
spm_output_radio_convention |
Indicates the convention that must be used when writing files in Analyze format if there is no other indication. This is useful when you convert from a format (eg. GIS) to Analyze format. However, if the source image has already Analyze format attributes, this configuration has no effect since the convention is given by the Analyze format attributes. 0 : neurological convention. 1 : radiological convention. |
spm_output_spm2_normalization |
Indicates if normalized images must be written in a format that reflects SPM99 or SPM2 behaviour. If the source image is already in Analyze format, the convention stay the same unless the spm_force_output_convention attribute is set. 0 : SPM99 format 1 : SPM2 format |
spm_output_4d_volumes |
Indicates if writing 4D volumes in Analyze format is allowed. Indeed, SPM99 cannot read 4D volumes, but SPM2 can. 0 : forbids writing 4D volume. 1 : allows writing 4D volume. |
nifti_output_4d_volumes |
Idem with Nifti format. |
spm_force_output_convention |
Cet attribut permet de forcer l'écriture d'une image au format ANALYZE en utilisant la valeur des attributs spm_output_radio_convention etspm_output_spm2_normalization. Par exemple, si une image est en convention radiologique et que 0 : prend par défaut les caractéristiques de l'image. Par exemple, si une image au format Analyze est en convention radiologique et que l'attribut spm_output_radio_convention est à 0, alors l'image sera réécrite en convention radiologique. 1 : prend par défaut les caractéristiques des attributs spm_output_radio_convention et spm_output_spm2_normalization. Par exemple si une image au format Analyze est en convention radiologique et que l'attribut spm_output_radio_convention est à 0, alors l'image sera réécrite en convention neurologique. |
If this file is not configured, images (normalized or not) are written in radiological convention.