uv2ms.py¶
Helper script to convert uvfits files to measurement sets using casa.
Command line running options¶
Script to transform uvfits filesinto measurement sets. Should be run via casa -c uv2ms.py.Uses same name of uvfits for the output measurement set
usage: uv2ms.py [-h] [--single_uvfits SINGLE_UVFITS]
[--uvfits_prepend UVFITS_PREPEND] [--band_nums BAND_NUMS]
[--no_delete]
Named Arguments¶
- --single_uvfits
Convert this single uvfits file into a measurement set e.g. –single_uvfits=./data/nice_uvfits_band01.uvfits
Default: False
- --uvfits_prepend
- Use in conjunction with –band_nums to process multiple uvfits files, where ‘{:02d}.uvfits’.format(band_num) is tacked onto the end of –uvfits_prepend. For example, setting:
–uvfits_prepend=example_band –band_nums=1,2
will tranform both example_band01.uvfits and example_band02.uvfits
Default: False
- --band_nums
Add these numbers to the end of –uvfits_prepend to convert multiple uvfits files. Alternatively, enter required numbers delineated by commas, e.g. –band_nums=1,7,9
Default: “all”
- --no_delete
Defaults to deleting a measurement set with the destination name of the measurement set to be written. by commas, e.g. –band_nums=1,7,9
Default: False