Skip to content

Commit

Permalink
fix: adding coordinate features
Browse files Browse the repository at this point in the history
x,y,z coordinate features are useful for plotting.
  • Loading branch information
lachlangrose committed Oct 9, 2024
1 parent 9a32b4c commit 464934b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions LoopStructural/utils/features.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from ..modelling.features import LambdaGeologicalFeature

X = LambdaGeologicalFeature(lambda pos: pos[:, 0], name="x")
Y = LambdaGeologicalFeature(lambda pos: pos[:, 1], name="y")
Z = LambdaGeologicalFeature(lambda pos: pos[:, 2], name="z")

0 comments on commit 464934b

Please sign in to comment.