cosmicPAHmfit
version : 1.1
Authors : Louan de Bentzmann (CNRS, IRAP), Karine Demyk (CNRS, IRAP), Axel Pérignon (CNRS, IRAP), Vincent Marty (CNRS, IRAP), Jean-Michel Glorian (CNRS, IRAP), Christine Joblin (CNRS, IRAP)
Licence : GPLv3
Description
CosmicPAHmfit is a python fitting tool. It performs a multi-component fit of the selected spectral feature using pseudo-Voigt functions (linear combination of a Gaussian curve and of a Lorentzian curve possibly modified by an asymmetry factor). It has a graphical interface to select the spectral feature of interest as well as the number of components to be included in the fit. For each component, it provides the evolution of the position, width (FWHM) and integrated intensity as a function of temperature. User manual is available through User manuel Full code is available from gitlab
Citation
Installation
pip install cosmicPAHmfit
python3 -m cosmicPAHmfit
-It is recommanded to use a virtual environment copy/paste The pyenv version can be above 3.12 if preferred. (On windows pyenv is not working, proceed to installation of a compatible python (3.12-3.15). A virtual environment is not mandatory.)
pyenv install 3.12.3
pyenv virtualenv 3.12.3 venv
pyenv activate venv
If the previous commands do not work. Install pyenv: -On Linux To create a pyenv virtualenv for running an other python in a venv run the following blocks (copy/paste);
curl https://pyenv.run | bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
exec "$SHELL"
sudo apt-get update; sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
-On MAC if the previous install doesn't work copy/paste the following:
brew install pyenv-virtualenv
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
Usage
Run the following line
pyenv activate venv; python3 -m cosmicPAHmfit
to exit the pyenv venv you must use:
pyenv deactivate
If (venv) appears in the terminal, the pyenv venv is running. To run the application you can use directly:
python3 -m cosmicPAHmfit
Metadata
Release files for cosmicPAHmfit 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cosmicpahmfit-1.1.2.tar.gz | 517.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cosmicpahmfit-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / cosmicpahmfit-1.1.2.tar.gz
| Download URL | cosmicpahmfit-1.1.2.tar.gz |
|---|---|
| Size | 517.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
687d01bf09b2c71ba54fc6ea6a3fe7faed0651da52a5be532be51ec5bc7289fa
|
|
BLAKE2b-256 checksum How to use checksums |
c4a41e574ea7715eb0aaa028255af4508dfee3b380536830ff2b97160076e463
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cosmicpahmfit-1.1.2-py3-none-any.whl
| Download URL | cosmicpahmfit-1.1.2-py3-none-any.whl |
|---|---|
| Size | 620.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e67e6b8772b1dc6eb0d35af3b4eaf5b45637875ad9f687da5b3b1db3a705af3f
|
|
BLAKE2b-256 checksum How to use checksums |
e4a9b15aa0f49e640548a01a35f1d2a45558f272f8432238b8fbb3b4e4ec1bbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|