Difference between revisions of "IXTmap"

From LIBISIS
Jump to navigation Jump to search
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
_*IXTmap*_
+
The IXTmap object is used to define groups of spectra into workspaces. They can be used as for the 'det_map' and 'det_mask' inputs to [[Homer and mgenie style functions#homer|homer]].
 +
It is possible to [[IXTmap and IXTmask from the matlab command line|create an IXTmap from the matlab command line]] or from a map file which has a [[Map File Format]]
  
 
The elements of the object are as follows:
 
The elements of the object are as follows:
  
{| border ="1" cellpadding="2"
+
{| {{Tablestyle}}
|+ '''IXTmask definition'''
 
!width="10%"|Element
 
!width="20%"|Type
 
!width="70%"|Brief Description
 
 
|-
 
|-
| work_no(:) || int(ptr) || workspace numbers
+
! {{Headcellstyle}} | Element
 +
! {{Headcellstyle}} | Type
 +
! {{Headcellstyle}} | Description
 
|-
 
|-
|   total_spec (:)  ||int (ptr) ||total number of spectra contributing to each workspace
+
| '''base'''
 +
| [[IXTbase]]
 +
| internal use
 
|-
 
|-
|   spec_ind (:) ||int (ptr) ||index to the first spectrum in each workspace in spec_no array
+
| '''work_no(:)'''
 +
|int(ptr)  
 +
|workspace numbers
 
|-
 
|-
|  spec_no (:) ||int (ptr) ||list of spectra used in all workspaces
+
| '''total_spec(:)'''
 +
|int (ptr)
 +
|total number of spectra contributing to each workspace
 +
|-
 +
| '''spec_ind(:) '''
 +
|int (ptr)
 +
|index to the first spectrum in each workspace in spec_no array
 +
|-
 +
'''spec_no(:)'''
 +
|int (ptr)  
 +
|list of spectra used in all workspaces
 
|}
 
|}
  
Line 33: Line 46:
  
 
The following operations may be performed on this data type:
 
The following operations may be performed on this data type:
*[General Operations]
+
*[[General Operations]]
*[Special Subroutines]
+
*[[Special Subroutines]]
  
 
Module specific functions
 
Module specific functions
*[IXFfileread_map]
+
*[[IXFfileread_map]]

Latest revision as of 14:00, 4 August 2008

The IXTmap object is used to define groups of spectra into workspaces. They can be used as for the 'det_map' and 'det_mask' inputs to homer. It is possible to create an IXTmap from the matlab command line or from a map file which has a Map File Format

The elements of the object are as follows:

Element Type Description
base IXTbase internal use
work_no(:) int(ptr) workspace numbers
total_spec(:) int (ptr) total number of spectra contributing to each workspace
spec_ind(:) int (ptr) index to the first spectrum in each workspace in spec_no array
spec_no(:) int (ptr) list of spectra used in all workspaces



F90 syntax


use IXMmap

type(IXTmap):: map
type(IXTstatus):: status

The following operations may be performed on this data type:

Module specific functions