Closed JLBLine closed 5 months ago
The reading in and checking of shapes is all handled with this commit 2853294f99e4e3d6879d82d7f60716eed4dd8ca0. Transferring out of the args
object in Woden_Settings
will all be tested via #38 , where we test if we've transferred the correct values over to the C library
Along with reading dipole amplitudes, get the dipole flags. Add a
--use_dipflags
. Again, need to modifywodenpy.wodenpy_setup.run_setup.check_args
to read relevant info in given this flag. Will need to check for--use_dipflags
when--use_dipamps
is being used, and multiply the amplitudes by the flags. Final array with be the same as the when using dipole amplitude alone, so nothing extra has to happen on the C/CUDA side, just thecheck_args
function.Testing - add some tests to
cmake_testing/wodenpy/wodenpy_setup/test_argument_inputs.py
to check we read in flags, and apply them when also reading in dipole amplitudes