write_PSTH¶
-
single_cell_parser.writer.write_PSTH(fname=
None, PSTH=None, bins=None)¶ Write PSTH and time bins of PSTH,
Bins contain left and right end of each bin, i.e.
len(bins) = len(PSTH) + 1Example
>>> PSTH = [1, 1, 2] >>> bins = [0.0, 0.1, 0.2, 0.3] >>> write_PSTH('PSTH.param', PSTH, bins) >>> PSTH.param # bin begin bin end APs/trial/bin 0.0 0.1 1 0.1 0.2 1 0.2 0.3 2
Documentation unclear, incomplete, broken or wrong? Let us know