RNAlib-2.0.2
H/params.h File Reference

Several functions to obtain (pre)scaled energy parameter data containers. More...

Include dependency graph for params.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

pf_paramTget_scaled_pf_parameters (void)
 get a datastructure of type pf_paramT which contains the Boltzmann weights of several energy parameters scaled according to the current temperature
pf_paramTget_boltzmann_factors (int dangle_model, double temperature, double alpha, double pf_scale)
 Get precomputed Boltzmann factors of the loop type dependent energy contributions with independent thermodynamic temperature.

Detailed Description

Several functions to obtain (pre)scaled energy parameter data containers.


Function Documentation

pf_paramT* get_scaled_pf_parameters ( void  )

get a datastructure of type pf_paramT which contains the Boltzmann weights of several energy parameters scaled according to the current temperature

Returns:
The datastructure containing Boltzmann weights for use in partition function calculations
pf_paramT* get_boltzmann_factors ( int  dangle_model,
double  temperature,
double  alpha,
double  pf_scale 
)

Get precomputed Boltzmann factors of the loop type dependent energy contributions with independent thermodynamic temperature.

This function returns a data structure that contains all necessary precalculated Boltzmann factors for each loop type contribution.
In contrast to get_scaled_pf_parameters(), this function enables setting of independent temperatures for both, the individual energy contributions as well as the thermodynamic temperature used in $ exp(-\Delta G / kT) $

See also:
get_scaled_pf_parameters();
Parameters:
dangle_modelThe dangle model to be used (possible values: 0 or 2)
temperatureThe temperature in degC used for (re-)scaling the energy contributions
alphaA scaling value that is used as a multiplication factor for the absolute temperature of the system
Returns:
A set of precomputed Boltzmann factors