Changeset 26747 for branches/eam_branches/psModules.stack.20100120/src/imcombine/pmSubtractionKernels.h
- Timestamp:
- Jan 31, 2010, 5:00:42 PM (16 years ago)
- Location:
- branches/eam_branches/psModules.stack.20100120
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/imcombine/pmSubtractionKernels.h (modified) (17 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psModules.stack.20100120
- Property svn:mergeinfo changed
/branches/eam_branches/20091201/psModules (added) merged: 26686-26687,26693,26702-26703,26731-26735,26737,26739,26741-26743
- Property svn:mergeinfo changed
-
branches/eam_branches/psModules.stack.20100120/src/imcombine/pmSubtractionKernels.h
r26593 r26747 12 12 PM_SUBTRACTION_KERNEL_ISIS_RADIAL, ///< ISIS + higher-order radial Hermitians 13 13 PM_SUBTRACTION_KERNEL_HERM, ///< Hermitian polynomial kernels 14 PM_SUBTRACTION_KERNEL_DECONV_HERM, ///< Deconvolved Hermitian polynomial kernels14 PM_SUBTRACTION_KERNEL_DECONV_HERM, ///< Deconvolved Hermitian polynomial kernels 15 15 PM_SUBTRACTION_KERNEL_SPAM, ///< Summed Pixels for Advanced Matching --- summed delta functions 16 16 PM_SUBTRACTION_KERNEL_FRIES, ///< Fibonacci Radius Increases Excellence of Subtraction … … 32 32 pmSubtractionKernelsType type; ///< Type of kernels --- allowing the use of multiple kernels 33 33 psString description; ///< Description of the kernel parameters 34 int xMin, xMax, yMin, yMax; ///< Bounds of image (for normalisation) 34 35 long num; ///< Number of kernel components (not including the spatial ones) 35 36 psVector *u, *v; ///< Offset (for POIS) or polynomial order (for ISIS, HERM or DECONV_HERM) … … 44 45 int bgOrder; ///< The order for the background fitting 45 46 pmSubtractionMode mode; ///< Mode for subtraction 46 int numCols, numRows; ///< Size of image (for normalisation), or zero to use image provided47 47 psVector *solution1, *solution2; ///< Solution for the PSF matching 48 48 // Quality information 49 49 float mean, rms; ///< Mean and RMS of chi^2 from stamps 50 50 int numStamps; ///< Number of good stamps 51 float fSigResMean; ///< mean fractional stdev of residuals52 float fSigResStdev; ///< stdev of fractional stdev of residuals53 float fMaxResMean; ///< mean fractional positive swing in residuals54 float fMaxResStdev; ///< stdev of fractional positive swing in residuals55 float fMinResMean; ///< mean fractional negative swing in residuals56 float fMinResStdev; ///< stdev of fractional negative swing in residuals57 psArray *sampleStamps; ///< array of brightest set of stamps for output visualizations51 float fSigResMean; ///< mean fractional stdev of residuals 52 float fSigResStdev; ///< stdev of fractional stdev of residuals 53 float fMaxResMean; ///< mean fractional positive swing in residuals 54 float fMaxResStdev; ///< stdev of fractional positive swing in residuals 55 float fMinResMean; ///< mean fractional negative swing in residuals 56 float fMinResStdev; ///< stdev of fractional negative swing in residuals 57 psArray *sampleStamps; ///< array of brightest set of stamps for output visualizations 58 58 } pmSubtractionKernels; 59 59 60 60 // pmSubtractionKernels->preCalc is an array of pmSubtractionKernelPreCalc structures 61 61 typedef struct { 62 psVector *uCoords; // used by RINGS63 psVector *vCoords; // used by RINGS64 psVector *poly; // used by RINGS65 66 psVector *xKernel; // used by ISIS, HERM, DECONV_HERM67 psVector *yKernel; // used by ISIS, HERM, DECONV_HERM68 psKernel *kernel; // used by ISIS, HERM, DECONV_HERM62 psVector *uCoords; // used by RINGS 63 psVector *vCoords; // used by RINGS 64 psVector *poly; // used by RINGS 65 66 psVector *xKernel; // used by ISIS, HERM, DECONV_HERM 67 psVector *yKernel; // used by ISIS, HERM, DECONV_HERM 68 psKernel *kernel; // used by ISIS, HERM, DECONV_HERM 69 69 } pmSubtractionKernelPreCalc; 70 70 … … 162 162 int spatialOrder, ///< Order of spatial variations 163 163 float penalty, ///< Penalty for wideness 164 psRegion bounds, ///< Bounds for validity 164 165 pmSubtractionMode mode ///< Mode for subtraction 165 166 ); … … 168 169 pmSubtractionKernelPreCalc *pmSubtractionKernelPreCalcAlloc( 169 170 pmSubtractionKernelsType type, ///< type of kernel to allocate (not all can be pre-calculated) 170 int uOrder, ///< order in x-direction171 int vOrder, ///< order in x-direction172 int size, ///< Half-size of the kernel173 float sigma ///< sigma of gaussian kernel171 int uOrder, ///< order in x-direction 172 int vOrder, ///< order in x-direction 173 int size, ///< Half-size of the kernel 174 float sigma ///< sigma of gaussian kernel 174 175 ); 175 176 … … 179 180 int spatialOrder, ///< Order of spatial variations 180 181 float penalty, ///< Penalty for wideness 182 psRegion bounds, ///< Bounds for validity 181 183 pmSubtractionMode mode ///< Mode for subtraction 182 184 ); … … 188 190 const psVector *orders, ///< Polynomial order of gaussians 189 191 float penalty, ///< Penalty for wideness 192 psRegion bounds, ///< Bounds for validity 190 193 pmSubtractionMode mode ///< Mode for subtraction 191 194 ); … … 197 200 const psVector *orders, ///< Polynomial order of gaussians 198 201 float penalty, ///< Penalty for wideness 202 psRegion bounds, ///< Bounds for validity 199 203 pmSubtractionMode mode ///< Mode for subtraction 200 204 ); … … 202 206 /// Generate ISIS + RADIAL_HERM kernels 203 207 pmSubtractionKernels *pmSubtractionKernelsISIS_RADIAL(int size, ///< Half-size of the kernel 204 int spatialOrder, ///< Order of spatial variations 205 const psVector *fwhms, ///< Gaussian FWHMs 206 const psVector *orders, ///< Polynomial order of gaussians 207 float penalty, ///< Penalty for wideness 208 pmSubtractionMode mode ///< Mode for subtraction 208 int spatialOrder, ///< Order of spatial variations 209 const psVector *fwhms, ///< Gaussian FWHMs 210 const psVector *orders, ///< Polynomial order of gaussians 211 float penalty, ///< Penalty for wideness 212 psRegion bounds, ///< Bounds for validity 213 pmSubtractionMode mode ///< Mode for subtraction 209 214 ); 210 215 … … 215 220 const psVector *orders, ///< order of hermitian polynomials 216 221 float penalty, ///< Penalty for wideness 222 psRegion bounds, ///< Bounds for validity 217 223 pmSubtractionMode mode ///< Mode for subtraction 218 224 ); … … 220 226 /// Generate DECONV_HERM kernels 221 227 pmSubtractionKernels *pmSubtractionKernelsDECONV_HERM(int size, ///< Half-size of the kernel 222 int spatialOrder, ///< Order of spatial variations 223 const psVector *fwhms, ///< Gaussian FWHMs 224 const psVector *orders, ///< order of hermitian polynomials 225 float penalty, ///< Penalty for wideness 226 pmSubtractionMode mode ///< Mode for subtraction 228 int spatialOrder, ///< Order of spatial variations 229 const psVector *fwhms, ///< Gaussian FWHMs 230 const psVector *orders, ///< order of hermitian polynomials 231 float penalty, ///< Penalty for wideness 232 psRegion bounds, ///< Bounds for validity 233 pmSubtractionMode mode ///< Mode for subtraction 227 234 ); 228 235 … … 233 240 int binning, ///< Kernel binning factor 234 241 float penalty, ///< Penalty for wideness 242 psRegion bounds, ///< Bounds for validity 235 243 pmSubtractionMode mode ///< Mode for subtraction 236 244 ); … … 241 249 int inner, ///< Inner radius to preserve unbinned 242 250 float penalty, ///< Penalty for wideness 251 psRegion bounds, ///< Bounds for validity 243 252 pmSubtractionMode mode ///< Mode for subtraction 244 253 ); … … 251 260 int inner, ///< Inner radius containing grid of delta functions 252 261 float penalty, ///< Penalty for wideness 262 psRegion bounds, ///< Bounds for validity 253 263 pmSubtractionMode mode ///< Mode for subtraction 254 264 ); … … 260 270 int ringsOrder, ///< Polynomial order 261 271 float penalty, ///< Penalty for wideness 272 psRegion bounds, ///< Bounds for validity 262 273 pmSubtractionMode mode ///< Mode for subtraction 263 274 ); … … 274 285 int ringsOrder, ///< Polynomial order for RINGS 275 286 float penalty, ///< Penalty for wideness 287 psRegion bounds, ///< Bounds for validity 276 288 pmSubtractionMode mode ///< Mode for subtraction 277 289 ); … … 281 293 const char *description, ///< Description of kernel 282 294 int bgOrder, ///< Polynomial order for background fitting 295 psRegion bounds, ///< Bounds for validity 283 296 pmSubtractionMode mode ///< Mode for subtraction 284 297 );
Note:
See TracChangeset
for help on using the changeset viewer.
