Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion named_arrays/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from . import plt
from . import optimize
from . import regridding
from . import transformations
from . import ndfilters
from . import colorsynth
from . import numexpr
Expand Down Expand Up @@ -368,6 +367,7 @@
AbstractPolynomialFunctionArray,
PolynomialFitFunctionArray,
)
from . import transformations

__all__ = [
"_named_array_function",
Expand Down
26 changes: 26 additions & 0 deletions named_arrays/transformations/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"""
Vector transformation primitives.

Designed to be composed together into arbitrary transformations.
"""

from ._transformations import (
AbstractTransformation,

Check failure on line 8 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:8:5: F401 `._transformations.AbstractTransformation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `AbstractTransformation as AbstractTransformation`
IdentityTransformation,

Check failure on line 9 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:9:5: F401 `._transformations.IdentityTransformation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `IdentityTransformation as IdentityTransformation`
AbstractTranslation,

Check failure on line 10 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:10:5: F401 `._transformations.AbstractTranslation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `AbstractTranslation as AbstractTranslation`
Translation,

Check failure on line 11 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:11:5: F401 `._transformations.Translation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `Translation as Translation`
AbstractLinearTransformation,

Check failure on line 12 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:12:5: F401 `._transformations.AbstractLinearTransformation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `AbstractLinearTransformation as AbstractLinearTransformation`
LinearTransformation,

Check failure on line 13 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:13:5: F401 `._transformations.LinearTransformation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `LinearTransformation as LinearTransformation`
AbstractAffineTransformation,

Check failure on line 14 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:14:5: F401 `._transformations.AbstractAffineTransformation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `AbstractAffineTransformation as AbstractAffineTransformation`
AffineTransformation,

Check failure on line 15 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:15:5: F401 `._transformations.AffineTransformation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `AffineTransformation as AffineTransformation`
AbstractTransformationList,

Check failure on line 16 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:16:5: F401 `._transformations.AbstractTransformationList` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `AbstractTransformationList as AbstractTransformationList`
TransformationList,

Check failure on line 17 in named_arrays/transformations/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (F401)

named_arrays/transformations/__init__.py:17:5: F401 `._transformations.TransformationList` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Use an explicit re-export: `TransformationList as TransformationList`
)
from ._cartesian_3d import (
Cartesian3dTranslation,
AbstractCartesian3dLinearTransformation,
AbstractCartesian3dRotation,
Cartesian3dRotationX,
Cartesian3dRotationY,
Cartesian3dRotationZ,
)
Loading
Loading