util

class pydsef.util.DSEFLoader(stream)[source]

Custom YAML Loader with the !include tag to mark parameters that change with each trial

static include(loader, node)[source]

Returns the YAML load wrapped in the Inlucded class.

static init()[source]

Initiliazes the YAML loader. This gets called in __init__.py when pydsef is imported.

class pydsef.util.Included(l)[source]

Custom list object for use in DSEFLoader.

pydsef.util.product(d)[source]

Returns a list of dictionaries that represent the product of all the values marked with !include.

pydsef.util.show_progress(fun, msg, args=(), rate=0.3)[source]

Displays a spinner while the given function is running.