Skip to content
Projects

Effective-rate tables

The equations of opencr.tables, declared on the code that implements them and checked by the tests.

EffectiveRateTable

classsource

A table of quantities against T_e and n_e, interpolated in log space.

bilinear
ln⁡q(x,y)=(1−u)(1−w) ln⁡qij+u(1−w) ln⁡qi+1,j+(1−u)w ln⁡qi,j+1+uw ln⁡qi+1,j+1\ln q(x, y) = (1-u)(1-w)\, \ln q_{ij} + u(1-w)\, \ln q_{i+1,j} + (1-u)w\, \ln q_{i,j+1} + uw\, \ln q_{i+1,j+1}
coordinates
x=ln⁡Te,y=ln⁡ne,u=x−xixi+1−xi,w=y−yjyj+1−yjx = \ln T_e, \quad y = \ln n_e, \qquad u = \frac{x - x_i}{x_{i+1} - x_i}, \quad w = \frac{y - y_j}{y_{j+1} - y_j}
Order
2
Assumes
  • end values outside the table (xx and yy clipped)
  • a quantity with zero or negative values (an effective loss rate, a cooling with recombination) is interpolated in qq instead of ln⁡q\ln q
  • the order is in the table spacing in ln⁡Te\ln T_e and ln⁡ne\ln n_e