Changeset 27580 for trunk/Ohana/src/libdvo/include/dvo.h
- Timestamp:
- Apr 2, 2010, 3:53:20 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libdvo/include/dvo.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libdvo/include/dvo.h
r27484 r27580 21 21 DVO_FORMAT_PS1_DEV_3, 22 22 DVO_FORMAT_PS1_V1, 23 DVO_FORMAT_PS1_V2, 23 24 DVO_FORMAT_PS1_REF 24 25 } DVOTableFormat; … … 91 92 # define ID_IMAGE_FEW 0x0008 /* currently too few measurements for good value */ 92 93 93 /* Measure.flags values */ 94 // XXX replace the # defines with typedef enum 95 # define ID_MEAS_NOCAL 0x0001 /* detection ignored for this analysis (photcode, time range) -- internal only */ 96 # define ID_MEAS_POOR_PHOTOM 0x0002 /* detection is photometry outlier */ 97 # define ID_MEAS_SKIP_PHOTOM 0x0004 /* detection was ignored for photometry measurement */ 98 # define ID_MEAS_AREA 0x0008 /* detection near image edge */ 99 # define ID_MEAS_POOR_ASTROM 0x0010 /* detection is astrometry outlier */ 100 # define ID_MEAS_SKIP_ASTROM 0x0020 /* detection was ignored for astrometry measurement */ 101 # define ID_MEAS_USED_OBJ 0x0040 /* detection was used during opdate objects */ 102 # define ID_MEAS_USED_CHIP 0x0080 /* detection was used during update chips */ 103 # define ID_MEAS_BLEND_MEAS 0x0100 /* detection is within radius of multiple objects */ 104 # define ID_MEAS_BLEND_OBJ 0x0200 /* multiple detections within radius of object */ 105 # define ID_MEAS_UNDEF_3 0x0400 /* unused */ 106 # define ID_MEAS_UNDEF_4 0x0800 /* unused */ 107 # define ID_MEAS_BLEND_MEAS_X 0x1000 /* detection is within radius of multiple objects across catalogs */ 108 # define ID_MEAS_ARTIFACT 0x2000 /* detection is thought to be non-astronomical */ 109 # define ID_MEAS_UNDEF_5 0x4000 /* unused */ 110 # define ID_MEAS_UNDEF_6 0x8000 /* unused */ 94 /* Measure.flags values -- these values are 32 bit (as of PS1_V1) */ 95 typedef enum { 96 ID_MEAS_NOCAL = 0x0001, // detection ignored for this analysis (photcode, time range) -- internal only 97 ID_MEAS_POOR_PHOTOM = 0x0002, // detection is photometry outlier 98 ID_MEAS_SKIP_PHOTOM = 0x0004, // detection was ignored for photometry measurement 99 ID_MEAS_AREA = 0x0008, // detection near image edge 100 ID_MEAS_POOR_ASTROM = 0x0010, // detection is astrometry outlier 101 ID_MEAS_SKIP_ASTROM = 0x0020, // detection was ignored for astrometry measurement 102 ID_MEAS_USED_OBJ = 0x0040, // detection was used during opdate objects 103 ID_MEAS_USED_CHIP = 0x0080, // detection was used during update chips 104 ID_MEAS_BLEND_MEAS = 0x0100, // detection is within radius of multiple objects 105 ID_MEAS_BLEND_OBJ = 0x0200, // multiple detections within radius of object 106 ID_MEAS_UNDEF_3 = 0x0400, // unused 107 ID_MEAS_UNDEF_4 = 0x0800, // unused 108 ID_MEAS_BLEND_MEAS_X = 0x1000, // detection is within radius of multiple objects across catalogs 109 ID_MEAS_ARTIFACT = 0x2000, // detection is thought to be non-astronomical 110 ID_MEAS_UNDEF_5 = 0x4000, // unused 111 ID_MEAS_UNDEF_6 = 0x8000, // unused 112 } DVOMeasureFlags; 111 113 112 114 // XXX we used these names previously in markstar: replace with ID_MEAS_ARTIFACT … … 124 126 */ 125 127 126 /* Average.code values */ 127 # define ID_STAR_FEW 0x0001 /* used within relphot: skip star */ 128 # define ID_STAR_POOR 0x0002 /* used within relphot: skip star */ 129 # define ID_PROPER 0x0400 /* star with large proper motion */ 130 # define ID_TRANSIENT 0x1000 /* is this mutually exclusive with USNO? */ 131 # define ID_VARIABLE 0x2000 /* not currently set? */ 132 # define ID_ASTEROID 0x2000 /* identified with an asteroid */ 133 # define ID_BAD_OBJECT 0x4000 /* if all measurements are bad, set this bit */ 134 # define ID_MOVING 0x8000 135 # define ID_ROCK 0xa000 /* 0x8000 + 0x2000 */ 136 # define ID_GHOST 0xc001 /* 0x8000 + 0x4000 + 0x0001 */ 137 # define ID_TRAIL 0xc002 /* 0x8000 + 0x4000 + 0x0002 */ 138 # define ID_BLEED 0xc003 /* 0x8000 + 0x4000 + 0x0003 */ 139 # define ID_COSMIC 0xc004 /* 0x8000 + 0x4000 + 0x0004 */ 128 /* Average.code values -- these values are 32 bit (as of PS1_V1) */ 129 typedef enum { 130 ID_STAR_FEW = 0x00000001, // used within relphot: skip star 131 ID_STAR_POOR = 0x00000002, // used within relphot: skip star 132 ID_PROPER = 0x00000400, // star with large proper motion 133 ID_TRANSIENT = 0x00001000, // is this mutually exclusive with USNO? 134 ID_VARIABLE = 0x00002000, // not currently set? 135 ID_ASTEROID = 0x00002000, // identified with an asteroid 136 ID_BAD_OBJECT = 0x00004000, // if all measurements are bad, set this bit 137 ID_MOVING = 0x00008000, // is a moving object 138 ID_ROCK = 0x0000a000, // 0x8000 + 0x2000 139 ID_GHOST = 0x0000c001, // 0x8000 + 0x4000 + 0x0001 140 ID_TRAIL = 0x0000c002, // 0x8000 + 0x4000 + 0x0002 141 ID_BLEED = 0x0000c003, // 0x8000 + 0x4000 + 0x0003 142 ID_COSMIC = 0x0000c004, // 0x8000 + 0x4000 + 0x0004 143 ID_STAR_FIT_AVE = 0x00010000, // average position fitted 144 ID_STAR_FIT_PM = 0x00020000, // proper motion fitted 145 ID_STAR_FIT_PAR = 0x00040000, // parallax fitted 146 ID_STAR_USE_AVE = 0x00080000, // average position used (not PM or PAR) 147 ID_STAR_USE_PM = 0x00100000, // proper motion used (not AVE or PAR) 148 ID_STAR_USE_PAR = 0x00200000, // parallax used (not AVE or PM) 149 } DVOAverageFlags; 140 150 141 151 /*** general dvo structures (internal use only / not IO) ***/ … … 389 399 # include "ps1_dev_3_defs.h" 390 400 # include "ps1_v1_defs.h" 401 # include "ps1_v2_defs.h" 391 402 # include "ps1_ref_defs.h" 392 403
Note:
See TracChangeset
for help on using the changeset viewer.
