Changeset 1318 for trunk/src


Ignore:
Timestamp:
02/07/07 15:14:41 (18 years ago)
Author:
mar637
Message:

Fix for Ticket #97; corrected opacity formula. Forgot to check this in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r1314 r1318  
    978978  for ( uInt i=0; i<tab.nrow(); ++i) {
    979979    Float zdist = Float(C::pi_2) - elev(i);
    980     Float factor = exp(tau)/cos(zdist);
     980    Float factor = exp(tau/cos(zdist));
    981981    MaskedArray<Float> ma = maskedArray(specCol(i), flagCol(i));
    982982    ma *= factor;
Note: See TracChangeset for help on using the changeset viewer.