essos.background_species

Attributes

JOULE_PER_EV

EV_PER_JOULE

Classes

BackgroundSpecies

Functions

gamma_ab(→ float)

Prefactor for pairwise collisionality.

nu_D_ab(→ float)

Deflection collision frequency

d_nu_D_ab(→ float)

Deflection collision frequency

nu_par_ab(→ float)

Parallel collision frequency

d_nu_par_ab(ma, ea, species_b, v, points, species)

d(Parallel collision frequency)/ dv

nu_s_ab(→ float)

Slowing collision frequency

coulomb_logarithm(→ float)

Coulomb logarithm for collisions between species a and b.

impact_parameter(→ float)

Impact parameters for classical Coulomb collision.

impact_parameter_perp(→ float)

Distance of the closest approach for a 90° Coulomb collision.

debroglie_length(→ float)

Thermal DeBroglie wavelength.

debye_length(→ float)

Scale length for charge screening.

chandrasekhar(→ jax.Array)

Chandrasekhar function.

d_chandrasekhar(→ jax.Array)

d_erf(→ jax.Array)

Module Contents

essos.background_species.JOULE_PER_EV
essos.background_species.EV_PER_JOULE
class essos.background_species.BackgroundSpecies(number_species, mass_array, charge_array, n_array, T_array)
number_species
species_indeces
temperature
density
mass
charge
get_temperature(species_index, points)
get_density(species_index, points)
get_v_thermal(species_index, points)
essos.background_species.gamma_ab(ma: float, ea: float, species_b: int, vth_a: float, points, species: BackgroundSpecies) float

Prefactor for pairwise collisionality.

essos.background_species.nu_D_ab(ma: float, ea: float, species_b: int, v: float, points, species: BackgroundSpecies) float

Deflection collision frequency

essos.background_species.d_nu_D_ab(ma: float, ea: float, species_b: int, v: float, points, species: BackgroundSpecies) float

Deflection collision frequency

essos.background_species.nu_par_ab(ma: float, ea: float, species_b: int, v: float, points, species: BackgroundSpecies) float

Parallel collision frequency

essos.background_species.d_nu_par_ab(ma: float, ea: float, species_b: int, v: float, points, species: BackgroundSpecies)

d(Parallel collision frequency)/ dv

essos.background_species.nu_s_ab(ma: float, ea: float, species_b: int, v: float, points, species: BackgroundSpecies) float

Slowing collision frequency

essos.background_species.coulomb_logarithm(ma: float, ea: float, species_b: int, vth_a: float, points, species: BackgroundSpecies) float

Coulomb logarithm for collisions between species a and b. :param maxwellian_a: Distribution function of primary species. :type maxwellian_a: LocalMaxwellian :param maxwellian_b: Distribution function of background species. :type maxwellian_b: LocalMaxwellian

Returns:

log(lambda)

Return type:

float

essos.background_species.impact_parameter(ma: float, ea: float, species_b: int, vth_a: float, points, species: BackgroundSpecies) float

Impact parameters for classical Coulomb collision.

essos.background_species.impact_parameter_perp(ma: float, ea: float, species_b: int, vth_a: float, points, species: BackgroundSpecies) float

Distance of the closest approach for a 90° Coulomb collision.

essos.background_species.debroglie_length(ma: float, species_b: int, vth_a: float, points, species: BackgroundSpecies) float

Thermal DeBroglie wavelength.

essos.background_species.debye_length(points, species: BackgroundSpecies) float

Scale length for charge screening.

essos.background_species.chandrasekhar(x: jax.Array) jax.Array

Chandrasekhar function.

essos.background_species.d_chandrasekhar(x: jax.Array) jax.Array
essos.background_species.d_erf(x: jax.Array) jax.Array