v3.0.0 #1139
jgostick
announced in
News and Announcements
v3.0.0
#1139
Replies: 1 comment
-
|
This is a big release with lots of new features. Power users have been able to play with this by downloading the code directly from Github, but this release is now officially available on PyPI, so a simple This is a "major" release because we did a number of backwards incompatible changes throughout the code. Your existing code may break in a few places, but I think it shouldn't be too painful because the general idea/workflow is the same. I hope you find these new additions useful! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Change log
v3.0.0
🚀 New features
drainage,imbibitionandinjection#api #enhimbibitionfunction which handles trapping of nwp and residual wpdrainageandimbibitionusing convolution, distance transform thresholding and brute-force sphere insertiondrainageandimbibitionqbipalgorithm which incorporates gravity in invasion percolation simulationsinjectionfunction as a wrapper toibipandqbiphg_porosimetrywhich performs intrusion and extrusion using preset conditionscapillary_transformfunction tofiltersfor generating capillary pressure transformpc_map_to_pc_curvefunction for generate capillary pressure curves from output of new displacement functionsfiltersfor converting between different displacements maps (e.g.seq_to_satnandsize_to_pc)find_Botometricsmodulemodeargument tofind_trapped_voxelswhich acceptsclusterandqueueto select back end usedsurface=True|Falseargsfind_closed_poresandfind_surface_porestofiltersfill_closed_poresandfill_surface_porestofiltersfind_invalid_poresandfill_invalid_porestofilterstometrics` which dilates solid until void no longer percolatesis_percolatingtometricswhich checks if an image percolates in the specified direction(s)percolating_porositytometricswhich computes the void fraction associated with the percolating cluster(s)rev_tortuositytometricsget_slices_slabs,get_slices_random, andget_slices_multigridas additional ways to subdivide an imagenetworkserodeanddilatetofiltersget_edtwrapper function totoolswhich will getpyedtif available otherwise useedt, and also set the number of parallel threads fromsettings.ncoresget_connfunction totoolsball,disk,square,cubetotoolsregions_to_networkcontributed by @Arenhartmarching_cubesandmarching_squaresfunctions which are jit-compatibleconical_capillarytogeneratorsmoduleelevationfunction togenerators🍰 Enhancements
local_thicknessfilteraspecttoget_slices_random0andNoneinshapearg to yield a 2D imagefill_closedandfill_surfaceoption to several functions which compute porosityfill_closedandfill_surfaceargs toporosityandporosity_profilefunctionsporosityargument tofractal_noisegeneratorsemandxrayviews to return images scaled between 0 and 1 for easier visualizationsem🔧 Maintenance
porosimetryandlocal_thicknessare now decoupledparse_shapetotoolsporespy.settings.tqdmporosity_profileandsatn_profileto useim_to_slabsinternallysurface=True|Falseargs #newporosimetryandlocal_thicknesnow usemethodkeyword instead ofmoderepresentative_elementary_volumetorev_porositysubdividetoget_slices_gridparallel_kwsthroughout package to specify parallelization related infoget_bordersto return faces with mode of 'edges' and 'faces' in 2Dfill_closed_poresstrel,conns, etc to justconnswhich accepts'min'and'max'modetomethodthroughout when appropriateperiodicargument toblobswhich makes a periodic image that also has uniform density near edgesim_<name>on returned Results objectsiosubmodulenetworkssubmodulexrayfunctionfig, axfrom all visualization functionsporosity_profileto return a results object with position and porositydrainagefunction to have consistent api withimbibitionibiptosimulationspc_curve_from_ibipandpc_curve_from_miofunctionspc_curvefunction to only accept capillary pressure mapsnorm_to_uniformtoall_to_uniformrsaandRSA, replaced withrandom_spheresrandom_spheres,pseudo_gravity_packing, andpseudo_electrostatic_packingfunctions to have same api🐛 Bugfixes
cylindersgenerator where porosity increased near edgesget_random_slicesto ensure all blocks are cubicpoints_to_spheresbug in 3D📗 Documentation
This discussion was created from the release v3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions