Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.
/ hit_pepperpot Public archive

Auswerte utilities für pepperpot Messung am HIT

Notifications You must be signed in to change notification settings

hibtc/hit_pepperpot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pepperpot

Simple CLI tools for analysis of pepperpot files:

  • naive interpolation of the 4D probability density, given a file of particle 4D phase space coordinates and intensities
  • particle generation using a precomputed 4D probability matrix
  • plotting particles or the probability distribution

Setup

Install in development mode:

python setup.py develop

Usage

Interpolation:

pepperpot interpol gauss emidata.ppp pdist.npy

Particle generation:

pepperpot generate pdist.npy particles.txt -n 500

Plot the probability density:

pepperpot plot pdist pdist.npy pdist.pdf

…and the generated particles:

pepperpot plot point particles.txt scatter_particles.pdf
pepperpot plot gauss particles.txt normsum_particles.pdf

…and the original data for comparison:

pepperpot plot point emidata.ppp scatter_emidata.pdf
pepperpot plot gauss emidata.ppp normsum_emidata.pdf

For more info, see:

pepperpot -h

About

Auswerte utilities für pepperpot Messung am HIT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages