IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2014, 10:48:56 PM (12 years ago)
Author:
mhuber
Message:

adding min/max mag cuts (general or by photcode) to refcat sources for zero point in camera and skycal stage. MD PV3 recipe configs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroChooseRefstars.c

    r37420 r37552  
    6666    psF32 clampMagMin = psMetadataLookupF32 (&status, recipe, "REFSTAR_CLAMP_MAG_MIN");
    6767    if (!status) clampMagMin = -5.0;
    68     //MEH test
     68    //MEH adding max option as well -- really should not be hardcoded..
    6969    psF32 clampMagMax = psMetadataLookupF32 (&status, recipe, "REFSTAR_CLAMP_MAG_MAX");
    7070    if (!status) clampMagMax = 30.0;
     
    117117                        goto skip;
    118118                    }
    119                     //MEH test
     119                    //MEH option for max mag clamp also
    120120                    if (ref->Mag > clampMagMax) {
    121121                        psWarning("Skipping by clamp refstar with faint magnitude %f ra: %f dec: %f\n",
Note: See TracChangeset for help on using the changeset viewer.