Parameters
GASFIR uses a small set of dimensionless parameters to characterise the ionizing medium. They are stored in a JSON-backed parameter store that ships with the package.
Built-in Parameter Sets
Retrieve a list of all available names:
from gasfir import get_parameters
print(get_parameters())
Load a specific set:
params = get_parameters("Hydrogen_SFA")
# {'E_g': 0.5, 'a0': ..., 'a1': ..., 'a2': ..., 'a3': ..., 'a4': 0}
Parameter Descriptions
Name |
Description |
|---|---|
|
Band gap / ionization potential (a.u.) |
|
Normalization prefactor |
|
Tunneling time / Gaussian smearing parameter |
|
Static Stark shift correction |
|
Dynamic Stark shift correction |
|
Coulomb correction exponent |
|
Effective mass (for solid-state systems; default 1.0) |
Adding Custom Parameters
Persist a new parameter set to the on-disk store:
from gasfir import _save_parameters
_save_parameters("MyMolecule", {
"E_g": 0.45, "a0": 5.0, "a1": 3.0,
"a2": 2.5, "a3": 1.0, "a4": -0.5,
})
The entry is written to src/gasfir/data/parameters.json and is available
in future sessions.