Skip to main content

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 >3.6 (tested on 3.6 - 3.9 so far).

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

If you encounter issues with the installation of h5py make sure that you have the HDF5 library installed. If you use Homebrew as a package manager you can try this fix [following stackoverflow]:

brew install hdf5
export HDF5_DIR="$(brew --prefix hdf5)"
pip install --no-binary=h5py h5py

If you encounter issues with the installation of numba (happened for me on Mac M1 architecture), try the following:

arch -arm64 brew install llvm@11
LLVM_CONFIG="/opt/homebrew/Cellar/llvm@11/11.1.0_4/bin/llvm-config" arch -arm64 pip install llvmlite

before installing numba.

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.

Release files for VoigtFit 3.23.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for VoigtFit 3.23.2
File Size Uploaded
voigtfit-3.23.2.tar.gz 7.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for VoigtFit 3.23.2
File Interpreter ABI Platform
voigtfit-3.23.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 MB

Release files / voigtfit-3.23.2.tar.gz

Download URL voigtfit-3.23.2.tar.gz
Size 7.1 MB
Tags Source
SHA-256 checksum
How to use checksums
cdab07aa34b8e00a5400a4cbc1646ca418ab7394a12d9d0a8edf88e9bbddf664
BLAKE2b-256 checksum
How to use checksums
aae4e6f75fc63bb8262fbd4a34538e0c1a25bafcb2a0da2fccc7bc45c2b683ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.15

Release files / voigtfit-3.23.2-py3-none-any.whl

Download URL voigtfit-3.23.2-py3-none-any.whl
Size 2.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0259e4200be8e816a3c907bcea94b6430eb7dd8f8e423dec82e3e93762e5574b
BLAKE2b-256 checksum
How to use checksums
f7d18fd321e815f486565d583b54c676bde4a2829544bb392288dd0ad15a22a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

3.23.2 This release

2 release files

3.23.1

2 release files

3.23

2 release files

3.22

2 release files

3.21.6

2 release files

3.21.3

2 release files

3.21.1

2 release files

3.21

2 release files

3.20.3

2 release files

3.20.2

2 release files

3.20.1

2 release files

3.20

2 release files

3.19

2 release files

3.18

2 release files

3.17

2 release files

3.16

2 release files

3.15

2 release files

3.14.1

2 release files

3.14

2 release files

3.13.9

2 release files

3.13.7

2 release files

3.13.6

2 release files

3.13.5

2 release files

3.12

2 release files

3.11.8

2 release files

3.11.7

2 release files

3.11.4

2 release files

0.13.7

2 release files

0.13.6

2 release files

0.13.5

2 release files

0.12

2 release files

0.11.8

2 release files

0.11.7

2 release files

0.11.4

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.10.3

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page