IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 22, 2021, 1:44:24 PM (5 years ago)
Author:
eugene
Message:

fix inconsistency between Mgrid and Mflat

File:
1 edited

Legend:

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

    r41607 r41608  
    271271    float dMap = NAN;
    272272
    273     // XXX I am not convinced the sign on Mflat here is correct
    274     float Moff =  Mcal + Mmos + Mgrp + Mgrid - Mflat;
     273    // This definition is consistent with PhotRel: Mrel = Msys - Mcal - Mflat
     274    float Moff =  Mcal + Mmos + Mgrp + Mgrid + Mflat;
    275275
    276276    if (isSetMrelFinal) {
Note: See TracChangeset for help on using the changeset viewer.