-
Notifications
You must be signed in to change notification settings - Fork 1
FITS2ANA
Source code: fits2ana.pro
FITS2ANA reads a FITS file and returns ana structure(s). The input FITS file must contain all the necessary extensions and keywords. ANA2FITS creates the correct FITS files. An ANA structure is used by e.g. XCFIT_BLOCK, it is created by e.g. MK_ANALYSIS.
If the FITS file is a SPICE level 3 file, the data will be rearranged, so that XCFIT_BLOCK can use it. Since the data block is stored as the original data block from level 2.
anas = fits2ana( fitsfile [ ,headers_results=headers_results] [, headers_data=headers_data] [, headers_lambda=headers_lambda] [, headers_residuals=headers_residuals] [, headers_weights=headers_weights] [, headers_include=headers_include] [, headers_contants=headers_contants] )
Array of ANA structures, number of elements is the same as number of windows in the FITS file. Output is scalar if there is only one window. Output is scalar if there is only one window.
Name and path to a FITS file (e.g. SPICE level 3 file)
A pointer array, containing the headers of the results extensions as string arrays.
A pointer array, containing the headers of the lambda extensions as string arrays.
A pointer array, containing the headers of the residuals extensions as string arrays.
A pointer array, containing the headers of the weights extensions as string arrays.
A pointer array, containing the headers of the include extensions as string arrays.
A pointer array, containing the headers of the constants extensions as string arrays.