Difference between revisions of "IXTinstrument"

From LIBISIS
Jump to navigation Jump to search
m
 
m
 
Line 13: Line 13:
 
! {{Headcellstyle}} | Description
 
! {{Headcellstyle}} | Description
 
|-
 
|-
| name
+
|'''base'''
 +
| [[IXTbase]]
 +
| internal use
 +
|-
 +
| '''inst_type'''
 +
| int
 +
| integer code describing type of instrument.
 +
|-
 +
| '''name'''
 
| char
 
| char
 
| name of instrument eg. het, mari
 
| name of instrument eg. het, mari
 
|-
 
|-
| source
+
| '''source'''
 
| [[IXTsource]]
 
| [[IXTsource]]
 
| Source information
 
| Source information
 
|-
 
|-
| moderator
+
| '''moderator'''
 
| [[IXTmoderator]]
 
| [[IXTmoderator]]
 
| Moderator information  
 
| Moderator information  
 
|-
 
|-
| ci
+
| '''ci'''
 
| [[IXTchopper_instrument]]
 
| [[IXTchopper_instrument]]
 
| chopper instrument specific information
 
| chopper instrument specific information
 
|-
 
|-
| di
+
| '''di'''
 
| [[IXTdiffraction_instrument]]
 
| [[IXTdiffraction_instrument]]
 
| diffraction instrument instrument specific information
 
| diffraction instrument instrument specific information
 
|-
 
|-
| apertures (:)
+
| '''apertures(:)'''
| [[IXTaperture]] (allocatable)
+
| [[IXTaperture]](allocatable)
 
| information for each aperture used in the instrument  
 
| information for each aperture used in the instrument  
 
|-
 
|-
| attenuator (:)
+
| '''attenuator(:)'''
| [[IXTattenuator]] (allocatable)
+
| [[IXTattenuator]](allocatable)
 
| information for each attenuator used in the instrument  
 
| information for each attenuator used in the instrument  
 
|-
 
|-
|spectra
+
|'''spectra'''
 
| [[IXTspectra]]
 
| [[IXTspectra]]
 
| spectra information  
 
| spectra information  
 
|-
 
|-
| detector
+
| '''detector'''
| [[IXTdetector]] (ptr)
+
| [[IXTdetector]](ptr)
 
| pointer to a detector and its information (increments a counter within the detector object)  
 
| pointer to a detector and its information (increments a counter within the detector object)  
 
|}  
 
|}  

Latest revision as of 14:24, 4 August 2008

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:


Class Specific Operations