bmtk.utils.reports package

Subpackages

Submodules

bmtk.utils.reports.current_writer module

class bmtk.utils.reports.current_writer.CurrentWriterv01(file_name, num_currents, units=None, tstart=0.0, tstop=1.0, dt=0.01, n_steps=None, buffer_size=0, buffer_data=True, **kwargs)[source]

Bases: object

Used to save current currents to the described hdf5 format.

class DataTable[source]

Bases: object

A small struct to keep track of different data (and buffer) tables

close()[source]
dt()[source]
flush()[source]

Move data from memory to dataset

initialize(**kwargs)[source]
merge()[source]
n_steps()[source]
record_clamps(vals, tstep)[source]

Record clamp currents.

Parameters
  • vals – list of currents for each clamp

  • tstep – time step

set_dt(val)[source]
set_tstart(val)[source]
set_tstop(val)[source]
set_units(val)[source]
tstart()[source]
tstop()[source]
units()[source]

Module contents