opencr.models
Predefined models, loaded by name with load_model.
====================================== ===================================================
name model
====================================== ===================================================
hydrogen/atomic/basic H(n=1..n_max) and H+ (hydrogen_atomic)
hydrogen/molecular/basic H2(X, v), its electronic states, H, H+ and H2+
(hydrogen_molecular)
hydrogen/molecular/ions the same with H-, H3+ and their chemistry
argon/metastable Ar, lumped Ar(m) and Ar(r), Ar+; a sputtered metal with
metal="Cu" (argon)
====================================== ===================================================
Options are passed on to the model’s builder, e.g.
load_model("hydrogen/atomic/basic", n_max=30).
Functions
| Name | Description |
|---|---|
available_models | Return the names of the predefined models with one sentence each. |
load_model | Return the predefined model name built with options. |
register_model | Make builder(**options) loadable as name. |
Modules
argonArgon with lumped 4s levels, and a sputtered metal, for magnetron discharges.hydrogen_atomicAtomic hydrogen resolved in the principal quantum number.hydrogen_molecularMolecular hydrogen: H2 resolved in its vibrational levels, with H, H+ and H2+.
available_modelsfunction#
def available_models() -> dict[str, str]Return the names of the predefined models with one sentence each.
load_modelfunction#
def load_model(name: str, **options: Any) -> ModelReturn the predefined model name built with options.
register_modelfunction#
def register_model(name: str, builder: Callable[..., Model], description: str) -> NoneMake builder(**options) loadable as name.