Skip to content

Commit a09f0d3

Browse files
committed
Merge branch 'master' of github.com:Loop3D/LoopStructural
2 parents 8f53535 + 80bc060 commit a09f0d3

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

LoopStructural/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
ch.setFormatter(formatter)
3030
ch.setLevel(logging.WARNING)
3131
loggers = {}
32-
__version__ = '1.0.73dev'
32+
__version__ = '1.0.75dev'
3333
from .modelling.core.geological_model import GeologicalModel
3434
from .visualisation.model_visualisation import LavaVuModelViewer
3535
from .visualisation.map_viewer import MapView

LoopStructural/modelling/features/lambda_geological_feature.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99

1010

1111
class LambdaGeologicalFeature:
12-
def __init__(self,function = None,name = 'unnamed_lambda', gradient_function = None):
12+
def __init__(self,function = None,name = 'unnamed_lambda', gradient_function = None, model = None):
1313
self.function = function
1414
self.name = name
1515
self.gradient_function = gradient_function
16+
self.model = model
1617
def evaluate_value(self, xyz):
1718
v = np.zeros((xyz.shape[0]))
1819
if self.function is None:
@@ -27,5 +28,9 @@ def evaluate_gradient(self,xyz):
2728
else:
2829
v[:,:] = self.gradient_function(xyz)
2930
return v
31+
def min(self):
32+
return 0
33+
def max(self):
34+
return 0
3035

3136

setup.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ def get_version(rel_path):
3838
setup(
3939
name="LoopStructural",
4040
install_requires=[
41-
'Cython',
42-
'numpy',
43-
'pandas',
44-
'scipy',
45-
'matplotlib',
46-
# 'lavavu',
47-
'scikit-image',
48-
'scikit-learn',
49-
'tqdm'
41+
# 'Cython',
42+
# 'numpy',
43+
# 'pandas',
44+
# 'scipy',
45+
# 'matplotlib',
46+
# # 'lavavu',
47+
# 'scikit-image',
48+
# 'scikit-learn',
49+
# 'tqdm'
5050

5151
],
5252
version=get_version("LoopStructural/__init__.py"),

0 commit comments

Comments
 (0)