| Full Name: | herschel.hifi.dp.tools.HiClassTask |
| Type: | Jython Task - |
| Import: | from herschel.hifi.dp.tools import HiClassTask |
| Category: |
Export HIFI spectra to a FITS file that CLASS can read.
This task is designed to export Data (at least level 0.5: having gone through the instrument pipeline) to a FITS file that CLASS can understand. Datasets, HTP and ObservationContexts can be passed to the task. Passing the ObservationContext will result in all the level 2 data being converted to a CLASS readable FITS file. See the HIFI Data Reduction Guide for more information. For a complete documentation of the hiclass_tools and the HiClass object, please type >>> print herschel.hifi.dp.tools.hiclass_tools.__doc__
| Example 1: Simply export one dataset to a FITS file: | ||
|---|---|---|
|
||
| Example 2: Simply export one HIFI timeline product to a FITS file: | ||
|---|---|---|
|
||
| Example 3: Export an entire HifiTimelineProduct dataset by dataset: | ||
|---|---|---|
|
||
| Example 4: Export a system temperature spectrum | ||
|---|---|---|
|
||
| Example 5: Export all the system temperature spectra | ||
|---|---|---|
|
||
| Example 6: See what does the HiClass Product look like. | ||
|---|---|---|
|
||
| Example 7: the HiClassTask is a wrapper around the HiClass object defined in herschel/hifi/dp/tools/hiclass_tools.py. If you wish to directly use hiclass_tools.py and not use this task, then enter: | ||
|---|---|---|
|
||
| Jython Syntax |
|---|
|
|
| Properties |
|---|
Product product [INPUT, OPTIONAL, default=None] |
HifiSpectrumDataset dataset [INPUT, OPTIONAL, default=None] |
String fileName [INPUT, OPTIONAL, default=''] |
HiClass hiClassObj [INPUT, OPTIONAL, default=None] |
HiClass hiClassObj [OUTPUT, '', default=''] |
Boolean engineeringMode [INPUT, OPTIONAL, default=false] |
String fileName [INPUT, OPTIONAL, default='']
|
|
|---|---|
|
The name of the FITS file (path included) that you wish to generate. If left empty ('') then no file is created, which can be useful if you with to add several products/datasets into the same object. See examples. |
|
Boolean engineeringMode [INPUT, OPTIONAL, default=false]
|
|
|---|---|
|
Force the access to the calibration tree root. This parameter should be set to true (box checked) if the user has an up-to-date calibration tree and wants to get the following engineering parameters: - the chopper position (ELEVATIO) - the beam efficiency (BEAMEFF) - the forward efficiency (FORWEFF) Note that accesssing the calibration tree can take some time. Complete documentation of the HiClass object : >>> print herschel.hifi.dp.tools.hiclass_tools.__doc__ |
|