Giter Club home page Giter Club logo

easyscan_hep's Introduction

EasyScan_HEP

EasyScan_HEP:A tool for connecting programs to scan the parameter space of physics models
Author: Yang Zhang, Liangliang Shang
Version: 1.0
GitHub:https://github.com/phyzhangyang/EasyScan_HEP
Website:https://easyscanhep.hepforge.org
Documentation:https://arxiv.org/pdf/2304.03636.pdf

Installation instructions

EasyScan_HEP is a Python3 code with dependencies on numpy, scipy and ConfigParser libraries. The optional plot functions and MultiNest sampler further require matplotlib, pandas and pymultinest libraries. The dependencies can be installed via pip:

sudo apt install python3-pip python3-tk

pip3 install numpy scipy matplotlib ConfigParser pandas pymultinest

The "easyscan.py" in folder "bin" is the main program, which is executed with configuration file through the command line,

./bin/easyscan.py templates/example_random.ini

Here example_random.ini is an example configuration file provided in EasyScan_HEP. It performs a scan on a simplified model, ::

f(x,y) = sin^2 x + cos^2 y,

using random sampler, where x and y are input parameters in range [0,pi] and [-pi,pi], respectively, and f is output parameter.

Three other example configuration files in templates folder (example_grid.ini, example_mcmc.ini and example_multinest.ini) exhibit briefly usages of other samplers in EasyScan_HEP.

Configuration file templates/scan_MSSM_for_mW.ini is an simply physical examples. Relevant programs need to be installed beforehand, using

cd utils/MSSM_mW
make

and then it can be executed with

./bin/easyscan.py templates/scan_MSSM_for_mW.ini

Package content:

  • bin
    • easyscan.py
  • src
    • easyscan_logging.conf
    • program.py
    • initialize.py
    • readin_config.py
    • scanner.py
    • scan_controller.py
    • constraint.py
    • statfun.py
    • ploter.py
    • auxfun.py
  • utils
    • TestFunction.py
    • TestFunction_input.dat
    • OnePointBatch.in
    • MSSM_mW
  • tools
    • TestFunction.py
    • TestFunction_input.dat
  • templates
    • example_random.ini
    • example_random_parallel.ini
    • example_grid.ini
    • example_mcmc.ini
    • example_mcmc_bound.ini
    • example_multinest.ini
    • example_onepoint.ini
    • example_onepointbatch.ini
    • example_plot.ini
    • scan_MSSM_for_mW.ini
    • bound.txt
  • README.rst
  • LICENSE

easyscan_hep's People

Contributors

shangliang avatar phyzhangyang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.