IMP logo
IMP Reference Guide  develop.23016263b1,2026/04/24
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 255 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 
)

Setup MD.

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

Definition at line 262 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 287 of file samplers.py.


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