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

phys: investigate symbolic Dalitz Plot Decomposition #133

Closed
wants to merge 100 commits into from

Conversation

mmikhasenko
Copy link
Contributor

@mmikhasenko mmikhasenko commented Apr 20, 2022

Preview can be viewed here.

The notebook is extended from the TR-018 (#129) to provide a different angle to the three-body decay distribution.

The unpolarized matrix element is casted to a bilinear form on dynamic function $R$ for every LS coupling.
Parity conservation is assumed.

To-do list

  • generalize to arbitrary spins of the final particles
  • generalize to several isobars in subchannel
  • add the step from the angles to polynomials in the Mandelstam variables

redeboer added 30 commits April 6, 2022 19:06
Allows displaying free symbols in a more concise way
@redeboer
Copy link
Member

there are just some bugs in the code itself

that I can fix quickly. I need to teach myself to run the notebook thought before committing. haha

I'm having a look at the code now, it may be a bit difficult to rewrite the notebook to a generic form. I think ideally you need some data structure that contains all the info you need for each decay, like LS values in the production node and in the decay node and parent spin.

There's some info on developing with notebooks here. Feedback is welcome.
https://compwa-org.readthedocs.io/develop.html#documentation

If you have the installed a virtual environment with dev requirements, you can do:

tox -e nb docs/report/018.ipynb  # run the notebook in terminal
tox -e doc  # fast documentation build
tox -e docnb  # build documentation with cell outputs

For editing metadata in notebooks, it's best to work with Jupyter Lab. That also renders the myst syntax a bit better

jupyter lab

@mmikhasenko
Copy link
Contributor Author

Okay. It would be better to work this out in a more rigid way in a library (e.g. ComPWA/ampform#277). But a report would be fine for now, to show that it works.

Certaintly.

@redeboer redeboer changed the title Symbolic angular functions for a three-body decay docs: illustrate symbolic version of DPD Apr 20, 2022
@mmikhasenko
Copy link
Contributor Author

mmikhasenko commented Apr 20, 2022

I think ideally you need some data structure that contains all the info you need for each decay, like LS values in the production node and in the decay node and parent spin.

yes, that is what I did before with my julia code.
The only thing that the amplitude builder cares about is

  • j0,j1,j2,j3
  • chain_ind, j, LS, ls.
    Later, for convenience one can compute possible ls, and LS based on the parities.

@mmikhasenko
Copy link
Contributor Author

If you have the installed a virtual environment with dev requirements

Do you mean

pip install -e .[dev]

not sure I installed the dev

@redeboer
Copy link
Member

Do you mean

pip install -e .[dev]

not sure I installed the dev

Yep. Or to be even safer:

pip install -e .[dev] -c .constraints/py3.8.txt  # your python version here

@redeboer
Copy link
Member

The only thing that the amplitude builder cares about is

  • j0,j1,j2,j3
  • chain_ind, j, LS, ls.
    Later, for convenience one can compute possible ls, and LS based on the parities.

88725fb encapsulates that info as a (mutable) class. Could be rewritten by nesting for instance. I didn't push more modifications to avoid merge conflicts.

@redeboer redeboer changed the title docs: illustrate symbolic version of DPD docs: add TR-018 on symbolic DPD Apr 22, 2022
@redeboer redeboer changed the title docs: add TR-018 on symbolic DPD phys: investigate symbolic Dalitz Plot Decomposition Apr 25, 2022
@redeboer
Copy link
Member

This PR has become superseded by https://github.com/ComPWA/ampform-dpd and https://lc2pkpi-polarimetry.docs.cern.ch.

@redeboer redeboer closed this Apr 29, 2024
@mmikhasenko mmikhasenko deleted the dalitzdistribution branch April 29, 2024 16:11
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

Successfully merging this pull request may close these issues.

2 participants