IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38665


Ignore:
Timestamp:
Aug 6, 2015, 12:57:05 PM (11 years ago)
Author:
eugene
Message:

working on relastro icrs tie options

Location:
branches/eam_branches/ipp-20150625/Ohana/src
Files:
2 edited

Legend:

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

    r38441 r38665  
    112112
    113113    // if we want to correct to the galay model, we need to use objects with distances determined by Green & Schlafly
    114     if (USE_GALAXY_MODEL && !catalog[0].average[i].Nstarpar) {
    115       // we may want to add some starpar quality filters...
    116       continue;
     114    if (USE_GALAXY_MODEL) {
     115      // if we use the galaxy model, we need to require the model pm to exist
     116      if (!catalog[0].average[i].Nstarpar) continue;
     117      if (!isfinite(catalog[0].average[i].uRgal)) continue;
     118      if (!isfinite(catalog[0].average[i].uDgal)) continue;
    117119    }
    118120
  • branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src/update_catalog_setgalmodel.c

    r38663 r38665  
    1717  for (i = 0; i < catalog[0].Naverage; i++) {
    1818
    19     average[i].uRgal = 0.0;
    20     average[i].uDgal = 0.0;
     19    average[i].uRgal = NAN;
     20    average[i].uDgal = NAN;
    2121
    2222    if (average[i].Nstarpar == 0) continue;
Note: See TracChangeset for help on using the changeset viewer.