Tyler Banks
Tyler Banks
Switching to https://github.com/thomaxxl/safrs ended up being my solution, may save others time until this issue is resolved.
Looks alright to me? https://github.com/AllenInstitute/bmtk/blob/845feda4fe421363d3f24e86806cda1e716943af/bmtk/utils/reports/spike_trains/spike_trains.py#L151-L170 PoissonSpikeGenerator seems to take care of the conversion just fine. Does the output in the h5 file look wrong?
Do you have a way of showing this? Everything appears correct on my end - input seconds into spike generator - output spikes in ms in h5 file.
All is correct. `seconds` are provided in the notebook and `ms` are in the output file. ``` from bmtk.utils.reports.spike_trains import PoissonSpikeGenerator psg = PoissonSpikeGenerator(population='mthalamus') psg.add(node_ids=range(10), # Have 10 nodes to...
@latimerb @aaberbach - Got your output, my mistake. Was on an old commit. It does look like you can supply `units` to the constructor `psg = PoissonSpikeGenerator(population='mthalamus', units='ms')` but nothing...
After bouncing ideas back and forth @GregGlickert and I came up with a module to support Core Neuron. https://github.com/tjbanks/corebmtk If the implementation is acceptable I can put in a PR...
Similar issue, using core neuron (which has gpu support) - https://github.com/AllenInstitute/bmtk/issues/282 But this may not be for all use cases.