Changeset 25256 for trunk/ppMops/src/ppMops.h
- Timestamp:
- Sep 2, 2009, 2:36:52 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppMops/src/ppMops.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap_mops (added) merged: 25137-25138,25162,25180-25183,25186-25193,25201-25202,25225,25231-25236,25239-25240,25245,25247-25255
- Property svn:mergeinfo changed
-
trunk/ppMops/src/ppMops.h
r25100 r25256 11 11 PM_SOURCE_MODE_CR_LIMIT | PM_SOURCE_MODE_SKY_FAILURE) // Flags to exclude 12 12 13 14 13 // Configuration data 15 14 typedef struct { 16 ps String detections; // Detections filename17 float zp; // Magnitude zero point15 psArray *input; // Input filenames 16 psString exp_name; // Exposure name 18 17 psS64 exp_id; // Exposure identifier 19 psString exp_name; // Exposure name 20 bool direction; // Direction of subtraction, 1=positive, 0=negative 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 21 26 psString output; // Output filename 22 } ppMops Data;27 } ppMopsArguments; 23 28 24 // Allocator 25 ppMopsData *ppMopsDataAlloc(void); 29 /// Parse arguments 30 ppMopsArguments *ppMopsArgumentsParse(int argc, char *argv[]); 31 32 typedef struct { 33 psString raBoresight, decBoresight; // RA,Dec of telescope boresight 34 psString filter; // Filter for exposure 35 float airmass; // Airmass of exposure 36 float exptime; // Exposure time 37 double posangle; // Position angle 38 double alt, az; // Telescope altitude and azimuth 39 double mjd; // Modified Julian Date 40 float seeing; // Seeing of exposure 41 long num; // Number of detections 42 psVector *x, *y; // Image coordinates 43 psVector *ra, *dec; // Sky coordinates 44 psVector *raErr, *decErr; // Error in sky coordinates 45 psVector *mag, *magErr; // Magnitude and associated error 46 psVector *extended; // Measure of extendedness 47 psVector *angle, *angleErr; // Angle of trail and associated error 48 psVector *length, *lengthErr; // Length of trail and associated error 49 psVector *flags; // psphot flags 50 psVector *diffSkyfileId; // Identifier for source image 51 psVector *naxis1, *naxis2; // Size of image 52 psVector *mask; // Mask for detections 53 } ppMopsDetections; 54 55 ppMopsDetections *ppMopsDetectionsAlloc(long num); 56 57 /// Copy a detection 58 bool ppMopsDetectionsCopySingle(ppMopsDetections *target, const ppMopsDetections *source, long index); 59 60 /// Purge the detections list of masked detections 61 bool ppMopsDetectionsPurge(ppMopsDetections *detections); 62 63 64 /// Read detections 65 psArray *ppMopsRead(const ppMopsArguments *args); 66 67 /// Merge detections 68 ppMopsDetections *ppMopsMerge(const psArray *detections); 69 70 /// Write detections 71 bool ppMopsWrite(const ppMopsDetections *detections, const ppMopsArguments *args); 26 72 27 73
Note:
See TracChangeset
for help on using the changeset viewer.
