JLBLine / WODEN

CUDA code designed to simulate interferometric data using point, Gaussian, and shapelet sky models
https://woden.readthedocs.io/en/latest/
Mozilla Public License 2.0
5 stars 0 forks source link

6. Write new C/GPU code to calculate Q/U from Stokes I and RM/pol frac/intrinsic pol angle #61

Closed JLBLine closed 3 months ago

JLBLine commented 4 months ago

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).

JLBLine commented 3 months ago

This was done with de3269cf72357a185b1299a31be487deec6b0985