jax_dna.energy.dna1.hydrogen_bonding ==================================== .. py:module:: jax_dna.energy.dna1.hydrogen_bonding .. autoapi-nested-parse:: Hydrogen bonding energy function for DNA1 model. Attributes ---------- .. autoapisummary:: jax_dna.energy.dna1.hydrogen_bonding.HB_WEIGHTS_SA Classes ------- .. autoapisummary:: jax_dna.energy.dna1.hydrogen_bonding.HydrogenBondingConfiguration jax_dna.energy.dna1.hydrogen_bonding.HydrogenBonding Module Contents --------------- .. py:data:: HB_WEIGHTS_SA .. py:class:: HydrogenBondingConfiguration Bases: :py:obj:`jax_dna.energy.configuration.BaseConfiguration` Configuration for the hydrogen bonding energy function. .. py:attribute:: eps_hb :type: float | None :value: None .. py:attribute:: a_hb :type: float | None :value: None .. py:attribute:: dr0_hb :type: float | None :value: None .. py:attribute:: dr_c_hb :type: float | None :value: None .. py:attribute:: dr_low_hb :type: float | None :value: None .. py:attribute:: dr_high_hb :type: float | None :value: None .. py:attribute:: a_hb_1 :type: float | None :value: None .. py:attribute:: theta0_hb_1 :type: float | None :value: None .. py:attribute:: delta_theta_star_hb_1 :type: float | None :value: None .. py:attribute:: a_hb_2 :type: float | None :value: None .. py:attribute:: theta0_hb_2 :type: float | None :value: None .. py:attribute:: delta_theta_star_hb_2 :type: float | None :value: None .. py:attribute:: a_hb_3 :type: float | None :value: None .. py:attribute:: theta0_hb_3 :type: float | None :value: None .. py:attribute:: delta_theta_star_hb_3 :type: float | None :value: None .. py:attribute:: a_hb_4 :type: float | None :value: None .. py:attribute:: theta0_hb_4 :type: float | None :value: None .. py:attribute:: delta_theta_star_hb_4 :type: float | None :value: None .. py:attribute:: a_hb_7 :type: float | None :value: None .. py:attribute:: theta0_hb_7 :type: float | None :value: None .. py:attribute:: delta_theta_star_hb_7 :type: float | None :value: None .. py:attribute:: a_hb_8 :type: float | None :value: None .. py:attribute:: theta0_hb_8 :type: float | None :value: None .. py:attribute:: delta_theta_star_hb_8 :type: float | None :value: None .. py:attribute:: ss_hb_weights :type: numpy.ndarray | None .. py:attribute:: b_low_hb :type: float | None :value: None .. py:attribute:: dr_c_low_hb :type: float | None :value: None .. py:attribute:: b_high_hb :type: float | None :value: None .. py:attribute:: dr_c_high_hb :type: float | None :value: None .. py:attribute:: b_hb_1 :type: float | None :value: None .. py:attribute:: delta_theta_hb_1_c :type: float | None :value: None .. py:attribute:: b_hb_2 :type: float | None :value: None .. py:attribute:: delta_theta_hb_2_c :type: float | None :value: None .. py:attribute:: b_hb_3 :type: float | None :value: None .. py:attribute:: delta_theta_hb_3_c :type: float | None :value: None .. py:attribute:: b_hb_4 :type: float | None :value: None .. py:attribute:: delta_theta_hb_4_c :type: float | None :value: None .. py:attribute:: b_hb_7 :type: float | None :value: None .. py:attribute:: delta_theta_hb_7_c :type: float | None :value: None .. py:attribute:: b_hb_8 :type: float | None :value: None .. py:attribute:: delta_theta_hb_8_c :type: float | None :value: None .. py:attribute:: required_params :type: tuple[str] :value: ('eps_hb', 'a_hb', 'dr0_hb', 'dr_c_hb', 'dr_low_hb', 'dr_high_hb', 'a_hb_1', 'theta0_hb_1',... .. py:attribute:: dependent_params :type: tuple[str] :value: ('b_low_hb', 'dr_c_low_hb', 'b_high_hb', 'dr_c_high_hb', 'b_hb_1', 'delta_theta_hb_1_c',... .. py:method:: init_params() -> HydrogenBondingConfiguration Initializes the dependent parameters in configuration. Should be implemented in the subclass if dependent parameters are present. .. py:class:: HydrogenBonding Bases: :py:obj:`jax_dna.energy.base.BaseEnergyFunction` Hydrogen bonding energy function for DNA1 model. .. py:attribute:: params :type: HydrogenBondingConfiguration .. py:method:: compute_v_hb(body_i: jax_dna.energy.base.BaseNucleotide, body_j: jax_dna.energy.base.BaseNucleotide, unbonded_neighbors: jax_dna.utils.types.Arr_Unbonded_Neighbors) -> jax_dna.utils.types.Arr_Unbonded_Neighbors Computes the sequence-independent energy for each unbonded pair. .. py:method:: pairwise_energies(body_i: jax_dna.energy.base.BaseNucleotide, body_j: jax_dna.energy.base.BaseNucleotide, seq: jax_dna.utils.types.Discrete_Sequence, unbonded_neighbors: jax_dna.utils.types.Arr_Unbonded_Neighbors_2) -> jax_dna.utils.types.Arr_Unbonded_Neighbors Computes the hydrogen bonding energy for each unbonded pair. .. py:method:: __call__(body: jax_dna.energy.base.BaseNucleotide, seq: jax_dna.utils.types.Discrete_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 Calculate the energy of the system.