Closed shenvitor closed 1 week ago
You mean you should only plot the model by histogramming over phase space with the model (intensity function) as phase space, right? Data generation is not needed for now, as we only want to investigate model behavior (see also #31).
The data sample is extra I know. Just thinking about how to make the model use the phase space sample to output the intensity then I feed it to the weights in hist2d
Essentially just e.g.
plt.hist2d(
phsp["m12"],
phsp["m23"],
weights=intensity_func(phsp),
)
with phsp
a DataSample
.
Problem description
Find a way to get the model.intensity to be used in weighted of hist2d in https://github.com/ComPWA/gluex-nstar/pull/28 after phase space and data sample Dalitz plots
Proposed solution
maybe something more than
model.intensity
What should the interface look like?
No response
Additional context
No response