IMP logo
IMP Reference Guide  develop.385bf31a7a,2026/08/05
The Integrative Modeling Platform
IMP.pmi.samplers.MolecularDynamics Class Reference

Sample using molecular dynamics. More...

Inherits _SamplerBase.

Detailed Description

Sample using molecular dynamics.

Note
This class is only available in Python.

Definition at line 256 of file samplers.py.

Public Member Functions

def __init__
 Setup MD. More...
 
def set_use_jax
 Request that sampling of the scoring function is done using JAX instead of IMP's internal C++ implementation (requires that all PMI restraints used have a JAX implementation). More...
 

Constructor & Destructor Documentation

def IMP.pmi.samplers.MolecularDynamics.__init__ (   self,
  model,
  objects,
  kt,
  gamma = 0.01,
  maximum_time_step = 1.0,
  sf = None,
  use_jax = False,
  start_frame = 0 
)

Setup MD.

Parameters
modelThe IMP Model
objectsWhat to sample. Use flat list of particles
ktTemperature
gammaViscosity parameter
maximum_time_stepMD max time step
start_frameThe starting frame number

Definition at line 264 of file samplers.py.

Member Function Documentation

def IMP.pmi.samplers.MolecularDynamics.set_use_jax (   self,
  nstep 
)

Request that sampling of the scoring function is done using JAX instead of IMP's internal C++ implementation (requires that all PMI restraints used have a JAX implementation).

Definition at line 289 of file samplers.py.


The documentation for this class was generated from the following file: