bmtk.simulator.dpointnet.state_modules package#

Submodules#

bmtk.simulator.dpointnet.state_modules.cached_states module#

class bmtk.simulator.dpointnet.state_modules.cached_states.CachedInitState(file_paths, file_type='mixed', **kwargs)[source]#

Bases: object

get_state(rnn=None, **kwargs)[source]#

bmtk.simulator.dpointnet.state_modules.input_state module#

class bmtk.simulator.dpointnet.state_modules.input_state.InitStateFromInputModule(rnn, **kwargs)[source]#

Bases: object

get_state(max_retries=8, batch_size=None, **kwargs)[source]#
init_state(batch_size=None)[source]#
spikes_itrs(batch_size=None)[source]#

bmtk.simulator.dpointnet.state_modules.randomized_state module#

class bmtk.simulator.dpointnet.state_modules.randomized_state.RandomizedStateModule(rnn, params, **kwargs)[source]#

Bases: object

property function_pointers#
get_state(rnn=None, batch_size=None, **kwargs)[source]#
bmtk.simulator.dpointnet.state_modules.randomized_state.binary(shape, dtype, firing_rate, dt, batch_size)[source]#
bmtk.simulator.dpointnet.state_modules.randomized_state.constant(shape, dtype, value, batch_size)[source]#
bmtk.simulator.dpointnet.state_modules.randomized_state.gaussian(shape, dtype, mean, stddev, batch_size)[source]#
bmtk.simulator.dpointnet.state_modules.randomized_state.uniform(shape, dtype, low, high, batch_size)[source]#

bmtk.simulator.dpointnet.state_modules.zero_state module#

class bmtk.simulator.dpointnet.state_modules.zero_state.ZeroStateModule(rnn, **kwargs)[source]#

Bases: object

get_state(batch_size=None, **kwargs)[source]#

Module contents#

class bmtk.simulator.dpointnet.state_modules.StateModules(*args, **kwargs)[source]#

Bases: object

add_init_state_module(module_cls, module_name=None, overwrite=True)[source]#
get_init_state_module(module_name)[source]#
to_dataframe()[source]#
to_dict()[source]#
to_list()[source]#