polarisation_frame_from_wcs
- polarisation_frame_from_wcs(wcs, shape) PolarisationFrame [source]
Convert wcs to polarisation_frame
See FITS definition in Table 29 of https://fits.gsfc.nasa.gov/standard40/fits_standard40draft1.pdf or subsequent revision
1 I Standard Stokes unpolarized 2 Q Standard Stokes linear 3 U Standard Stokes linear 4 V Standard Stokes circular −1 RR Right-right circular −2 LL Left-left circular −3 RL Right-left cross-circular −4 LR Left-right cross-circular −5 XX X parallel linear −6 YY Y parallel linear −7 XY XY cross linear −8 YX YX cross linear
stokesI [1] stokesIQUV [1,2,3,4] circular [-1,-2,-3,-4] linear [-5,-6,-7,-8]
- For example::
- pol_frame =
polarisation_frame_from_wcs(im.image_acc.wcs, im[“pixels”].data.shape)
- Parameters:
wcs – World Coordinate System
shape – Shape corresponding to wcs
- Returns:
Polarisation_Frame object