Changeset 32406 for trunk/ppTranslate/src/ppMops.h
- Timestamp:
- Sep 15, 2011, 4:50:36 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ppTranslate/src/ppMops.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppTranslate/src/ppMops.h
r29567 r32406 62 62 63 63 typedef struct { 64 psString component; // skycell_id for these detections 64 65 psString raBoresight, decBoresight; // RA,Dec of telescope boresight 65 66 psString filter; // Filter for exposure … … 70 71 double mjd; // Modified Julian Date 71 72 float seeing; // Seeing of exposure 73 int naxis1, naxis2; // size of the image 72 74 long num; // Number of detections 75 long numGood; // Number of "good" detections 76 psS64 diffSkyfileId; // unique id for input skyfile 77 psMetadata *table; // Columns from the input file 73 78 psVector *x, *y; // Image coordinates 74 79 psVector *ra, *dec; // Sky coordinates 75 80 psVector *raErr, *decErr; // Error in sky coordinates 76 psVector *mag, *magErr; // Magnitude and associated error77 psVector *chi2, *dof; // Chi^2 from fitting, with associated degrees of freedom78 psVector *cr, *extended; // Measures of CR-ness and extendedness79 psVector *psfMajor, *psfMinor, *psfTheta; // PSF major and minor axes, and position angle80 psVector *quality, *numPix; // PSF quality factor and number of pixels81 psVector *xxMoment, *xyMoment, *yyMoment; // Moments82 psVector *flags; // psphot flags83 psVector *diffSkyfileId; // Identifier for source image84 psVector *naxis1, *naxis2; // Size of image85 81 psVector *mask; // Mask for detections 86 psVector *nPos; // Number of positive pixels87 psVector *fPos; // Fraction of positive flux88 psVector *nRatioBad; // Fraction of positive pixels to negative89 psVector *nRatioMask; // Fraction of positive pixels to masked90 psVector *nRatioAll; // Fraction of positive pixels to all91 psVector *psfInstFlux; // PSF fit instrumental magnitude92 psVector *psfInstFluxSig; // Sigma of PSF instrumental magnitude93 psVector *apMag; // Magnitude in standard aperture94 psVector *apMagRadius; // Radius used for aperture mags95 psVector *apMagRaw; // Magnitude in real aperture96 psVector *apFlux; // Instrumental flux in standard aperture97 psVector *apFluxSig; // Aperture flux error98 psVector *peakFluxAsMag; // Peak flux expressed as magnitude99 psVector *calPsfMag; // PSF Magnitude using supplied calibration100 psVector *calPsfMagSig; // Measured scatter of zero point calibration101 psVector *sky; // Sky level102 psVector *skySig; // Sigma of sky level103 psVector *qualityPerfect; // PSF coverage/quality factor (poor)104 psVector *momentsR1; // First radial moment105 psVector *momentsRH; // Half radial moment106 psVector *kronFlux; // Kron Flux (in 2.5 R1)107 psVector *kronFluxErr; // Kron Flux Error108 psVector *kronFluxInner; // Kron Flux (in 1.0 R1)109 psVector *kronFluxOuter; // Kron Flux (in 4.0 R1)110 psVector *diffRP; // Distance to positive match source111 psVector *diffSnP; // Signal-to-noise of pos match src112 psVector *diffRM; // Distance to negative match source113 psVector *diffSnM; // Signal-to-noise of neg match src114 psVector *flags2; // psphot flags (group 2)115 psVector *ippIdet; // IPP detection identifier index116 psVector *nFrames; // Number of frames overlapping source center117 psVector *padding; // Padding118 82 } ppMopsDetections; 119 83 120 ppMopsDetections *ppMopsDetectionsAlloc( long num);84 ppMopsDetections *ppMopsDetectionsAlloc(); 121 85 122 86 /// Copy a detection … … 130 94 131 95 /// Merge detections 132 ppMopsDetections *ppMopsMerge(const psArray *detections); 96 // ppMopsDetections *ppMopsMerge(const psArray *detections); 97 bool ppMopsPurgeDuplicates(const psArray *detections); 133 98 134 99 /// Write detections 135 bool ppMopsWrite(const p pMopsDetections*detections, const ppMopsArguments *args);100 bool ppMopsWrite(const psArray *detections, const ppMopsArguments *args); 136 101 137 102 /// Get the version contained in EXTTYPE of the "SkyChip.psf" table:
Note:
See TracChangeset
for help on using the changeset viewer.
