IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33129


Ignore:
Timestamp:
Jan 22, 2012, 6:27:53 AM (14 years ago)
Author:
eugene
Message:

add UBERCAL flag to images and measure; add season information to FlatCorrectionTable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/libdvo/include/dvo.h

    r33104 r33129  
    9595/* Image.code values -- these values are 32 bit (as of PS1_V1) */
    9696typedef enum {
    97   ID_IMAGE_NEW          = 0x00000000,  /* no calibrations yet attempted */
    98   ID_IMAGE_PHOTOM_NOCAL = 0x00000001,  /* user-set value used within relphot: ignore */
    99   ID_IMAGE_PHOTOM_POOR  = 0x00000002,  /* relphot says image is bad (dMcal > limit) */
    100   ID_IMAGE_PHOTOM_SKIP  = 0x00000004,  /* user-set value: assert that this image has bad photometry */
    101   ID_IMAGE_PHOTOM_FEW   = 0x00000008,  /* currently too few measurements for photometry */
    102   ID_IMAGE_ASTROM_NOCAL = 0x00000010,  /* user-set value used within relastro: ignore */
    103   ID_IMAGE_ASTROM_POOR  = 0x00000020,  /* relastro says image is bad (dR,dD > limit) */
    104   ID_IMAGE_ASTROM_FAIL  = 0x00000040,  /* relastro fit diverged, fit not applied */
    105   ID_IMAGE_ASTROM_SKIP  = 0x00000080,  /* user-set value: assert that this image has bad astrometry */
    106   ID_IMAGE_ASTROM_FEW   = 0x00000100,  /* currently too few measurements for astrometry */
     97  ID_IMAGE_NEW            = 0x00000000,  /* no calibrations yet attempted */
     98  ID_IMAGE_PHOTOM_NOCAL   = 0x00000001,  /* user-set value used within relphot: ignore */
     99  ID_IMAGE_PHOTOM_POOR    = 0x00000002,  /* relphot says image is bad (dMcal > limit) */
     100  ID_IMAGE_PHOTOM_SKIP    = 0x00000004,  /* user-set value: assert that this image has bad photometry */
     101  ID_IMAGE_PHOTOM_FEW     = 0x00000008,  /* currently too few measurements for photometry */
     102  ID_IMAGE_ASTROM_NOCAL   = 0x00000010,  /* user-set value used within relastro: ignore */
     103  ID_IMAGE_ASTROM_POOR    = 0x00000020,  /* relastro says image is bad (dR,dD > limit) */
     104  ID_IMAGE_ASTROM_FAIL    = 0x00000040,  /* relastro fit diverged, fit not applied */
     105  ID_IMAGE_ASTROM_SKIP    = 0x00000080,  /* user-set value: assert that this image has bad astrometry */
     106  ID_IMAGE_ASTROM_FEW     = 0x00000100,  /* currently too few measurements for astrometry */
     107  ID_IMAGE_PHOTOM_UBERCAL = 0x00000200,  /* externally-supplied photometry zero point from ubercal analysis */
    107108} DVOImageFlags;
    108109
    109110/* Measure.flags values -- these values are 32 bit (as of PS1_V1) */
    110111typedef enum {
    111   ID_MEAS_NOCAL        = 0x00000001,  // detection ignored for this analysis (photcode, time range) -- internal only
    112   ID_MEAS_POOR_PHOTOM  = 0x00000002,  // detection is photometry outlier                                                 
    113   ID_MEAS_SKIP_PHOTOM  = 0x00000004,  // detection was ignored for photometry measurement                                 
    114   ID_MEAS_AREA         = 0x00000008,  // detection near image edge                                                   
    115   ID_MEAS_POOR_ASTROM  = 0x00000010,  // detection is astrometry outlier                                                 
    116   ID_MEAS_SKIP_ASTROM  = 0x00000020,  // detection was ignored for astrometry measurement                                 
    117   ID_MEAS_USED_OBJ     = 0x00000040,  // detection was used during opdate objects                                   
    118   ID_MEAS_USED_CHIP    = 0x00000080,  // detection was used during update chips                                     
    119   ID_MEAS_BLEND_MEAS   = 0x00000100,  // detection is within radius of multiple objects                             
    120   ID_MEAS_BLEND_OBJ    = 0x00000200,  // multiple detections within radius of object                               
    121   ID_MEAS_UNDEF_3      = 0x00000400,  // unused                                                                     
    122   ID_MEAS_UNDEF_4      = 0x00000800,  // unused                                                                     
    123   ID_MEAS_BLEND_MEAS_X = 0x00001000,  // detection is within radius of multiple objects across catalogs             
    124   ID_MEAS_ARTIFACT     = 0x00002000,  // detection is thought to be non-astronomical                                 
    125   ID_MEAS_UNDEF_5      = 0x00004000,  // unused                                                                     
    126   ID_MEAS_UNDEF_6      = 0x00008000,  // unused                                                                     
     112  ID_MEAS_NOCAL          = 0x00000001,  // detection ignored for this analysis (photcode, time range) -- internal only
     113  ID_MEAS_POOR_PHOTOM    = 0x00000002,  // detection is photometry outlier                                               
     114  ID_MEAS_SKIP_PHOTOM    = 0x00000004,  // detection was ignored for photometry measurement                               
     115  ID_MEAS_AREA           = 0x00000008,  // detection near image edge                                                 
     116  ID_MEAS_POOR_ASTROM    = 0x00000010,  // detection is astrometry outlier                                               
     117  ID_MEAS_SKIP_ASTROM    = 0x00000020,  // detection was ignored for astrometry measurement                               
     118  ID_MEAS_USED_OBJ       = 0x00000040,  // detection was used during opdate objects
     119  ID_MEAS_USED_CHIP      = 0x00000080,  // detection was used during update chips
     120  ID_MEAS_BLEND_MEAS     = 0x00000100,  // detection is within radius of multiple objects
     121  ID_MEAS_BLEND_OBJ      = 0x00000200,  // multiple detections within radius of object
     122  ID_MEAS_UNDEF_3        = 0x00000400,  // unused
     123  ID_MEAS_UNDEF_4        = 0x00000800,  // unused
     124  ID_MEAS_BLEND_MEAS_X   = 0x00001000,  // detection is within radius of multiple objects across catalogs                   
     125  ID_MEAS_ARTIFACT       = 0x00002000,  // detection is thought to be non-astronomical                               
     126  ID_MEAS_UNDEF_5        = 0x00004000,  // unused
     127  ID_MEAS_PHOTOM_UBERCAL = 0x00008000,  // externally-supplied zero point from ubercal analysis
    127128} DVOMeasureFlags;
    128129
     
    206207
    207208typedef struct {
    208     off_t Nimage;
    209     FlatCorrectionImage *image;
    210     off_t Ncorr;
    211     int *IDtoSeq;
    212     FlatCorrection *corr;
    213     float ***offset; // the correction images represented as a set of arrays (same sequence as *image)
     209  off_t Nimage;
     210  FlatCorrectionImage *image;
     211  off_t Ncorr;
     212  int *IDtoSeq;
     213  FlatCorrection *corr;
     214  float ***offset; // the correction images represented as a set of arrays (same sequence as *image)
     215  int Nseason;
     216  e_time *tstart;
     217  e_time *tstop;
    214218} FlatCorrectionTable;
    215219
Note: See TracChangeset for help on using the changeset viewer.