Skip to content

Commit 4d24a46

Browse files
fix: Fix doc typos in driven_controls/predefined.py (#209)
The expressions for the CORPSE angle $\theta^3$ in the doc strings of `new_corpse_control`, and the three methods `new_corpse_in_*_control`, were missing a $\sin^{-1}$. The code looks correct.
1 parent aa5dba7 commit 4d24a46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

qctrlopencontrols/driven_controls/predefined.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def new_corpse_control(
479479
480480
\theta_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
481481
482-
\theta_3 &= \frac{\theta}{2} - \left[ \frac{\sin(\theta/2)}{2}\right].
482+
\theta_3 &= \frac{\theta}{2} - \sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right].
483483
484484
References
485485
----------
@@ -570,7 +570,7 @@ def new_corpse_in_bb1_control(
570570
571571
\theta_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
572572
573-
\theta_3 &= \frac{\theta}{2} - \left[ \frac{\sin(\theta/2)}{2}\right]
573+
\theta_3 &= \frac{\theta}{2} - \sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
574574
575575
\phi_* &= \cos^{-1} \left( -\frac{\theta}{4\pi} \right).
576576
@@ -674,7 +674,7 @@ def new_corpse_in_sk1_control(
674674
675675
\theta_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
676676
677-
\theta_3 &= \frac{\theta}{2} - \left[ \frac{\sin(\theta/2)}{2}\right]
677+
\theta_3 &= \frac{\theta}{2} - \sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
678678
679679
\phi_* &= \cos^{-1} \left( -\frac{\theta}{4\pi} \right).
680680
@@ -803,7 +803,7 @@ def new_corpse_in_scrofulous_control(
803803
804804
\Gamma^{\theta'}_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta'/2)}{2}\right]
805805
806-
\Gamma^{\theta'}_3 &= \frac{\theta'}{2} - \left[ \frac{\sin(\theta'/2)}{2}\right]
806+
\Gamma^{\theta'}_3 &= \frac{\theta'}{2} - \sin^{-1} \left[ \frac{\sin(\theta'/2)}{2}\right]
807807
808808
are the CORPSE angles corresponding to each SCROFULOUS angle
809809
:math:`\theta'\in\{\theta_1,\theta_2,\theta_3\}`.

0 commit comments

Comments
 (0)