IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13656


Ignore:
Timestamp:
Jun 5, 2007, 3:00:40 PM (19 years ago)
Author:
eugene
Message:

added user control over number of chip subregions

File:
1 edited

Legend:

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

    r12806 r13656  
    1010
    1111    pmFPAview *view = pmFPAviewAlloc (0);
     12
     13    int nXcell = psMetadataLookupS32 (&status, recipe, "PSASTRO.MOSAIC.GRADIENT.NX");
     14    int nYcell = psMetadataLookupS32 (&status, recipe, "PSASTRO.MOSAIC.GRADIENT.NY");
    1215
    1316    // this loop selects the matched stars for all chips
     
    4144                // measure the local gradients for this set of stars
    4245                // XXX 2,2 are the number of test boxes on the chip.  put this in the recipe
    43                 gradients = pmAstromMeasureGradients (gradients, rawstars, refstars, match, region, 2, 2);
     46                gradients = pmAstromMeasureGradients (gradients, rawstars, refstars, match, region, nXcell, nYcell);
    4447            }
    4548        }
Note: See TracChangeset for help on using the changeset viewer.