PoreMS 0.3
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • PoreCylinder.diameter
          • PoreCylinder.diameter()
    • PoreCylinder.diameter
      • PoreCylinder.diameter()
    Source

    PoreCylinder.diameter¶

    PoreCylinder.diameter()¶

    Calculate true diameter after drilling and preparation. This is done by determining the mean value \(\bar r\) of the silicon distances \(r_i\) of silicon \(i\) towards the shape center

    \[\bar r=\frac1n\sum_{i=1}^nr_i\]

    with the number of silicon atoms \(n\). The diameter is then

    \[d=2\bar r=\frac2n\sum_{i=1}^nr_i.\]
    Returns:
    diameterlist

    List of shape diameters after preparation

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.