Difference between revisions of "IXTspectra"

From LIBISIS
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
 
==Structure==
 
==Structure==
  
Line 16: Line 15:
 
| spec_no (:)  ||  int (ptr) ||  the spectrum #'s corresponding to workspace #'s  
 
| spec_no (:)  ||  int (ptr) ||  the spectrum #'s corresponding to workspace #'s  
 
|-
 
|-
| ndet (:) ||int (ptr) || number of detectors contributing to each spectrum  
+
| ndet (:) ||   int (ptr) || number of detectors contributing to each spectrum  
 
|-
 
|-
 
| det_index (:)  || int (ptr) || index to the first element in each detector array  
 
| det_index (:)  || int (ptr) || index to the first element in each detector array  
Line 43: Line 42:
 
*[[IXFpopulate_spectra]]
 
*[[IXFpopulate_spectra]]
 
*[[IXFgetdets_spectra]]
 
*[[IXFgetdets_spectra]]
*I[[XFcompare_spectra]]
+
*[[IXFcompare_spectra]]
 
*[[IXFwhitecompare_spectra]]
 
*[[IXFwhitecompare_spectra]]

Revision as of 08:07, 4 April 2008

Structure

The elements of the object are as follows:


Field Type Description
spec_lookup (:) int (ptr) lookup to spectra in the spec_no array, ie: spec_lookup(spectrum_no)=index of spectrum_no in spec_no(:) array
spec_no (:) int (ptr) the spectrum #'s corresponding to workspace #'s
ndet (:) int (ptr) number of detectors contributing to each spectrum
det_index (:) int (ptr) index to the first element in each detector array
det_no (:) int (ptr) detector #'s array

F90 syntax

 use IXMspectra
 
 type(IXTspectra):: spectra
 type([[IXTstatus]]):: status

Operations

The following operations may be performed on this data type:


Class Specific Operations: