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

4. Pass polarisation info to the C/GPU code #59

Closed JLBLine closed 1 month ago

JLBLine commented 1 month ago

First of all, have to edit _components_t to include

Maybe rename the assumed Stokes I arrays to be clear:

At the same time, we should delete:

as these are wrong and should never have existed. I imagine we'll need to add something like the following to _source_t:

Will then have to edit source_components::copy_chunked_source_to_GPU and source_components::copy_chunked_components_to_GPU to copy across these new fields.

Testing - this function will be tested when testing all the different polarisation options.

JLBLine commented 1 month ago

Added this in 43c08b56447ecd65e620492b290b52eb37cb4178, and fixed old tests that it breaks. Will get tested further down the line with other functions being tested