Home | Trees | Indices | Help |
|
---|
|
object --+ | ProductDescriptor --+ | FITSProductDescriptor
A SODA descriptor for FITS files.
On top of the normal product descriptor, this has an attribute hdr containing a copy of the image header, and a method changingAxis (see there).
There's also an attribute dataIsPristine that must be set to false if changes have been made. The formatter will spit out the original data otherwise, ignoring your changes.
Finally, there's a slices attribute provided explained in soda#fits_doWCSCutout that can be used by data functions running before it to do cutouts.
The FITSProductDescriptor is constructed like a normal ProductDescriptor.
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from |
Class Methods | |
Inherited from |
Class Variables | |
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
must be called before cutting out along axisIndex. axIndex is a FITS (1-based) axis index axIndex, parName the name of the parameter that causes the cutout. This will simply return if nobody has called changingAxis with that index before and raise a ValidationError otherwise. Data functions doing a cutout must call this before doing so; if they don't the cutout will probably be wrong when two conflicting constraints are given. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |