IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2014, 2:32:47 PM (12 years ago)
Author:
bills
Message:

add SN column to cff file

File:
1 edited

Legend:

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

    r36708 r36730  
    290290        bool psfStar = (source->mode & PM_SOURCE_MODE_PSFSTAR) ? true : false;
    291291        int n_rows = 0;
     292
     293        psF32 SN = source->moments->KronFlux/source->moments->KronFluxErr;
    292294
    293295        // start with psf model
     
    433435            psMetadataAddF32 (row, PS_LIST_TAIL, "Y",                0, "y coordinate",          yPos[j]);
    434436            psMetadataAddF32 (row, PS_LIST_TAIL, "FLUX",             0, "flux per second",       flux[j]/exptime);
     437            psMetadataAddF32 (row, PS_LIST_TAIL, "SN",               0, "kron flux signal to noise", SN);
    435438            psMetadataAddF32 (row, PS_LIST_TAIL, "AP_RADIUS",        0, "aperture radius",       source->apRadius);
    436439            psMetadataAddF32 (row, PS_LIST_TAIL, "KRON_RADIUS",      0, "Kron radius",           source->moments->Mrf * 2.5);
Note: See TracChangeset for help on using the changeset viewer.