TransportMaps.CLI._utils

Module Contents

Classes

H5

Functions

logged(f)

_lambda_str_to_list_argument(t)

_general_options(f)

_ask_overwrite()

_load_input(→ TransportMaps.DataStorageObject)

_select_dist(→ TransportMaps.Distributions.Distribution)

_select_dist_tuple(...)

Attributes

_GENERAL_OPTIONS

exception TransportMaps.CLI._utils.CLIException[source]

Bases: BaseException

Common base class for all exceptions

TransportMaps.CLI._utils.logged(f)[source]
TransportMaps.CLI._utils._lambda_str_to_list_argument(t)[source]
TransportMaps.CLI._utils._GENERAL_OPTIONS[source]
TransportMaps.CLI._utils._general_options(f)[source]
TransportMaps.CLI._utils._ask_overwrite()[source]
TransportMaps.CLI._utils._load_input(path_input: pathlib.Path) TransportMaps.DataStorageObject[source]
class TransportMaps.CLI._utils.H5(fname: pathlib.Path, method: str)[source]

Bases: object

__enter__()[source]
__exit__(type, value, traceback)[source]
TransportMaps.CLI._utils._select_dist(stg, dist: str) TransportMaps.Distributions.Distribution[source]
TransportMaps.CLI._utils._select_dist_tuple(stg, dist: str) Tuple[TransportMaps.Distributions.Distribution, TransportMaps.Distributions.Distribution][source]