ratt-ru / tigger

Local Sky Model (LSM) manager and FITS image viewer
8 stars 9 forks source link

Image arithmetic not handing NaNs / blanks correctly #129

Closed IanHeywood closed 2 years ago

IanHeywood commented 3 years ago

I just tried to do a quick primary beam correction on an ATCA image using the 'compute image' (b/a) function. The result should be blanked in the regions where the beam image is (something / NaN = NaN), but the original image values are preserved instead.

Screen Shot 2021-11-02 at 17 03 36

razman786 commented 2 years ago

@IanHeywood - could you send some test files for me to replicate the issue please?

razman786 commented 2 years ago

@IanHeywood - I've failed to replicate this bug. I have however verified Tigger's numpy et al code in branch 'version_161', even against version 1.5.1, just to make sure nothing has crept in. Therefore, I will close this bug for now.

Please try to replicate the issue with branch 'version_161' and if the same issue arises please re-open this issue.