Changeset 1484 for trunk/src


Ignore:
Timestamp:
01/20/09 20:12:54 (16 years ago)
Author:
Malte Marquarding
Message:

Fix for Ticket #148; forgot to scale TSYS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r1475 r1484  
    14371437  ArrayColumn<Float> specCol(tab, "SPECTRA");
    14381438  ArrayColumn<uChar> flagCol(tab, "FLAGTRA");
     1439  ArrayColumn<Float> tsysCol(tab, "TSYS");
    14391440  for ( uInt i=0; i<tab.nrow(); ++i) {
    14401441    Float zdist = Float(C::pi_2) - elev(i);
     
    14441445    specCol.put(i, ma.getArray());
    14451446    flagCol.put(i, flagsFromMA(ma));
     1447    Vector<Float> tsys;
     1448    tsysCol.get(i, tsys);
     1449    tsys *= factor;
     1450    tsysCol.put(i, tsys);
    14461451  }
    14471452  return out;
Note: See TracChangeset for help on using the changeset viewer.