Skip to content

Commit

Permalink
Directional topology!
Browse files Browse the repository at this point in the history
  • Loading branch information
gbene committed Jun 25, 2024
1 parent 68d8e26 commit 249ac0f
Show file tree
Hide file tree
Showing 16 changed files with 4,042 additions and 3,691 deletions.
2 changes: 1 addition & 1 deletion development/Examples/Salza/output/csv/Boundary_1.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion development/Examples/Salza/output/csv/Fractures_1.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id;length;azimuth;geometry;original_line_id;type;censored;f_set;Area;b_group
id;length;azimuth;geometry;og_line_id;type;censored;f_set;Area;b_group
;1.662;99.0;LINESTRING (410096.35456409305 5081031.017326133, 410096.50522728683 5081031.011251029, 410096.7336521173 5081030.950499744, 410096.88796038047 5081030.90918887, 410097.1346105964 5081030.827782149, 410097.47390652157 5081030.807734225, 410097.7399971486 5081030.785863762, 410097.98653702193 5081030.758013437);1;fracture;1;1;;-9999
;2.874;149.0;LINESTRING (410097.7245943704 5081027.574167635, 410097.6828909409 5081027.766524911, 410097.6379349903 5081027.91354302, 410097.58082878264 5081028.077571489, 410097.4690464188 5081028.319361602, 410097.42530549376 5081028.427498889, 410097.3110930785 5081028.683869311, 410097.1604298924 5081028.930519527, 410097.068423772 5081029.075498868, 410097.06842377194 5081029.075498868, 410096.9599506529 5081029.246426207, 410096.9599506529 5081029.246426207, 410096.7585601442 5081029.528919682, 410096.5435005964 5081029.764634666, 410096.25787801214 5081029.977399788, 410096.25787801185 5081029.977399788);2;fracture;1;1;;-9999
;3.357;141.0;LINESTRING (410097.53344278084 5081029.432325139, 410097.6434026062 5081029.33026298, 410097.6434026062 5081029.33026298, 410097.71873419924 5081029.257361438, 410097.79406579223 5081029.185674923, 410097.81166052783 5081029.170858303, 410097.84023676865 5081029.1467941, 410097.84266682004 5081029.1455790745, 410098.2295006252 5081028.65167113, 410098.2295006253 5081028.65167113, 410098.2295006254 5081028.65167113, 410098.44425640756 5081028.407982551, 410098.63380041305 5081028.216008494, 410098.833064624 5081028.014314231, 410098.9015881133 5081027.931011166, 410098.9015881134 5081027.931011166, 410099.080929862 5081027.712987864, 410099.2583236107 5081027.397081188, 410099.44300751353 5081027.132205591, 410099.6155411596 5081026.823589069);3;fracture;0;1;;-9999
Expand Down
2 changes: 1 addition & 1 deletion development/Examples/Salza/output/csv/Fractures_2.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id;length;azimuth;geometry;original_line_id;type;censored;f_set;Area;b_group
id;length;azimuth;geometry;og_line_id;type;censored;f_set;Area;b_group
;1.872;72.0;LINESTRING (410095.81843401364 5081028.860048036, 410095.90105576086 5081028.9037889615, 410096.0104080733 5081028.953605015, 410096.09059976914 5081028.9730454255, 410096.17200649064 5081028.986410708, 410096.28986398294 5081029.0192164015, 410096.3676256274 5081029.043516916, 410096.3676256274 5081029.043516916, 410096.4478173232 5081029.058097224, 410096.59362040646 5081029.061742301, 410096.71998307866 5081029.124923637, 410096.9326125751 5081029.226985796, 410096.9599506529 5081029.246426207, 410097.0188793994 5081029.25979149, 410097.1513172001 5081029.286522055, 410097.26795966673 5081029.333908057, 410097.40525757015 5081029.389799239, 410097.48909434304 5081029.420174882, 410097.53344278055 5081029.432325139, 410097.5777912187 5081029.444475396);1;fracture;0;2;;-9999
;1.043;8.0;LINESTRING (410098.3336890788 5081029.132365671, 410098.3449280665 5081029.196002641, 410098.36558350327 5081029.254323875, 410098.3510031949 5081029.357601059, 410098.3716586317 5081029.4219974205, 410098.41053945397 5081029.5082642445, 410098.4190446338 5081029.610326403, 410098.44820525043 5081029.699023278, 410098.45185032755 5081029.758559537, 410098.4336249421 5081029.815665745, 410098.4506353018 5081029.843611336, 410098.46764566156 5081029.888567287, 410098.457925456 5081030.008854831, 410098.47693269403 5081030.140318764);2;fracture;1;2;;-9999
;0.833;63.0;LINESTRING (410097.5053453117 5081028.279873268, 410097.63535306096 5081028.390440606, 410097.74592039915 5081028.457267019, 410097.8929385081 5081028.542318817, 410097.96462502406 5081028.566619331, 410098.00715092337 5081028.554469074, 410098.09463277337 5081028.590919845, 410098.2295006254 5081028.65167113);3;fracture;0;2;;-9999
Expand Down
7,178 changes: 3,589 additions & 3,589 deletions development/Examples/Salza/output/csv/Nodes.csv

Large diffs are not rendered by default.

Binary file modified development/Examples/Salza/output/shp/Boundary_1.dbf
Binary file not shown.
Binary file modified development/Examples/Salza/output/shp/Fractures_1.dbf
Binary file not shown.
Binary file modified development/Examples/Salza/output/shp/Fractures_2.dbf
Binary file not shown.
Binary file modified development/Examples/Salza/output/shp/Nodes.dbf
Binary file not shown.
Binary file modified development/Examples/Salza/output/shp/Nodes.shp
Binary file not shown.
54 changes: 27 additions & 27 deletions development/Examples/Salza_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@
fracture_net.save_shp('Salza')
fracture_net.save_csv('Salza')

fracture_net.activate_fractures([1])
fitter = Statistics.NetworkFitter(fracture_net)

fitter.fit('lognorm')
fitter.fit('expon')
fitter.fit('norm')
fitter.fit('gamma')
fitter.fit('powerlaw')
fitter.fit('weibull_min')

fitter.fit_result_to_clipboard()
fitter.plot_PIT(bw=True)
fitter.plot_summary(position=[1], sort_by='Mean_rank')

fracture_net.activate_fractures([2])
fitter = Statistics.NetworkFitter(fracture_net)

fitter.fit('lognorm')
fitter.fit('expon')
fitter.fit('norm')
fitter.fit('gamma')
fitter.fit('powerlaw')
fitter.fit('weibull_min')

# fracture_net.activate_fractures([1])
# fitter = Statistics.NetworkFitter(fracture_net)
#
# fitter.fit('lognorm')
# fitter.fit('expon')
# fitter.fit('norm')
# fitter.fit('gamma')
# fitter.fit('powerlaw')
# fitter.fit('weibull_min')
#
# fitter.fit_result_to_clipboard()
fitter.plot_PIT(bw=True, n_ticks=11)
fitter.plot_summary(position=[1], sort_by='Mean_rank')
# fitter.tick_plot(n_ticks=5)
# fitter.plot_PIT(bw=True)
# fitter.plot_summary(position=[1], sort_by='Mean_rank')
#
# fracture_net.activate_fractures([2])
# fitter = Statistics.NetworkFitter(fracture_net)
#
# fitter.fit('lognorm')
# fitter.fit('expon')
# fitter.fit('norm')
# fitter.fit('gamma')
# fitter.fit('powerlaw')
# fitter.fit('weibull_min')
#
# # fitter.fit_result_to_clipboard()
# fitter.plot_PIT(bw=True, n_ticks=11)
# fitter.plot_summary(position=[1], sort_by='Mean_rank')
# # fitter.tick_plot(n_ticks=5)
73 changes: 57 additions & 16 deletions docs/Tutorials/notebooks/Basic/2. Calculate topology.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 249ac0f

Please sign in to comment.