spec_world_to_pix

FITS_tools.spectral_regrid.spec_world_to_pix(worldunit, wcs, axisnumber, unit)[source] [edit on github]

Given a WCS, an axis ID, and WCS location, return the pixel index value at a pixel location