IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2026, 3:08:04 PM (4 weeks ago)
Author:
eugene
Message:

add -mjd-obs; add chip & cell names to output test file; more trace verbosity; fix chebyshev scales for bias variations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ppSim/src/ppSimSequenceObject.c

    r42385 r43068  
    2323    float IQmin = psMetadataLookupF32 (&status, sequence, "IQ_MIN");
    2424    float IQmax = psMetadataLookupF32 (&status, sequence, "IQ_MAX");
     25
     26    float MJDmin = psMetadataLookupF32 (&status, sequence, "MJD_MIN");
     27    float MJDmax = psMetadataLookupF32 (&status, sequence, "MJD_MAX");
    2528
    2629    if (filters->n != exptimes->n) {
     
    101104                            double frnd = psRandomUniform(rng);
    102105                            float seeing = IQmin + (IQmax - IQmin)*frnd;
    103                          
    104106                            psStringAppend (&command, " -seeing %f", seeing);
     107
     108                            double dtime = (MJDmax - MJDmin)*psRandomUniform(rng);
     109                            float MJDobs = MJDmin + dtime;
     110                            psStringAppend (&command, " -mjd-obs %f", MJDobs);
    105111
    106112                            psStringAppend (&command, " %s", filename);
Note: See TracChangeset for help on using the changeset viewer.