Skip to content

Commit 464934b

Browse files
committed
fix: adding coordinate features
x,y,z coordinate features are useful for plotting.
1 parent 9a32b4c commit 464934b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

LoopStructural/utils/features.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from ..modelling.features import LambdaGeologicalFeature
2+
3+
X = LambdaGeologicalFeature(lambda pos: pos[:, 0], name="x")
4+
Y = LambdaGeologicalFeature(lambda pos: pos[:, 1], name="y")
5+
Z = LambdaGeologicalFeature(lambda pos: pos[:, 2], name="z")

0 commit comments

Comments
 (0)