IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2021, 2:04:53 PM (5 years ago)
Author:
eugene
Message:

I have stripped out all flatcorr references : flat correction is applied by setphot

File:
1 edited

Legend:

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

    r40291 r41606  
    55// output dbFlags values
    66
    7 void setMrelFinal (Catalog *catalog, FlatCorrectionTable *flatcorr, int simpleAverage) {
     7void setMrelFinal (Catalog *catalog, int simpleAverage) {
    88
    99  off_t i;
     
    103103  // XXX make this optional? (do not clean for -averages?)
    104104  // XXX : for the moment, disable clean_measures
    105   if (!simpleAverage && FALSE) clean_measures (catalog, 1, TRUE, flatcorr);    /* mark outliers ID_MEAS_POOR_PHOTOM */
     105  if (!simpleAverage && FALSE) clean_measures (catalog, 1, TRUE);    /* mark outliers ID_MEAS_POOR_PHOTOM */
    106106
    107107  ALLOCATE (catalog[0].measureRank, char, catalog[0].Nmeasure);
    108108  setMeasureRank (catalog);
    109   setMrelOutput (catalog, 1, flatcorr); // sets the values secfilt.MpsfChp = <measure.M + measure.Mflat - image.Mcal>
    110   setMcalOutput (catalog, 1, flatcorr); // sets measure.Mcal = image.Mcal
     109  setMrelOutput (catalog, 1); // sets the values secfilt.MpsfChp = <measure.M + measure.Mflat - image.Mcal>
     110  setMcalOutput (catalog, 1); // sets measure.Mcal = image.Mcal
    111111
    112112  /* clear ID_OBJ_POOR, ID_OBJ_FEW values before writing ??? */
     
    163163int print_measure_set (Average *average, SecFilt *secfilt, Measure *measure);
    164164
    165 void skip_measurements (Catalog *catalog, int pass, FlatCorrectionTable *flatcorr) {
     165void skip_measurements (Catalog *catalog, int pass) {
    166166
    167167  off_t i, k, m;
Note: See TracChangeset for help on using the changeset viewer.