Changeset 480 for trunk/src/SDMath.h


Ignore:
Timestamp:
02/18/05 17:13:45 (19 years ago)
Author:
kil064
Message:

add functions getRowRange and rowInRange
make gain/el correction the inverse of what it was
have gain/el and opacity also correct TSys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMath.h

    r457 r480  
    159159                             const casa::String& interp) const;
    160160
    161 // Correct data from an ascii Table
    162    void correctFromAsciiTable(SDMemTable* pTabOut, const SDMemTable& in,
     161// Scale data with values from an ascii Table
     162   void scaleFromAsciiTable(SDMemTable* pTabOut, const SDMemTable& in,
    163163                              const casa::String& fileName,
    164164                              const casa::String& col0, const casa::String& col1,
    165165                              const casa::String& methodStr, casa::Bool doAll,
    166                               const casa::Vector<casa::Float>& xOut) const;
    167 
    168 // Correct data from a Table
    169    void correctFromTable(SDMemTable* pTabOut, const SDMemTable& in, const casa::Table& tTable,
     166                              const casa::Vector<casa::Float>& xOut, casa::Bool doTSys) const;
     167
     168// Scale data with values from a Table
     169   void scaleFromTable(SDMemTable* pTabOut, const SDMemTable& in, const casa::Table& tTable,
    170170                         const casa::String& col0, const casa::String& col1,
    171171                         const casa::String& methodStr, casa::Bool doAll,
    172                          const casa::Vector<casa::Float>& xOut) const;
    173 
    174 // Correct data from a Vector
    175    void correctFromVector (SDMemTable* pTabOut, const SDMemTable& in,
    176                            casa::Bool doAll, const casa::Vector<casa::Float>& factor) const;
     172                         const casa::Vector<casa::Float>& xOut, casa::Bool doTSys) const;
     173
     174// Scale data and optionally TSys by values in a Vector
     175   void scaleByVector (SDMemTable* pTabOut, const SDMemTable& in,
     176                       casa::Bool doAll, const casa::Vector<casa::Float>& factor,
     177                       casa::Bool doTSys) const;
    177178
    178179// Convert time String to Epoch
     
    215216                               casa::Bool perFreqID) const;
    216217
     218// Get row range from SDMemTable state
     219   casa::Vector<casa::uInt> getRowRange (const SDMemTable& in) const;
     220
     221// Is row in the row range ?
     222   casa::Bool rowInRange (casa::uInt i, const casa::Vector<casa::uInt>& range) const;
     223
    217224// Set slice to cursor or all axes
    218225    void setCursorSlice (casa::IPosition& start, casa::IPosition& end,
Note: See TracChangeset for help on using the changeset viewer.