Changeset 2818 for trunk/src/STMath.cpp
- Timestamp:
- 07/02/13 10:38:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r2695 r2818 2781 2781 MVTime mvt(refEpoch.getValue()); 2782 2782 String epochout = mvt.string(MVTime::YMD) + String(" (") + refEpoch.getRefString() + String(")"); 2783 os << "Align edat reference Epoch " << epochout2783 os << "Aligning at reference Epoch " << epochout 2784 2784 << " in frame " << MFrequency::showType(system) << LogIO::POST; 2785 2785 // set up the iterator … … 2795 2795 while ( !iter.pastEnd() ) { 2796 2796 Table t = iter.table(); 2797 ROScalarColumn<String> snCol(t, "SRCNAME"); 2798 os << "Aligning to position of source '" << snCol(0) << "'" << LogIO::POST; 2797 2799 MDirection::ROScalarColumn dirCol(t, "DIRECTION"); 2798 2800 TableIterator fiter(t, "FREQ_ID"); 2799 2801 // determine nchan from the first row. This should work as 2800 // we are iterating over BEAMNO and IFNO // we should have constant direction 2802 // we are iterating over BEAMNO and IFNO 2803 // we should have constant direction 2801 2804 2802 2805 ROArrayColumn<Float> sCol(t, "SPECTRA"); … … 2813 2816 ScalarColumn<uInt> freqidCol(ftab, "FREQ_ID"); 2814 2817 // get the SpectralCoordinate for the freqid, which we are iterating over 2815 SpectralCoordinate sC = in->frequencies().getSpectralCoordinate(freqidCol(0)); 2818 SpectralCoordinate sC = \ 2819 in->frequencies().getSpectralCoordinate(freqidCol(0)); 2816 2820 FrequencyAligner<Float> fa( sC, nchan, refEpoch, 2817 2821 direction, refPos, system ); … … 2826 2830 sc2.increment()[0]); 2827 2831 while ( !fiter.pastEnd() ) { 2832 2828 2833 ftab = fiter.table(); 2829 2834 // spectral coordinate for the current FREQ_ID
Note: See TracChangeset
for help on using the changeset viewer.