User Tools

Site Tools


analysis:matlab-overview

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
Next revision Both sides next revision
analysis:matlab-overview [2017/06/30 20:46]
mvdm
analysis:matlab-overview [2017/06/30 21:52]
mvdm [Visualization functions]
Line 1: Line 1:
-===== Overview of common functions =====+====== Overview of common functions ​======
  
-==== Utility functions ====+===== Utility functions ​=====
  
-=== Utility functions common to multiple data types ===+==== Utility functions common to multiple data types ====
  
   * restrict(): restricts times in data object (iv, ts, tsd) to specific intervals   * restrict(): restricts times in data object (iv, ts, tsd) to specific intervals
  
-=== Utility functions associated with specific data types ===+==== Utility functions associated with specific data types ====
  
-== interval (iv) ==+=== interval (iv) ===
  
 Basics: Basics:
Line 38: Line 38:
   * PlotTSDfromIV():​ display intervals defined relative to tsd   * PlotTSDfromIV():​ display intervals defined relative to tsd
  
-== timestamps (ts) ==+=== timestamps (ts) ==
 + 
 +[[https://​github.com/​vandermeerlab/​vandermeerlab/​tree/​master/​code-matlab/​shared/​datatypes/​ts|ts folder on GitHub]]
  
 Basics: Basics:
  
-  * ts()constructor+  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​ts/​ts.m|ts()]] constructor
   * CheckTS(): check integrity of ts struct   * CheckTS(): check integrity of ts struct
   * SelectTS(): specify ts data to keep. (Also performs reordering)   * SelectTS(): specify ts data to keep. (Also performs reordering)
Line 56: Line 58:
   * MultiRaster():​ see below   * MultiRaster():​ see below
  
-== timestamped data (tsd) ==+=== timestamped data (tsd) ==
 + 
 +[[https://​github.com/​vandermeerlab/​vandermeerlab/​tree/​master/​code-matlab/​shared/​datatypes/​tsd|tsd folder on GitHub]] 
 + 
 +Basics and selection:​ 
 + 
 +  * tsd(): constructor 
 +  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​tsd/​CheckTSD.m|CheckTSD()]]:​ check integrity of tsd struct 
 +  * getd(): get (raw) data with specified label 
 +  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​tsd/​TSD_SelectChannel.m|TSD_SelectChannel()]]:​ returns tsd containing only channels with labels in channel_label 
 + 
 +Merging: 
 + 
 +  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​tsd/​MergeTSD.m|MergeTSD()]]:​ Merge data from multiple TSDs into a single, new TSD 
 +  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​tsd/​UnionTSD.m|UnionTSD()]]:​ returns the union (merge) of two TSD inputs 
 + 
 +Analysis: 
 + 
 +  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​tsd/​TSD_getidx2.m|TSD_getidx2()]]:​ returns idxs into ts or tsd, delimited by input interval(s) 
 +  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​tsd/​TSDbyZ.m | TSDbyZ()]]: compute averages of the values in tsd_in binned by z's cfg.edge 
 +  * [[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​shared/​datatypes/​tsd/​TSDbySpace.m |TSDbySpace()]]:​ construct 2D matrix with spatial averages of the values in tsd_in
  
-== tuning curve (tc) == +=== tuning curve (tc) === 
  
-=== Low-level utility functions ===+==== Low-level utility functions ​====
  
   * nearest_idx3():​   * nearest_idx3():​
  
-==== Visualization functions ====+===== Visualization functions ​=====
  
-==== Loading functions ====+  * the amazing MultiRaster ([[https://​github.com/​vandermeerlab/​vandermeerlab/​blob/​master/​code-matlab/​example_workflows/​MultiRaster_usage.m|examples]]) 
 +===== Loading/​converting ​functions ​=====
  
-==== Analysis functions ====+===== Analysis functions ​=====
analysis/matlab-overview.txt · Last modified: 2018/07/07 10:19 (external edit)