Giter Club home page Giter Club logo

driftchambers's Introduction

Denoising Software for CLAS12 Drift Chambers

installing

Clone the distribution with submodules and compile it using included Makefile

prompt> git clone --recurse-submodules https://github.com/gavalian/driftchambers.git
prompt> cd driftchambers
prompt> make

usage

The code is compiled into one exacutable located in install/bin. The usage of the program can be seen by typing:

prompt> ./install/bin/denoise2.exe -h

Available parameters:

  -h	--help
   
   This parameter is optional. The default value is ''.

  -i	--input	(required)
   input file name

  -o	--output
   output denoised file name
   This parameter is optional. The default value is 'output.h5'.

  -n	--network
   neural network file name
   This parameter is optional. The default value is 'network/cnn_autoenc_0f_112.json'.

  -t	--threads
   number of threads to run
   This parameter is optional. The default value is '8'.

  -f	--frames
   number of events in each frame
   This parameter is optional. The default value is '16'.

  -l	--level
   cut off level for background hits
   This parameter is optional. The default value is '0.050000'.

  -e	--events
   maximum number of events to process
   This parameter is optional. The default value is '-1'.
   

The program will run multithreaded (default is set to 8 threads), the level option is used for debugging purposes and is not needed for regular running. The requiret parameters are the input file and the network file (usually JSON) used by the neural network. The default networks are included with the package and located in directory denoising/code/network. default network is cnn_autoenc_0f_112.json. Example usage:

prompt> ./install/bin/denoise2.exe -i clas_005977.hipo \
           -o clas_005977_denoised.hipo \
	   -n denoising/code/network/cnn_autoenc_0f_112.json

The input file must contain the bank DC::tdc for the denoiser to do it's job.

driftchambers's People

Contributors

baltzell avatar gavalian avatar

Watchers

 avatar

Forkers

baltzell

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.