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 62 forks source link

Problem with observables included in "Pseudo-measurement" #33

Closed peterstangl closed 7 years ago

peterstangl commented 7 years ago

When performing several fits with different combinations of observables, a wrong Warning occurs when one first defines e.g. a global fit and then fits for individual observables. The reason for this is the pseudo-measurement added to the list of measurements by defining the global fit. This pseudo-measurement includes all the observables and thus also constraints all the observables. Afterwards, trying to fit an individual observable results in the Warning

("{} of the measurements in the fit '{}' "
"constrain both '{}' and '{}', but only the "
"latter is included among the fit "
"observables. This can lead to inconsistent "
"results as the former is profiled over."
).format(count, self.name, obs1, obs2))

Explicitly specifying the measurements with include_measurement avoids this problem by not including the pseudo-measurements.

DavidMStraub commented 7 years ago

Fixed by #34.