jax_dna.energy.rna2.cross_stacking ================================== .. py:module:: jax_dna.energy.rna2.cross_stacking .. autoapi-nested-parse:: Cross-stacking energy term for RNA2 model. Classes ------- .. autoapisummary:: jax_dna.energy.rna2.cross_stacking.CrossStackingConfiguration jax_dna.energy.rna2.cross_stacking.CrossStacking Module Contents --------------- .. py:class:: CrossStackingConfiguration Bases: :py:obj:`jax_dna.energy.configuration.BaseConfiguration` Configuration for the cross-stacking energy function. .. py:attribute:: dr_low_cross :type: float | None :value: None .. py:attribute:: dr_high_cross :type: float | None :value: None .. py:attribute:: k_cross :type: float | None :value: None .. py:attribute:: r0_cross :type: float | None :value: None .. py:attribute:: dr_c_cross :type: float | None :value: None .. py:attribute:: theta0_cross_1 :type: float | None :value: None .. py:attribute:: delta_theta_star_cross_1 :type: float | None :value: None .. py:attribute:: a_cross_1 :type: float | None :value: None .. py:attribute:: theta0_cross_2 :type: float | None :value: None .. py:attribute:: delta_theta_star_cross_2 :type: float | None :value: None .. py:attribute:: a_cross_2 :type: float | None :value: None .. py:attribute:: theta0_cross_3 :type: float | None :value: None .. py:attribute:: delta_theta_star_cross_3 :type: float | None :value: None .. py:attribute:: a_cross_3 :type: float | None :value: None .. py:attribute:: theta0_cross_7 :type: float | None :value: None .. py:attribute:: delta_theta_star_cross_7 :type: float | None :value: None .. py:attribute:: a_cross_7 :type: float | None :value: None .. py:attribute:: theta0_cross_8 :type: float | None :value: None .. py:attribute:: delta_theta_star_cross_8 :type: float | None :value: None .. py:attribute:: a_cross_8 :type: float | None :value: None .. py:attribute:: b_low_cross :type: float | None :value: None .. py:attribute:: dr_c_low_cross :type: float | None :value: None .. py:attribute:: b_high_cross :type: float | None :value: None .. py:attribute:: dr_c_high_cross :type: float | None :value: None .. py:attribute:: b_cross_1 :type: float | None :value: None .. py:attribute:: delta_theta_cross_1_c :type: float | None :value: None .. py:attribute:: b_cross_2 :type: float | None :value: None .. py:attribute:: delta_theta_cross_2_c :type: float | None :value: None .. py:attribute:: b_cross_3 :type: float | None :value: None .. py:attribute:: delta_theta_cross_3_c :type: float | None :value: None .. py:attribute:: b_cross_7 :type: float | None :value: None .. py:attribute:: delta_theta_cross_7_c :type: float | None :value: None .. py:attribute:: b_cross_8 :type: float | None :value: None .. py:attribute:: delta_theta_cross_8_c :type: float | None :value: None .. py:attribute:: required_params :type: tuple[str] :value: ('dr_low_cross', 'dr_high_cross', 'k_cross', 'r0_cross', 'dr_c_cross', 'theta0_cross_1',... .. py:method:: init_params() -> CrossStackingConfiguration Initializes the dependent parameters in configuration. Should be implemented in the subclass if dependent parameters are present. .. py:class:: CrossStacking Bases: :py:obj:`jax_dna.energy.base.BaseEnergyFunction` Cross-stacking energy function for RNA2 model. .. py:attribute:: params :type: CrossStackingConfiguration .. py:method:: pairwise_energies(body_i: jax_dna.energy.rna2.nucleotide.Nucleotide, body_j: jax_dna.energy.rna2.nucleotide.Nucleotide, unbonded_neighbors: jax_dna.utils.types.Arr_Unbonded_Neighbors_2) -> jax_dna.utils.types.Arr_Unbonded_Neighbors Computes the cross stacking energy for each unbonded pair. .. py:method:: __call__(body: jax_dna.energy.rna2.nucleotide.Nucleotide, seq: jax_dna.utils.types.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.