apply_voltage_pattern_to_skycomponent
- ska_sdp_func_python.sky_component.operations.apply_voltage_pattern_to_skycomponent(sc: SkyComponent | List[SkyComponent], vp: Image, inverse=False, phasecentre=None) SkyComponent | List[SkyComponent] [source]
Apply a voltage pattern to a SkyComponent.
For inverse==False, input polarisation_frame must be stokesIQUV, and output polarisation_frame is same as voltage pattern.
For inverse==True, input polarisation_frame must be same as voltage pattern, and output polarisation_frame is “stokesIQUV”.
Requires a complex Image with the correct ordering of polarisation axes: e.g. RR, LL, RL, LR or XX, YY, XY, YX.
- Parameters:
sc – SkyComponent or list of SkyComponents
vp – voltage pattern as complex image
inverse – input and output polarisation frame (default False)
phasecentre – Phasecentre (Skycoord)
- Returns:
List of SkyComponents