Skip to content

Commit da0dd7a

Browse files
Corrected some format typos
1 parent bdd31e5 commit da0dd7a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎python/kdsource/geom.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def __init__(
510510
inside these limits.
511511
z has the fixed value given as argument.
512512
"""
513-
super().__init__([1, 2, 3], ["rho", "psi"], ["cm", "deg"], "deg.cm")
513+
super().__init__([1, 2, 3], ["rho", "psi"], ["cm", "deg"], "cm")
514514
self.z = z
515515
self.rho_min = rho_min
516516
self.rho_max = rho_max
@@ -574,7 +574,7 @@ def __init__(
574574
inside these limits.
575575
z has the fixed value given as argument.
576576
"""
577-
super().__init__([1, 2, 3], ["rho^2", "psi"], ["cm^2", "deg"], "deg.cm^2")
577+
super().__init__([1, 2, 3], ["rho^2", "psi"], ["cm^2", "deg"], "cm^2")
578578
self.z = z
579579
self.rho_min = rho_min
580580
self.rho_max = rho_max
@@ -610,7 +610,7 @@ def save(self, mtree):
610610

611611
def jac(self, poss):
612612
"""Jacobian of polar transformation."""
613-
return np.full(len(poss[:,0]), 2)
613+
return np.full(len(poss[:, 0]), 2)
614614

615615
@staticmethod
616616
def load(mtree):
@@ -632,7 +632,7 @@ def __init__(
632632
Spatial variables x and y are delimited between a min and max
633633
value for the radius (rho) and the angle (psi), in polar
634634
coordinates. By default these are 0 and infinity for rho, and
635-
-pi and pi for psi, respectively. All positions in the
635+
-pi and pi for psi, respectively. All positions in the
636636
particle list should be inside these limits.
637637
638638
z has the fixed value given as argument.

0 commit comments

Comments
 (0)