molecular_simulations.simulate.constantph.reference_energy module¶
- class molecular_simulations.simulate.constantph.reference_energy.ReferenceEnergyFinder(model, pKa, temperature)[source]¶
Bases:
objectConstruct a ReferenceEnergyFinder.
- Parameters:
model (ConstantPH) – The model for which to determine reference energies. It must contain a single titratable residue with exactly two states. It does not matter what pH or reference energies were specified when it was created, because they will both be overwritten.
pKa (float) – The experimental pKa of the titratable residue. Reference energies will be chosen to match it.
temperature (openmm.unit.Quantity) – The temperature at which the simulation will be run.
- __init__(model, pKa, temperature)[source]¶
Construct a ReferenceEnergyFinder.
- Parameters:
model (ConstantPH) – The model for which to determine reference energies. It must contain a single titratable residue with exactly two states. It does not matter what pH or reference energies were specified when it was created, because they will both be overwritten.
pKa (float) – The experimental pKa of the titratable residue. Reference energies will be chosen to match it.
temperature (openmm.unit.Quantity) – The temperature at which the simulation will be run.