PoreAna 0.2
  • API
  • Sample
  • Density
  • Diffusion (Bin)
  • Diffusion (MC)
  • Further Properties
  • Site
    • Page
        • Sample._angle
          • Sample._angle()
    • Sample._angle
      • Sample._angle()
    Source

    Sample._angle¶

    Sample._angle(data, region, dist, com, pos, pore_id)¶

    This function calculates the angle between a molecule vector defined between two atoms and the surface normal vector at the postition of the molecules center of mass. Hereby all angles all summed up per bin.

    If a box system is analyzed, the normal vector is the z-axis.

    Parameters:
    datadictionary

    Data dictionary containing bins for the pore interior and exterior

    regionstring

    Indicator wether molecule is inside or outside pore

    distfloat

    Distance of center of mass to pore surface area

    comlist

    Center of mass of current molecule

    poslist

    List of atom positions of current molecule

    Back to top

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