User Tools

Site Tools


analysis:nsb2017:week2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
analysis:nsb2017:week2 [2017/07/02 16:35]
mvdm
analysis:nsb2017:week2 [2017/07/06 18:30]
mvdm
Line 108: Line 108:
 If at some point you want to construct a ''​tsd''​ variable yourself, you can do ''​help tsd''​ to see how. The ''​tsd()''​ function is a //​constructor//​ for variables of type ''​tsd''​. ''​LoadCSC()''​ calls this function to create an empty ''​tsd''​ template, and then fills it with data loaded from ''​.ncs''​ files; you can check if the result meets the specification by calling ''​CheckTSD()''​. If at some point you want to construct a ''​tsd''​ variable yourself, you can do ''​help tsd''​ to see how. The ''​tsd()''​ function is a //​constructor//​ for variables of type ''​tsd''​. ''​LoadCSC()''​ calls this function to create an empty ''​tsd''​ template, and then fills it with data loaded from ''​.ncs''​ files; you can check if the result meets the specification by calling ''​CheckTSD()''​.
  
-There are a number of functions that work with ''​tsd''​ data: some of these can be found in the tsd [[https://​github.com/​mvdm/​neuraldata-w16/​tree/​master/​shared/​datatypes/​tsd | folder]] in the %%GitHub%% repository. Two other important ones you will meet in this module are ''​restrict()''​ and ''​getd()''​ (which also work on other data types, below).+There are a number of functions that work with ''​tsd''​ data: some of these can be found in the tsd [[https://​github.com/​mvdm/​nsb2017/​tree/​master/​shared/​datatypes/​tsd | folder]] in the %%GitHub%% repository. Two other important ones you will meet in this module are ''​restrict()''​ and ''​getd()''​ (which also work on other data types, below).
  
 ==== Timestamp (TS) data-type ==== ==== Timestamp (TS) data-type ====
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 ====
  
analysis/nsb2017/week2.txt · Last modified: 2023/04/13 12:20 (external edit)