Ignore:
Timestamp:
01/09/13 19:27:23 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: Yes

JIRA Issue: Yes CAS-4770 and its sub-tickets

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

First version of applycal for single dish calibration.
Added new classes for the operation (STApplyCal, Calibrator, PSAlmaCalibrator,
Locator, BisectionLocator?, Interpolator1D, NearestInterpolator1D).
Also, modified existing classes to fit with implementation of applycal.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STCalSkyPSAlma.cpp

    r2703 r2720  
    2626  : STCalibration(s)
    2727{
    28   applytable_ = new STCalSkyTable(*s, "PS");
     28  applytable_ = new STCalSkyTable(*s, "PSALMA");
    2929}
    3030
     
    6363  ROArrayColumn<Float> specCol(scantable_->table(), "SPECTRA");
    6464  ROArrayColumn<uChar> flagCol(scantable_->table(), "FLAGTRA");
     65  ROScalarColumn<uInt> freqidCol(scantable_->table(), "FREQ_ID");
    6566
    6667  // dummy Tsys: the following process doesn't need Tsys but RowAccumulator
     
    124125          STCalSkyTable *p = dynamic_cast<STCalSkyTable *>(&(*applytable_));
    125126          p->appenddata(0, 0, current[2], current[0], current[1],
    126                         timeCen, elCen, acc.getSpectrum());
     127                        freqidCol(irow), timeCen, elCen, acc.getSpectrum());
    127128        }
    128129        acc.reset() ;
Note: See TracChangeset for help on using the changeset viewer.