IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2021, 10:15:35 AM (5 years ago)
Author:
eugene
Message:

more cleanup: add REQUIRE_PSFFIT option, rename setMrel_catalog_alt to setMrelCatalog, add notes on resets, move setMflatFromGrid into setMrelFinal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relphot.20210521/src/setMrelFinal.c

    r41623 r41624  
    2727  ALLOCATE (catalog[0].measureRank, char, catalog[0].Nmeasure);
    2828  setMeasureRank (catalog);
     29
     30  setMflatFromGrid (catalog); // Mgrid is used to set Mflat; Mgrid is the ignored in setMrelOutput / setMrelCatalog
    2931  setMrelOutput (catalog, 1); // sets the values secfilt.MpsfChp = <measure.M - image.Mcal - measure.Mflat>
    3032  setMcalOutput (catalog, 1); // sets measure.Mcal = image.Mcal
    3133
    32   /* clear ID_OBJ_POOR, ID_OBJ_FEW values before writing ??? */
    33   /* ID_MEAS_NOCAL is an internal bit, so it should be cleared */
     34  // clear ID_OBJ_POOR, ID_OBJ_FEW, ID_MEAS_NOCAL values before writing
     35  // These are internal bits, so they should be cleared
     36  // XXX are these still used?
    3437  // XXX eventually: move these internal flags to an internal-only catalog->FOO element (like found)
    3538  for (i = 0; i < catalog[0].Naverage; i++) {
     
    8386int print_measure_set (Average *average, SecFilt *secfilt, Measure *measure);
    8487
     88// XXX this function is no longer used:
    8589void skip_measurements (Catalog *catalog, int pass) {
    8690
Note: See TracChangeset for help on using the changeset viewer.