Open AstroRipples opened 2 years ago
I noticed that the latest astropy-provided reader is ultra-flakey compared to what was provided in version regions <0.5. DS9 files that are perfectly valid reading fails to read correctly with the new parsers. Unfortunately this is all I can say on the subject - haven't really used breizorro myself.
See e.g. https://github.com/ratt-ru/CubiCal/pull/465 on how to roll back with the API differences
Okay, underlying issue found 🥳 The WSclean image FITS header is taking values: -180 < CRVAL1
< 180, whereas it looks like breizorro
and MakeMask
both expect 0 < CRVAL1
< 360.
In this instance, the value was -120.41416666
; changing the value to 360 - (-120.4141666) = 239.5858333... (same as the DDF
image FITS header) fixes the problem.
well done!
Hi all. I've managed to get
breizorro
working now (thanks for adding the documentation yesterday!) but I'm encountering a new issue.I'm trying to use the
--subtract
and--merge
options to include very faint (but real) emission while excluding residual artefacts, but I'm encountering problems. Specifically,breizorro
is not finding the coordinate frame when reading the DS9 region file:It seems odd that
regions.io.ds9.read
is failing to extract the coordinate frame from a region file I made using DS9 🤔 I've tried both in pixel coordinates (theimage
frame in DS9) and WCS, but no dice. Is a specific region file/coordinate frame format required bybreizorro
, or is something else underlying the problem?