Changeset 492 for trunk/src/SDPol.h


Ignore:
Timestamp:
02/21/05 18:03:36 (19 years ago)
Author:
kil064
Message:

add function polarizationLabel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDPol.h

    r469 r492  
    194194   static casa::Stokes::StokesTypes convertStokes(casa::Int val, casa::Bool toStokes,
    195195                                                  casa::Bool linear);
     196
     197// Return a label for the given polarization index (0-3).   
     198   static casa::String polarizationLabel (casa::uInt polIdx, casa::Bool linear,
     199                                          casa::Bool stokes, casa::Bool linPol);
    196200
    197201
     
    220224
    221225private:
     226// Return a label for the given StokesType
     227   static casa::String stokesString (casa::Stokes::StokesTypes stokes);
     228
     229// specializations
    222230  static casa::Array<casa::Float> andArrays (const casa::Array<casa::Float>& in1,
    223231                                             const casa::Array<casa::Float>& in2)
    224232                                             {return (in1+in2)/casa::Float(2.0);}
    225 
    226233  static casa::Array<casa::Bool> andArrays (const casa::Array<casa::Bool>& in1,
    227234                                            const casa::Array<casa::Bool>& in2)
Note: See TracChangeset for help on using the changeset viewer.