Changeset 2145 in Sophya for trunk/SophyaLib/NTools/dynccd.cc


Ignore:
Timestamp:
Jul 31, 2002, 12:34:12 PM (23 years ago)
Author:
ansari
Message:

Suppression des #define pour fonctions float ds fmath.h (fmat.h est devenu vide) + adaptations , Reza 31/7/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/dynccd.cc

    r1110 r2145  
    113113if ( (pixel > MaxADU) || (pixel < MinADU) )   return(0.);
    114114if ( TypNoise == kConstantNoise)  return(1.);
    115 if ( TypNoise == kSqrtADUNoise )  return(fsqrt(fabsf(pixel)));
     115if ( TypNoise == kSqrtADUNoise )  return(sqrt(fabs(pixel)));
    116116
    117117if ( TypNoise == kSigFondNoise)
     
    124124h = (pixel>fond) ? (r_8)(pixel-fond) : 0.;
    125125s = ronsq+h/Gain;
    126 s = fsqrt(s);
     126s = sqrt(s);
    127127return(s);
    128128}
Note: See TracChangeset for help on using the changeset viewer.