flav-io / flavio

A Python package for flavour physics phenomenology in the Standard model and beyond
http://flav-io.github.io/
MIT License
71 stars 61 forks source link

Isuues in stting-up a "FastLikelihood" with C9 and C10 using RK(*) measurements #223

Closed rajeevneutrino closed 1 year ago

rajeevneutrino commented 1 year ago

Dear authors,

I am interested to setup a "FastLikelihood" for my analysis with C9 and C10 from b2sll observables particularly RK, RK* and P'5.

I just followed the procedure given in https://github.com/peterstangl/flavio-lecture/blob/master/4%20Likelihoods.ipynb . I succeeded in reproducing the same. However, if I re-define my FastLikelihood by including RK(*) observables as

FL1 = FastLikelihood(name='B2K likelihood', observables=[' \<Rmue>(B0->Kll) ', '\<Rmue>(B+->Kll) ', '\<Rmue>(B+->Kll) ', ' \<Rmue>(B0->Kll) '], )

I ended up getting this: AssertionError: No measurement found for the observables: {' \<Rmue>(B0->Kll) ', '\<Rmue>(B+->Kll) ', '\<Rmue>(B+->Kll) ', ' \<Rmue>(B0->Kll) '}

But the measurements are available for all these observables. The same issue happens if I consider '\<P5p>(B+->K*mumu)' as well.

Kindly help me if I am missing something.

Thanks & Regards Rajeev

DavidMStraub commented 1 year ago

You need to provide the bins as well.

This is not a bug, converting to discussion.