Changeset 21183 for trunk/psModules/src/camera/pmFPAMaskWeight.h
- Timestamp:
- Jan 26, 2009, 8:40:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.h (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.h
r20486 r21183 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $8 * @date $Date: 200 8-10-31 21:50:16$7 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2009-01-27 06:39:38 $ 9 9 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 42 42 /// iterating using pmReadoutReadNext, in which case the HDU can't be generated. 43 43 bool pmReadoutSetMask(pmReadout *readout, ///< Readout for which to set mask 44 ps MaskType satMask, ///< Mask value to give saturated pixels45 ps MaskType badMask ///< Mask value to give bad (low) pixels44 psImageMaskType satMask, ///< Mask value to give saturated pixels 45 psImageMaskType badMask ///< Mask value to give bad (low) pixels 46 46 ); 47 47 … … 62 62 /// is suitable for output (complete with HDU entry). This is intended for most operations. 63 63 bool pmReadoutGenerateMask(pmReadout *readout, ///< Readout for which to generate mask 64 ps MaskType sat, ///< Mask value to give saturated pixels65 ps MaskType bad ///< Mask value to give bad (low) pixels64 psImageMaskType sat, ///< Mask value to give saturated pixels 65 psImageMaskType bad ///< Mask value to give bad (low) pixels 66 66 ); 67 67 … … 79 79 /// Calls pmReadoutGenerateMask and pmReadoutGenerateWeight for the readout 80 80 bool pmReadoutGenerateMaskWeight(pmReadout *readout, ///< Readout for which to generate mask and weights 81 ps MaskType sat, ///< Mask value to give saturated pixels82 ps MaskType bad, ///< Mask value to give bad (low) pixels81 psImageMaskType sat, ///< Mask value to give saturated pixels 82 psImageMaskType bad, ///< Mask value to give bad (low) pixels 83 83 bool poisson ///< Use poisson weights (in addition to read noise)? 84 84 ); … … 88 88 /// Calls pmReadoutGenerateMaskWeight for each readout within the cell. 89 89 bool pmCellGenerateMaskWeight(pmCell *cell, ///< Cell for which to generate mask and weights 90 ps MaskType sat, ///< Mask value to give saturated pixels91 ps MaskType bad, ///< Mask value to give bad (low) pixels90 psImageMaskType sat, ///< Mask value to give saturated pixels 91 psImageMaskType bad, ///< Mask value to give bad (low) pixels 92 92 bool poisson ///< Use poisson weights (in addition to read noise)? 93 93 ); … … 98 98 bool pmReadoutWeightRenormPixels( 99 99 const pmReadout *readout, ///< Readout to normalise 100 ps MaskType maskVal, ///< Value to mask100 psImageMaskType maskVal, ///< Value to mask 101 101 psStatsOptions meanStat, ///< Statistic to measure the mean (of the variance map) 102 102 psStatsOptions stdevStat, ///< Statistic to measure the stdev (of the image) … … 110 110 bool pmReadoutWeightRenormPhot( 111 111 const pmReadout *readout, ///< Readout to normalise 112 ps MaskType maskVal, ///< Value to mask112 psImageMaskType maskVal, ///< Value to mask 113 113 int num, ///< Number of instances to measure over the image 114 114 float width, ///< Photometry width … … 123 123 /// that patch corresponds. 124 124 bool pmReadoutWeightRenorm(const pmReadout *readout, // Readout to normalise 125 ps MaskType maskVal, // Value to mask125 psImageMaskType maskVal, // Value to mask 126 126 psStatsOptions meanStat, // Statistic to measure the mean (of the variance map) 127 127 psStatsOptions stdevStat, // Statistic to measure the stdev (of the image) … … 136 136 /// the provided value. 137 137 bool pmReadoutMaskNonfinite(pmReadout *readout, ///< Readout to mask 138 ps MaskType maskVal ///< Mask value to give non-finite pixels138 psImageMaskType maskVal ///< Mask value to give non-finite pixels 139 139 ); 140 140 … … 145 145 /// sets masked areas to NAN in the image and weight. 146 146 bool pmReadoutMaskApply(pmReadout *readout, ///< Readout to mask 147 ps MaskType maskVal ///< Mask value for which to apply mask147 psImageMaskType maskVal ///< Mask value for which to apply mask 148 148 ); 149 149 … … 152 152 /// Scan the mask image for bad pixels, and interpolate over them using the nominated options 153 153 bool pmReadoutInterpolateBadPixels(pmReadout *readout, ///< Readout to work on 154 ps MaskType maskVal, ///< Value to mask154 psImageMaskType maskVal, ///< Value to mask 155 155 psImageInterpolateMode mode, ///< Interpolation mode 156 156 float poorFrac, ///< Maximum bad fraction of kernel for "poor" status 157 ps MaskType maskPoor, ///< Mask value to give poor pixels158 ps MaskType maskBad ///< Mask value to give bad pixels157 psImageMaskType maskPoor, ///< Mask value to give poor pixels 158 psImageMaskType maskBad ///< Mask value to give bad pixels 159 159 ); 160 160
Note:
See TracChangeset
for help on using the changeset viewer.
