IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38703


Ignore:
Timestamp:
Sep 3, 2015, 6:21:55 AM (11 years ago)
Author:
eugene
Message:

for a test, only allow 2mass measurements in the fits; allow 2mass to be included despite psf_qf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150625/Ohana/src/relastro/src/ImageOps.c

    r38697 r38703  
    11# include "relastro.h"
     2int isGPC1chip (int photcode);
    23
    34# define USE_IMAGE_ID 1
     
    690691      raw[i].mask |= MARK_NAN_POS_ERROR;
    691692    }
     693
     694    // XXX A TEST: can we use only 2MASS measurements to fit the images?
     695    if (!(measure[0].dbFlags & ID_MEAS_OBJECT_HAS_2MASS)) {
     696      fprintf (stderr, "@");
     697      raw[i].mask |= MARK_BIG_OFFSET;
     698    }
     699
    692700    raw[i].Nmeas = catalog[c].average[n].Nmeasure; // record so we can check how well connected an image is
    693701
     
    12251233  } 
    12261234 
    1227   if (MinBadQF > 0.0) {
     1235  if ((MinBadQF > 0.0) && isGPC1chip(measure[0].photcode)) {
     1236    if (!isfinite(measure[0].psfQF)) return FALSE;
    12281237    if (measure[0].psfQF < MinBadQF) return FALSE;
    12291238  }
Note: See TracChangeset for help on using the changeset viewer.