Skip to main content

cosmicPAHmfit

version : 1.0

Authors : Louan de Bentzmann (CNRS, IRAP), Karine Demyk (CNRS, IRAP), Axel Périgon (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 accessible through https://cosmic-pah.irap.omp.eu/doku.php?id=tools

Installation

-It is recommanded to use a virtual environnement copy/past The pyenv version can be above 3.12 if prefered. (On windows pyenv is not working, proceed to installation of a compatible python (3.12-3.15). A virtual environnement is not mendatory.)

pyenv install 3.12.3
pyenv virtualenv 3.12.3 venv
pyenv activate venv

-with pypi:

pip install cosmicPAHmfit
python3 cosmicPAHmfit

-With zip file:

pip install -r ./cosmicPAHmfit.egg-info/requires.txt
python3 cosmicPAHmfit

If the previous lines doesn't work. Install pyenv: -On Linux To create a pyenv virtualenv for running an other python in a venv run the following blocks (copy/past);

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/past 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 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 cosmicPAHmfit

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cosmicpahmfit-1.0.tar.gz (517.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cosmicpahmfit-1.0-py3-none-any.whl (620.8 kB view details)

Uploaded Python 3

File details

Details for the file cosmicpahmfit-1.0.tar.gz.

File metadata

  • Download URL: cosmicpahmfit-1.0.tar.gz
  • Upload date:
  • Size: 517.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for cosmicpahmfit-1.0.tar.gz
Algorithm Hash digest
SHA256 2521a3d8b29c46da5caec3140e173eefb95e1ff75ac9a7c0b03391832d377669
MD5 0ad8a482165bc67b660138b5ac92e1a1
BLAKE2b-256 a9c7742a8c4d651155fef5fe98db3adfdc34ea6c979e2558388b02b6dd5cda7e

See more details on using hashes here.

File details

Details for the file cosmicpahmfit-1.0-py3-none-any.whl.

File metadata

  • Download URL: cosmicpahmfit-1.0-py3-none-any.whl
  • Upload date:
  • Size: 620.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for cosmicpahmfit-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ce01f881356d8c96410c78b0d5fe9ed0ca7c4d779790377bab53cb9269d6ee5
MD5 2493a233336d020640d1d637528cbc8e
BLAKE2b-256 4134e7d4840eda93ff502fd43423e857e086fbbafefdf584a3b60d655efb4842

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.2

2 files

1.1.1

2 files

This release

1.0 This release

2 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