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

DOC: manual formulation of helicity amplitudes for pgamma->LambdaKPi #104

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

shenvitor
Copy link
Member

@shenvitor shenvitor commented Sep 2, 2024

@shenvitor shenvitor self-assigned this Sep 2, 2024
@shenvitor shenvitor requested a review from a team September 2, 2024 14:20
@shenvitor shenvitor added ✨ Feature New feature added to the package 📝 Docs Improvements or additions to documentation labels Sep 2, 2024
@shenvitor shenvitor marked this pull request as draft September 6, 2024 15:14
@shenvitor shenvitor marked this pull request as ready for review September 6, 2024 15:14
Copy link
Member

@redeboer redeboer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like going in the right direction 💪
See comments and be careful to rename the PR to a conventional commit message

docs/lambda-k-pi/manual-dpd.ipynb Outdated Show resolved Hide resolved
docs/lambda-k-pi/manual-dpd.ipynb Outdated Show resolved Hide resolved
Comment on lines +229 to +231
"zeta_1_0, zeta_1_1, zeta_2_0, zeta_2_1, zeta_3_0, zeta_3_1 = sp.symbols(\n",
" r\"\\zeta_{1(1)}^0 \\zeta_{1(1)}^1 \\zeta_{2(1)}^0 \\zeta_{2(1)}^1 \\zeta_{3(1)}^0 \\zeta_{3(1)}^1\"\n",
")\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case I would use sp.Symbol and define each zeta separately. It's more scalable and helps finding bugs if each symbol definition is below the other.

Comment on lines +333 to +343
"A1 = (\n",
" formualte_A1(\"K^{*}(1410)^+\", 1)\n",
" + formualte_A1(\"K^{*}(1680)^+\", 1)\n",
" + formualte_A1(\"K^{*}(892)^+\", 1)\n",
" + formualte_A1(\"K^{*}_0(1430)^+\", 0)\n",
" + formualte_A1(\"K^{*}_0(700)\", 0)\n",
" + formualte_A1(\"K^{*}_2(1430)\", 2)\n",
" + formualte_A1(\"K^{*}_3(1780)\", 3)\n",
" + formualte_A1(\"K^{*}_4(2045)\", 4)\n",
")\n",
"A1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be automated, i.e., some loop over the $K^*$ resonances found by QRules, and computation of the helicity. Actually, your formulate_A1() is more something like formulate_chain_amplitude_a1() and formulate_a1() creates the coherent sum of those chain amplitudes.

" r\"s_{31} m_{\\Sigma^*} \\Gamma_{\\Sigma^*} C_{\\Sigma^*}\"\n",
")\n",
"theta31, phi31, delta = sp.symbols(r\"theta_31 phi_31 \\delta_{\\lambda_\\Sigma^*1/2}\")\n",
"d_s = sp.Function(r\"d_{\\lambda_\\Sigma^*1/2}^{1/2}\")\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with Wigner.d and use directly inline in the expression definition

"metadata": {},
"outputs": [],
"source": [
"A1 = (\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be careful not to overwrite the previous A1 definition. This should be the A1_expr, or even something like a mapping of sp.Symbol to sp.Expr as dictionary. Something like:

amplitudes = {}
amplitudes[A1[-half, +half]] = formulate_A1(...) + ...

@shenvitor shenvitor changed the title Manual formulation of helicity amplitudes DOC: manual formulation of helicity amplitudes for pgamma->LambdaKPi Sep 7, 2024
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 ✨ Feature New feature added to the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Manually formulate symbolic helicity amplitude for pγ → ΛKπ
2 participants