Installation & usage¶
Installation¶
Ragavi
is available on PYPI and can be installed via pip or from source.
To install via pip, type on your terminal
$ pip install ragavi
This is the recommended installation method and will install the latest release.
To install from source:
$ git clone https://github.com/ratt-ru/ragavi.git
$ cd ragavi
$ pip install .
To check whether installation was successful
$ ragavi-gains -h
$ ragavi-vis -h
This will bring up a help menu for ragavi-gains
and ragavi-vis
respectively.
Usage¶
For the gains plotter, the name-space ragavi-vis
is used. To get help for this
Note
ragavi
namespace will soon change to ragavi-vis
$ ragavi-gains -h
To use ragavi gain plotter
$ ragavi-gains -t /path/to/your/table
Multiple tables can be plotted on the same document simply by adding them in a space separated list to the -t
/ --table
switch e.g
$ ragavi-gains -t delay/table/1/ bandpass/table/2 flux/table/3
For the visibility plotter, the name-space ragavi-vis
is used. Help can be obtained by running
$ ragavi-vis -h
To run ragavi-vis, the arguments --table
, --xaxis
and --yaxis
are basic requirements e.g.
$ ragavi-vis --ms /my/measurement/set --xaxis time --yaxis amplitude
For large datasets, it is advisable to supply at least --ymin
and --ymax
values to avoid an extra pass over the data.