Data driven extraction of jet energy loss distributions in heavy ion collisions
Introduction
This python package is a simple tool to extract mean pt loss $P(\Delta p_T)$, and the mean pt loss as a function of jet pt -- $\langle\Delta p_T\rangle(p_T)$, from the experimental single jet RAA for AA collisions at a specific beam energy (with pt spectra in proton+proton collisions at the same beam energy) or the single hadron/gamma hadron pt spectra (without pt spectra in proton+proton collisions).
Example: >>> from jeteloss import PythiaPP, RAA2Eloss >>> pp_x, pp_y = PythiaPP(sqrts_in_gev = 2760) >>> raa_fname = "RAA_2760.txt" >>> eloss = RAA2Eloss(raa_fname, pp_x, pp_y) >>> eloss.train() >>> eloss.save_results() >>> eloss.plot_mean_ptloss() >>> eloss.plot_pt_loss_dist()
Citation
If you have used this package to produce results for presentation/publications, please cite the following two papers, from where one can find the detailed information of the underlying physics.
Installation
Method 1: using pip
Step 1:
pip install jeteloss
Step 2:
git clone git@github.com:lgpang/jeteloss.git
Step 3:
cd jeteloss/examples
python example1.py
Method 2: install from local directory
Step 1: download the code from github
git clone git@github.com:lgpang/jeteloss.git
Step 2: install jeteloss and dependences
cd jeteloss
python setup.py install
Step 3: run example code
cd examples
python example1.py
Method 3: using anaconda
Step 1: To create one clean python virtual environment
conda create -n test_jeteloss python=3.6
Step 2: To activate this environment, use:
source activate test_jeteloss
Step 3: Install jeteloss module and its dependences
pip install jeteloss
Step 4: Run the example code downloaded using:
git clone git@github.com:lgpang/jeteloss.git
cd jeteloss/examples
python example1.py
Step 5: To deactivate an active environment, use:
source deactivate
Step 6: Clean up To see how many environments do you have, use:
conda env list
To remove one environment, use:
conda remove --name test_jeteloss --all
Metadata
Release files for jeteloss 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jeteloss-0.4.tar.gz | 14.1 kB | Without provenance | Details for jeteloss-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jeteloss-0.4-py3-none-any.whl | Python 3 | none | any | Details for jeteloss-0.4-py3-none-any.whl |
Total release size: 28.4 kB
Release files / jeteloss-0.4.tar.gz
| Download URL | jeteloss-0.4.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35bc6485f4c36cd41a30abcc22e263f3e25b3acd8e69ba7dece3d73cc370d38b
|
|
BLAKE2b-256 checksum How to use checksums |
67ea20838f67818be60a8e592dea3a4e43bdfc3d0b05d4c887be3b5f3c24d356
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Release files / jeteloss-0.4-py3-none-any.whl
| Download URL | jeteloss-0.4-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f24c446dccb315f2870b25f277582564f05ff1a76d378e75120ee14cca973605
|
|
BLAKE2b-256 checksum How to use checksums |
18c5792d1f9bf1303d0d06ddadcf9d4be7d1f3643002cc8ebe7b7a5fa1408c01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Security for jeteloss 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.