Changeset 918
- Timestamp:
- Jun 7, 2004, 4:57:29 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/modules/include/phase2.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/modules/include/phase2.h
r910 r918 25 25 26 26 /** Returns the kernel of OT shifts made during the course of the exposure. */ 27 psImage *p hase2GetKernel(psVector *shifts ///< List of OT shifts, from which the kernel will be calculated28 );27 psImage *psPhase2GetKernel(psVector *shifts ///< List of OT shifts, from which the kernel will be calculated 28 ); 29 29 30 30 /** Returns an image that is the result of convolving the input image with the specified kernel. */ 31 psReadout *p hase2ConvolveWithKernel(psReadout *out, ///< Output image, or NULL32 const psReadout *in, ///< Input image to be convolved33 const psImage *kernel ///< Kernel by which to convolve34 );31 psReadout *psPhase2ConvolveWithKernel(psReadout *out, ///< Output image, or NULL 32 const psReadout *in, ///< Input image to be convolved 33 const psImage *kernel ///< Kernel by which to convolve 34 ); 35 35 36 36 /************************************************************************************************************/ … … 78 78 79 79 /** Subtracts an overscan and bias from the input image. */ 80 psReadout *phase2SubtractBias(psReadout *in, ///< Input image to be de-biased, and output 81 psPolynomial1D *polySpec, ///< Polynomial specification to use for fit, outputed 82 const psImageRegionArray *regions, ///< Bias regions 83 psOverscanAxis overscanAxis, ///< Overscan axis 84 const psStatsOptions *stat, ///< Statistic to use 85 const psImage *bias ///< Bias (or dark) image to subtract 86 ); 80 psReadout *psPhase2SubtractBias(psReadout *in, ///< Input image to be de-biased, and output 81 psPolynomial1D *polySpec, ///< Polynomial specification to use for fit, 82 ///< outputed 83 const psImageRegionArray *regions, ///< Bias regions 84 psOverscanAxis overscanAxis, ///< Overscan axis 85 const psStatsOptions *stat, ///< Statistic to use 86 const psImage *bias ///< Bias (or dark) image to subtract 87 ); 87 88 88 89 /** Trims the input image to remove the edges corrupted by OT shifting, and the overscan. */ 89 psReadout *p hase2Trim(psReadout *in, ///< Input image to be trimmed, and output90 const psImageRegion *region ///< Region to keep91 );90 psReadout *psPhase2Trim(psReadout *in, ///< Input image to be trimmed, and output 91 const psImageRegion *region ///< Region to keep 92 ); 92 93 93 94 /************************************************************************************************************/ … … 99 100 * image metadata. 100 101 */ 101 psReadout *p hase2CorrectNonLinearity(psReadout *in, ///< Input image to be corrected, and output102 psPolynomial1D *coeff ///< Polynomial with which to correct103 );102 psReadout *psPhase2CorrectNonLinearity(psReadout *in, ///< Input image to be corrected, and output 103 psPolynomial1D *coeff ///< Polynomial with which to correct 104 ); 104 105 105 106 /** Flat-fields the image. */ 106 psReadout *p hase2FlatField(psReadout *in, ///< Input image to be flat-fielded, and output107 const psReadout*flat ///< Flat-field image108 );107 psReadout *psPhase2FlatField(psReadout *in, ///< Input image to be flat-fielded, and output 108 const psImage *flat ///< Flat-field image 109 ); 109 110 110 111 /** Subtracts the sky background. */ 111 psReadout *p hase2SubtractSky(psReadout *in, ///< Input image to be sky-subtracted, and output112 psPolynomial2D *poly, ///< Polynomial specification, returns coeffcients113 const psImageArray *skyImages ///< Array of sky images114 );112 psReadout *psPhase2SubtractSky(psReadout *in, ///< Input image to be sky-subtracted, and output 113 psPolynomial2D *poly, ///< Polynomial specification, returns coeffcients 114 const psImageArray *skyImages ///< Array of sky images 115 ); 115 116 116 117 /************************************************************************************************************/ … … 119 120 120 121 /** Returns an image that has the bad pixels masked. Also masks saturated pixels */ 121 psReadout *p hase2MaskBadPixels(psReadout *in ///< Image to be masked, and output122 const psImage *mask ///< Bad pixel mask to apply123 );122 psReadout *psPhase2MaskBadPixels(psReadout *in ///< Image to be masked, and output 123 const psImage *mask ///< Bad pixel mask to apply 124 ); 124 125 125 126 /** Masks Cosmic Rays on the input image on the basis of morphology. */ 126 psReadout *p hase2MaskCRs(psReadout *in,///< Input image to be masked, and output127 int algorithm,///< Algorithm number to use128 const void *params ///< Parameters for algorithm129 );127 psReadout *psPhase2MaskCRs(psReadout *in, ///< Input image to be masked, and output 128 int algorithm, ///< Algorithm number to use 129 const void *params ///< Parameters for algorithm 130 ); 130 131 131 132 /** Masks optical defects in the input image */ 132 psChip *p hase2MaskOpticalDefects(psChip *in, ///< Image to be masked (with astrometry), and output133 const psDlist *catalog, ///< Catalog stars nearby: a list of psObjects134 int grow ///< Number of pixels to grow135 );133 psChip *psPhase2MaskOpticalDefects(psChip *in, ///< Image to be masked (with astrometry), and output 134 const psDlist *catalog, ///< Catalog stars nearby: a list of psObjects 135 int grow ///< Number of pixels to grow 136 ); 136 137 137 138 /************************************************************************************************************/ … … 140 141 141 142 /** Measures the PSF on the input image. Returns the PSF */ 142 psImage *p hase2MeasurePSF(const psReadout *in, ///< Input image for which to measure the PSF143 int algorithm, ///< Algorithm number to use144 const void *params ///< Parameters for algorithm145 );143 psImage *psPhase2MeasurePSF(const psReadout *in, ///< Input image for which to measure the PSF 144 int algorithm, ///< Algorithm number to use 145 const void *params ///< Parameters for algorithm 146 ); 146 147 147 148 /** Find and measure objects on the input image. Fills in the "objects" member of the psReadout */ 148 psReadout *p hase2GetObjects(psReadout *in, ///< Input image on which to find objects, and output149 const psImage *psf, ///< PSF to use to find objects150 const psVector *levels ///< Threshold levels (std dev.s)151 );149 psReadout *psPhase2GetObjects(psReadout *in, ///< Input image on which to find objects, and output 150 const psImage *psf, ///< PSF to use to find objects 151 const psVector *levels ///< Threshold levels (std dev.s) 152 ); 152 153 153 154 /************************************************************************************************************/ … … 156 157 157 158 /** Corrects astrometry on the input chip */ 158 psChip *p hase2Astrometry(psChip *in, ///< Input chip for which to do astrometry, and output159 const psDlist *catalog, ///< Catalog stars on the chip: a list of psObjects160 int nClips, ///< Number of clipping iterations161 float clipLevel ///< Level at which to clip162 );159 psChip *psPhase2Astrometry(psChip *in, ///< Input chip for which to do astrometry, and output 160 const psDlist *catalog, ///< Catalog stars on the chip: a list of psObjects 161 int nClips, ///< Number of clipping iterations 162 float clipLevel ///< Level at which to clip 163 ); 163 164 164 165 /************************************************************************************************************/ … … 173 174 174 175 /** Return postage stamps of a set of regions */ 175 psImageArray *p hase2PostageStamps(const psChip *in, ///< Chip from which to form postage stamps176 const psDlist *regions ///< Regions to postage-stampise: a list of177 ///< psPostageStampSpec178 );176 psImageArray *psPhase2PostageStamps(const psChip *in, ///< Chip from which to form postage stamps 177 const psDlist *regions ///< Regions to postage-stampise: a list of 178 ///< psPostageStampSpec 179 ); 179 180 180 181 /************************************************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
