This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tools:mfit [2021/08/23 10:20] cjoblin |
tools:mfit [2026/08/31 18:54] (current) cjoblin created |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== cosmicPAHmfit ===== | ||
| + | **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** : [[https://gitlab.in2p3.fr/ovgso/cosmic-pah/cosmic-pah-mfit/-/blob/1.1/LICENCE|GPLv3]] | ||
| ==== Description ==== | ==== 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. | |
| - | **Mfit** is a fitting tool for a multi-component analysis of infrared spectra. It is written in python language. | + | User manual is available through [[https://gitlab.in2p3.fr/ovgso/cosmic-pah/cosmic-pah-mfit/-/wikis/uploads/e15e6afc169937235e6060f1bdc3e518/Manuel_d_utilisation_CosmicPAH-1.pdf|User manuel]] |
| - | + | Full code is available from [[https://gitlab.in2p3.fr/ovgso/cosmic-pah/cosmic-pah-mfit/cosmicPAHmfit/|gitlab]] | |
| - | **Mfit** has a graphical interface to select the spectral feature for the multi-component fit using profiles that can be Lorentzian, Gaussian or mix of them (Voigt). The tool tries to automatically adapt it over the profile but we can manually edit the voigt parameters and add multiples voigts. | + | ==== Citation ==== |
| + | Use the following document to site this application: | ||
| + | [[https://gitlab.in2p3.fr/ovgso/cosmic-pah/cosmic-pah-mfit/-/blob/1.1/CITATION.cff|How to cite cosmicPAHmfit]] | ||
| + | ==== Installation ==== | ||
| + | It is recommended to use a python virtual environnement. For example by using [[https://github.com/pyenv/pyenv|pyenv]] | ||
| + | The python version must be 3.12 or higher. 3.12 to 3.15 are tested and work correctly. | ||
| + | Within the virtual environnement use the following command to install the application: | ||
| + | pip install cosmicPAHmfit | ||
| + | And either one to run the application: | ||
| + | python3 -m cosmicPAHmfit | ||
| + | Or | ||
| + | cosmicPAHmfit | ||
| + | The installation is detailed in the [[https://gitlab.in2p3.fr/ovgso/cosmic-pah/cosmic-pah-mfit/cosmicPAHmfit/-blob/1.1/README.md|README.md]] | ||