IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37087


Ignore:
Timestamp:
Jul 18, 2014, 3:36:38 PM (12 years ago)
Author:
eugene
Message:

always save PSF model as first row

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_CFF.c

    r36866 r37087  
    373373        }
    374374
     375        // save the PSF model parameters for each object as the first entry
    375376        xPos[0] = model->params->data.F32[PM_PAR_XPOS];
    376377        yPos[0] = model->params->data.F32[PM_PAR_YPOS];
     
    384385        nDOF[0] = NAN;
    385386        modelFlags[0] = 0;
     387        n_rows ++;
    386388
    387389        if (source->modelFits != NULL) {
     
    507509            }
    508510        }
    509         if (n_rows == 0) {
    510             // didn't find a suitable extended model we have one row with the psf parameters
    511             n_rows = 1;
    512         }
    513511
    514512        for (int j = 0; j < n_rows; j++) {
Note: See TracChangeset for help on using the changeset viewer.