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