meld.system.meld_system.System
- class meld.system.meld_system.System(solvation, openmm_system, openmm_topology, integrator, barostat, template_coordinates, template_velocities, template_box_vectors, builder_info)[source]
Bases:
ISystem
A class representing a MELD system.
- __init__(solvation, openmm_system, openmm_topology, integrator, barostat, template_coordinates, template_velocities, template_box_vectors, builder_info)[source]
Initialize a MELD system
- Parameters
solvation (
str
) – the solvation model to useopenmm_system (
System
) – the OpenMM systemopenmm_topology (
Topology
) – the OpenMM topologyintegrator (
LangevinIntegrator
) – the OpenMM integratorbarostat (
Optional
[MonteCarloBarostat
]) – the OpenMM barostattemplate_coordinates (
ndarray
) – the coordinates of the templatetemplate_velocities (
ndarray
) – the velocities of the templatetemplate_box_vectors (
Optional
[ndarray
]) – the box vectors of the templatebuilder_info (
dict
) – a dictionary of extra information from the builder/patchers
Methods
__init__
(solvation, openmm_system, ...)Initialize a MELD system
add_extra_angle
(i, j, k, angle, force_constant)Add an extra angle to the system
add_extra_bond
(i, j, length, force_constant)Add an extra bond to the system
add_extra_torsion
(i, j, k, l, phase, energy, ...)Add an extra torsion to the system
Get the PDBWriter
Get a template SystemState.
Attributes
names for each atom
Get the barostat
Get the integrator
number of atoms
Number of rdc alignments
Get the openmm system
residue names for each atom
residue numbers for each atom
Get the solvation model
Get the template box vectors
Get the template coordinates
Get the template velocities
Get the openmm topology
The object to handle managing restraints for the system
The object to handle managing densities for the system
The object to lookup atom and residue indices
The temperature scaler for the system
The sampler for parameters
The peak map manager
- add_extra_torsion(i, j, k, l, phase, energy, multiplicity)[source]
Add an extra torsion to the system
- property atom_names: List[str]
names for each atom
- property barostat
Get the barostat
-
density:
DensityManager
The object to handle managing densities for the system
- property integrator
Get the integrator
-
mapper:
PeakMapManager
The peak map manager
- property n_atoms: int
number of atoms
- property num_alignments: int
Number of rdc alignments
- property omm_system
Get the openmm system
-
param_sampler:
ParameterManager
The sampler for parameters
- property residue_names: List[str]
residue names for each atom
- property residue_numbers: List[int]
residue numbers for each atom
-
restraints:
RestraintManager
The object to handle managing restraints for the system
- property solvation
Get the solvation model
-
temperature_scaler:
Optional
[TemperatureScaler
] The temperature scaler for the system
- property template_box_vectors: Optional[ndarray]
Get the template box vectors
- property template_coordinates: ndarray
Get the template coordinates
- property template_velocities: ndarray
Get the template velocities
- property topology
Get the openmm topology