Closed JLBLine closed 2 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
Currently,
wodenpy.wodenpy_setup.run_setup.check_args
reads information from the metafits file, and stores it in theargs
object. To get the dipole amplitudes, we should implement:--use_dipamps
flag towodenpy.wodenpy_setup.run_setup.get_parser
to use dipole amplitude information from the metafits file.wodenpy.wodenpy_setup.check_args
to read in the dipole amplitudes from the metafits file. While doing this, we should also check that the number of dipole amplitudes are of the correct shape - TODO might have to demand there are as many sets of dipole amplitudes as there are antennas (tiles).wodenpy.use_libwoden.woden_settings.Woden_Settings*
class, using thewodenpy.use_libwoden.woden_settings.create_woden_settings
function.hyperbeam
.Testing: Add some functions to existing
cmake_testing/wodenpy/wodenpy_setup/test_argument_inputs.py
that use1088285600_DipAmps.metafits
to check that the dipole amplitudes are being read in correctly.