jaxrts.ionization.BalanceTerm

class jaxrts.ionization.BalanceTerm(coeff: Array, mask: Array)[source]

Per-element data produced by a balance-term factory.

coeff

Dimensioned ratio \(n_{i+1} n_e / n_i\) (units: 1/volume) for each transition (length element.Z).

Type:

Quantity

mask

1.0 where state i is still bound, 0.0 where pressure-ionised (length element.Z). Used both to set the diagonal sign and to gate the \(n_e\) sub-diagonal.

Type:

jnp.ndarray

Create new instance of BalanceTerm(coeff, mask)

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

coeff

Alias for field number 0

mask

Alias for field number 1