IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 24, 2020, 4:01:13 PM (6 years ago)
Author:
eugene
Message:

adding recipe values PSASTRO.REFSTAR.CLUMP.NITER, PSASTRO.REFSTAR.CLUMP.SCALE (defaulting to 150, 3 as previously defined); adding log messages to track timing; adding chip-only iteration-depended fitting order; chip-only fitting needs to use bilevel astrometry if the toTPA transformation has order > 1

File:
1 edited

Legend:

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

    r37573 r41285  
    4646
    4747    bool matchLumFunc = psMetadataLookupBool (&status, recipe, "PSASTRO.MATCH.LUMFUNC");
     48
     49    int nIter = psMetadataLookupS32 (&status, recipe, "PSASTRO.REFSTAR.CLUMP.NITER");
     50    if (!status) nIter = 3;
     51
     52    psF32 clumpScale = psMetadataLookupS32 (&status, recipe, "PSASTRO.REFSTAR.CLUMP.SCALE");
     53    if (!status) clumpScale = 150;
    4854
    4955    pmFPAview *view = pmFPAviewAlloc (0);
     
    178184                // generate a reduced subset excluding the clumps
    179185                // XXX do we need both REFSTARS and SUBSET?
    180                 psArray *subset = psastroRemoveClumpsIterate(refstars, 150, 3);
     186                psArray *subset = psastroRemoveClumpsIterate(refstars, clumpScale, nIter);
    181187                psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.REFSTARS.SUBSET", PS_DATA_ARRAY, "astrometry objects", subset);
    182188
Note: See TracChangeset for help on using the changeset viewer.