IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38906 for trunk/Ohana


Ignore:
Timestamp:
Oct 20, 2015, 4:05:47 PM (11 years ago)
Author:
watersc1
Message:

Change to mkcmf.c to make index=2 petRadErr = NAN to exercise a case for ipp2psps. Change to stackbatch.py in ipp2psps to catch these NAN values and convert them into a best-guess of 10% of the petRad value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/mkcmf.c

    r38893 r38906  
    13141314      PETRO_MAG_ERR       [i] = fSN;
    13151315      PETRO_RADIUS        [i] = 8.0;
    1316       PETRO_RADIUS_ERR    [i] = 0.1;
     1316      if (i == 2) {
     1317        PETRO_RADIUS_ERR    [i] = NAN;
     1318      }
     1319      else {
     1320        PETRO_RADIUS_ERR    [i] = 0.1;
     1321      }
    13171322      PETRO_RADIUS_50     [i] = 4.0;
    13181323      PETRO_RADIUS_50_ERR [i] = 0.1;
Note: See TracChangeset for help on using the changeset viewer.