boostedsvj / svj_limits

0 stars 1 forks source link

Clean up PDF code and add more functions #8

Closed kpedro88 closed 4 weeks ago

kpedro88 commented 4 weeks ago

Adding a new function now requires modifying the code in only two places:

  1. adding a concise dictionary of expressions and ranges to all_pdfs;
  2. adding to the list in known_pdfs().

I have kept the new functions I tried in all_pdfs for reference, though they either do not converge well (modexp and polpow for npars>2) or give worse fits than our current functions (ua2mod).