Repository for the Python version of the MORESANE deconvolution algorithm
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pymoresane
tests
.gitignore
CHANGELOG.txt
Dockerfile
LICENSE
PyMORESANE_HELP.pdf
README.md
requirements.txt
setup.py

README.md

PyMORESANE

This is a Python and pyCUDA-accelerated implementation of the MORESANE deconvolution algorithm (see Dabbech et al. 2014 for a full description of the algorithm, and Dabbech et al. 2012 for earlier work).

BASIC INSTALLATION

Resaonbly up-to-date binary packages of PyMORESANE are available via the radio-astro repository. Look for the python-pymoresane package. If you must install from source, read on.

Requirements:

You can use pip to install these:

$ pip install -r requirements.txt

Now you can use the setup script to install pymoresane:

$ python setup.py install

USAGE

Running PyMORESANE after setup is as simple as typing runsane followed by the inputs you desire. runsane --help should provide some assistance, otherwise the docstrings/comments in the code are very detailed.

Example usage:

  • Simple: runsane dirty.fits psf.fits output_name
  • Long options: runsane dirty.fits psf.fits output_name --enforcepositivity
  • Short options: runsane dirty.fits psf.fits output_name -ep

AUTHOR

Feel free to contact me at jonosken@gmail.com with comments, questions, criticism and bug-reports.