Chromo

Latest version: v0.5.1

Safety actively analyzes 623616 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.1

5. Further minor technical improvements and cosmetics

The detailed changes can be seen at this pull request https://github.com/impy-project/chromo/pull/189
**Full Changelog**: https://github.com/impy-project/chromo/compare/v0.4.0...v0.4.1

0.5.0

What's Changed
- Support for gamma-gamma collisions using the specific `EventKinematicsMassless` kinematics
- Python 3.12 Compatibility and binary wheels
- **SIBYLL***:
- The main Sibyll* model is available from `chromo.models.Sibyll23StarMixed` the other variants can be accessed from `chromo.extra_models.SibyllStarRho` (for example)
- **QGSJET** 01d, II-03 and II-04:
- More detailed information about interaction cross sections (total, diffractive, inelastic, etc.) for hadron-nucleon collisions
- For nuclei - projectiles heavier than proton - this is also possible at the cost of computational time by passing `full_AA = True` flag. Note that as in the case of DPMJet, these cross sections are calculated using "Glauber" MC and take some time to compute. The number of trials can be adjusted by setting `model.glauber_trials = 10000` or a reasonable number.
- By default, cross sections for nuclear targets (h-A and A-A) will be read out from precomputed tables, however only inelastic ones are available.
- For some current technical reasons, hadron-nucleus (h-A) cross sections are always taken from tables.
- Updated qgsjet tests, testing for cross section
- **DPMJET Update**:
- Updated to latest DPMJET III and PHOJET 19.3.7
- The models support again photon-nucleus, and photon-hadron, and photon-photon collisions. For non-nuclear targets the results between PHOJET and DPMJET should/are identical, Use PHOJET in this case, since it is easier to debug.

0.4.1

This is a maintenance release

Some highlights:
1. Repairs to the event history and pre-/appending beam particle info can now be optionally disabled by setting `generator._restore_beam_and_history = False` to save some CPU time when it is not needed. By default it remains on and is required for hepmc3 output.
2. Fixed bugs in QGSJET cross section function when it was called with nuclear or meson primary. Fixed major bug in QGSJET-II cross section readout. `qgsect` supports only 3 types of primaries and not all the known particles.
3. Cross section readout fixed for SIBYLL with meson primaries (where `p1.A is None`)

0.4.0

What's Changed
* CLI configuration option by HDembinski in https://github.com/impy-project/chromo/pull/133
* Fix for seed issue in Pythia8; return correct seed when seed is None by HDembinski in https://github.com/impy-project/chromo/pull/145
* Improve README and add citation guide by afedynitch in https://github.com/impy-project/chromo/pull/151
* Gamma+p example by HDembinski in https://github.com/impy-project/chromo/pull/146
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/154
* Remove some unused packages and provide a Writer base class by HDembinski in https://github.com/impy-project/chromo/pull/158
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/162
* make parents index zero-based by jncots in https://github.com/impy-project/chromo/pull/166
* add refill_decay_stack by jncots in https://github.com/impy-project/chromo/pull/161
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/168
* Test of final state by HDembinski in https://github.com/impy-project/chromo/pull/160
* Sibyll* by afedynitch in https://github.com/impy-project/chromo/pull/169
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/175
* Unified treatment of beam particles by jncots in https://github.com/impy-project/chromo/pull/170
* Pythia8 afterburner by jncots in https://github.com/impy-project/chromo/pull/167
* Stop F2PY caching by HaoZeke in https://github.com/impy-project/chromo/pull/127
* Chromo release 0.4 by jncots in https://github.com/impy-project/chromo/pull/164

New Contributors
* HaoZeke made their first contribution in https://github.com/impy-project/chromo/pull/127

**Full Changelog**: https://github.com/impy-project/chromo/compare/v0.3.0rc1...v0.4.0

0.3.0rc1

What's Changed
* UrQMD bugfix by kotania in https://github.com/impy-project/chromo/pull/12
* Feature/sophia by jncots in https://github.com/impy-project/chromo/pull/19
* Refactor/api changes by jncots in https://github.com/impy-project/chromo/pull/20
* enable pre-commit with black and yaml check by HDembinski in https://github.com/impy-project/chromo/pull/22
* Update README.md by HDembinski in https://github.com/impy-project/chromo/pull/24
* move to pyhepmc, removed some unused variables in setup.py by HDembinski in https://github.com/impy-project/chromo/pull/26
* Enable flake8 by HDembinski in https://github.com/impy-project/chromo/pull/30
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/34
* Includes new DPMJET-III version. Fixed 17 by afedynitch in https://github.com/impy-project/chromo/pull/25
* install with docker by HDembinski in https://github.com/impy-project/chromo/pull/29
* fix for readme by HDembinski in https://github.com/impy-project/chromo/pull/37
* Fix/init generator by jncots in https://github.com/impy-project/chromo/pull/33
* Replacing make with cmake, adding continuous integration by HDembinski in https://github.com/impy-project/chromo/pull/39
* remove six, requirements.txt, update readme instructions by HDembinski in https://github.com/impy-project/chromo/pull/47
* fix small typo by HDembinski in https://github.com/impy-project/chromo/pull/49
* New event by HDembinski in https://github.com/impy-project/chromo/pull/52
* Fix hepmc writer by HDembinski in https://github.com/impy-project/chromo/pull/54
* Feature/comptarget integration by jncots in https://github.com/impy-project/chromo/pull/43
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/63
* Use RMMARD for DPMJET and PHOJET, and provide separate libraries to fix multiple initialization by afedynitch in https://github.com/impy-project/chromo/pull/59
* Fix sibyll rng by jncots in https://github.com/impy-project/chromo/pull/73
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/78
* Fix to_hepmc3() and HepMC3 IO by HDembinski in https://github.com/impy-project/chromo/pull/74
* Add elab, plab, ekin arguments by jncots in https://github.com/impy-project/chromo/pull/70
* Pythia8 by HDembinski in https://github.com/impy-project/chromo/pull/77
* Migrate from LFS by jncots in https://github.com/impy-project/chromo/pull/75
* Revision of CompositeTarget by jncots in https://github.com/impy-project/chromo/pull/84
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/91
* add CLI that mimics CRMC by HDembinski in https://github.com/impy-project/chromo/pull/89
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/97
* Remove config by HDembinski in https://github.com/impy-project/chromo/pull/90
* Fix kinematics by HDembinski in https://github.com/impy-project/chromo/pull/112
* Refactoring the project name to chromo by afedynitch in https://github.com/impy-project/chromo/pull/116
* Replace RMMARD with NumPy RNG by HDembinski in https://github.com/impy-project/chromo/pull/115
* Epos random dummy by HDembinski in https://github.com/impy-project/chromo/pull/121
* Simpler models config by HDembinski in https://github.com/impy-project/chromo/pull/120
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/impy-project/chromo/pull/125
* chromo logo by HDembinski in https://github.com/impy-project/chromo/pull/123
* Allow Pythia8 to be user-configured by HDembinski in https://github.com/impy-project/chromo/pull/122
* Simpler and more efficient Pythia8 event handling by HDembinski in https://github.com/impy-project/chromo/pull/124
* Fixing event copy by HDembinski in https://github.com/impy-project/chromo/pull/119
* avoid linking to Python by HDembinski in https://github.com/impy-project/chromo/pull/126
* Allow to include vertex info via format option system by HDembinski in https://github.com/impy-project/chromo/pull/131
* Fix rangen for EPOS by HDembinski in https://github.com/impy-project/chromo/pull/136
* Do not append file extension if user provides filename by HDembinski in https://github.com/impy-project/chromo/pull/137
* Hot-fix for broken second parent in Pythia8 parents by HDembinski in https://github.com/impy-project/chromo/pull/140
* Pythia8 interfaces for decay by jncots in https://github.com/impy-project/chromo/pull/143
* Add CRMC performance comparison by HDembinski in https://github.com/impy-project/chromo/pull/138
* Fix cross_section function by jncots in https://github.com/impy-project/chromo/pull/130
* Building wheels on CI by jncots in https://github.com/impy-project/chromo/pull/82
* Fix workflow file by jncots in https://github.com/impy-project/chromo/pull/147
* Fix workflow file 2 by jncots in https://github.com/impy-project/chromo/pull/149

New Contributors
* kotania made their first contribution in https://github.com/impy-project/chromo/pull/12
* jncots made their first contribution in https://github.com/impy-project/chromo/pull/19
* HDembinski made their first contribution in https://github.com/impy-project/chromo/pull/22
* pre-commit-ci made their first contribution in https://github.com/impy-project/chromo/pull/34

**Full Changelog**: https://github.com/impy-project/chromo/commits/v0.3.0rc1

zipped_data_v1.0
This is a pre-release to save zip files for iamdata directory (data tables for some models).

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.