Closed jmangum closed 3 years ago
Hmm, this might be simpler than I thought and not really a bug; can you change:
cubespec_mJyperbeam = cubespec.to(u.mJy)
to
cubespec_mJyperbeam = cubespec.to(u.mJy/u.beam)
and see if that fixes it?
I think it should. v0.6.0 should have proper per beam conversions/handling.
Yup, that fixed it. In fact, this looks like a more appropriate syntax for flux conversion anyway. Thanks!
-- Jeff
Using a script which functioned properly with spectral-cube 0.4.5, after upgrade to 0.6.0 get the following error: