ftsdata.DoubleSidedOpdData
- class ftsdata.DoubleSidedOpdData(*args, hits=<object object>, **kwargs)[source]
Interferogram cube with a symmetric OPD axis, ZPD at the centre.
This is the usual case for a full double-sided FTS scan. The spectrum is obtained by a direct (centred) FFT of the whole interferogram, see
to_spectra().- __init__(*args, hits=<object object>, **kwargs)
Methods
__init__(*args[, hits])add(operand[, operand2])Performs addition by evaluating
self+operand.convert_unit_to(unit[, equivalencies])Returns a new
NDDataobject whose values have been converted to a new unit.divide(operand[, operand2])Performs division by evaluating
self/operand.from_array(opd, data[, hits, mask])Construct FTS data from arrays.
get_axis_from_repr(plane)Retrieve data axis from representation
max(**kwargs)mean(**kwargs)min(**kwargs)mip([axes, level, attr])Return a 'Multum In Parvo' of a given level on the data along given axes.
multiply(operand[, operand2])Performs multiplication by evaluating
self*operand.opd_trim([fraction])subtract(operand[, operand2])Performs subtraction by evaluating
self-operand.sum(**kwargs)to_dset([dset_mask, dset_uncertainty, ...])Create the IDIA HDF5 datasets and attributes from a FTSData object.
to_hdu([hdu_data, hdu_mask, ...])Creates an HDUList object from a FTSData object.
to_spectra([apodization, output_shape, ...])Invert a double-sided interferogram cube with a direct FFT.
Attributes
datandarray-like : The stored dataset.dtypenumpy.dtypeof this object's data.flagshitsndarra : Hits in the dataset, if any.
maskany type : Mask for the dataset, if any.
metanaxis_opdndiminteger dimensions of this object's data.
opd_axisopd_wcspsfImage representation of the PSF for the dataset.
readshapeshape tuple of this object's data.
sizeinteger size of this object's data.
uncertaintyany type : Uncertainty in the dataset, if any.
unitUnit: Unit for the dataset, if any.wcsany type : A world coordinate system (WCS) for the dataset, if any.
weightsReturn the weights as inverse variance regardless of the uncertainty type
write