Changeset 29556 for trunk/ppTranslate/src/ppMops.h
- Timestamp:
- Oct 25, 2010, 4:29:35 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppTranslate/src/ppMops.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppTranslate/src/ppMops.h
r28623 r29556 13 13 // Configuration data 14 14 typedef struct { 15 psArray *input; // Input filenames16 psString exp_name; // Exposure name17 psS64 exp_id; // Exposure identifier18 psS64 chip_id; // Chip stage identifier19 psS64 cam_id; // Camera stage identifier20 psS64 fake_id; // Fake stage identifier21 psS64 warp_id; // Warp stage identifier22 psS64 diff_id; // Diff stage identifier23 bool positive; // Sense of subtraction, T=positive, F=negative24 float zp, zpErr; // Magnitude zero point and error25 float rmsAstrom; // Astrometric solution RMS26 psString output; // Output filename15 psArray *input; // Input filenames 16 psString exp_name; // Exposure name 17 psS64 exp_id; // Exposure identifier 18 psS64 chip_id; // Chip stage identifier 19 psS64 cam_id; // Camera stage identifier 20 psS64 fake_id; // Fake stage identifier 21 psS64 warp_id; // Warp stage identifier 22 psS64 diff_id; // Diff stage identifier 23 bool positive; // Sense of subtraction, T=positive, F=negative 24 float zp, zpErr; // Magnitude zero point and error 25 float rmsAstrom; // Astrometric solution RMS 26 psString output; // Output filename 27 27 } ppMopsArguments; 28 28 29 29 #if 0 30 #warning "IS THERE ANYTHING TO BE MODIFIED HERE?" 30 31 TTYPE19 = 'PSF_CHISQ' / label for field 19 31 32 TFORM19 = '1E ' / data format of field: 4-byte REAL … … 58 59 59 60 typedef struct { 60 psString raBoresight, decBoresight; // RA,Dec of telescope boresight 61 psString filter; // Filter for exposure 62 float airmass; // Airmass of exposure 63 float exptime; // Exposure time 64 double posangle; // Position angle 65 double alt, az; // Telescope altitude and azimuth 66 double mjd; // Modified Julian Date 67 float seeing; // Seeing of exposure 68 long num; // Number of detections 69 psVector *x, *y; // Image coordinates 70 psVector *ra, *dec; // Sky coordinates 71 psVector *raErr, *decErr; // Error in sky coordinates 72 psVector *mag, *magErr; // Magnitude and associated error 73 psVector *chi2, *dof; // Chi^2 from fitting, with associated degrees of freedom 74 psVector *cr, *extended; // Measures of CR-ness and extendedness 75 psVector *psfMajor, *psfMinor, *psfTheta; // PSF major and minor axes, and position angle 76 psVector *quality, *numPix; // PSF quality factor and number of pixels 77 psVector *xxMoment, *xyMoment, *yyMoment; // Moments 78 psVector *flags; // psphot flags 79 psVector *diffSkyfileId; // Identifier for source image 80 psVector *naxis1, *naxis2; // Size of image 81 psVector *mask; // Mask for detections 82 psVector *nPos; // Number of positive pixels 83 psVector *fPos; // Fraction of positive flux 84 psVector *nRatioBad; // Fraction of positive pixels to negative 85 psVector *nRatioMask; // Fraction of positive pixels to masked 86 psVector *nRatioAll; // Fraction of positive pixels to all 61 psString raBoresight, decBoresight; // RA,Dec of telescope boresight 62 psString filter; // Filter for exposure 63 float airmass; // Airmass of exposure 64 float exptime; // Exposure time 65 double posangle; // Position angle 66 double alt, az; // Telescope altitude and azimuth 67 double mjd; // Modified Julian Date 68 float seeing; // Seeing of exposure 69 long num; // Number of detections 70 psVector *x, *y; // Image coordinates 71 psVector *ra, *dec; // Sky coordinates 72 psVector *raErr, *decErr; // Error in sky coordinates 73 psVector *mag, *magErr; // Magnitude and associated error 74 psVector *chi2, *dof; // Chi^2 from fitting, with associated degrees of freedom 75 psVector *cr, *extended; // Measures of CR-ness and extendedness 76 psVector *psfMajor, *psfMinor, *psfTheta; // PSF major and minor axes, and position angle 77 psVector *quality, *numPix; // PSF quality factor and number of pixels 78 psVector *xxMoment, *xyMoment, *yyMoment; // Moments 79 psVector *flags; // psphot flags 80 psVector *diffSkyfileId; // Identifier for source image 81 psVector *naxis1, *naxis2; // Size of image 82 psVector *mask; // Mask for detections 83 psVector *nPos; // Number of positive pixels 84 psVector *fPos; // Fraction of positive flux 85 psVector *nRatioBad; // Fraction of positive pixels to negative 86 psVector *nRatioMask; // Fraction of positive pixels to masked 87 psVector *nRatioAll; // Fraction of positive pixels to all 88 psVector *psfInstFlux; // PSF fit instrumental magnitude 89 psVector *psfInstFluxSig; // Sigma of PSF instrumental magnitude 90 psVector *apMag; // Magnitude in standard aperture 91 psVector *apMagRadius; // Radius used for aperture mags 92 psVector *apMagRaw; // Magnitude in real aperture 93 psVector *apFlux; // Instrumental flux in standard aperture 94 psVector *apFluxSig; // Aperture flux error 95 psVector *peakFluxAsMag; // Peak flux expressed as magnitude 96 psVector *calPsfMag; // PSF Magnitude using supplied calibration 97 psVector *calPsfMagSig; // Measured scatter of zero point calibration 98 psVector *sky; // Sky level 99 psVector *skySig; // Sigma of sky level 100 psVector *qualityPerfect; // PSF coverage/quality factor (poor) 101 psVector *momentsR1; // First radial moment 102 psVector *momentsRH; // Half radial moment 103 psVector *kronFlux; // Kron Flux (in 2.5 R1) 104 psVector *kronFluxErr; // Kron Flux Error 105 psVector *kronFluxInner; // Kron Flux (in 1.0 R1) 106 psVector *kronFluxOuter; // Kron Flux (in 4.0 R1) 107 psVector *diffRP; // Distance to positive match source 108 psVector *diffSnP; // Signal-to-noise of pos match src 109 psVector *diffRM; // Distance to negative match source 110 psVector *diffSnM; // Signal-to-noise of neg match src 111 psVector *flags2; // psphot flags (group 2) 112 psVector *ippIdet; // IPP detection identifier index 113 psVector *nFrames; // Number of frames overlapping source center 114 psVector *padding; // Padding 87 115 } ppMopsDetections; 88 89 116 90 117 ppMopsDetections *ppMopsDetectionsAlloc(long num); … … 95 122 /// Purge the detections list of masked detections 96 123 bool ppMopsDetectionsPurge(ppMopsDetections *detections); 97 98 124 99 125 /// Read detections
Note:
See TracChangeset
for help on using the changeset viewer.
