Changeset 927


Ignore:
Timestamp:
03/24/06 13:35:55 (19 years ago)
Author:
mar637
Message:

added frequencyAlign().

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.h

    r917 r927  
    116116  casa::CountedPtr<Scantable>
    117117    frequencyAlign( const casa::CountedPtr<Scantable>& in,
    118                     const std::string& refTime,
    119                     const std::string& method, bool perfreqid);
     118                    const std::string& refTime = "",
     119                    const std::string& method = "cubic" );
    120120
    121121private:
  • trunk/src/STMathWrapper.h

    r912 r927  
    117117  { return ScantableWrapper(STMath::swapPolarisations(in.getCP())); }
    118118
     119  ScantableWrapper frequencyAlign( const ScantableWrapper& in,
     120                                   const std::string& refTime,
     121                                   const std::string& method  )
     122  { return ScantableWrapper(STMath::frequencyAlign(in.getCP())); }
     123
    119124};
    120125
  • trunk/src/python_STMath.cpp

    r912 r927  
    6060        .def("_invert_phase", &STMathWrapper::invertPhase)
    6161        .def("_swap_linears", &STMathWrapper::swapPolarisations)
     62        .def("_freq_align", &STMathWrapper::frequencyAlign)
    6263      ;
    6364    };
Note: See TracChangeset for help on using the changeset viewer.