Skip to content

Meaning of some codes #2358

Answered by ma-sadeghi
Devin-one asked this question in Q&A
Mar 27, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Please refer to our documentation here. Most functions (if not all) are fully documented. s=50 refers to "scale". Increasing it makes your pores appear larger. You could also pass size_by to draw a distribution of sizes.

If you look a few cells above, you see:

geo.add_model(propname='pore.diameter',
              model=op.models.geometry.pore_size.weibull,
              scale=0.5e-4, shape=0.8, loc=1e-6)

meaning that we've added a model to calculate pore diameter, and that model depends on a few parameters such as scale, shape, and loc. geo.models['pore.diameter']['shape'] = 1.5 basically modifies the "shape" value that was originally passed as 0.8.

As for why 1.5 was chosen, no particula…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Devin-one
Comment options

Answer selected by Devin-one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants