jax_dna.energy.dna1.expected_stacking
Stacking energy function for DNA1 model.
Classes
Configuration for the expected stacking energy function. |
|
Expected stacking energy function for DNA1 model. |
Module Contents
- class jax_dna.energy.dna1.expected_stacking.ExpectedStackingConfiguration[source]
Bases:
jax_dna.energy.dna1.stacking.StackingConfigurationConfiguration for the expected stacking energy function.
- sequence_constraints: jax_dna.input.sequence_constraints.SequenceConstraints | None = None
- class jax_dna.energy.dna1.expected_stacking.ExpectedStacking[source]
Bases:
jax_dna.energy.dna1.stacking.StackingExpected stacking energy function for DNA1 model.
- params: ExpectedStackingConfiguration
- weight(i: int, j: int, seq: jax_dna.utils.types.Probabilistic_Sequence) float[source]
Computes the sequence-dependent weight for a bonded pair.
- __call__(body: jax_dna.energy.base.BaseNucleotide, seq: jax_dna.utils.types.Probabilistic_Sequence, bonded_neighbors: jax_dna.utils.types.Arr_Bonded_Neighbors_2, unbonded_neighbors: jax_dna.utils.types.Arr_Unbonded_Neighbors_2) jax_dna.utils.types.Scalar[source]
Calculate the energy of the system.