Code Monkey home page Code Monkey logo

caloclouds-2's Introduction

CaloClouds II Model for Fast Calorimeter Simulation

PyTorch implementation of the CaloClouds II Model introduced in CaloClouds II: Ultra-Fast Geometry-Independent Highly-Granular Calorimeter Simulation (arXiv:2309.05704).

The model is an evolution of the CaloClouds model published in (arXiv:2305.04847).


The CaloClouds II Model generates photon showers in point cloud format with up to 6000 points per shower for an energy range between 10 and 90 GeV. It consists out of multiple sub-generative models, including the PointWise Net trained as a score-based generative model and a normalizing flow for generating shower observables. Further, consistency distllation is implemented to distill a trained CaloClouds II diffusion model into a consistency model dubbed CaloClouds II (CM). The training data is generated with a Geant4 simulation of the planned electromagnetic calorimeter of the International Large Detector (ILD).


The CaloClouds II Pointwise Net Diffusion Model can be trained via python training.py using the default parameters set in config.py.

A trained CaloClouds II Diffusion model can be distilled into a consistency model via python distillation.py.

The Shower Flow is trained via the notebook ShowerFlow.ipynb.

The polynomial fits for the occupancy calculations are performed in occupancy_scale.ipynb.

An outline of the sampling process for both CaloClouds II and CaloClouds II (CM) can be found in generate.py.

The timing of the models is benchmarked with calc_timing.py


The training dataset is available under the link: https://syncandshare.desy.de/index.php/s/XfDwx33ryERwPdi


Code references:

caloclouds-2's People

Contributors

erikbuh 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.