Skip to content

Python code to fit absorption lines semi-interactively

License

Notifications You must be signed in to change notification settings

nimishak-cosmos/VoigtFit

 
 

Repository files navigation

VoigtFit

Absorption line fitting implemented in Python.

If you use this software, please cite my paper on arXiv. Please let me know that you're using VoigtFit by filling in this short form. This way I can keep you updated with critical updates.

Installation

Dependencies

Python version 2.7 or >3.6 (only tested on 3.6 and 3.7 so far).

VoigtFit depends on matplotlib, numpy, scipy, h5py, astropy, lmfit, and numba. You can install these using your favorite Python package manager such as conda or pip.

Using pip

The easiest way to install the most recent stable version of VoigtFit is using pip:

pip install VoigtFit

If you encounter the following AttributeError when attempting to install via pip:

AttributeError: 'NoneType' object has no attribute 'splitlines'

Try running pip with the --upgrade option:

pip install --upgrade VoigtFit

From source

Alternatively, you can get the latest version of the source by cloning the git repository:

git clone https://github.com/jkrogager/VoigtFit.git

Once you've downloaded the source, you can navigate into the root source directory and run:

python setup.py install

If you encounter any problems, do not hesitate to raise an issue here.

Further documentation and how to use it

Check out the documentation for instructions of installation and use.

About

Python code to fit absorption lines semi-interactively

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%