-
Notifications
You must be signed in to change notification settings - Fork 5
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: work out exercises Lecture 2 #26
base: main
Are you sure you want to change the base?
Conversation
…-salamanca into kinematics_exercise
Hiding back some code cells
Unfortuntaly not possible to suppress warnings about sphinx-exercise labels specifically
Keeping this as draft while working on https://github.com/ComPWA/RUB-EP1-AG/issues/90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round of comments, still reviewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second round of comments
"% \\begin{pmatrix}\n", | ||
"% \\frac{E_b^*}{p_b^*} & -\\frac{E_b^*}{m_b} \\\\\n", | ||
"% -\\frac{E_b^*}{m_b} & \\frac{E_b^*}{p_b^*}\n", | ||
"% \\end{pmatrix}\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No commented out code please 😅
" p_{b,z}^L\n", | ||
"\\end{pmatrix} =\n", | ||
"\\begin{pmatrix}\n", | ||
" \\frac{E_b^*}{p_b^*} & -\\frac{E_b^*}{m_b} \\\\\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify how you get
docs/lecture02.ipynb
Outdated
"\\end{pmatrix}\n", | ||
"$$\n", | ||
"\n", | ||
"When assuming $p_{b,z}^L=0$, then $E_{b}^L = m_b$, and thus\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what we wanted to proof, right?
"source": [ | ||
":::{solution} boost-exercise\n", | ||
":class: dropdown\n", | ||
"\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify what we want to proof (i.e., what the question means). In my understanding, we want to proof
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"The data are in the lab frame, Compute and plot the $cosθ_L$ distribution.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we should put this under an exercise directive and toggle the solution as a dropdown, to improve the flow of the text.
"source": [ | ||
"The data are in the lab frame, Compute and plot the $cosθ_L$ distribution.\n", | ||
"\n", | ||
"Boost to the CoM and Compute and plot the $cosθ^*$ distribution" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace all unicode characters in Markdown cells with latex (in the code cells, unicode in variable names are okayish)
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"# 4-vector for a+b->1+2\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of a comment, describe in a markdown cell above what is happening here
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"# 4-vector conservation\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Write comment in markdown cell
30cc8e5
to
14a0acd
Compare
BTW in the exercise today of MTHS school , in question 2.1 (2-to-2 Kinematics), most of them are similar or included in this PR doc, :) |
It is indeed 😁 Feel free to add a link to the exercises in this document as well |
Closes https://github.com/ComPWA/RUB-EP1-AG/issues/78
Temporary preview can be found here.