class matlantis_features.features.md.md_extensions.TemperatureScheduler(start_value: float, end_value: float, num_total_steps: int)#

Bases: MDExtensionBase

Linear temperature scheduler exteisnon.

This extension linearly change the temperature of the system
from the start to the end temperature,
during the given time steps.
After the given time step, the temperature is kept to the end temperature.

Methods

__init__(start_value, end_value, num_total_steps)

Create linear temperature scheduler exteisnon.

__call__(system, integrator)

Change the temperature of the system.

__init__(start_value: float, end_value: float, num_total_steps: int)#

Create linear temperature scheduler exteisnon.

Parameters
  • start_value (float) – Start temperature in K unit.

  • end_value (float) – End temperature in K unit.

  • num_total_steps (int) – Number of steps for the linear temperature change.

__call__(system: ASEMDSystem, integrator: MDIntegratorBase) None#

Change the temperature of the system.

Parameters
  • system (ASEMDSystem) – Target system of the MD simulation.

  • integrator (MDIntegratorBase) – Integrator used for the MD simulation.