mythos.energy.na1.cross_stacking
Cross-stacking energy term for NA1 model.
Classes
Configuration for the cross-stacking energy function. |
|
Cross-stacking energy function for NA1 model. |
Module Contents
- class mythos.energy.na1.cross_stacking.CrossStackingConfiguration[source]
Bases:
mythos.energy.configuration.BaseConfigurationConfiguration for the cross-stacking energy function.
- dna_config: mythos.energy.dna1.CrossStackingConfiguration | None = None
- rna_config: mythos.energy.rna2.CrossStackingConfiguration | None = None
- drh_config: mythos.energy.dna1.CrossStackingConfiguration | None = None
- required_params: tuple[str] = ('nt_type', 'dna_dr_low_cross', 'dna_dr_high_cross', 'dna_k_cross', 'dna_r0_cross',...
- init_params() CrossStackingConfiguration[source]
Initializes the dependent parameters in configuration.
Should be implemented in the subclass if dependent parameters are present.
- class mythos.energy.na1.cross_stacking.CrossStacking[source]
Bases:
mythos.energy.base.BaseEnergyFunctionCross-stacking energy function for NA1 model.
- params: CrossStackingConfiguration
- compute_energy(nucleotide: mythos.energy.na1.nucleotide.HybridNucleotide) mythos.utils.types.Scalar[source]
Compute the energy of the system given the nucleotide.