Skip to content

Commit

Permalink
refactor: rename AbstractPositionNDDifferential
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman committed Aug 12, 2024
1 parent cec85cd commit 7fdd984
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/coordinax/_dn/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Representation of coordinates in different systems."""

__all__ = ["AbstractPositionND", "AbstractPositionNDDifferential"]
__all__ = ["AbstractPositionND", "AbstractVelocityND"]


from abc import abstractmethod
Expand Down Expand Up @@ -82,7 +82,7 @@ def reshape(self, *hape: Any, order: str = "C") -> "Self":
return replace(self, q=self.q.reshape(*hape, self.q.shape[-1], order=order))


class AbstractPositionNDDifferential(AbstractVelocity):
class AbstractVelocityND(AbstractVelocity):
"""Abstract representation of N-D vector differentials."""

@classproperty
Expand Down
4 changes: 2 additions & 2 deletions src/coordinax/_dn/cartesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from unxt import Quantity

import coordinax._typing as ct
from .base import AbstractPositionND, AbstractPositionNDDifferential
from .base import AbstractPositionND, AbstractVelocityND
from coordinax._base import AbstractVector
from coordinax._base_pos import AbstractPosition
from coordinax._utils import classproperty
Expand Down Expand Up @@ -233,7 +233,7 @@ def _mul_vcnd(lhs: ArrayLike, rhs: CartesianPositionND, /) -> CartesianPositionN


@final
class CartesianVelocityND(AbstractPositionNDDifferential):
class CartesianVelocityND(AbstractVelocityND):
"""Cartesian differential representation.
Examples
Expand Down

0 comments on commit 7fdd984

Please sign in to comment.