tools:mfit
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:mfit [2026/08/31 18:53] – [Description] cjoblin | tools:mfit [2026/08/31 18:54] (current) – created cjoblin | ||
|---|---|---|---|
| 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:// | |
| - | ==== | + | ==== Description |
| - | + | CosmicPAHmfit | |
| - | [How to cite cosmicPAHmfit](https:// | + | User manual is available through [[https://gitlab.in2p3.fr/ovgso/ |
| - | + | Full code is available from [[https://gitlab.in2p3.fr/ | |
| - | + | ==== Citation ==== | |
| - | ==== Installation | + | Use the following |
| - | + | [[https://gitlab.in2p3.fr/ovgso/cosmic-pah/cosmic-pah-mfit/-/ | |
| - | ``` | + | ==== Installation |
| - | pip install cosmicPAHmfit | + | It is recommended |
| - | python3 cosmicPAHmfit | + | The python version must be 3.12 or higher. 3.12 to 3.15 are tested and work correctly. |
| - | + | Within | |
| - | ``` | + | pip install cosmicPAHmfit |
| - | + | And either one to run the application: | |
| - | -It is recommanded to use a virtual environment **copy/ | + | python3 |
| - | + | Or | |
| - | ``` | + | |
| - | pyenv install 3.12.3 | + | The installation is detailed in the [[https:// |
| - | pyenv virtualenv 3.12.3 venv | + | |
| - | pyenv activate venv | + | |
| - | ``` | + | |
| - | + | ||
| - | If the previous commands don't work. Install pyenv: | + | |
| - | + | ||
| - | -On **Linux** To create | + | |
| - | + | ||
| - | ``` | + | |
| - | curl https://pyenv.run | bash | + | |
| - | echo ' | + | |
| - | echo ' | + | |
| - | echo 'eval " | + | |
| - | exec " | + | |
| - | 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 " | + | |
| - | + | ||
| - | ``` | + | |
| - | + | ||
| - | -On **MAC** if the previous install doesn' | + | |
| - | + | ||
| - | ``` | + | |
| - | brew install pyenv-virtualenv | + | |
| - | export PYENV_ROOT=" | + | |
| - | command -v pyenv >/dev/null || export PATH=" | + | |
| - | eval " | + | |
| - | eval " | + | |
| - | + | ||
| - | ``` | + | |
| - | + | ||
| - | ==== | + | |
| - | + | ||
| - | **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, | + | |
| - | + | ||
| - | ``` | + | |
| - | python3 cosmicPAHmfit | + | |
| - | + | ||
| - | ``` | + | |
tools/mfit.1788202384.txt.gz · Last modified: (external edit)
