Reference#

svante.__main__#

Command-line interface and logging configuration.

svante.__main__.main()#

Run the app.

Return type:

None

svante.__main__.set_global_state(verbose=False, quiet=False, version=<typer.models.OptionInfo object>)#

Set global-state variables.

Parameters:
  • verbose (bool) –

  • quiet (bool) –

  • version (bool | None) –

Return type:

None

svante.__main__.version_callback(value)#

Print version info.

Parameters:

value (bool) –

Return type:

None

svante.common#

Global constants and shared functions in common.

class svante.common.GlobalState#

Dictionary of global state variables.

svante.common.read_conf_file(toml_path, file_desc, schema_type)#

Read TOML configuration and verify against schema.

Parameters:
  • toml_path (Path) –

  • file_desc (str) –

  • schema_type (str) –

Return type:

Any

svante.combine#

Combine multiple TSV files containing rates into one file.

svante.combine.combine(toml_file)#

Combine rate info from multiple files.

Parameters:

toml_file (Path) –

Return type:

None

svante.plot#

Make Arrhenius plot with fits.

svante.plot.c_to_inverse_kilokelvin(c)#

Convert degrees celsius to inverse kiloKelvin.

Parameters:

c (float) –

Return type:

float

svante.plot.inverse_kilokelvin_to_c(inverse_kilo_kelvins)#

Convert inverse kiloKelvin to degrees Celsius.

Parameters:

inverse_kilo_kelvins (float) –

Return type:

float

svante.plot.plot(toml_file, show=<typer.models.OptionInfo object>)#

Arrhenius plot with fits.

Parameters:
  • toml_file (Path) –

  • show (bool) –

Return type:

None

svante.stat_dict#