mythos.energy.dna1.coaxial_stacking
Coaxial stacking energy function for DNA1 model.
Classes
Configuration for the coaxial stacking energy function. |
|
Coaxial stacking energy function for DNA1 model. |
Module Contents
- class mythos.energy.dna1.coaxial_stacking.CoaxialStackingConfiguration[source]
Bases:
mythos.energy.configuration.BaseConfigurationConfiguration for the coaxial stacking energy function.
- required_params: tuple[str] = ('dr_low_coax', 'dr_high_coax', 'k_coax', 'dr0_coax', 'dr_c_coax', 'theta0_coax_4',...
- dependent_params: tuple[str] = ('b_low_coax', 'dr_c_low_coax', 'b_high_coax', 'dr_c_high_coax', 'b_coax_4',...
- init_params() CoaxialStackingConfiguration[source]
Initializes the dependent parameters in configuration.
Should be implemented in the subclass if dependent parameters are present.
- class mythos.energy.dna1.coaxial_stacking.CoaxialStacking[source]
Bases:
mythos.energy.base.BaseEnergyFunctionCoaxial stacking energy function for DNA1 model.
- params: CoaxialStackingConfiguration
- 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 coaxial 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.