Changeset 21323 for trunk/pswarp/src/pswarpSetMaskBits.c
- Timestamp:
- Feb 5, 2009, 10:44:04 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpSetMaskBits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpSetMaskBits.c
r21183 r21323 1 /** @file pswarpSetMaskBits.c 2 * 3 * @brief 4 * 5 * @ingroup pswarp 6 * 7 * @author IfA 8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-05 20:44:04 $ 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 */ 12 1 13 # include "pswarp.h" 2 14 3 / /This function is called by the stand-alone pswarp program to set the mask values in the4 //config file. It sets the named mask values MASK.PSPHOT and MARK.PSPHOT in the PSPHOT5 //recipe. Functions or programs which call psphotReadout as a library function must set these6 //named mask values in the PSPHOT recipe on their own. This function should only be called7 //after the first header of the input mask image has been loaded and the named mask bits8 //updated in the config metadata.9 15 /** This function is called by the stand-alone pswarp program to set the mask values in the 16 * config file. It sets the named mask values MASK.PSPHOT and MARK.PSPHOT in the PSPHOT 17 * recipe. Functions or programs which call psphotReadout as a library function must set these 18 * named mask values in the PSPHOT recipe on their own. This function should only be called 19 * after the first header of the input mask image has been loaded and the named mask bits 20 * updated in the config metadata. 21 */ 10 22 bool pswarpSetMaskBits (pmConfig *config) { 11 23 12 psImageMaskType maskIn = 0x00; // mask for the input image13 psImageMaskType markIn = 0x00; // mark for the input image14 psImageMaskType maskOut = 0x00; // mask for the output image24 psImageMaskType maskIn = 0x00; ///< mask for the input image 25 psImageMaskType markIn = 0x00; ///< mark for the input image 26 psImageMaskType maskOut = 0x00; ///< mask for the output image 15 27 16 28 // this function sets the required single-image mask bits
Note:
See TracChangeset
for help on using the changeset viewer.
