-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
General bug fixes. Added option to clean only fractures touching the …
…boundary. and folder restructuring. Added the paper_materials folder
- Loading branch information
Showing
47 changed files
with
7,498 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
''' | ||
Script used to analyse the Pontrelli dataset. | ||
''' | ||
|
||
from fracability import Entities, Statistics # import the Entities class | ||
|
||
data_path = 'Pontrelli_in/Set_a.shp' | ||
boundary_path = 'Pontrelli_in/Interpretation_boundary.shp' | ||
|
||
# Create the fractures and boundary objects. | ||
set_a = Entities.Fractures(shp=data_path, set_n=1) # to add your data put the absolute path of the shp file | ||
|
||
boundary = Entities.Boundary(shp=boundary_path, group_n=1) | ||
|
||
fracture_net = Entities.FractureNetwork() | ||
|
||
fracture_net.add_fractures(set_a) | ||
|
||
fracture_net.add_boundaries(boundary) | ||
|
||
fracture_net.calculate_topology() | ||
|
||
fracture_net.vtk_plot(notebook=False) | ||
|
||
fracture_net.fractures.save_csv('Pontrelli_out') | ||
|
||
|
||
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.plot_PIT(bw=True) | ||
fitter.plot_summary(position=[1], sort_by='Mean_rank') | ||
# fitter.fit_result_to_clipboard() | ||
# Plotters.matplot_stats_ranks(fitter) | ||
|
||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
paper_materials/Pontrelli/Pontrelli_in/Interpretation_boundary.cpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
UTF-8 |
Binary file not shown.
1 change: 1 addition & 0 deletions
1
paper_materials/Pontrelli/Pontrelli_in/Interpretation_boundary.prj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROJCS["WGS_1984_UTM_Zone_33N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]] |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
UTF-8 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROJCS["WGS_1984_UTM_Zone_33N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]] |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.