mythos.energy.na1.stacking
Stacking energy function for DNA1 model.
Classes
Configuration for the stacking energy function. |
|
Stacking energy function for DNA1 model. |
Module Contents
- class mythos.energy.na1.stacking.StackingConfiguration[source]
Bases:
mythos.energy.configuration.BaseConfigurationConfiguration for the stacking energy function.
- dna_config: mythos.energy.dna1.StackingConfiguration | None = None
- rna_config: mythos.energy.rna2.StackingConfiguration | None = None
- required_params: tuple[str] = ('nt_type', 'kt', 'dna_eps_stack_base', 'dna_eps_stack_kt_coeff', 'dna_dr_low_stack',...
- init_params() StackingConfiguration[source]
Initializes the dependent parameters in configuration.
Should be implemented in the subclass if dependent parameters are present.
- class mythos.energy.na1.stacking.Stacking[source]
Bases:
mythos.energy.base.BaseEnergyFunctionStacking energy function for DNA1 model.
- params: StackingConfiguration
- compute_energy(nucleotide: mythos.energy.na1.nucleotide.HybridNucleotide) mythos.utils.types.Scalar[source]
Compute the energy of the system given the nucleotide.