Skip to content

PrinceRichfather/spacopt

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published