Changeset 1414


Ignore:
Timestamp:
01/31/08 15:18:41 (16 years ago)
Author:
Malte Marquarding
Message:

only add weight if there is a valid channel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/RowAccumulator.cpp

    r1398 r1414  
    5050  // add spectrum related weights, so far it is variance only.
    5151  Float totalweight = 1.0;
    52   totalweight *= addTsys(tsys);
     52
    5353  // only add these if not everything masked
    5454  if ( !allEQ(m, False) ) {
     55    totalweight *= addTsys(tsys);
    5556    totalweight *= addInterval(interval);
    5657    addTime(time);
Note: See TracChangeset for help on using the changeset viewer.