LoopStructural 1.6.21__py3-none-any.whl → 1.6.22__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of LoopStructural might be problematic. Click here for more details.

@@ -460,7 +460,7 @@ class StratigraphicColumn(Observable['StratigraphicColumn']):
460
460
  with self.freeze_notifications():
461
461
  self.clear(basement=False)
462
462
  elements_data = data.get("elements", [])
463
- for element_data in reversed(elements_data):
463
+ for element_data in elements_data:
464
464
  if "unconformity_type" in element_data:
465
465
  element = StratigraphicUnconformity.from_dict(element_data)
466
466
  else:
@@ -283,6 +283,8 @@ class GeologicalFeature(BaseFeature):
283
283
  value_constraints = self.builder.get_value_constraints()
284
284
  gradient_constraints = self.builder.get_gradient_constraints()
285
285
  norm_constraints = self.builder.get_norm_constraints()
286
+ # inequality_pair_constraints = self.builder.get_inequality_pair_constraints()
287
+ # inequality_constraints = self.builder.get_inequality_constraints()
286
288
  data = []
287
289
  if gradient_constraints.shape[0] > 0:
288
290
 
@@ -321,4 +323,17 @@ class GeologicalFeature(BaseFeature):
321
323
  name=f"{self.name}_value",
322
324
  )
323
325
  )
326
+ # if inequality_constraints.shape[0] > 0:
327
+
328
+ # data.append(
329
+ # ValuePoints(
330
+ # locations=self.model.rescale(
331
+ # inequality_constraints[:, :3]
332
+ # ),
333
+ # values=value_constraints[:, 3],
334
+ # name=f"{name}_inequality",
335
+ # properties = {'l':inequality_constraints[:,3],'u':inequality_constraints[:,4]}
336
+
337
+ # )
338
+ # )
324
339
  return data
@@ -419,7 +419,14 @@ class GeologicalFeatureBuilder(BaseBuilder):
419
419
  )
420
420
  else:
421
421
  return np.zeros((0, 5))
422
-
422
+ # def get_inequality_pair_constraints(self):
423
+ # mask = np.all(~np.isnan(self.data.loc[:,pairs_name()].to_numpy(float())),axis=1)
424
+ # if mask.shape[0] > 0:
425
+ # return self.data.loc[mask, xyz_names() + pairs_name()+weight_name()].to_numpy(float)
426
+ # def get_inequality_constraints(self):
427
+ # mask = np.all(~np.isnan(self.data.loc[:,inequality_name()].to_numpy(float())),axis=1)
428
+ # if mask.shape[0] > 0:
429
+ # return self.data.loc[mask, xyz_names() + inequality_name()+weight_name()].to_numpy(float)
423
430
  def get_data_locations(self):
424
431
  """
425
432
  Get only the location for all data points
LoopStructural/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.6.21"
1
+ __version__ = "1.6.22"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LoopStructural
3
- Version: 1.6.21
3
+ Version: 1.6.22
4
4
  Summary: 3D geological modelling
5
5
  Author-email: Lachlan Grose <lachlan.grose@monash.edu>
6
6
  License: MIT
@@ -1,5 +1,5 @@
1
1
  LoopStructural/__init__.py,sha256=9tewNqv_9i7vUYMb1srpOWpf65W-moA2HvrQa9gyafA,2241
2
- LoopStructural/version.py,sha256=SMNrOuGQWqBEDM6imwLjH1fN6hSGQv7a9BZsa78ky8I,23
2
+ LoopStructural/version.py,sha256=qxWPNp-fYi9fYiQ95Ac8I6lS8h5LhN7ajZKcbEdyUcg,23
3
3
  LoopStructural/datasets/__init__.py,sha256=ylb7fzJU_DyQ73LlwQos7VamqkDSGITbbnoKg7KAOmE,677
4
4
  LoopStructural/datasets/_base.py,sha256=FB_D5ybBYHoaNbycdkpZcRffzjrrL1xp9X0k-pyob9Y,7618
5
5
  LoopStructural/datasets/_example_models.py,sha256=Zg33IeUyh4C-lC0DRMLqCDP2IrX8L-gNV1WxJwBGjzM,113
@@ -73,13 +73,13 @@ LoopStructural/modelling/__init__.py,sha256=a-bq2gDhyUlcky5l9kl_IP3ExMdohkgYjQz2
73
73
  LoopStructural/modelling/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
74
  LoopStructural/modelling/core/fault_topology.py,sha256=bChp5dnfc-4GJRENWxB14mEW_13uBMh5ZYRKbLdjweE,11195
75
75
  LoopStructural/modelling/core/geological_model.py,sha256=65iLvmBH4YzRkaa2IUX1nrJ5Ebp_RWrgSMwY0CI63No,67171
76
- LoopStructural/modelling/core/stratigraphic_column.py,sha256=2UjurUC9ZTACH57fxsHMmMoXKjrWbJrDwIXFceyX5ok,21861
76
+ LoopStructural/modelling/core/stratigraphic_column.py,sha256=XDvi1KV9Jvw-bufRCtbZnVle_kYQuz_OqyzAps6y-WQ,21851
77
77
  LoopStructural/modelling/features/__init__.py,sha256=Vf-qd5EDBtJ1DpuXXyCcw2-wf6LWPRW5wzxDEO3vOc8,939
78
78
  LoopStructural/modelling/features/_analytical_feature.py,sha256=U_g86LgQhYY2359rdsDqpvziYwqrWkc5EdvhJARiUWo,3597
79
79
  LoopStructural/modelling/features/_base_geological_feature.py,sha256=otphU5IrJ5ES3b_r0m2bszj7urOvzaIoVPwKjNqJAI0,13509
80
80
  LoopStructural/modelling/features/_cross_product_geological_feature.py,sha256=GIyCHUdE6F-bse2e4puG9V2f7qRtDVfby5PRe2BboD4,3021
81
81
  LoopStructural/modelling/features/_feature_converters.py,sha256=gxcCEuUlWmkxXeiBSFMUVRZN6zg94AC1gEZ3YHE95qo,1205
82
- LoopStructural/modelling/features/_geological_feature.py,sha256=V5Ars8utx-AsEPVgMsoMzHFREeIByodzPPdEwblPGbo,11283
82
+ LoopStructural/modelling/features/_geological_feature.py,sha256=TxcaiiaJqayl8wH7UbcqAxaYvSwph_ACVAjAHkY3uOE,11930
83
83
  LoopStructural/modelling/features/_lambda_geological_feature.py,sha256=GiB19l6v5WvvR8CitATZvCwaOfRyLuzchoXzpNupsfM,5743
84
84
  LoopStructural/modelling/features/_projected_vector_feature.py,sha256=aifVLgn2spmK7GGlO0iHDewf1pFL-QoRzZEePTZwX1s,3017
85
85
  LoopStructural/modelling/features/_region.py,sha256=TB4qnoTDQM2VgRjgyODN839fKe3kuRYLllJj0xnDKXo,478
@@ -89,7 +89,7 @@ LoopStructural/modelling/features/builders/__init__.py,sha256=Gqld1C-PcaXfJ8vpkW
89
89
  LoopStructural/modelling/features/builders/_base_builder.py,sha256=N3txGC98V08A8-k2TLdoIWgWLfblZ91kaTvciPq_QVM,3750
90
90
  LoopStructural/modelling/features/builders/_fault_builder.py,sha256=aygkXjyeZEBNl8EjRtXbB3fqelo8A5cIIQmVS30gsDQ,25356
91
91
  LoopStructural/modelling/features/builders/_folded_feature_builder.py,sha256=sbyTI3McT1UBgTc1TPOrU4ggwcGYBGlCEzVk4stlGbs,7536
92
- LoopStructural/modelling/features/builders/_geological_feature_builder.py,sha256=7XhgwPXQZkky4Gnr4Q3t95YlDdtJ6mjBk7dsjzXB2QI,22236
92
+ LoopStructural/modelling/features/builders/_geological_feature_builder.py,sha256=NMdtXXOR_mCBU_9LinmW76au_JBD98IWQo7Z6vBGHBI,22782
93
93
  LoopStructural/modelling/features/builders/_structural_frame_builder.py,sha256=nPZWrN7D5hpVYWZpxpqe5F9Qzxj7zuLjefyU8pzrcb8,9194
94
94
  LoopStructural/modelling/features/fault/__init__.py,sha256=4u0KfYzmoO-ddFGo9qd9ov0gBoLqBiPAUsaw5zhEOAQ,189
95
95
  LoopStructural/modelling/features/fault/_fault_function.py,sha256=QEPh2jIvgD68hEJc5SM5xuMzZw-93V1me1ZbK9G2TB0,12655
@@ -135,8 +135,8 @@ LoopStructural/utils/regions.py,sha256=SjCC40GI7_n03G4mlcmvyrBgJFbxnvB3leBzXWco3
135
135
  LoopStructural/utils/typing.py,sha256=29uVSTZdzXXH-jdlaYyBWZ1gQ2-nlZ2-XoVgG_PXNFY,157
136
136
  LoopStructural/utils/utils.py,sha256=2Z4zVE6G752-SPmM29zebk82bROJxEwi_YiiJjcVED4,2438
137
137
  LoopStructural/visualisation/__init__.py,sha256=5BDgKor8-ae6DrS7IZybJ3Wq_pTnCchxuY4EgzA7v1M,318
138
- loopstructural-1.6.21.dist-info/licenses/LICENSE,sha256=ZqGeNFOgmYevj7Ld7Q-kR4lAxWXuBRUdUmPC6XM_py8,1071
139
- loopstructural-1.6.21.dist-info/METADATA,sha256=1-dlE7k1Zl_Aie2yGmkGAs1gGA26jOjkqL-s0klj7kU,6453
140
- loopstructural-1.6.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
141
- loopstructural-1.6.21.dist-info/top_level.txt,sha256=QtQErKzYHfg6ddxTQ1NyaTxXBVM6qAqrM_vxEPyXZLg,15
142
- loopstructural-1.6.21.dist-info/RECORD,,
138
+ loopstructural-1.6.22.dist-info/licenses/LICENSE,sha256=ZqGeNFOgmYevj7Ld7Q-kR4lAxWXuBRUdUmPC6XM_py8,1071
139
+ loopstructural-1.6.22.dist-info/METADATA,sha256=RVKWR8sMhpXPGFTwq_Yejm5W63T6wwICgVkwzLTlW2w,6453
140
+ loopstructural-1.6.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
141
+ loopstructural-1.6.22.dist-info/top_level.txt,sha256=QtQErKzYHfg6ddxTQ1NyaTxXBVM6qAqrM_vxEPyXZLg,15
142
+ loopstructural-1.6.22.dist-info/RECORD,,