IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40644 for trunk


Ignore:
Timestamp:
Mar 19, 2019, 5:52:23 AM (7 years ago)
Author:
eugene
Message:

updates to fitobj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/mana/deimos_fitobj.c

    r40643 r40644  
    205205    // new concept: start with 2-sigma range, then ramp down below
    206206    for (int iy = 0; iy < Nrow; iy++) {
    207       objNoise[iy] = 2*hypot(sqrt(fabs(objVal[iy + row]) / gain), noiseVar);
    208       skyNoise[iy] = 2*hypot(sqrt(fabs(skyVal[iy + row]) / gain), noiseVar);
    209       bckNoise[iy] = 2*hypot(sqrt(fabs(bckVal[iy + row]) / gain), noiseVar);
     207      objNoise[iy] = 2*sqrt(hypot(fabs(objVal[iy + row]) / gain, noiseVar));
     208      skyNoise[iy] = 2*sqrt(hypot(fabs(skyVal[iy + row]) / gain, noiseVar));
     209      bckNoise[iy] = 2*sqrt(hypot(fabs(bckVal[iy + row]) / gain, noiseVar));
    210210    }
    211211
Note: See TracChangeset for help on using the changeset viewer.