Ignore:
Timestamp:
07/08/09 11:22:27 (15 years ago)
Author:
Malte Marquarding
Message:

Ticket #170: added scantable.get_coordinate(row). Note that this in the specified reference frame NOT in the basese frame, e.g. usually LSRK/BARY not TOPO. That means that coord.to_frequency(coord.get_rerencepixel()) != coord.get_reference_value(). You need to run {{{freq_align to rectify this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ScantableWrapper.h

    r1586 r1598  
    2020#include "STFit.h"
    2121#include "Scantable.h"
     22#include "STCoordinate.h"
    2223
    2324namespace asap {
     
    215216    { table_->parallactify(flag); }
    216217
     218  STCoordinate getCoordinate(int row) {
     219    return STCoordinate(table_->getSpectralCoordinate(row));
     220  }
     221
    217222private:
    218223  casa::CountedPtr<Scantable> table_;
     
    221226} // namespace
    222227#endif
    223 
Note: See TracChangeset for help on using the changeset viewer.