cosmicPAHmfit 1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cosmicpahmfit-1.0/PKG-INFO +109 -0
- cosmicpahmfit-1.0/README.md +67 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/AUTHORS +4 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/CITATION.cff +25 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/LICENSE +674 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/__main__.py +16 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/analyse/dataAnalysis.py +712 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/cosmfit.png +0 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_304K.1.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_323K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_373K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_423K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_433K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_443K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_453K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_463K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_473K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_523K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_573K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_623K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_673K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/Pyrene_0.33mg_716_690_723K.0.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/analysis_2026_08_26_13h43/Anharmonicity_Pyrene_711.csv +96 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/analysis_2026_08_26_13h43/Pyrene_711_Save2026-08-26T13.44.pdf +0 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/analysis_2026_08_26_13h43/results_Save2026-08-26T13.44.csv +27 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/py_0.33_716_690_100K.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/py_0.33_716_690_14K.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/py_0.33_716_690_150K.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/py_0.33_716_690_200K.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/py_0.33_716_690_250K.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/711/py_0.33_716_690_50K.dpt +433 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_304K.1.dpt +667 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_323K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_373K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_423K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_433K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_443K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_453K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_463K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_473K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_523K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_573K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_623K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_673K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/Pyrene_0.33mg_760_720_723K.0.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/py_0.33_760_720_100K.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/py_0.33_760_720_14K.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/py_0.33_760_720_150K.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/py_0.33_760_720_200K.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/py_0.33_760_720_250K.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/749/py_0.33_760_720_50K.dpt +666 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_300K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_323K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_373K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_423K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_433K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_443K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_453K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_463K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_473K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_523K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_573K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_623K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_673K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.83_830_810_723K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.86_830_810_100K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.86_830_810_14K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.86_830_810_150K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.86_830_810_200K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.86_830_810_250K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/819/py_0.86_830_810_50K.dpt +334 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_304K.1.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_323K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_373K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_423K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_433K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_443K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_453K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_463K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_473K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_523K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_573K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_623K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_673K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/Pyrene_0.33mg_855_825_723K.0.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/py_0.33_855_825_100K.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/py_0.33_855_825_14K.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/py_0.33_855_825_150K.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/py_0.33_855_825_200K.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/py_0.33_855_825_250K.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/data/Pyrene/839/py_0.33_855_825_50K.dpt +500 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/gui/__init__.py +0 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/gui/graph.py +139 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/gui/tkDataset.py +151 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/gui/tkFenetres.py +55 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/gui/tkMain.py +2474 -0
- cosmicpahmfit-1.0/cosmicPAHmfit/varglobal.py +98 -0
- cosmicpahmfit-1.0/cosmicPAHmfit.egg-info/PKG-INFO +109 -0
- cosmicpahmfit-1.0/cosmicPAHmfit.egg-info/SOURCES.txt +198 -0
- cosmicpahmfit-1.0/cosmicPAHmfit.egg-info/dependency_links.txt +1 -0
- cosmicpahmfit-1.0/cosmicPAHmfit.egg-info/requires.txt +17 -0
- cosmicpahmfit-1.0/cosmicPAHmfit.egg-info/top_level.txt +4 -0
- cosmicpahmfit-1.0/setup.cfg +4 -0
- cosmicpahmfit-1.0/setup.py +59 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cosmicPAHmfit
|
|
3
|
+
Version: 1.0
|
|
4
|
+
Summary: cosmicPAHmfit provides a multi-component spectral fit and a graphical interface to derive area-weighed peak position and width of selected infrared features.
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: Louan deBentzmann
|
|
7
|
+
Author-email: christine.joblin@cnrs.fr
|
|
8
|
+
License: GPLv3
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
12
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Requires-Python: >=3.12
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
Requires-Dist: asteval==1.0.8
|
|
17
|
+
Requires-Dist: contourpy==1.3.3
|
|
18
|
+
Requires-Dist: cycler==0.12.1
|
|
19
|
+
Requires-Dist: dill==0.4.1
|
|
20
|
+
Requires-Dist: fonttools==4.61.1
|
|
21
|
+
Requires-Dist: kiwisolver==1.4.9
|
|
22
|
+
Requires-Dist: lmfit==1.3.4
|
|
23
|
+
Requires-Dist: matplotlib==3.10.8
|
|
24
|
+
Requires-Dist: numpy==2.4.1
|
|
25
|
+
Requires-Dist: packaging==26.0
|
|
26
|
+
Requires-Dist: pandas==3.0.0
|
|
27
|
+
Requires-Dist: pillow==12.1.0
|
|
28
|
+
Requires-Dist: pyparsing==3.3.2
|
|
29
|
+
Requires-Dist: python-dateutil==2.9.0.post0
|
|
30
|
+
Requires-Dist: scipy==1.17.0
|
|
31
|
+
Requires-Dist: six==1.17.0
|
|
32
|
+
Requires-Dist: uncertainties==3.2.4
|
|
33
|
+
Dynamic: author
|
|
34
|
+
Dynamic: author-email
|
|
35
|
+
Dynamic: classifier
|
|
36
|
+
Dynamic: description
|
|
37
|
+
Dynamic: description-content-type
|
|
38
|
+
Dynamic: license
|
|
39
|
+
Dynamic: requires-dist
|
|
40
|
+
Dynamic: requires-python
|
|
41
|
+
Dynamic: summary
|
|
42
|
+
|
|
43
|
+
# cosmicPAHmfit
|
|
44
|
+
**version** : 1.0
|
|
45
|
+
|
|
46
|
+
**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)
|
|
47
|
+
|
|
48
|
+
**Licence** : [GPLv3](LICENSE)
|
|
49
|
+
|
|
50
|
+
## Description
|
|
51
|
+
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.
|
|
52
|
+
User manual is accessible through https://cosmic-pah.irap.omp.eu/doku.php?id=tools
|
|
53
|
+
|
|
54
|
+
## Installation
|
|
55
|
+
-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.)
|
|
56
|
+
```
|
|
57
|
+
pyenv install 3.12.3
|
|
58
|
+
pyenv virtualenv 3.12.3 venv
|
|
59
|
+
pyenv activate venv
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
-with pypi:
|
|
63
|
+
```
|
|
64
|
+
pip install cosmicPAHmfit
|
|
65
|
+
python3 cosmicPAHmfit
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
-With zip file:
|
|
69
|
+
```
|
|
70
|
+
pip install -r ./cosmicPAHmfit.egg-info/requires.txt
|
|
71
|
+
python3 cosmicPAHmfit
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
If the previous lines doesn't work. Install pyenv:
|
|
75
|
+
-On **Linux** To create a **pyenv virtualenv** for running an other python in a venv run the following blocks (**copy/past**);
|
|
76
|
+
```
|
|
77
|
+
curl https://pyenv.run | bash
|
|
78
|
+
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
|
|
79
|
+
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
|
|
80
|
+
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
|
|
81
|
+
exec "$SHELL"
|
|
82
|
+
sudo apt-get update; sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
|
|
83
|
+
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
|
|
84
|
+
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
|
|
85
|
+
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
-On **MAC** if the previous install doesn't work **copy/past** the following:
|
|
89
|
+
```
|
|
90
|
+
brew install pyenv-virtualenv
|
|
91
|
+
export PYENV_ROOT="$HOME/.pyenv"
|
|
92
|
+
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
|
93
|
+
eval "$(pyenv init --path)"
|
|
94
|
+
eval "$(pyenv init -)"
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Usage
|
|
98
|
+
**Run the following line**
|
|
99
|
+
```
|
|
100
|
+
pyenv activate venv; python3 cosmicPAHmfit
|
|
101
|
+
```
|
|
102
|
+
**to exit the pyenv venv you must use:**
|
|
103
|
+
```
|
|
104
|
+
pyenv deactivate
|
|
105
|
+
```
|
|
106
|
+
**If (venv) appears in the terminal, the pyenv venv is running. To run the application you can use directly:**
|
|
107
|
+
```
|
|
108
|
+
python3 cosmicPAHmfit
|
|
109
|
+
```
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# cosmicPAHmfit
|
|
2
|
+
**version** : 1.0
|
|
3
|
+
|
|
4
|
+
**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)
|
|
5
|
+
|
|
6
|
+
**Licence** : [GPLv3](LICENSE)
|
|
7
|
+
|
|
8
|
+
## Description
|
|
9
|
+
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.
|
|
10
|
+
User manual is accessible through https://cosmic-pah.irap.omp.eu/doku.php?id=tools
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
-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.)
|
|
14
|
+
```
|
|
15
|
+
pyenv install 3.12.3
|
|
16
|
+
pyenv virtualenv 3.12.3 venv
|
|
17
|
+
pyenv activate venv
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
-with pypi:
|
|
21
|
+
```
|
|
22
|
+
pip install cosmicPAHmfit
|
|
23
|
+
python3 cosmicPAHmfit
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
-With zip file:
|
|
27
|
+
```
|
|
28
|
+
pip install -r ./cosmicPAHmfit.egg-info/requires.txt
|
|
29
|
+
python3 cosmicPAHmfit
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
If the previous lines doesn't work. Install pyenv:
|
|
33
|
+
-On **Linux** To create a **pyenv virtualenv** for running an other python in a venv run the following blocks (**copy/past**);
|
|
34
|
+
```
|
|
35
|
+
curl https://pyenv.run | bash
|
|
36
|
+
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
|
|
37
|
+
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
|
|
38
|
+
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
|
|
39
|
+
exec "$SHELL"
|
|
40
|
+
sudo apt-get update; sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
|
|
41
|
+
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
|
|
42
|
+
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
|
|
43
|
+
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
-On **MAC** if the previous install doesn't work **copy/past** the following:
|
|
47
|
+
```
|
|
48
|
+
brew install pyenv-virtualenv
|
|
49
|
+
export PYENV_ROOT="$HOME/.pyenv"
|
|
50
|
+
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
|
51
|
+
eval "$(pyenv init --path)"
|
|
52
|
+
eval "$(pyenv init -)"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Usage
|
|
56
|
+
**Run the following line**
|
|
57
|
+
```
|
|
58
|
+
pyenv activate venv; python3 cosmicPAHmfit
|
|
59
|
+
```
|
|
60
|
+
**to exit the pyenv venv you must use:**
|
|
61
|
+
```
|
|
62
|
+
pyenv deactivate
|
|
63
|
+
```
|
|
64
|
+
**If (venv) appears in the terminal, the pyenv venv is running. To run the application you can use directly:**
|
|
65
|
+
```
|
|
66
|
+
python3 cosmicPAHmfit
|
|
67
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use this software, please cite it as below. Add article?"
|
|
3
|
+
authors:
|
|
4
|
+
- given-names: Louan
|
|
5
|
+
family-names: de BENTZMANN
|
|
6
|
+
affiliation: CNRS, IRAP
|
|
7
|
+
- given-names: Karine
|
|
8
|
+
family-names: Demyk
|
|
9
|
+
affiliation: CNRS, IRAP
|
|
10
|
+
- given-names: Axel
|
|
11
|
+
family-names: PÉRIGNON
|
|
12
|
+
affiliation: CNRS, IRAP
|
|
13
|
+
- given-names: Vincent
|
|
14
|
+
family-names: MARTY
|
|
15
|
+
affiliation: CNRS, IRAP
|
|
16
|
+
- given-names: Jean-Michel
|
|
17
|
+
family-names: GLORIAN
|
|
18
|
+
affiliation: CNRS, IRAP
|
|
19
|
+
- given-names: Christine
|
|
20
|
+
family-names: Joblin
|
|
21
|
+
title: "cosmicPAHmfit"
|
|
22
|
+
version: 1.0
|
|
23
|
+
data-released: 2026-08-20
|
|
24
|
+
license: GPLv3
|
|
25
|
+
url: "https://cosmic-pah.irap.omp.eu/"
|