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

3. Pass the amplitudes to `hyperbeam` during initialisation via `new_gpu_fee_beam` function, which happens in `calculate_visibilities::calculate_visibilities`. #39

Closed JLBLine closed 2 months ago

JLBLine commented 2 months ago

I think this is as easy as if (woden_settings->use_dipamps == 1) then pass woden_settings->fee_dipole_amps to new_gpu_fee_beam. And need to specify the number of antennas (tiles) as well.

Testing: This will be absorbed into later integration tests.

JLBLine commented 2 months ago

I have tested this vicariously by running run_woden.py and checking output, and it's working. Should add something to test_run_woden.py for completeness

JLBLine commented 2 months ago

Actually, given we have tests for both calculate_visibilities , get_parser, and check_args, this would be redundant testing. I've also tested running run_woden.py against hyperdrive so I'm closing this one.