Difference between revisions of "IXTspectra"

From LIBISIS
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Structure==
 +
  
 
The elements of the object are as follows:
 
The elements of the object are as follows:
 +
  
 
{| {{Tablestyle}}
 
{| {{Tablestyle}}
Line 8: Line 11:
 
! {{Headcellstyle}} | Description
 
! {{Headcellstyle}} | 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  
+
|'''base'''
 +
| [[IXTbase]]
 +
| interal use
 +
|-
 +
| '''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  
+
| '''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  
 
|-
 
|-
| det_no (:)  || int (ptr)  || detector #'s array  
+
| '''det_no(:)''' || int (ptr)  || detector #'s array  
 
|}
 
|}
  
'''F90 syntax'''
+
==F90 syntax==
use IXMspectra
+
 
 +
<pre> use IXMspectra
 
   
 
   
 
  type(IXTspectra):: spectra
 
  type(IXTspectra):: spectra
  type([[IXTstatus]]):: status
+
  type([[IXTstatus]]):: status</pre>
 +
 
 +
==Operations==
 +
 
 +
 
 +
The following operations may be performed on this data type:
 +
 
 +
*[[General Operations]]
 +
*[[Special Subroutines]]
 +
 
 +
 
 +
Class Specific Operations:
 +
 
 +
*[[IXFpopulate_spectra]]
 +
*[[IXFgetdets_spectra]]
 +
*[[IXFcompare_spectra]]
 +
*[[IXFwhitecompare_spectra]]

Latest revision as of 15:54, 4 August 2008

Structure

The elements of the object are as follows:


Field Type Description
base IXTbase interal use
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: