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

    num_dens_to_mass_dens¶

    poreana.utils.num_dens_to_mass_dens(dens)¶

    Convert number density \(\rho \left(\frac{\text{#}}{\text{nm}^3}\right)\) into mass density \(\rho_{\text{m}} \left(\frac{\text{kg}}{\text{m}^3}\right)\) from the dictonary from function pa.density.bins() with

    \[\rho_{m}=\frac{M \cdot 10}{6.022\cdot \rho}.\]
    Parameters:
    densdictonary

    Dictionary returned from the pa.density.bins() Function

    Returns:
    mass_denslist

    Mass density over the simulation box

    Back to top

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