IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2009, 2:40:14 PM (17 years ago)
Author:
Paul Price
Message:

Correct ZP for exposure time --- step 1/3 to more correct magnitudes!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMops/src/ppMops.c

    r24307 r24325  
    4343            exit(PS_EXIT_DATA_ERROR);
    4444        }
     45    }
     46
     47    // Correct ZP for exposure time
     48    data->zp += 2.5 * log10(psMetadataLookupF32(NULL, header, "EXPTIME"));
     49    if (!isfinite(data->zp)) {
     50        psErrorStackPrint(stderr, "Zero point is unknown\n");
     51        exit(PS_EXIT_CONFIG_ERROR);
    4552    }
    4653
Note: See TracChangeset for help on using the changeset viewer.