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

    MC._mcmove_df¶

    MC._mcmove_df(model)¶

    This function does the MC move for the free energy profile and adjust the coefficents of the model. A MC move in the parameter space is defined by

    \[a_{k,\mathrm{new}}= a_{k} + \Delta_\mathrm{MC} \cdot (R - 0.5)\]

    with \(\Delta_\mathrm{MC}\) as the MC step move width and \(R\) as a random number between \(0\) and \(1\). The choice of the coefficient is also made by determining a random number.

    Parameters:
    modelclass

    Model object which set with the model class

    Back to top

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