@@ -22,7 +22,7 @@ def __init__(
2222
2323 Create a geological feature by projecting a vector onto a feature representing a plane
2424 E.g. project a thickness vector onto an axial surface
25-
25+
2626 Parameters
2727 ----------
2828 name: feature name
@@ -42,7 +42,7 @@ def __init__(
4242 super ().__init__ (name )
4343 self .plane_feature = plane_feature
4444 self .vector = vector
45-
45+
4646 self .value_feature = None
4747
4848 def evaluate_gradient (self , locations : np .ndarray , ignore_regions = False ) -> np .ndarray :
@@ -60,10 +60,10 @@ def evaluate_gradient(self, locations: np.ndarray, ignore_regions=False) -> np.n
6060 -------
6161
6262 """
63-
63+
6464 # project s0 onto axis plane B X A X B
6565 plane_normal = self .plane_feature .evaluate_gradient (locations , ignore_regions )
66- vector = np .tile (self .vector ,(locations .shape [0 ],1 ))
66+ vector = np .tile (self .vector , (locations .shape [0 ], 1 ))
6767
6868 projected_vector = np .cross (
6969 plane_normal , np .cross (vector , plane_normal , axisa = 1 , axisb = 1 ), axisa = 1 , axisb = 1
@@ -108,5 +108,5 @@ def copy(self, name: Optional[str] = None):
108108 if name is None :
109109 name = f'{ self .name } _copy'
110110 return ProjectedVectorFeature (
111- name = name , vector = self .vector , plane_feature = self .plane_feature
111+ name = name , vector = self .vector , plane_feature = self .plane_feature
112112 )
0 commit comments