poly_a and poly_b vs PolynomB and PolynomA in documentation #708
Replies: 2 comments 1 reply
-
Hi @TeresiaOlsson,
Are you referring to the documentation of What matters is the name of keyword arguments (as in Conclusion: nothing wrong and your statement is right. We could change the names of positional arguments of at.Multipole to PolynomA/B, it would just cost a warning in some IDEs: Variable in function should be lowercase |
Beta Was this translation helpful? Give feedback.
-
@TeresiaOlsson : sorry, I misunderstood your message. Now I see the problem, and you are right, there is a documentation problem. I'll open a pull request to fix that. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I'm wondering about poly_a and poly_b in the documentation. For some of the lattice elements it says:
poly_a – Array of normal multipole components
poly_b – Array of skew multipole components
and then
PolynomB – straight multipoles
PolynomA – skew multipoles
So poly_a sets PolynomB and poly_b PolynomA? Or is the documentation wrong?
Beta Was this translation helpful? Give feedback.
All reactions