6 releases
Uses old Rust 2015
0.2.1 | Apr 28, 2018 |
---|---|
0.2.0 | Apr 28, 2018 |
0.1.1 | Apr 21, 2018 |
0.0.1 | Apr 17, 2018 |
#17 in #integral
43KB
1.5K
SLoC
pagan
Small data analysis library (at very early stage). Inspired by contempt for ROOT.
Build
git clone 'git@github.com:pidhii/pagan.git'
cd pagan
cargo build
You have to compile MINUIT yourself.
git clone 'git@github.com:ramos/minuit.git'
cd minuit
gfortran -fPIC -shared -I minuit *.F -o libminuit.so
Now just somehow notify the linker about where to find this library, and you are ready to go.
Features
- Basic data structures (currently only 2D)
Graph
(just a set of points)Histogram
Function
- Basic algorithms
- fitting (by χ2 minimization)
- integral (iterator-like)
- riandom generator (with user-defined distribution)
TODO
- Multidimentional structures and 3D plotting
- Interface to MINUIT
- More minimization algorithms
- Shortcuts for reading from data-files
Examples
histogram example
graph example
Dependencies
~0.8–7.5MB
~56K SLoC