plasma_plots.theory.negative_ions
Negative hydrogen ions (H⁻): destruction processes, electronegative plasma and beam survival, in SI units.
Densities are in m⁻³, temperatures and energies in eV (k_B T / e), cross sections in m², rate
coefficients in m³/s, frequencies in 1/s and speeds in m/s, as in
parameters, which this module reuses together with
sheaths and beams.
Examples
The Maxwellian rate coefficients of the two main plasma losses of H⁻ at T_e = 1 eV, and the fraction of a 50 keV H⁻ beam that survives 0.5 m of 0.01 Pa H₂ gas:
>>> print(f"{electron_detachment_rate_coefficient(1.0):.3e} m^3/s")1.472e-14 m^3/s>>> print(f"{mutual_neutralization_rate_coefficient(1.0):.3e} m^3/s")6.092e-14 m^3/s>>> print(f"{beam_survival_fraction(50e3, h2_density=2.4e18, length=0.5):.4f}")0.9450Attributes
| Name | Description |
|---|---|
DETACHMENT_THRESHOLD | No description. |
Functions
| Name | Description |
|---|---|
beam_survival_fraction | Compute the fraction of an H⁻ beam that is not stripped by H₂ and H gas on its path. |
bohm_speed_electronegative | Compute the Bohm speed of an electronegative plasma, u_B = √(T_e (1 + α_s) / (m_i (1 + γ α_s))). |
debye_length_electronegative | Compute the Debye length of an electron–H⁻–H⁺ plasma, 1/λ_D² = Σ_s 1/λ_s². |
destruction_frequencies | Compute the loss frequencies ν = n <σ v> of an H⁻ ion in a hydrogen plasma, per channel. |
electron_detachment_cross_section | Compute the cross section of electron-impact detachment, e + H⁻ → e + H + e. |
electron_detachment_rate_coefficient | Compute the rate coefficient of e + H⁻ → e + H + e for Maxwellian electrons. |
h2_detachment_cross_section | Compute the cross section of H⁻ + H₂(v = 0) → H + H₂ + e, the stripping of an H⁻ beam on H₂. |
hydrogen_detachment_cross_section | Compute the cross section of H⁻ + H(1s) detachment, to H + H + e or to H₂ + e. |
ion_flux_electronegative | Compute the positive-ion flux Γ₊ = n₊ u_B = (1 + α_s) n_e u_B at the sheath edge. |
maxwellian_rate_coefficient | Compute the rate coefficient <σ v> of a cross section σ(E) averaged over two Maxwellians. |
mutual_neutralization_cross_section | Compute the cross section of mutual neutralization, H⁺ + H⁻ → H(n) + H(1s), n = 2, 3. |
mutual_neutralization_rate_coefficient | Compute the thermal rate coefficient of H⁺ + H⁻ → H(n) + H for Maxwellian ions. |
sheath_edge_electronegativity | Compute α_s = n₋/n_e at the sheath edge for Boltzmann electrons and negative ions. |
surface_production_current | Compute the extractable H⁻ current I = e Y Γ S A from a surface-production flux. |
DETACHMENT_THRESHOLDattributemodule attribute#
DETACHMENT_THRESHOLD = 0.754beam_survival_fractionfunction#
def beam_survival_fraction(energy, h2_density=0.0, length=None, atom_density=0.0, positions=None, axis=-1)Compute the fraction of an H⁻ beam that is not stripped by H₂ and H gas on its path.
The product of two neutral_beam_attenuation(): the H₂ loss by
h2_detachment_cross_section() at the laboratory energy E of the beam and the H loss by
hydrogen_detachment_cross_section() (both channels) at the relative energy E/2.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
energy | float or array_like | required | Laboratory energy of the H⁻, in eV. |
h2_density | float or array_like | 0.0 | H₂ density, in m⁻³. Default: 0. |
length | float or array_like | None | Path length in m for constant densities; or give positions instead. |
atom_density | float or array_like | 0.0 | H density, in m⁻³. Default: 0. |
positions | None | See neutral_beam_attenuation(). | |
axis | None | See neutral_beam_attenuation(). |
Returns
float or numpy.ndarray- The surviving fraction of the beam. The H atom channel uses the 0.1 eV – 20 keV fit range, i.e. up to 40 keV beams.
Examples
50 keV, 0.5 m of H₂ at 2.4e18 m⁻³ (about 0.01 Pa):
>>> print(f"{beam_survival_fraction(50e3, h2_density=2.4e18, length=0.5):.4f}")0.9450bohm_speed_electronegativefunction#
def bohm_speed_electronegative(electron_temperature, electronegativity, negative_ion_temperature, mass_number=1)Compute the Bohm speed of an electronegative plasma, u_B = √(T_e (1 + α_s) / (m_i (1 + γ α_s))).
The Braithwaite–Allen criterion for cold positive ions and Boltzmann negative ions, with
α_s = n₋/n_e at the sheath edge and γ = T_e/T₋: the electropositive
bohm_speed() times √((1 + α_s)/(1 + γ α_s)). For γ > 1 the
ions need less than the electropositive speed. For γ > 5 + √24 ≈ 9.9 the sheath-edge
condition becomes multi-valued in the potential, and Braithwaite and Allen take the lower
branch (the speed here is the criterion at a given α_s, not that selection).
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
electron_temperature | float or array_like | required | T_e, in eV. |
electronegativity | float or array_like | required | α_s = n₋/n_e at the sheath edge (see sheath_edge_electronegativity()). |
negative_ion_temperature | float or array_like | required | T₋, in eV. |
mass_number | float or array_like | 1 | Positive-ion mass in proton masses. Default: 1. |
Returns
float or numpy.ndarray- u_B, in m/s. At α_s = 0 it is
sheaths.bohm_speed(T_e).
Examples
5 eV electrons, α_s = 1 and H⁻ at 1 eV (γ = 5):
>>> print(f"{bohm_speed_electronegative(5.0, 1.0, 1.0):.4g} m/s")1.264e+04 m/sdebye_length_electronegativefunction#
def debye_length_electronegative(electron_density, electron_temperature, electronegativity, negative_ion_temperature, positive_ion_temperature=None)Compute the Debye length of an electron–H⁻–H⁺ plasma, 1/λ_D² = Σ_s 1/λ_s².
Each Boltzmann species shields with its own length, λ_s² = ε₀ T_s / (n_s e²) (see
debye_length()). With n₋ = α n_e and n₊ = (1 + α) n_e,
1/λ_D² = e² n_e / ε₀ · [1/T_e + α/T₋ + (1 + α)/T₊],
from linearising Poisson’s equation for Boltzmann electrons, negative and positive ions. For α → 0 and cold-ion shielding dropped (the default) λ_D is the electron Debye length.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
electron_density | float or array_like | required | n_e, in m⁻³. |
electron_temperature | float or array_like | required | T_e, in eV. |
electronegativity | float or array_like | required | α = n₋ / n_e. |
negative_ion_temperature | float or array_like | required | T₋, in eV. |
positive_ion_temperature | float or array_like | None | T₊, in eV. Default: None: the positive ions do not shield (hot ions), leaving the electrons
and the H⁻. Pass T₊ to include them. |
Returns
float or numpy.ndarray- λ_D, in m. For T₊ = T₋ = T_e it is λ_e / √(2 + 2α).
Examples
1e18 m⁻³ electrons at 1 eV, α = 10 and H⁻ at 0.5 eV, without positive-ion shielding:
>>> print(f"{debye_length_electronegative(1e18, 1.0, 10.0, 0.5) * 1e6:.4f} um")1.6222 umdestruction_frequenciesfunction#
def destruction_frequencies(electron_density, electron_temperature, positive_ion_density=None, ion_temperature=1.0, atom_density=0.0, atom_temperature=0.1)Compute the loss frequencies ν = n <σ v> of an H⁻ ion in a hydrogen plasma, per channel.
Channels: electron detachment (e + H⁻), mutual neutralization (H⁺ + H⁻) and the detachment of
H⁻ by H atoms (both the H + H + e and the H₂ + e channel of eq. 71 together). The loss by H₂
gas is not included: it needs the energy of a beam (h2_detachment_cross_section()).
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
electron_density | float or array_like | required | n_e, in m⁻³. |
electron_temperature | float or array_like | required | T_e, in eV. |
positive_ion_density | float or array_like | None | H⁺ density, in m⁻³. Default: electron_density (no H⁻ and no other ion). |
ion_temperature | float or array_like | 1.0 | Temperature of the H⁺ and the H⁻, in eV. Default: 1. |
atom_density | float or array_like | 0.0 | Density of H atoms, in m⁻³. Default: 0. |
atom_temperature | float or array_like | 0.1 | Temperature of the H atoms, in eV. Default: 0.1. |
Returns
dict of float or numpy.ndarray{"electron detachment": ..., "mutual neutralization": ..., "atom detachment": ...}, each ν in 1/s. The H⁻ lifetime is 1 over the sum.
Examples
>>> nu = destruction_frequencies(1e18, 1.0, atom_density=1e19)>>> print({k: f"{float(v):.3g}" for k, v in nu.items()}){'electron detachment': '1.47e+04', 'mutual neutralization': '6.09e+04', 'atom detachment': '2.42e+04'}electron_detachment_cross_sectionfunction#
def electron_detachment_cross_section(energy)Compute the cross section of electron-impact detachment, e + H⁻ → e + H + e.
The fit σ = 2.06/E · ln(e + 2.335e-4 E) · exp(−13.75/E^0.868) · [1 − (0.754/E)²] × 1e-13 cm² of Janev et al., eq. (58), with E the electron energy in eV (the figure of the source covers 1 eV to 10 keV). Below the threshold of 0.754 eV, the binding energy of H⁻, the cross section is zero.
Parameters
| Name | Type | Description |
|---|---|---|
energy | float or array_like | Electron energy E, in eV. |
Returns
float or numpy.ndarray- σ, in m².
Examples
The source quotes σ ≈ 2.3e-15 cm² at 65 eV:
>>> print(f"{electron_detachment_cross_section(65.0) * 1e4:.3e} cm^2")2.208e-15 cm^2electron_detachment_rate_coefficientfunction#
def electron_detachment_rate_coefficient(electron_temperature, negative_ion_temperature=None)Compute the rate coefficient of e + H⁻ → e + H + e for Maxwellian electrons.
<σ v> of electron_detachment_cross_section(): the relative energy is the electron
energy to within m_e/m_H⁻, so the H⁻ temperature hardly matters.
Parameters
Returns
float or numpy.ndarray- <σ v>, in m³/s. The threshold is 0.754 eV, so the rate falls steeply below T_e ≈ 0.3 eV.
Examples
>>> print(f"{electron_detachment_rate_coefficient(1.0):.3e} m^3/s")1.472e-14 m^3/sh2_detachment_cross_sectionfunction#
def h2_detachment_cross_section(energy)Compute the cross section of H⁻ + H₂(v = 0) → H + H₂ + e, the stripping of an H⁻ beam on H₂.
The sum σ = σ< + σ> of Janev et al., eqs. (159a–c), with the laboratory energy E of the H⁻: σ< = 81.10e-16 cm² / (E^0.63 [1 + 2.03e-6 E^1.95]) · {1 − exp[−0.057 (E/2.18 − 1)^0.94]} and σ> = 1.22e3 e-16 cm² / (E^0.5 [1 + 6.91e-4 E^0.40]) · exp(−125.0/E^0.663). The source states “E in keV” below eq. (159c), but the threshold 2.18 in (159b) is the 2.18 eV endothermicity it quotes, and only E in eV reproduces its figure 34 and its stated maximum of about 1e-15 cm² near 2 keV, so E is in eV here. The source fits measurements from threshold to the MeV range. σ< is zero below the 2.18 eV threshold, where its printed form is undefined.
Parameters
| Name | Type | Description |
|---|---|---|
energy | float or array_like | Laboratory energy of the H⁻, in eV. |
Returns
float or numpy.ndarray- σ, in m².
Examples
The maximum of about 1.2e-15 cm² near 2 keV:
>>> print(f"{h2_detachment_cross_section(2e3) * 1e4:.3e} cm^2")1.207e-15 cm^2hydrogen_detachment_cross_sectionfunction#
def hydrogen_detachment_cross_section(energy, channel='detachment')Compute the cross section of H⁻ + H(1s) detachment, to H + H + e or to H₂ + e.
The polynomial fit ln σ = Σ_{j=0..8} a_j (ln E)^j of Janev et al., eq. (71), with the coefficients of their table 11, valid for the relative collision energy 0.1 eV to 20 keV.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
energy | float or array_like | required | Relative collision energy E, in eV (the centre-of-mass energy). |
channel | ('detachment', 'associative') | "detachment" | "detachment": H⁻ + H → H + H + e. "associative": H⁻ + H → H₂ + e. Default:
"detachment". |
Returns
float or numpy.ndarray- σ, in m².
Examples
>>> print(f"{hydrogen_detachment_cross_section(10.0) * 1e4:.4e} cm^2")1.1947e-15 cm^2ion_flux_electronegativefunction#
def ion_flux_electronegative(electron_density_edge, electronegativity, electron_temperature, negative_ion_temperature, mass_number=1)Compute the positive-ion flux Γ₊ = n₊ u_B = (1 + α_s) n_e u_B at the sheath edge.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
electron_density_edge | float or array_like | required | Electron density at the sheath edge, in m⁻³. |
electronegativity | float or array_like | required | α_s = n₋/n_e at the sheath edge. |
electron_temperature | float or array_like | required | T_e, in eV. |
negative_ion_temperature | float or array_like | required | T₋, in eV. |
mass_number | float or array_like | 1 | Positive-ion mass in proton masses. Default: 1. |
Returns
float or numpy.ndarray- Γ₊, in m⁻² s⁻¹; multiply by e for the current density. The edge density is an input: the presheath that relates it to the bulk is not modelled.
Examples
>>> print(f"{ion_flux_electronegative(1e17, 1.0, 5.0, 1.0):.4g} m^-2 s^-1")2.527e+21 m^-2 s^-1maxwellian_rate_coefficientfunction#
def maxwellian_rate_coefficient(cross_section, temperature, mass_a=electron_mass, mass_b=proton_mass, temperature_b=None, energy_range=None, points=2000)Compute the rate coefficient <σ v> of a cross section σ(E) averaged over two Maxwellians.
With the relative motion Maxwellian at T_rel = (m_b T_a + m_a T_b)/(m_a + m_b) and the reduced mass μ, <σ v> = √(8/(π μ)) T_rel^(−3/2) ∫ σ(E) E exp(−E/T_rel) dE (E and T in energy units, E the relative energy ½ μ v²), integrated here with the trapezoidal rule on a logarithmic energy grid.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
cross_section | callable | required | σ(E) in m², taking the relative energy E in eV as a numpy array. |
temperature | float or array_like | required | Temperature T_a of the first species, in eV. |
mass_a | float | electron_mass | Masses in kg. Defaults: an electron and a proton (the reduced mass is m_e to within m_e/m_H⁻ for e + H⁻); pass two proton masses for H⁺ + H⁻. |
mass_b | float | electron_mass | Masses in kg. Defaults: an electron and a proton (the reduced mass is m_e to within m_e/m_H⁻ for e + H⁻); pass two proton masses for H⁺ + H⁻. |
temperature_b | float or array_like | None | Temperature of the second species, in eV. Default: temperature. |
energy_range | tuple of float | None | Lowest and highest relative energy of the integral, in eV; the part of the Maxwellian outside is dropped. Default: 1e-4 to 60 times T_rel. |
points | int | 2000 | Number of grid points. Default: 2000. |
Returns
float or numpy.ndarray- <σ v>, in m³/s.
Examples
A constant σ = 1e-19 m² between electrons and protons at 1 eV:
>>> print(... f"{maxwellian_rate_coefficient(lambda e: 1e-19 + 0 * e, 1.0):.4e} m^3/s"... )6.6942e-14 m^3/smutual_neutralization_cross_sectionfunction#
def mutual_neutralization_cross_section(energy, final_level=None)Compute the cross section of mutual neutralization, H⁺ + H⁻ → H(n) + H(1s), n = 2, 3.
The polynomial fits ln σ = Σ_{j=0..8} a_j (ln E)^j of Janev et al., eq. (63), with the coefficients of their table 10, in cm² and eV; the source gives them for the relative collision energy 0.1 eV to 20 keV. The n = 1 and n ≥ 4 channels are not populated.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
energy | float or array_like | required | Relative collision energy E, in eV (the centre-of-mass energy). |
final_level | (2, 3) | 2 | Return only the capture into this level of the H atom. Default: the sum of both. |
Returns
float or numpy.ndarray- σ, in m².
Examples
>>> print(f"{mutual_neutralization_cross_section(1.0) * 1e4:.4e} cm^2")3.0329e-14 cm^2mutual_neutralization_rate_coefficientfunction#
def mutual_neutralization_rate_coefficient(positive_ion_temperature, negative_ion_temperature=None, energy_range=(0.1, 20000.0))Compute the thermal rate coefficient of H⁺ + H⁻ → H(n) + H for Maxwellian ions.
<σ v> of mutual_neutralization_cross_section(), with the reduced mass m_p / 2 and the
relative temperature (T₊ + T₋)/2 (equal masses).
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
positive_ion_temperature | float or array_like | required | H⁺ temperature, in eV. |
negative_ion_temperature | float or array_like | None | H⁻ temperature, in eV. Default: positive_ion_temperature. |
energy_range | tuple of float | (0.1, 20000.0) | Relative energies of the integral, in eV. Default: (0.1, 2e4), the range of validity of
the fit; the part of the Maxwellian below 0.1 eV is dropped, which underestimates the rate
for T below about 0.3 eV. |
Returns
float or numpy.ndarray- <σ v>, in m³/s.
Examples
>>> print(f"{mutual_neutralization_rate_coefficient(1.0):.3e} m^3/s")6.092e-14 m^3/ssheath_edge_electronegativityfunction#
def sheath_edge_electronegativity(bulk_electronegativity, potential_drop, electron_temperature, negative_ion_temperature)Compute α_s = n₋/n_e at the sheath edge for Boltzmann electrons and negative ions.
From T_e ∇ln n_e = T₋ ∇ln n₋ integrated through a presheath of potential drop V: n_e = n_e0 exp(−V/T_e) and n₋ = n₋0 exp(−V/T₋), so α_s = α₀ exp[−V (1/T₋ − 1/T_e)]. For T₋ < T_e the H⁻ are expelled faster than the electrons and α_s < α₀.
Parameters
Returns
float or numpy.ndarray- α_s. It equals α₀ for T₋ = T_e or V = 0.
Examples
>>> print(f"{sheath_edge_electronegativity(5.0, 2.0, 2.0, 0.5):.4f}")0.2489surface_production_currentfunction#
def surface_production_current(flux, yield_, survival=1.0, area=1.0)Compute the extractable H⁻ current I = e Y Γ S A from a surface-production flux.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
flux | float or array_like | required | Flux Γ of the converting particles (H⁺, H atoms, or the sum weighted by their yields) onto the surface, in m⁻² s⁻¹. |
yield_ | float or array_like | required | H⁻ yield Y per incident particle. |
survival | float or array_like | 1.0 | Fraction S of the H⁻ that reaches the extraction aperture, e.g. from
beam_survival_fraction(). Default: 1. |
area | float or array_like | 1.0 | Area A of the surface, in m². Default: 1 (a current density in A/m²). |
Returns
float or numpy.ndarray- I, in A.
Examples
A 1e22 m⁻² s⁻¹ atom flux with a 5 % yield and 70 % survival, on 1 cm²:
>>> print(f"{surface_production_current(1e22, 0.05, 0.7, 1e-4) * 1e3:.4f} mA")5.6076 mA