IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36974


Ignore:
Timestamp:
Jul 7, 2014, 10:36:27 AM (12 years ago)
Author:
eugene
Message:

photcode.astrom,photom masks need to be unsigned int or we get invalid conversions when using strtol (on 32 bit only?); change secfilt.Xm to secfilt.Mchisq for formats which use a float representation for that field; store the real chisq, not the log10 recast version

Location:
branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/photcode-ps1-v2.d

    r27579 r36974  
    2222FIELD  astromErrScale,    ASTROM_ERR_SCALE,      float,          astrometric error scale
    2323FIELD  astromErrMagScale, ASTROM_ERR_MAG_SCALE,  float,          astrometric error / mag error scale
    24 FIELD  astromPoorMask,    ASTROM_POOR_MASK,      short,          detections matching this mask should only be used in emergencies
    25 FIELD  astromBadMask,     ASTROM_BAD_MASK,       short,          detections matching this mask should not be used
     24FIELD  astromPoorMask,    ASTROM_POOR_MASK,      unsigned short,   detections matching this mask should only be used in emergencies
     25FIELD  astromBadMask,     ASTROM_BAD_MASK,       unsigned short,   detections matching this mask should not be used
    2626FIELD  photomErrSys,      PHOTOM_ERR_SYS,        float,          systematic photometric error
    27 FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      short,          detections matching this mask should only be used in emergencies
    28 FIELD  photomBadMask,     PHOTOM_BAD_MASK,       short,          detections matching this mask should not be used
     27FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      unsigned short,   detections matching this mask should only be used in emergencies
     28FIELD  photomBadMask,     PHOTOM_BAD_MASK,       unsigned short,   detections matching this mask should not be used
    2929
    3030#   dR_total^2 =  dR_sys^2 + AS * dR_obs^2 + MS * dM_obs^2
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/photcode-ps1-v3.d

    r33647 r36974  
    2222FIELD  astromErrScale,    ASTROM_ERR_SCALE,      float,          astrometric error scale
    2323FIELD  astromErrMagScale, ASTROM_ERR_MAG_SCALE,  float,          astrometric error / mag error scale
    24 FIELD  astromPoorMask,    ASTROM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    25 FIELD  astromBadMask,     ASTROM_BAD_MASK,       int,            detections matching this mask should not be used
     24FIELD  astromPoorMask,    ASTROM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     25FIELD  astromBadMask,     ASTROM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2626FIELD  photomErrSys,      PHOTOM_ERR_SYS,        float,          systematic photometric error
    27 FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    28 FIELD  photomBadMask,     PHOTOM_BAD_MASK,       int,            detections matching this mask should not be used
     27FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     28FIELD  photomBadMask,     PHOTOM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2929
    3030#   dR_total^2 =  dR_sys^2 + AS * dR_obs^2 + MS * dM_obs^2
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/photcode-ps1-v4.d

    r34260 r36974  
    2222FIELD  astromErrScale,    ASTROM_ERR_SCALE,      float,          astrometric error scale
    2323FIELD  astromErrMagScale, ASTROM_ERR_MAG_SCALE,  float,          astrometric error / mag error scale
    24 FIELD  astromPoorMask,    ASTROM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    25 FIELD  astromBadMask,     ASTROM_BAD_MASK,       int,            detections matching this mask should not be used
     24FIELD  astromPoorMask,    ASTROM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     25FIELD  astromBadMask,     ASTROM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2626FIELD  photomErrSys,      PHOTOM_ERR_SYS,        float,          systematic photometric error
    27 FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    28 FIELD  photomBadMask,     PHOTOM_BAD_MASK,       int,            detections matching this mask should not be used
     27FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     28FIELD  photomBadMask,     PHOTOM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2929
    3030#   dR_total^2 =  dR_sys^2 + AS * dR_obs^2 + MS * dM_obs^2
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/photcode-ps1-v5.d

    r36899 r36974  
    2222FIELD  astromErrScale,    ASTROM_ERR_SCALE,      float,          astrometric error scale
    2323FIELD  astromErrMagScale, ASTROM_ERR_MAG_SCALE,  float,          astrometric error / mag error scale
    24 FIELD  astromPoorMask,    ASTROM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    25 FIELD  astromBadMask,     ASTROM_BAD_MASK,       int,            detections matching this mask should not be used
     24FIELD  astromPoorMask,    ASTROM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     25FIELD  astromBadMask,     ASTROM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2626FIELD  photomErrSys,      PHOTOM_ERR_SYS,        float,          systematic photometric error
    27 FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    28 FIELD  photomBadMask,     PHOTOM_BAD_MASK,       int,            detections matching this mask should not be used
     27FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     28FIELD  photomBadMask,     PHOTOM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2929
    3030#   dR_total^2 =  dR_sys^2 + AS * dR_obs^2 + MS * dM_obs^2
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/photcode.d

    r33647 r36974  
    2222FIELD  astromErrScale,    ASTROM_ERR_SCALE,      float,          astrometric error scale
    2323FIELD  astromErrMagScale, ASTROM_ERR_MAG_SCALE,  float,          astrometric error / mag error scale
    24 FIELD  astromPoorMask,    ASTROM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    25 FIELD  astromBadMask,     ASTROM_BAD_MASK,       int,            detections matching this mask should not be used
     24FIELD  astromPoorMask,    ASTROM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     25FIELD  astromBadMask,     ASTROM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2626FIELD  photomErrSys,      PHOTOM_ERR_SYS,        float,          systematic photometric error
    27 FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      int,            detections matching this mask should only be used in emergencies
    28 FIELD  photomBadMask,     PHOTOM_BAD_MASK,       int,            detections matching this mask should not be used
     27FIELD  photomPoorMask,    PHOTOM_POOR_MASK,      unsigned int,   detections matching this mask should only be used in emergencies
     28FIELD  photomBadMask,     PHOTOM_BAD_MASK,       unsigned int,   detections matching this mask should not be used
    2929
    3030#   dR_total^2 =  dR_sys^2 + AS * dR_obs^2 + MS * dM_obs^2
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt-ps1-v1.d

    r21508 r36974  
    66
    77# elements of data structure / FITS table
    8 FIELD  M,     MAG,      float,                average mag in this band, mags
    9 FIELD  dM,    MAG_ERR,  float,                error on average mag,     mags
    10 FIELD  Xm,    MAG_CHI,  float,                chisq on average mag,     [100*log(value)]
    11 FIELD  Ncode, NCODE,    short,                number of detections in band
    12 FIELD  Nused, NUSED,    short,                number of detections used in average
    13 FIELD  M_20,  MAG_20,   short,                lower 20percent mag,      millimags
    14 FIELD  M_80,  MAG_80,   short,                upper 20percent mag,      millimags
     8FIELD  M,      MAG,      float,                average mag in this band, mags
     9FIELD  dM,     MAG_ERR,  float,                error on average mag,     mags
     10FIELD  Mchisq, MAG_CHI,  float,                chisq on average mag,                  value
     11FIELD  Ncode,  NCODE,    short,                number of detections in band
     12FIELD  Nused,  NUSED,    short,                number of detections used in average
     13FIELD  M_20,   MAG_20,   short,                lower 20percent mag,      millimags
     14FIELD  M_80,   MAG_80,   short,                upper 20percent mag,      millimags
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt-ps1-v2.d

    r27579 r36974  
    66
    77# elements of data structure / FITS table
    8 FIELD  M,     MAG,      float,                average mag in this band, mags
    9 FIELD  dM,    MAG_ERR,  float,                error on average mag,     mags
    10 FIELD  Xm,    MAG_CHI,  float,                chisq on average mag,     [100*log(value)]
    11 FIELD  flags, FLAGS,    uint32_t,             photometry flags
    12 FIELD  Ncode, NCODE,    short,                number of detections in band
    13 FIELD  Nused, NUSED,    short,                number of detections used in average
    14 FIELD  M_20,  MAG_20,   short,                lower 20percent mag,      millimags
    15 FIELD  M_80,  MAG_80,   short,                upper 20percent mag,      millimags
     8FIELD  M,      MAG,      float,                average mag in this band, mags
     9FIELD  dM,     MAG_ERR,  float,                error on average mag,     mags
     10FIELD  Mchisq, MAG_CHI,  float,                chisq on average mag,     value
     11FIELD  flags,  FLAGS,    uint32_t,             photometry flags
     12FIELD  Ncode,  NCODE,    short,                number of detections in band
     13FIELD  Nused,  NUSED,    short,                number of detections used in average
     14FIELD  M_20,   MAG_20,   short,                lower 20percent mag,      millimags
     15FIELD  M_80,   MAG_80,   short,                upper 20percent mag,      millimags
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt-ps1-v3.d

    r33963 r36974  
    99FIELD  Map,         MAG_AP,       float,      ave aperture mag in this band,         mags
    1010FIELD  dM,          MAG_ERR,      float,      formal error on average mag,           mags
    11 FIELD  Xm,          MAG_CHI,      float,      chisq on average mag,                  [100*log(value)]
     11FIELD  Mchisq,      MAG_CHI,      float,      chisq on average mag,                  value
    1212FIELD  flags,       FLAGS,        uint32_t,   photometry flags
    1313FIELD  Ncode,       NCODE,        short,      number of detections in band
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt-ps1-v4.d

    r34620 r36974  
    1111FIELD  dMkron,        MAG_KRON_ERR,    float,      formal error on average kron mag,      mags
    1212FIELD  dM,            MAG_ERR,         float,      formal error on average mag,           mags
    13 FIELD  Xm,            MAG_CHI,         float,      chisq on average mag,                  [100*log(value)]
     13FIELD  Mchisq,        MAG_CHI,         float,      chisq on average mag,                  value
    1414FIELD  FluxPSF,       FLUX_PSF,        float,      mean flux psf fit (PS1: stack)
    1515FIELD  dFluxPSF,      FLUX_PSF_ERR,    float,      mean flux psf error
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt-ps1-v5.d

    r36917 r36974  
    1919FIELD  Mmin,          MAG_MIN,           float,    min accepted mag,                      mags
    2020FIELD  Mmax,          MAG_MAX,           float,    max accepted mag,                      mags
    21 FIELD  Xm,            MAG_CHI,           float,    chisq on average mag,                  [100*log(value)]
     21FIELD  Mchisq,        MAG_CHI,           float,    chisq on average mag,                  value
    2222                                         
    2323FIELD  Ncode,         NCODE,             short,    number of detections in band
  • branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/secfilt.d

    r36917 r36974  
    1919FIELD  Mmin,          MAG_MIN,         float,      minimum accepted mag,                  mags
    2020FIELD  Mmax,          MAG_MAX,         float,      maximum accepted mag,                  mags
    21 FIELD  Xm,            MAG_CHI,         float,      chisq on average mag,                  [100*log(value)]
     21FIELD  Mchisq,        MAG_CHI,         float,      chisq on average mag,                  value
    2222
    2323FIELD  Ncode,         NCODE,           short,      number of detections in band
Note: See TracChangeset for help on using the changeset viewer.