View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

IRAF bitwise operations on images

Christopher J. Burke wrote on Aug 25, 2008

HST NICMOS data have bitwise data quality flags for each pixel. Is there a way to do bitwise operations within IRAF in order to see which pixels of an image meet a specific bit flag?
It doesn't appear that imcalc has bitwise functions. The ecl appears to have bitwise operations available. Any ideas? Thanks.
-Chris

Mike Fitzpatrick wrote on Aug 25, 2008

See the IMEXPR task, it allows bitwise operands in expressions.

-Mike

Christopher J. Burke wrote on Aug 25, 2008

Thanks for the speedy reply, that should do the trick.
-Chris

Last post on Aug 25, 2008