View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Question about “mkmask” in XDIMSUM

Christophe Jean wrote on Jan 21, 2002

Dear all,

I have a question concerning the script "mkmask" in XDIMSUM.

At line 59 of 'mkmask.cl', it is written:
# Set flag value at 1 DN below minimum pixel value in normalized image.

And, 5 lines after:
      flagval = 2 * minval - maxval

I don't understand why. Could somebody explain me?

In some cases, xmosaic crashes at this point (in the next 'imexpr' command, I
think) with a "Floating point overflow" error but I don't know why yet... Any
idea?

Many thanks in advance for any help.

Best regards,

Christophe

Last post on Jan 21, 2002