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

7. Write new C/GPU code to to zero out Stokes I if user wants #62

Closed JLBLine closed 1 month ago

JLBLine commented 1 month ago

Need a function source_components::kern_zero_stokesI that takes in the Stokes I that should have already been extrapolated, and zeros out anything specified by components->linpol_zero_I_comp_inds.

Existing tests are going to be getting bigger and bigger, so I suggest writing a new cmake_testing/GPU_code/source_components/test_kern_zero_stokesI.c to test this new function.

JLBLine commented 1 month ago

So we've changed the idea for this to use the linear polarised flux instead of zero-ing out the Stokes I. Therefore I can close this without doing any work booyah.