SALAT_PREP_DATA¶
SALAT_PREP_DATA
Take a standard SALSA level 4 cube and convert it such that it is accepted by external viewers, such as CARTA. This involves removal of empty dimensions or - if all 5 dimensions are in use - removing a dimension as selected by the user. Right now: Reduce dimensions.
CALLING SEQUENCE:
>>> import salat
>>> salat.prep_data(file)
Option | Description | Status | Default |
---|---|---|---|
file |
Path to the SALSA cube in FITS format. | required |
|
savedir |
Path to directory to save in | required |
./ |
Parameter | Description |
---|---|
N/A |
The new cube stored in the given location (i.e., savedir ) with the same name as the input CUBE, but with a '_modified-dimension' added. |
>>> import salat
>>> salat.prep_data(file)
------------------------------------------------------
------------ SALAT PREP DATA part of -------------
---- Solar Alma Library of Auxiliary Tools (SALAT)----
Done!
Back to the list of Python functions