synthpops.defaults module

Defaults for synthpops files and data types.

default_datadir_path()[source]

Return the path to synthpops internal data folder.

reset_settings_by_key(key, value)[source]

Reset a key in the globally available settings dictionary with a new value.

Returns:None
reset_settings(new_config)[source]

Reset multiple keys in the globally available settings dictionary based on a new dictionary of values.

Parameters:new_config (dict) – a dictionary with new values mapped to keys
Returns:None.
reset_default_settings()[source]

By default, synthpops uses default settings for Seattle, Washington, USA. After having changed the values in the settings dictionary, calling this method can easily reset the settings dictionary to the values for Seattle, Washington, USA.

Returns:None