gempy.core.data.Transform¶
- class gempy.core.data.Transform(position: numpy.ndarray, rotation: numpy.ndarray, scale: numpy.ndarray, _is_default_transform: bool = False, _cached_pivot: numpy.ndarray | None = None)[source]¶
Methods
__init__
(position, rotation, scale[, ...])apply
(points[, transform_op_order])apply_anisotropy
(anisotropy_type[, ...])apply_inverse
(points[, transform_op_order])apply_inverse_with_cached_pivot
(points[, ...])apply_inverse_with_pivot
(points, pivot[, ...])apply_with_cached_pivot
(points[, ...])apply_with_pivot
(points, pivot[, ...])These are used for ellipsoids for finite faults
from_input_points
(surface_points, orientations)from_matrix
(matrix)get_transform_matrix
([transform_type])init_neutral
()scale_points
(points)transform_gradient
(gradients[, ...])Attributes
cached_pivot
isometric_scale
position
rotation
scale
- apply_with_pivot(points: ndarray, pivot: ndarray, transform_op_order: TransformOpsOrder = TransformOpsOrder.SRT)[source]¶
These are used for ellipsoids for finite faults
- __init__(position: ndarray, rotation: ndarray, scale: ndarray, _is_default_transform: bool = False, _cached_pivot: ndarray | None = None) None ¶