IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2005, 8:44:00 PM (21 years ago)
Author:
eugene
Message:

adding pmObjects stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotChoosePSF.c

    r4946 r4949  
    1717    // select the candidate PSF stars (pointers to original sources)
    1818    for (int i = 0; i < sources->n; i++) {
    19         psSource *source = sources->data[i];
     19        pmSource *source = sources->data[i];
    2020        if (source->type != PS_SOURCE_PSFSTAR) continue;
    2121        psArrayAdd (stars, 200, source);
     
    3535
    3636    // set up an array to store the test results
    37     psArray *tests = psArrayAlloc (list->size);
    38     // XXX EAM : new value : psArray *tests = psArrayAlloc (list->n);
     37    psArray *tests = psArrayAlloc (list->n);
    3938
    4039    // test each model option listed in config
     
    6867    // keep only the selected test:
    6968    test = tests->data[bestN];
    70     modelName = psModelGetType (test->modelType);
     69    modelName = pmModelGetType (test->modelType);
    7170    psLogMsg ("psphot.pspsf", 3, "selected psf model %s, ApResid: %f +/- %f\n", modelName, test->ApResid, test->dApResid);
    7271
     
    7776    // set source->model based on best psf model fit
    7877    for (int i = 0; i < test->sources->n; i++) {
    79         psSource *source = test->sources->data[i];
     78        pmSource *source = test->sources->data[i];
    8079        // drop masked sources from PSFSTAR list
    8180        if (test->mask->data.U8[i]) {
Note: See TracChangeset for help on using the changeset viewer.