LoopStructural 1.6.1__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.

Files changed (129) hide show
  1. LoopStructural/__init__.py +52 -0
  2. LoopStructural/datasets/__init__.py +23 -0
  3. LoopStructural/datasets/_base.py +301 -0
  4. LoopStructural/datasets/_example_models.py +10 -0
  5. LoopStructural/datasets/data/claudius.csv +21049 -0
  6. LoopStructural/datasets/data/claudiusbb.txt +2 -0
  7. LoopStructural/datasets/data/duplex.csv +126 -0
  8. LoopStructural/datasets/data/duplexbb.txt +2 -0
  9. LoopStructural/datasets/data/fault_trace/fault_trace.cpg +1 -0
  10. LoopStructural/datasets/data/fault_trace/fault_trace.dbf +0 -0
  11. LoopStructural/datasets/data/fault_trace/fault_trace.prj +1 -0
  12. LoopStructural/datasets/data/fault_trace/fault_trace.shp +0 -0
  13. LoopStructural/datasets/data/fault_trace/fault_trace.shx +0 -0
  14. LoopStructural/datasets/data/geological_map_data/bbox.csv +2 -0
  15. LoopStructural/datasets/data/geological_map_data/contacts.csv +657 -0
  16. LoopStructural/datasets/data/geological_map_data/fault_displacement.csv +7 -0
  17. LoopStructural/datasets/data/geological_map_data/fault_edges.txt +2 -0
  18. LoopStructural/datasets/data/geological_map_data/fault_locations.csv +79 -0
  19. LoopStructural/datasets/data/geological_map_data/fault_orientations.csv +19 -0
  20. LoopStructural/datasets/data/geological_map_data/stratigraphic_order.csv +13 -0
  21. LoopStructural/datasets/data/geological_map_data/stratigraphic_orientations.csv +207 -0
  22. LoopStructural/datasets/data/geological_map_data/stratigraphic_thickness.csv +13 -0
  23. LoopStructural/datasets/data/intrusion.csv +1017 -0
  24. LoopStructural/datasets/data/intrusionbb.txt +2 -0
  25. LoopStructural/datasets/data/onefoldbb.txt +2 -0
  26. LoopStructural/datasets/data/onefolddata.csv +2226 -0
  27. LoopStructural/datasets/data/refolded_bb.txt +2 -0
  28. LoopStructural/datasets/data/refolded_fold.csv +205 -0
  29. LoopStructural/datasets/data/tabular_intrusion.csv +23 -0
  30. LoopStructural/datatypes/__init__.py +4 -0
  31. LoopStructural/datatypes/_bounding_box.py +422 -0
  32. LoopStructural/datatypes/_point.py +166 -0
  33. LoopStructural/datatypes/_structured_grid.py +94 -0
  34. LoopStructural/datatypes/_surface.py +184 -0
  35. LoopStructural/export/exporters.py +554 -0
  36. LoopStructural/export/file_formats.py +15 -0
  37. LoopStructural/export/geoh5.py +100 -0
  38. LoopStructural/export/gocad.py +126 -0
  39. LoopStructural/export/omf_wrapper.py +88 -0
  40. LoopStructural/interpolators/__init__.py +105 -0
  41. LoopStructural/interpolators/_api.py +143 -0
  42. LoopStructural/interpolators/_builders.py +149 -0
  43. LoopStructural/interpolators/_cython/__init__.py +0 -0
  44. LoopStructural/interpolators/_discrete_fold_interpolator.py +183 -0
  45. LoopStructural/interpolators/_discrete_interpolator.py +692 -0
  46. LoopStructural/interpolators/_finite_difference_interpolator.py +470 -0
  47. LoopStructural/interpolators/_geological_interpolator.py +380 -0
  48. LoopStructural/interpolators/_interpolator_factory.py +89 -0
  49. LoopStructural/interpolators/_non_linear_discrete_interpolator.py +0 -0
  50. LoopStructural/interpolators/_operator.py +38 -0
  51. LoopStructural/interpolators/_p1interpolator.py +228 -0
  52. LoopStructural/interpolators/_p2interpolator.py +277 -0
  53. LoopStructural/interpolators/_surfe_wrapper.py +174 -0
  54. LoopStructural/interpolators/supports/_2d_base_unstructured.py +340 -0
  55. LoopStructural/interpolators/supports/_2d_p1_unstructured.py +68 -0
  56. LoopStructural/interpolators/supports/_2d_p2_unstructured.py +288 -0
  57. LoopStructural/interpolators/supports/_2d_structured_grid.py +462 -0
  58. LoopStructural/interpolators/supports/_2d_structured_tetra.py +0 -0
  59. LoopStructural/interpolators/supports/_3d_base_structured.py +467 -0
  60. LoopStructural/interpolators/supports/_3d_p2_tetra.py +331 -0
  61. LoopStructural/interpolators/supports/_3d_structured_grid.py +470 -0
  62. LoopStructural/interpolators/supports/_3d_structured_tetra.py +746 -0
  63. LoopStructural/interpolators/supports/_3d_unstructured_tetra.py +637 -0
  64. LoopStructural/interpolators/supports/__init__.py +55 -0
  65. LoopStructural/interpolators/supports/_aabb.py +77 -0
  66. LoopStructural/interpolators/supports/_base_support.py +114 -0
  67. LoopStructural/interpolators/supports/_face_table.py +70 -0
  68. LoopStructural/interpolators/supports/_support_factory.py +32 -0
  69. LoopStructural/modelling/__init__.py +29 -0
  70. LoopStructural/modelling/core/__init__.py +0 -0
  71. LoopStructural/modelling/core/geological_model.py +1867 -0
  72. LoopStructural/modelling/features/__init__.py +32 -0
  73. LoopStructural/modelling/features/_analytical_feature.py +79 -0
  74. LoopStructural/modelling/features/_base_geological_feature.py +364 -0
  75. LoopStructural/modelling/features/_cross_product_geological_feature.py +100 -0
  76. LoopStructural/modelling/features/_geological_feature.py +288 -0
  77. LoopStructural/modelling/features/_lambda_geological_feature.py +93 -0
  78. LoopStructural/modelling/features/_region.py +18 -0
  79. LoopStructural/modelling/features/_structural_frame.py +186 -0
  80. LoopStructural/modelling/features/_unconformity_feature.py +83 -0
  81. LoopStructural/modelling/features/builders/__init__.py +5 -0
  82. LoopStructural/modelling/features/builders/_base_builder.py +111 -0
  83. LoopStructural/modelling/features/builders/_fault_builder.py +590 -0
  84. LoopStructural/modelling/features/builders/_folded_feature_builder.py +129 -0
  85. LoopStructural/modelling/features/builders/_geological_feature_builder.py +543 -0
  86. LoopStructural/modelling/features/builders/_structural_frame_builder.py +237 -0
  87. LoopStructural/modelling/features/fault/__init__.py +3 -0
  88. LoopStructural/modelling/features/fault/_fault_function.py +444 -0
  89. LoopStructural/modelling/features/fault/_fault_function_feature.py +82 -0
  90. LoopStructural/modelling/features/fault/_fault_segment.py +505 -0
  91. LoopStructural/modelling/features/fold/__init__.py +9 -0
  92. LoopStructural/modelling/features/fold/_fold.py +167 -0
  93. LoopStructural/modelling/features/fold/_fold_rotation_angle.py +149 -0
  94. LoopStructural/modelling/features/fold/_fold_rotation_angle_feature.py +67 -0
  95. LoopStructural/modelling/features/fold/_foldframe.py +194 -0
  96. LoopStructural/modelling/features/fold/_svariogram.py +188 -0
  97. LoopStructural/modelling/input/__init__.py +2 -0
  98. LoopStructural/modelling/input/fault_network.py +80 -0
  99. LoopStructural/modelling/input/map2loop_processor.py +165 -0
  100. LoopStructural/modelling/input/process_data.py +650 -0
  101. LoopStructural/modelling/input/project_file.py +84 -0
  102. LoopStructural/modelling/intrusions/__init__.py +25 -0
  103. LoopStructural/modelling/intrusions/geom_conceptual_models.py +142 -0
  104. LoopStructural/modelling/intrusions/geometric_scaling_functions.py +123 -0
  105. LoopStructural/modelling/intrusions/intrusion_builder.py +672 -0
  106. LoopStructural/modelling/intrusions/intrusion_feature.py +410 -0
  107. LoopStructural/modelling/intrusions/intrusion_frame_builder.py +971 -0
  108. LoopStructural/modelling/intrusions/intrusion_support_functions.py +460 -0
  109. LoopStructural/utils/__init__.py +38 -0
  110. LoopStructural/utils/_surface.py +143 -0
  111. LoopStructural/utils/_transformation.py +76 -0
  112. LoopStructural/utils/config.py +18 -0
  113. LoopStructural/utils/dtm_creator.py +17 -0
  114. LoopStructural/utils/exceptions.py +31 -0
  115. LoopStructural/utils/helper.py +292 -0
  116. LoopStructural/utils/json_encoder.py +18 -0
  117. LoopStructural/utils/linalg.py +8 -0
  118. LoopStructural/utils/logging.py +79 -0
  119. LoopStructural/utils/maths.py +245 -0
  120. LoopStructural/utils/regions.py +103 -0
  121. LoopStructural/utils/typing.py +7 -0
  122. LoopStructural/utils/utils.py +68 -0
  123. LoopStructural/version.py +1 -0
  124. LoopStructural/visualisation/__init__.py +11 -0
  125. LoopStructural-1.6.1.dist-info/LICENSE +21 -0
  126. LoopStructural-1.6.1.dist-info/METADATA +81 -0
  127. LoopStructural-1.6.1.dist-info/RECORD +129 -0
  128. LoopStructural-1.6.1.dist-info/WHEEL +5 -0
  129. LoopStructural-1.6.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,2 @@
1
+ 5.488000000000000000e+05 7.816600000000000000e+06 -1.101000000000000000e+04
2
+ 5.525000000000000000e+05 7.822000000000000000e+06 -8.400000000000000000e+03
@@ -0,0 +1,126 @@
1
+ ,X,Y,Z,val,coord,nx,ny,nz,feature_name
2
+ 0,1.8402333072121912,2.081193875048747,3.7733301887893065,0.0,0.0,,,,fault1
3
+ 1,1.8402333072121912,0.32244787563888644,3.7733301887893065,0.0,0.0,,,,fault1
4
+ 2,1.8402333072121912,0.8401803545436141,3.7733301887893065,0.0,0.0,,,,fault1
5
+ 3,1.8402333072121912,1.154198307129487,3.7733301887893065,0.0,0.0,,,,fault1
6
+ 4,1.8402333072121912,0.8020658596563571,3.7733301887893065,0.0,0.0,,,,fault1
7
+ 5,1.8402333072121912,1.5366681038355519,3.7733301887893065,0.0,0.0,,,,fault1
8
+ 6,1.8402333072121912,1.7728309968503262,3.7733301887893065,0.0,0.0,,,,fault1
9
+ 7,1.8402333072121912,2.714942781871412,3.7733301887893065,0.0,0.0,,,,fault1
10
+ 8,1.8402333072121912,2.5508664990816134,3.7733301887893065,0.0,0.0,,,,fault1
11
+ 9,1.8402333072121912,0.9148239582161302,3.7733301887893065,0.0,0.0,,,,fault1
12
+ 0,-10.0,1.5,0.0,,0.0,0.0,0.0,1.0,fault1
13
+ 1,10.0,1.5,5.0,,0.0,0.0,0.0,1.0,fault1
14
+ 2,10.0,1.5,5.0,,2.0,0.0,1.0,0.0,fault1
15
+ 3,-9.0,1.5,5.0,,2.0,0.0,1.0,0.0,fault1
16
+ 4,10.0,1.5,5.0,,1.0,1.0,0.0,0.0,fault1
17
+ 5,-9.0,1.5,5.0,,1.0,1.0,0.0,0.0,fault1
18
+ 0,-10.0,1.5288581453950383,0.0,0.0,0.0,,,,fault2
19
+ 1,-5.0,1.8151914204345725,0.0,0.0,0.0,,,,fault2
20
+ 2,-3.5,1.0165900440258864,0.0,0.0,0.0,,,,fault2
21
+ 3,-7.5,0.9894564108512548,0.0,0.0,0.0,,,,fault2
22
+ 4,-6.0,0.551476160520993,0.0,0.0,0.0,,,,fault2
23
+ 5,-3.0,1.8279495971394126,0.0,0.0,0.0,,,,fault2
24
+ 6,4.5,0.14921331542451022,3.0,0.0,0.0,,,,fault2
25
+ 7,5.0,1.2877507391499077,3.0,0.0,0.0,,,,fault2
26
+ 8,7.0,0.23745788308205762,3.0,0.0,0.0,,,,fault2
27
+ 9,10.0,0.6198342901070069,3.0,0.0,0.0,,,,fault2
28
+ 10,-10.0,0.2564806945118223,0.0,0.0,0.0,,,,fault2
29
+ 11,-5.0,1.6271897046650192,0.0,0.0,0.0,,,,fault2
30
+ 12,-3.5,1.9010792573571091,0.0,0.0,0.0,,,,fault2
31
+ 13,-7.5,0.9319566695868944,0.0,0.0,0.0,,,,fault2
32
+ 14,-6.0,0.5902364807178432,0.0,0.0,0.0,,,,fault2
33
+ 15,-3.0,1.693052415143368,0.0,0.0,0.0,,,,fault2
34
+ 16,4.5,2.7764058979479724,3.0,0.0,0.0,,,,fault2
35
+ 17,5.0,0.7490642118477547,3.0,0.0,0.0,,,,fault2
36
+ 18,7.0,2.39874592394275,3.0,0.0,0.0,,,,fault2
37
+ 19,10.0,1.131772533493303,3.0,0.0,0.0,,,,fault2
38
+ 20,-10.0,1.255324662777494,0.0,0.0,0.0,,,,fault2
39
+ 21,-5.0,1.7455571675380148,0.0,0.0,0.0,,,,fault2
40
+ 22,-3.5,2.898105826036233,0.0,0.0,0.0,,,,fault2
41
+ 23,-7.5,0.2827016444362467,0.0,0.0,0.0,,,,fault2
42
+ 24,-6.0,1.6314019517667862,0.0,0.0,0.0,,,,fault2
43
+ 25,-3.0,2.0713745916662942,0.0,0.0,0.0,,,,fault2
44
+ 26,4.5,2.385813107492866,3.0,0.0,0.0,,,,fault2
45
+ 27,5.0,1.6484983769607728,3.0,0.0,0.0,,,,fault2
46
+ 28,7.0,1.9871234364961676,3.0,0.0,0.0,,,,fault2
47
+ 29,10.0,2.6307435174580487,3.0,0.0,0.0,,,,fault2
48
+ 30,-10.0,1.8545760283163535,0.0,0.0,0.0,,,,fault2
49
+ 31,-5.0,0.47011635530718077,0.0,0.0,0.0,,,,fault2
50
+ 32,-3.5,0.04865698262061002,0.0,0.0,0.0,,,,fault2
51
+ 33,-7.5,0.2979717965665628,0.0,0.0,0.0,,,,fault2
52
+ 34,-6.0,2.501387636152213,0.0,0.0,0.0,,,,fault2
53
+ 35,-3.0,1.6607604980266173,0.0,0.0,0.0,,,,fault2
54
+ 36,4.5,1.6929369603063993,3.0,0.0,0.0,,,,fault2
55
+ 37,5.0,1.0232325560691855,3.0,0.0,0.0,,,,fault2
56
+ 38,7.0,1.730692066562837,3.0,0.0,0.0,,,,fault2
57
+ 39,10.0,2.4231239306046874,3.0,0.0,0.0,,,,fault2
58
+ 40,-10.0,0.5207900944588786,0.0,0.0,0.0,,,,fault2
59
+ 41,-5.0,0.659773229160574,0.0,0.0,0.0,,,,fault2
60
+ 42,-3.5,0.3701107281169277,0.0,0.0,0.0,,,,fault2
61
+ 43,-7.5,1.1360728006607328,0.0,0.0,0.0,,,,fault2
62
+ 44,-6.0,0.5106691207485599,0.0,0.0,0.0,,,,fault2
63
+ 45,-3.0,0.07104768207139645,0.0,0.0,0.0,,,,fault2
64
+ 46,4.5,1.5978206735372074,3.0,0.0,0.0,,,,fault2
65
+ 47,5.0,0.37081975236665776,3.0,0.0,0.0,,,,fault2
66
+ 48,7.0,0.6503509990599937,3.0,0.0,0.0,,,,fault2
67
+ 49,10.0,1.9586839356298555,3.0,0.0,0.0,,,,fault2
68
+ 50,-10.0,2.882027951851496,0.0,0.0,0.0,,,,fault2
69
+ 51,-5.0,0.20513258521096722,0.0,0.0,0.0,,,,fault2
70
+ 52,-3.5,1.5376338743116138,0.0,0.0,0.0,,,,fault2
71
+ 53,-7.5,0.978590834939446,0.0,0.0,0.0,,,,fault2
72
+ 54,-6.0,0.0611612536738807,0.0,0.0,0.0,,,,fault2
73
+ 55,-3.0,1.5480831530037373,0.0,0.0,0.0,,,,fault2
74
+ 56,4.5,2.216218359810297,3.0,0.0,0.0,,,,fault2
75
+ 57,5.0,1.8512705612551716,3.0,0.0,0.0,,,,fault2
76
+ 58,7.0,0.1579677665209953,3.0,0.0,0.0,,,,fault2
77
+ 59,10.0,1.5392112859440457,3.0,0.0,0.0,,,,fault2
78
+ 60,-10.0,2.5328277236214514,0.0,0.0,0.0,,,,fault2
79
+ 61,-5.0,2.5213868572379856,0.0,0.0,0.0,,,,fault2
80
+ 62,-3.5,0.20362468009864165,0.0,0.0,0.0,,,,fault2
81
+ 63,-7.5,2.6058767799032356,0.0,0.0,0.0,,,,fault2
82
+ 64,-6.0,0.21262410511021979,0.0,0.0,0.0,,,,fault2
83
+ 65,-3.0,1.9975709248787212,0.0,0.0,0.0,,,,fault2
84
+ 66,4.5,0.4526927482060814,3.0,0.0,0.0,,,,fault2
85
+ 67,5.0,2.4489229510924777,3.0,0.0,0.0,,,,fault2
86
+ 68,7.0,2.1011936132378635,3.0,0.0,0.0,,,,fault2
87
+ 69,10.0,0.8044569319820237,3.0,0.0,0.0,,,,fault2
88
+ 70,-10.0,2.884197427558175,0.0,0.0,0.0,,,,fault2
89
+ 71,-5.0,0.6902575549056094,0.0,0.0,0.0,,,,fault2
90
+ 72,-3.5,1.961784809220129,0.0,0.0,0.0,,,,fault2
91
+ 73,-7.5,2.1767555981721567,0.0,0.0,0.0,,,,fault2
92
+ 74,-6.0,0.3983454331663415,0.0,0.0,0.0,,,,fault2
93
+ 75,-3.0,2.8981009249063465,0.0,0.0,0.0,,,,fault2
94
+ 76,4.5,1.3865514507909809,3.0,0.0,0.0,,,,fault2
95
+ 77,5.0,0.653627133333859,3.0,0.0,0.0,,,,fault2
96
+ 78,7.0,2.498824451085661,3.0,0.0,0.0,,,,fault2
97
+ 79,10.0,0.13165867155673483,3.0,0.0,0.0,,,,fault2
98
+ 80,-10.0,0.03323331302147603,0.0,0.0,0.0,,,,fault2
99
+ 81,-5.0,0.8778750765896001,0.0,0.0,0.0,,,,fault2
100
+ 82,-3.5,2.690744931674873,0.0,0.0,0.0,,,,fault2
101
+ 83,-7.5,0.034298839516407664,0.0,0.0,0.0,,,,fault2
102
+ 84,-6.0,2.6612653561449355,0.0,0.0,0.0,,,,fault2
103
+ 85,-3.0,1.9820873088895805,0.0,0.0,0.0,,,,fault2
104
+ 86,4.5,0.19484559201067597,3.0,0.0,0.0,,,,fault2
105
+ 87,5.0,1.6372007092013017,3.0,0.0,0.0,,,,fault2
106
+ 88,7.0,2.788999484747062,3.0,0.0,0.0,,,,fault2
107
+ 89,10.0,1.2370273134448082,3.0,0.0,0.0,,,,fault2
108
+ 90,-10.0,1.5314887454839323,0.0,0.0,0.0,,,,fault2
109
+ 91,-5.0,2.7180055051187244,0.0,0.0,0.0,,,,fault2
110
+ 92,-3.5,2.4016469352686807,0.0,0.0,0.0,,,,fault2
111
+ 93,-7.5,1.3324759535147395,0.0,0.0,0.0,,,,fault2
112
+ 94,-6.0,0.47101194632472154,0.0,0.0,0.0,,,,fault2
113
+ 95,-3.0,1.3653482431893016,0.0,0.0,0.0,,,,fault2
114
+ 96,4.5,2.305109145083197,3.0,0.0,0.0,,,,fault2
115
+ 97,5.0,0.7568871690854737,3.0,0.0,0.0,,,,fault2
116
+ 98,7.0,1.893510665503753,3.0,0.0,0.0,,,,fault2
117
+ 99,10.0,2.810063179450817,3.0,0.0,0.0,,,,fault2
118
+ 0,-10.0,1.1,0.0,,0.0,0.0,0.0,1.0,fault2
119
+ 1,10.0,1.5,1.0,,0.0,0.0,0.0,1.0,fault2
120
+ 2,10.0,1.5,1.0,,2.0,0.0,1.0,0.0,fault2
121
+ 3,-9.0,1.5,1.0,,2.0,0.0,1.0,0.0,fault2
122
+ 4,10.0,1.5,1.0,,1.0,1.0,0.0,0.0,fault2
123
+ 5,-9.0,1.5,1.0,,1.0,1.0,0.0,0.0,fault2
124
+ 0,0.0,0.0,0.0,,0.0,0.0,0.0,1.0,strati
125
+ 1,1.0,0.0,1.0,,0.0,0.0,0.0,1.0,strati
126
+ 0,0.0,0.0,0.0,0.0,0.0,,,,strati
@@ -0,0 +1,2 @@
1
+ -1.000000000000000000e+01 -1.000000000000000000e+00 -1.000000000000000000e+00
2
+ 1.000000000000000000e+01 3.000000000000000000e+00 1.000000000000000000e+01
@@ -0,0 +1 @@
1
+ PROJCS["GDA2020_MGA_Zone_53",GEOGCS["GCS_GDA2020",DATUM["GDA2020",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",135.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]
@@ -0,0 +1,2 @@
1
+ origin, 519572.569,7489723.89,-4800.0
2
+ maximum,551978.745,7516341.01,1200.0