vincecr0ft / pynfold Goto Github PK
View Code? Open in Web Editor NEWUnfolding the inverse problem
Home Page: https://pynfold.readthedocs.io/
License: MIT License
Unfolding the inverse problem
Home Page: https://pynfold.readthedocs.io/
License: MIT License
Iterative ("Bayesian"; as proposed by D'Agostini)
The priority of this issue depends on how well the numpy linear algebra solutions perform. If calculations are particularly slow then this might need bumping up.
Expand base functionality to include features not directly classified as 'unfolding' but that uses the same data stored within the base class.
A simple inversion of the response matrix without regularisation.
Implement Tikonov regularisation algorithm in pynfold. First iteration might use a notebook depending on the status of the pynfold backend milestone.
PyFold should either be able to take in ROOT Histograms AND numpy arrays or use root_numpy to convert algorithms such that the histograms can be compared bin to bin.
Singular value decomposition (SVD; as proposed by Höcker and Kartvelishvili and implemented in TSVDUnfold)
A clone of the TUnfold method developed by Stefan Schmitt
Should be initialisable and contain:
relevant Histogram objects
response/migration matrix
error handling in case object defined without necessary properties.
set priors (nominally flat)
plotting functionality (separate issue?)
Avoid ROOT dependencies inside, let's have it be pure python. If people want to use ROOT, they should use something else to convert ROOT histograms into numpy format.
OneHist should just be a numpy array.
TwoHist should just be a numpy matrix (don't call it a 2-d histogram).
The bin-by-bin unfolding method aka simple correction factors.
The nomenclature of these fields might be misleading. This is a regularised unfolding, but also iterative. The precise algorithm used should be exactly the same
make folders for:
As described here
IDS (iterative dynamically stabilized) unfolding found here.
To enable comparisons between PynFold and RooUnfold it should be possible to read several input formats and provide a custom Histogram object.
check if numpy array (else)
check if numpy histogram (else)
check if ROOT installed and if so is THF
apply histogram operations (subtract, multiply, divide etc.)
ensure that operations propagate errors correctly.
Basic support for 1 dimensional histograms of equal size (truth and measured)
1 dimensional histograms of different size
Basic 2 dimensional histograms (response matrix)
multidimensional hists (truth and measured)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.