Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the intensity result of the model from ampform and put it in weights of Dalitz Plot #32

Closed
shenvitor opened this issue Jun 21, 2024 · 4 comments
Assignees
Labels
📝 Docs Improvements or additions to documentation

Comments

@shenvitor
Copy link
Member

shenvitor commented Jun 21, 2024

Problem description

Find a way to get the model.intensity to be used in weighted of hist2d in #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

@shenvitor shenvitor added the 📝 Docs Improvements or additions to documentation label Jun 21, 2024
@redeboer
Copy link
Member

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).

@redeboer redeboer removed their assignment Jun 21, 2024
@shenvitor
Copy link
Member Author

shenvitor commented Jun 21, 2024

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

@redeboer
Copy link
Member

redeboer commented Jun 21, 2024

Essentially just e.g.

plt.hist2d(
    phsp["m12"],
    phsp["m23"],
    weights=intensity_func(phsp),
)

with phsp a DataSample.

@shenvitor
Copy link
Member Author

Closes by 7585cc5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants