IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2010, 10:03:48 PM (16 years ago)
Author:
Paul Price
Message:

Add concept CHIP.SEEING (seeing FWHM in pixels) for easy transport of this value. It's used in ppSub for the parameter scaling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsAverage.c

    r26964 r26971  
    284284
    285285    float temp = 0.0;                   // Temperature
     286    float seeing = 0.0;                 // Seeing FWHM
    286287    int x0 = 0, y0 = 0;                 // Offset
    287288    int xParity = 0, yParity = 0;       // Parity
     
    297298        }
    298299        temp += psMetadataLookupF32(NULL, chip->concepts, "CHIP.TEMP");
     300        seeing += psMetadataLookupF32(NULL, chip->concepts, "CHIP.SEEING");
    299301        if (nChips == 0) {
    300302            xSize = psMetadataLookupS32(NULL, chip->concepts, "CHIP.XSIZE");
     
    341343
    342344    temp /= (float)nChips;
     345    seeing /= (float)nChips;
    343346
    344347    MD_UPDATE(target->concepts, "CHIP.TEMP", F32, temp);
     348    MD_UPDATE(target->concepts, "CHIP.SEEING", F32, seeing);
    345349    if (same) {
    346350        MD_UPDATE(target->concepts, "CHIP.X0", S32, x0);
Note: See TracChangeset for help on using the changeset viewer.