JelleAalbers / blueice

Build Likelihoods Using Efficient Interpolations and monte-Carlo generated Events
BSD 3-Clause "New" or "Revised" License
9 stars 9 forks source link

Radially-weighted PDF morphing + bugfixes #4

Closed JelleAalbers closed 8 years ago

JelleAalbers commented 8 years ago

This introduces an experimental alternative way to interpolate between PDFs in likelihood/parameter space: radial interpolation.

My main motivation is dealing with situations with much Monte Carlo noise. You could just use more samples to compute single models, but it seems a waste to spend all your computation time on individual points. With this method, choosing a denser grid helps you fight MC noise and sample your space better at the same time. The radius with which the weight of the individual models decay is an important parameter; I don't really know how to tune that yet. I will try to add an example notebook.

This also fixes #3: it changes rate parameters to be rate multipliers instead of the raw rates everywhere. Some examples will have to be changed after this is merged.

A test notebook has been added which demonstrates we get sensible results in cases with simultaneous shape and rate parameters. Thanks to @kdund for the GaussianSource.