jayanthc / yapp

Yet Another Pulsar Processor (YAPP) is a suite of radio pulsar data analysis software.
http://jayanthc.github.io/yapp/
Do What The F*ck You Want To Public License
4 stars 1 forks source link
astronomy fastradiobursts frb pulsars radioastronomy

Yet Another Pulsar Processor (YAPP) 3.7-beta

README

Yet Another Pulsar Processor (YAPP) is a suite of radio pulsar data analysis software.

The YAPP tools available with this release are:

YAPP also comes with the following utilities:

YAPP includes the following scripts:

The supported file formats are SIGPROC .fil and SIGPROC .tim, with limited support for DAS .spec and .dds, PSRFITS, PRESTO .dat, and HDF5. Not all programs support all file formats.

For detailed usage instructions, refer the man pages or online documentation.

System requirements

Linux/OS X, a C compiler, PGPLOT with C binding, FFTW3, CFITSIO, and optionally, HDF5, Python with NumPy and Matplotlib, Ruby, and ImageMagick.

Installation instructions

Standard

Firstly, clone this repository.

git clone https://github.com/jayanthc/yapp.git

On a typical Ubuntu-based machine in which PGPLOT, FFTW3, and CFITSIO were installed via APT, and the optional HDF5 was installed in its default location, running make (or make HDF5=yes), optionally followed by sudo make install, should work, with the binaries being copied to /usr/local/bin. For different operating systems and/or different PGPLOT/FFTW3/CFITSIO/HDF5 installation directories and/or a different choice of YAPP installation directory, the makefile may need to be modified by hand. YAPP scripts require YAPP binaries to be in the search path.

cd yapp
make # 'make HDF5=yes' if you would like HDF5 support
sudo make install

Using Docker

YAPP can be installed and run using Docker, as shown below. To install:

docker build -t yapp https://raw.githubusercontent.com/jayanthc/yapp/release/Dockerfile

To run YAPP with graphics, the X server on the host needs to be made available to the container. The easiest way to use YAPP with graphics is to run the script runYAPPOnDocker.sh, which will run the container, mounting a data volume of your choice to /data, and provide a terminal to work on that data. An example is given below.

./runYAPPOnDocker.sh
YAPP:/$ yapp_viewdata /data/test.fil
...
YAPP:/$ yapp_dedisperse -d 100 /data/test.fil
...
YAPP:/$ yapp_decimate -t 1024 /data/test.dm100.fil
...
YAPP:/$ exit # exit when done

You will need to modify runYAPPOnDocker.sh to specify your data directory, and if your Ethernet interface is not en0. Note that if your host operating system is Linux, replace en0 with eth0 (or whatever interface is appropriate). runYAPPOnDocker.sh has not been tested on Linux hosts.

Created by Jayanth Chennamangalam
http://jayanthc.github.io/yapp/