mythos.energy.dna1.cross_stacking
Cross-stacking energy term for DNA1 model.
Classes
Configuration for the cross-stacking energy function. |
|
Cross-stacking energy function for DNA1 model. |
Module Contents
- class mythos.energy.dna1.cross_stacking.CrossStackingConfiguration[source]
Bases:
mythos.energy.configuration.BaseConfigurationConfiguration for the cross-stacking energy function.
- required_params: tuple[str] = ('dr_low_cross', 'dr_high_cross', 'k_cross', 'r0_cross', 'dr_c_cross', 'theta0_cross_1',...
- dependent_params: tuple[str] = ('b_low_cross', 'dr_c_low_cross', 'b_high_cross', 'dr_c_high_cross', 'b_cross_1',...
- init_params() CrossStackingConfiguration[source]
Initializes the dependent parameters in configuration.
Should be implemented in the subclass if dependent parameters are present.
- class mythos.energy.dna1.cross_stacking.CrossStacking[source]
Bases:
mythos.energy.base.BaseEnergyFunctionCross-stacking energy function for DNA1 model.
- params: CrossStackingConfiguration
- pairwise_energies(body_i: mythos.energy.base.BaseNucleotide, body_j: mythos.energy.base.BaseNucleotide, unbonded_neighbors: mythos.utils.types.Arr_Unbonded_Neighbors_2) mythos.utils.types.Arr_Unbonded_Neighbors[source]
Computes the cross stacking energy for each unbonded pair.
- compute_energy(nucleotide: mythos.energy.base.BaseNucleotide) mythos.utils.types.Scalar[source]
Compute the energy of the system given the nucleotide.