AlanLoh / nenums

NenuFAR XST to MS conversion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nenums

nenums

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.

Installation

Easy install

Installing nenums can be done via pip:

pip install nenums

The package is updated with the addition of --upgrade.

Requirements

See also

The set of radio astronomical software packages KERN.

Usage

Command-line

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

Python Shell

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)

About

NenuFAR XST to MS conversion


Languages

Language:Python 100.0%