IXTinstrument
Revision as of 14:24, 4 August 2008 by Dean Whittaker (talk | contribs)
This object contains instrumental parameters such as the detector information and their mapping to different spectra. It must also contain all instrument types which can be present. Only one instrument type can be initialised at any one time, and at least one instrument type must be initialised.
Structure
The elements of the object are as follows:
Element | Type | Description |
---|---|---|
base | IXTbase | internal use |
inst_type | int | integer code describing type of instrument. |
name | char | name of instrument eg. het, mari |
source | IXTsource | Source information |
moderator | IXTmoderator | Moderator information |
ci | IXTchopper_instrument | chopper instrument specific information |
di | IXTdiffraction_instrument | diffraction instrument instrument specific information |
apertures(:) | IXTaperture(allocatable) | information for each aperture used in the instrument |
attenuator(:) | IXTattenuator(allocatable) | information for each attenuator used in the instrument |
spectra | IXTspectra | spectra information |
detector | IXTdetector(ptr) | pointer to a detector and its information (increments a counter within the detector object) |
F90 syntax
use IXMinstrument type(IXTinstrument)::inst type(IXTstatus):: status
Operations
The following operations may be performed on this data type: