MINC Programmer's Reference Manual | ||
---|---|---|
<<< Previous | Next >>> |
Of all of the variables, dimensions and attributes described here, only the variable MIimage and its dimensions are required to be present in a MINC file. Additional variables, dimensions and attributes may be present in the file -- unrecognised variables and attributes should be ignored.
A word on attribute conventions. All numeric values should be stored in one of the numeric types (NC_BYTE, NC_SHORT, NC_INT, NC_FLOAT or NC_DOUBLE). Some numeric attributes must be specified in a definite unit -- time attributes (such as MIrepetition_time and MIradionuclide_halflife) are given in seconds. Other attributes have an associated attribute that gives the unit -- e.g. MIinjection_dose and MIdose_units.
These attributes can be used with any variable. Fuller descriptions can be obtained from the NetCDF user's guide.
MIunits |
Specifies the units of the variable values as a string -- units should be compatible with the udunits library.
MIlong_name |
A string giving a textual description of the variable for human consumption.
MIvalid_range |
A vector of two numbers specifying the minimum and maximum valid values in the variable. For the MINC routines the order is not important. For the MIimage variable, this attribute (or MIvalid_max and MIvalid_min) should always be present unless the defaults of full range for integer types and [0.0,1.0] for floating point types is correct.
MIvalid_max |
A number giving the valid maximum for the variable.
MIvalid_min |
A number giving the valid minimum for the variable.
MI_FillValue |
Number to be used for filling in values in the variable that are not explicitly written.
MItitle |
A global string that provides a description of what is in the file.
MIhistory |
A global string that should store one line for each program that has modified the file. Each line should contain the program name and arguments.
<<< Previous | Home | Next >>> |
MINC Programmer's Reference Manual | MINC general attributes |