cwitools.coordinatesΒΆ

Tools for working with headers and world coordinate systems.

Functions

get_header1d(header3d) Remove the spatial axes from a a 3D FITS Header.
get_header2d(header3d) Remove the spectral axis from a 3D FITS Header
get_indices(w1, w2, header) Returns wavelength layer indices for two given wavelengths in Angstrom.
get_pkpc_per_px(wcs[, redshift]) Return the physical size of pixels in proper kpc.
get_wav_axis(header) Returns a NumPy array representing the wavelength axis of a cube.