NEDAS package

Subpackages

Module contents

NEDAS.get_scheme(config: Config | None = None, config_file: str | None = None, parse_args: bool = False, **kwargs) Scheme[source]

Factory function to get the correct analysis scheme instance.

Parameters:
  • config (Config, optional) – configuration object.

  • config_file (str, optional) – the top-level configuration file

  • parse_args (bool, optional) – whether to parse runtime argument from cli, default to false.

  • **kwargs – other key value pairs to rewrite the configuration

Returns:

The analysis scheme class instance.

Return type:

Scheme