I have added a type attribute to the stokes spectral cube to return a string type descriptor of the type of stokes. As there are multiple different types supported by the VALID_STOKES which is based on the CASA supported stokes types. I have introduced four other subsets of VALID_STOKES.
These are the types are that now stores in stokes_type attribute of the class. The goal here is to be able to use the types for conversion from one stokes type to the other where possible.
I have added a type attribute to the stokes spectral cube to return a string type descriptor of the type of stokes. As there are multiple different types supported by the
VALID_STOKES
which is based on the CASA supported stokes types. I have introduced four other subsets ofVALID_STOKES
.These are the types are that now stores in
stokes_type
attribute of the class. The goal here is to be able to use the types for conversion from one stokes type to the other where possible.