You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bit of a puzzle. I have two coadd files that are identical (i.e. FLUX,MASK,IVAR's are the same) with the exception of the resolution matrices. When the files are run through redrock, NPIXELS in the redrock files are different by 2000 or so. (the script is given below). I don't quite see how this could happen. I could see that the NPIXELS comes from ivar>0 count in redrock, but I don't see anywhere in the code where the resolution matrix is used to mask the ivar. Also the resolution matrix is sensible everywhere I believe.
Do you have any theories of what could be going on ?
I tried to look here
True
True
....
Total run time: 15.2 seconds
npix1 [6026]
npix2 [7928]
The text was updated successfully, but these errors were encountered:
segasai
changed the title
Different NPIXELS counts while only resolution matrices are different
Different NPIXELS counts when only resolution matrices are different
Jan 14, 2025
Further look into the code revealed that the cause is
this line where the sum of the resolution matrix columns (or rows, depending on how you look at it) is required to be bigger than 0.99
Hi,
I have a bit of a puzzle. I have two coadd files that are identical (i.e. FLUX,MASK,IVAR's are the same) with the exception of the resolution matrices. When the files are run through redrock, NPIXELS in the redrock files are different by 2000 or so. (the script is given below). I don't quite see how this could happen. I could see that the NPIXELS comes from ivar>0 count in redrock, but I don't see anywhere in the code where the resolution matrix is used to mask the ivar. Also the resolution matrix is sensible everywhere I believe.
Do you have any theories of what could be going on ?
I tried to look here
redrock/py/redrock/external/desi.py
Line 574 in 98e0b4f
But, it's not easy to figure out what's going on there with all the arrays on different mpi ranks.
Thanks
Script (to be run on nersc)
Script output:
The text was updated successfully, but these errors were encountered: