Changeset 427 for trunk/src/SDPol.h


Ignore:
Timestamp:
02/14/05 15:51:11 (19 years ago)
Author:
kil064
Message:

Now handle 1,2 or 4 input polarizations in SDStokesEngine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDPol.h

    r419 r427  
    6969
    7070public:
    71     // Construct an engine to scale all arrays in a column with
    72     // the given offset and scale factor.
    73     // TargetColumnName is the name of the column where the scaled
    74     // data will be put and must have data type Float.
    75     // The source column using this engine must have data type Float.
    76     SDStokesEngine (const casa::String& sourceColumnName,
    77                const casa::String& targetColumnName);
     71    // Construct engine.  The sourveColumnName holds the XX,YY,R(XY),I(XY)
     72    // correlations
     73    SDStokesEngine (const casa::String& virtualColumnName,
     74               const casa::String& sourceColumnName);
    7875
    7976    // Construct from a record specification as created by getmanagerSpec().
     
    131128    void getArray (casa::uInt rownr, casa::Array<casa::Float>& array);
    132129
    133     // Excpetion
     130    // Exception
    134131    void putArray (casa::uInt rownr, const casa::Array<casa::Float>& array);
    135132
    136     // Compute STokes parameters
     133    // Compute Stokes parameters
    137134    void computeOnGet (casa::Array<casa::Float>& array,
    138135                     const casa::Array<casa::Float>& target);
     136
     137    // Set shapes
     138    virtual void setShape (casa::uInt rownr, const casa::IPosition& outputShape);
     139    virtual void setShapeColumn (const casa::IPosition& outputShape);
     140    virtual casa::IPosition shape (casa::uInt rownr);
     141
     142    // Convert input/output shapes
     143    casa::IPosition findInputShape (const casa::IPosition& outputShape) const;
     144    casa::IPosition findOutputShape (const casa::IPosition& inputShape) const;
     145
    139146
    140147
Note: See TracChangeset for help on using the changeset viewer.