askap-vast / vast-post-processing

MIT License
0 stars 0 forks source link

Flux offset unit conversion calculated twice, both times incorrectly #86

Closed ddobie closed 5 months ago

ddobie commented 5 months ago

Flux offset converted to correct units with

flux_offset_mJy * (u.mJy.to(data_unit))

when it should be

(flux_offset_mJy*u.mJy).to(data_unit)