Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp authored Mar 27, 2024
1 parent 120a3f6 commit befe0f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vector/_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def to_rhophitheta(self) -> VectorProtocolSpatial:
Converts to $\rho$-$\phi$-$\theta$ coordinates, possibly eliminating or
imputing dimensions with a projection.
The thetaz$ coordinate can be passed as a named argument.
The $theta$ coordinate can be passed as a named argument.
"""
raise AssertionError

Expand Down Expand Up @@ -2856,8 +2856,8 @@ def to_rhophieta(self, *, eta: float | FloatArray = 0.0) -> VectorProtocolSpatia
1,
)

def to_ptphipz(self, *, z: float | FloatArray = 0.0) -> VectorProtocolSpatial:
return self.to_rhophiz(z=z)
def to_ptphipz(self, *, pz: float | FloatArray = 0.0) -> VectorProtocolSpatial:
return self.to_rhophiz(z=pz)

def to_ptphitheta(
self, *, theta: float | FloatArray = 0.0
Expand Down

0 comments on commit befe0f3

Please sign in to comment.