|
IMP Reference Guide
develop.08ecd6469d,2026/04/02
The Integrative Modeling Platform
|
Sample using Monte Carlo. More...
Inherits _SamplerBase.
Sample using Monte Carlo.
Definition at line 70 of file samplers.py.
Public Member Functions | |
| def | __init__ |
| Setup Monte Carlo sampling. More... | |
| def | get_nuisance_movers_parameters |
| Return a dictionary with the mover parameters for nuisance parameters. More... | |
| def IMP.pmi.samplers.MonteCarlo.__init__ | ( | self, | |
| model, | |||
objects = None, |
|||
temp = 1.0, |
|||
filterbyname = None, |
|||
score_moved = False, |
|||
use_jax = False |
|||
| ) |
Setup Monte Carlo sampling.
| model | The IMP Model |
| objects | What to sample (a list of Movers) |
| temp | The MC temperature |
| filterbyname | Not used |
| score_moved | If True, attempt to speed up sampling by caching scoring function terms on particles that didn't move |
| use_jax | If set to True, sample the scoring function using JAX instead of IMP's internal C++ implementation (requires that all PMI restraints used have a JAX implementation). |
Definition at line 81 of file samplers.py.
| def IMP.pmi.samplers.MonteCarlo.get_nuisance_movers_parameters | ( | self | ) |
Return a dictionary with the mover parameters for nuisance parameters.
Definition at line 142 of file samplers.py.