# opencr.data.molecular_hydrogen

*module*

Molecular hydrogen data: the states of H2, H2+, H3+ and H-, and their radiative data.

* H2(X, v=0..14): the vibrational term energies of Fantz and Wuenderlich
  (2006) (`plasmacoll.vibrational.H2_GROUND_STATE_VIBRATIONAL_ENERGY_EV`),
  rotations summed (weight 1 for every ``v``).
* The excited electronic states B, C, EF, a and d at the vertical excitation
  energies of the cross-section fits of Janev, Reiter and Samm (2003)
  (`plasmacoll.janev.JANEV_FITS`), with their electronic weights.
* Radiative lifetimes of the ``v' = 0`` levels (Fantz and Wuenderlich 2006;
  Astashkevich and Lavrov 2015), rounded: B and C decay to X (Lyman and
  Werner bands), EF to B, a to the repulsive b (the continuum), d to a (the
  Fulcher band).

Energies share the scale of `opencr.core.species` with atomic hydrogen:
zero at two H(1s) atoms per H2 (so H2(X, v=0) is at minus its dissociation
energy ``D_0 = 4.478 eV``), H+ at 13.598 eV, H2+ at ``I(H2) - D_0`` and H3+
below H2 + H+ by the proton affinity of H2.

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L1-L1)

## opencr.data.molecular_hydrogen.ELECTRONIC_STATES

*attribute* · *module attribute*

```python
ELECTRONIC_STATES: dict[str, tuple[str, float]] = {'B': ('e_h2_singlet_B', 1.0), 'C': ('e_h2_singlet_C', 2.0), 'EF': ('e_h2_singlet_EF', 1.0), 'a': ('e_h2_triplet_a', 3.0), 'd': ('e_h2_triplet_d', 6.0)}
```

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L52-L58)

## opencr.data.molecular_hydrogen.H2_DISSOCIATION_ENERGY

*attribute* · *module attribute*

```python
H2_DISSOCIATION_ENERGY = 4.478
```

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L43-L43)

## opencr.data.molecular_hydrogen.H2_IONIZATION_ENERGY

*attribute* · *module attribute*

```python
H2_IONIZATION_ENERGY = 15.42
```

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L45-L45)

## opencr.data.molecular_hydrogen.H2_PROTON_AFFINITY

*attribute* · *module attribute*

```python
H2_PROTON_AFFINITY = 4.38
```

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L47-L47)

## opencr.data.molecular_hydrogen.LIFETIME_PROVENANCE

*attribute* · *module attribute*

```python
LIFETIME_PROVENANCE = Provenance(Reference('U. Fantz and D. Wuenderlich, Franck-Condon factors, transition probabilities and radiative lifetimes for hydrogen molecules and their isotopomeres, At. Data Nucl. Data Tables 92, 853 (2006)', doi='10.1016/j.adt.2006.05.001', detail="radiative lifetimes of v' = 0, rounded"), units='s^-1 (1 / lifetime)', uncertainty=0.3, uncertainty_note="v'-averaged to one value per state; the lifetimes vary with v' by tens of percent", licence='published-fit', notes='every decay of B and C goes to X(v=0): the vibrational redistribution of the radiative cascade (EV excitation) is not resolved')
```

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L69-L84)

## opencr.data.molecular_hydrogen.NUM_VIBRATIONAL_LEVELS

*attribute* · *module attribute*

```python
NUM_VIBRATIONAL_LEVELS = len(H2_GROUND_STATE_VIBRATIONAL_ENERGY_EV)
```

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L49-L49)

## opencr.data.molecular_hydrogen.RADIATIVE_DECAYS

*attribute* · *module attribute*

```python
RADIATIVE_DECAYS: tuple[tuple[str, str | None, float], ...] = (('B', 'X', 8e-10), ('C', 'X', 6e-10), ('EF', 'B', 1e-07), ('a', None, 1.1e-08), ('d', 'a', 4e-08))
```

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L61-L67)

## opencr.data.molecular_hydrogen.ion_states

*function*

```python
def ion_states() -> dict[str, State]
```

Return the unresolved H2+, H3+ and H- (and H+) by name.

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L124-L137)

## opencr.data.molecular_hydrogen.molecular_states

*function*

```python
def molecular_states(v_max: int = NUM_VIBRATIONAL_LEVELS - 1, electronic: bool = True) -> list[State]
```

Return H2(X, v=0..v_max) and, with ``electronic``, the excited states.

The states are named ``H2(X,v=<v>)`` and ``H2(<label>)``.

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L95-L121)

## opencr.data.molecular_hydrogen.vibrational_energy

*function*

```python
def vibrational_energy(v: int) -> float
```

Return the energy of H2(X, v) on the common scale (eV).

[View source](https://github.com/max-models/OpenCR/blob/devel/src/opencr/data/molecular_hydrogen.py#L87-L92)
