gwcs_from_array#

sunkit_spex.spectrum.spectrum.gwcs_from_array(array, flux_shape, spectral_axis_index=None)[source]#

Create a new WCS from provided tabular data. This defaults to being a GWCS object with a lookup table for the spectral axis and filler pixel to pixel identity conversions for spatial axes, if they exist.