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
If the source photo FITS file contains a BLANK card/value use that same value for the generated map if the map data type is also a comparable integer. Special handling may be needed for the mosaic case since multiple potentially different BLANK values could exist.
If the BLANK keyword doesn't exist, a value chosen using a procedure that prioritizes speed like the following:
Choose a value outside of the [DATAMIN, DATAMAX] range in the FITS file, ideally less than DATAMIN.
If neither of those values exist, scan the image array for minimum and maximum array values, and choose a BLANK outside of that range.
If the array scan doesn't provide a suitable result, e.g. if the scanned minimum and maximum array values are the same as the image data type minimum and maximum, fall back on a scan with the sky masked out of the image. This step can be time intensive.
The text was updated successfully, but these errors were encountered:
MaRC currently reads the source photo data into a C++ std::vector<double> container through the CFITSIO fits_read_pix() library call. Since MaRC supplies a "nulval" argument, CFITSIO will convert BLANK values in integer typed photo data to an IEEE NaN (Not-a-Number) value when writing the read integer values into a floating point array. MaRC should set the corresponding NaN values in the map to the BLANK value found in the source photo FITS file when possible.
If the source photo FITS file contains a
BLANK
card/value use that same value for the generated map if the map data type is also a comparable integer. Special handling may be needed for the mosaic case since multiple potentially differentBLANK
values could exist.If the
BLANK
keyword doesn't exist, a value chosen using a procedure that prioritizes speed like the following:DATAMIN
,DATAMAX
] range in the FITS file, ideally less thanDATAMIN
.BLANK
outside of that range.The text was updated successfully, but these errors were encountered: