herschel.ia.toolbox.util.FitsReaderTask |
fitsReader |
Java Task -
|
from herschel.ia.toolbox.util import FitsReaderTask |
Input-output
|
Description
Task to read and import arbitrary products in FITS files into HIPE.
Creates a "suitable" product (or dataset) from a FITS file, not necessarily from Herschel (it is capable of importing external
complex products).
Currently it deals with images, (wave based) spectra, cubes and spectral cubes.
It supports compressed (zip and gzip) fits files.
Examples
Example 1: Import (or read) guessing the product stored in a FITS file |
|
|
Example 2: Import (or read) the image stored in a FITS file |
|
|
Example 3: Same as above but using strings for the fitsType |
|
|
Jython Syntax |
data = fitsReader(<file> [, <fitsType>="guess"])
|
Limitations