Skip to main content

spacopt is a package for bringing optimization techniques to spacal-simulation application

Project description

spacopt

image

image

Documentation Status

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

History

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.1.3.tar.gz (17.4 kB view hashes)

Uploaded Source

Built Distribution

spacopt-0.1.3-py2.py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page