mythos.energy.dna2.debye
Debye-huckel function for DNA2 model.
Classes
Configuration for the debye-huckel energy function. |
|
Debye-huckel energy function for DNA2 model. |
Module Contents
- class mythos.energy.dna2.debye.DebyeConfiguration[source]
Bases:
mythos.energy.configuration.BaseConfigurationConfiguration for the debye-huckel energy function.
- required_params: tuple[str] = ('q_eff', 'lambda_factor', 'prefactor_coeff', 'kt', 'salt_conc', 'half_charged_ends')
- init_params() DebyeConfiguration[source]
Initializes the dependent parameters in configuration.
Should be implemented in the subclass if dependent parameters are present.
- class mythos.energy.dna2.debye.Debye[source]
Bases:
mythos.energy.base.BaseEnergyFunctionDebye-huckel energy function for DNA2 model.
- params: DebyeConfiguration
- __post_init__(topology: mythos.input.topology.Topology | None) None[source]
- 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_Bonded_Neighbors[source]
Computes the debye-huckel 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.