Polarization

class Polarization(pol_id: int, num_corr: int, corr_type: NDArray, corr_product: NDArray)[source]

Bases: object

A logical representation of a polarization.

Integer correlation Stokes types are translated to their corresponding string representation using a local definition of the Stokes enumeration that is copied from the Stokes class enumeration in CASA.

id

Numerical identifier of the polarization.

num_corr

Number of correlations associated with this polarization.

corr_type

Integer representation of Stokes type for each correlation associated with this polarization.

corr_product

Pairs of polarization types, corresponding to the two receptors in the correlation, for each correlation associated with this polarization.

corr_type_string

String representation of Stokes type for each correlation associated with this polarization.