Skip to content

Commit

Permalink
fix for gwcs#498
Browse files Browse the repository at this point in the history
  • Loading branch information
nden authored and pllim committed Dec 19, 2024
1 parent e5de986 commit 0dcd608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specutils/tests/test_spectrum1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def test_wcs_transformations():
with u.set_enabled_equivalencies(u.spectral()):
# After spacetelescope/gwcs#457 is merged and released, this can be changed to
# spec.wcs.world_to_pixel_values(np.arange(20, 30) * u.GHz)
spec.wcs.world_to_pixel(SpectralCoord(np.arange(20, 30) * u.GHz))
spec.wcs.world_to_pixel(SpectralCoord(np.arange(6.9e6, 1e7) * u.GHz))

# Test with a FITS WCS
my_wcs = fitswcs.WCS(header={'CDELT1': 1, 'CRVAL1': 6562.8, 'CUNIT1': 'Angstrom',
Expand Down

0 comments on commit 0dcd608

Please sign in to comment.