plot_attractive_mie_potential_from_dict

mapsci.quick_plots.plot_attractive_mie_potential_from_dict

plot_attractive_mie_potential_from_dict(beadA, beadB, beadAB={}, distance_opts={}, nondimensional=False, temperature=None, plot_opts={}, show=True)[source]

Plot the attractive component of the Mie potential and if provided.

Nondimensional parameters are scaled using the following physical constants: vacuum permittivity, \(\varepsilon_{0}\), Boltzmann constant, \(k_{B}\), and elementary charge, \(e\).

Parameters
  • beadA (dict) – Dictionary of a bead’s Mie and multipole parameters. Those parameters may be:

    • epsilon (float) Energy parameter in [K], or nondimensionalized as \(\epsilon'=\epsilon/(3k_{B}T)\)

    • sigma (float) Size parameter in [Å], or nondimensionalized as \(\sigma'=\sigma (4 \pi \varepsilon_{0}) 3k_{B}T e^{-2}\)

    • lambdar (float) Repulsive exponent

    • lambdaa (float) Attractive exponent

  • beadB (dict) – Dictionary of a bead’s Mie and multipole parameters. Those parameters may be:

    • epsilon (float) Energy parameter in [K], or nondimensionalized as \(\epsilon'=\epsilon/(3k_{B}T)\)

    • sigma (float) Size parameter in [Å], or nondimensionalized as \(\sigma'=\sigma (4 \pi \varepsilon_{0}) 3k_{B}T e^{-2}\)

    • lambdar (float) Repulsive exponent

    • lambdaa (float) Attractive exponent

  • beadAB (dict, Optional, default={}) – Dictionary of cross-interaction parameters for Mie potential.

    • epsilon (float) Energy parameter in [K], or nondimensionalized as \(\epsilon'=\epsilon/(3k_{B}T)\)

    • sigma (float) Size parameter in [Å], or nondimensionalized as \(\sigma'=\sigma (4 \pi \varepsilon_{0}) 3k_{B}T e^{-2}\)

    • lambdar (float) Repulsive exponent

    • lambdaa (float) Attractive exponent

  • distance_opts (dict, Optional, default={}) – Dictionary of keyword arguments for calc_distance_array()

  • temperature (float, Optional, default=None) – Temperature in [K] for adding and removing dimensions, if the parameters are nondimensionalized, this value isn’t used.

  • nondimensional (bool, Optional, default=False) – Indicates whether the given bead library has been nondimensionalized by dict_dimensions()

  • plot_opts (dict, Optional, default={}) – Keyword arguments for matplotlib.pyplot.plot

  • show (bool, Optional, default=True) – Dictate whether plt.show() should be executed within this function