Need a new function, source_components::kern_extra_RM_stokesQU, that takes in the Stokes I that should have already been extrapolated, the RM, the linear polarisation fraction, and the intrinsic polarisation angle, and calculates Stokes Q and U.
Testing - will have to edit cmake_testing/GPU_code/source_components/test_extrap_stokes.c to include Stokes Q/U. Likely many other tests in that directory should be updated to include different polarisation examples (e.g test_kern_calc_visi_common.c, test_source_component_common.c).
Need a new function,
source_components::kern_extra_RM_stokesQU
, that takes in the Stokes I that should have already been extrapolated, the RM, the linear polarisation fraction, and the intrinsic polarisation angle, and calculates Stokes Q and U.Testing - will have to edit
cmake_testing/GPU_code/source_components/test_extrap_stokes.c
to include Stokes Q/U. Likely many other tests in that directory should be updated to include different polarisation examples (e.gtest_kern_calc_visi_common.c
,test_source_component_common.c
).