TF-PWA#
TF-PWA is a generic software package intended for Partial Wave Analysis (PWA). It can be connected with zfit, currently by providing a loss function that can be minimized by a zfit minimizer.
Import the module with:
import zfit_physics.tfpwa as ztfpwa
This will enable that FCN can be used as a loss function in zfit minimizers as
minimizer.minimize(loss=fcn)
More explicitly, the loss function can be created with
nll = ztfpwa.loss.nll_from_fcn(fcn)
which optionally takes already created ZfitParameter as arguments.