This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
analysis:nsb2017:week2 [2017/07/06 18:27] mvdm [Timestamped data (TSD) data-type] |
analysis:nsb2017:week2 [2023/04/13 12:20] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | ~~DISCUSSION:off~~ |
===== Module 2: Introduction to neural data types, file formats and preprocessing ===== | ===== Module 2: Introduction to neural data types, file formats and preprocessing ===== | ||
Line 188: | Line 188: | ||
☛ How many spikes did the second neuron emit in this session? | ☛ How many spikes did the second neuron emit in this session? | ||
- | As with ''tsd'' data above, you can call the ts constructor ''ts()'' to start with a template that you can then fill with data if you want to build your own. The ts [[https://github.com/mvdm/neuraldata-w16/tree/master/shared/datatypes/ts | folder]] on %%GitHub%% contains some other utility functions that work with timestamp data. | + | As with ''tsd'' data above, you can call the ts constructor ''ts()'' to start with a template that you can then fill with data if you want to build your own. The ts [[https://github.com/mvdm/nsb2017/tree/master/shared/datatypes/ts | folder]] on %%GitHub%% contains some other utility functions that work with timestamp data. |
==== Interval (IV) data-type ==== | ==== Interval (IV) data-type ==== | ||
Line 748: | Line 749: | ||
NOTE: if you are on a Mac, you might get an error related to the ''nearest_idx3'' function; you can fix that for now by changing this to ''nearest_idx'' in the ''PlotTSDfromIV'' function. | NOTE: if you are on a Mac, you might get an error related to the ''nearest_idx3'' function; you can fix that for now by changing this to ''nearest_idx'' in the ''PlotTSDfromIV'' function. | ||
+ |