Alan Loh (LESIA, Paris Observatory), Julien Girard (AIM CEA-Saclay, Paris Diderot University) and the NenuFAR team
nenums
is a Python package designed to convert NenuFAR Cross-correlation Statistics data (XST) to Measurement Sets.
Installing nenums can be done via pip
:
pip install nenums
The package is updated with the addition of --upgrade
.
The set of radio astronomical software packages KERN
.
nenums
can be called directly via the shell to quickly convert a XST observation into a MS:
nenums -xst /path/to/DATA_XST.fits -msname /path/to/new/directory/example.ms
from nenums import MS
ms = MS(xst='/path/to/DATA_XST.fits', msname='/path/to/new/directory/example.ms')
ms.createMS()
Will perform the same operation as the above commande-line example.
However, one could also access some Measurement-Set specific functions:
from nenums.utils import ms
ms.splitMS(msname='/path/to/new/directory/example.ms', remove=True)