spacopt is a package for bringing optimization techniques to spacal-simulation application
Project description
spacopt
spacopt
- short for spacal-optimization
Description
spacopt is a package for bringing optimization techniques to spacal-simulation application, created for LHCb ECAL studies for different types of calorimeters, such as spacal and shashlik. Should be considered as complementary to spacal-simulation, hosted at gitlab under CERN domain. Up to this point, the main package for optimization is considered Hyperactive.
Features
- Create config files, with user defined parameters of the module.
- Run a MC simulation, using pyton script
- Run Optimization for finding best user-defined parameters of module, to minimize the loss function: $ \dfrac{a}{\sqrt{E}}+b,$ where $a$ - sampling term, $b$ - constant term.
In fact, both $a$ and $b$ could be considered as independent subjects to minimize, as well as other functions of one or both of them.
Installation
pip install spacopt
Usage
import spacopt
# Run Simulation
Contributing
License
- Free software: MIT license
- Documentation: https://spacopt.readthedocs.io.
History
0.2.0 (2022-05-18)
New scipts
- New scipt: Optimization_run.py
Caveats
- For now works only with hard-coded paths, so one needs copy-paste supplementary folders and scipts
0.1.3 (2022-05-15)
- Minor changes to package wrappers
0.1.2 (2022-05-15)
- Minor changes to package wrappers
0.1.0 (2022-05-15)
- First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spacopt-0.2.1.tar.gz
(18.3 kB
view hashes)
Built Distribution
Close
Hashes for spacopt-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa8609dadffa6811c3dab8fa7170c9cfac1076d2ae821f9a9c49020199b0855 |
|
MD5 | ed719a680b6b73ed0e92dc65ee3a2be3 |
|
BLAKE2b-256 | f2a9e8a010b56accf10b12c8c7d4c82f2f34fda849c5e7d30fb88d592ce7eed9 |