Changeset 1598 for trunk/src/Scantable.h


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/Scantable.h

    r1586 r1598  
    2727
    2828#include <measures/TableMeasures/ScalarMeasColumn.h>
     29
     30#include <coordinates/Coordinates/SpectralCoordinate.h>
    2931
    3032#include "Logger.h"
     
    166168   */
    167169  casa::MDirection getDirection( int whichrow ) const;
    168  
     170
    169171  /**
    170172   * get the direction type as a string, e.g. "J2000"
     
    184186   * @return a string describing the direction reference
    185187   */
    186   std::string getDirectionRefString() const;   
     188  std::string getDirectionRefString() const;
    187189
    188190  /**
     
    355357
    356358  void shift(int npix);
     359
     360  casa::SpectralCoordinate getSpectralCoordinate(int whichrow) const;
    357361
    358362  void convertDirection(const std::string& newframe);
     
    406410   * @param[in] flag true or false
    407411   */
    408   void parallactify(bool flag) 
     412  void parallactify(bool flag)
    409413  {focus().setParallactify(flag);}
    410414private:
Note: See TracChangeset for help on using the changeset viewer.