reproject icon indicating copy to clipboard operation
reproject copied to clipboard

Correctly deal with different spectral axis conventions

Open astrofrog opened this issue 6 years ago • 0 comments

Currently we require datasets with spectral axes to have matching CTYPEs to be reprojected:

https://github.com/astropy/reproject/blob/master/reproject/interpolation/core.py#L45

Once SpectralCoord has been implemented (https://github.com/astropy/specutils/pull/524) and this has been connected to the FITS-WCS APE 14 API in astropy core, we should be able to relax the restriction in reproject since the spectral coordinates will be automatically converted from one convention to another.

astrofrog avatar Dec 06 '19 20:12 astrofrog