User Tools

Site Tools


This is an old revision of the document!

Overview of common functions

Utility functions

Utility functions common to multiple data types

  • restrict()

Functions associated with specific data types

interval (iv)


  • iv(): constructor
  • CheckIV(): check if IV is correctly formatted

Simple operations:

  • ResizeIV(): expand or contract intervals by specified amount
  • InvertIV(): “flips” included intervals to non-included, and vice versa
  • MergeIV(): merge touching, overlapping, or nearby intervals within an iv struct
  • SelectIV(): specify intervals to keep

Set operations:

  • UnionIV(): set union of iv objects
  • IntersectIV(): set intersect, keep only those iv1's that include a piece of iv2
  • DifferenceIV(): set difference, keep only those iv1's that DO NOT include a piece of iv2

Analysis operations:

  • TSDtoIV(): create interval data from tsd by tresholding


  • PlotTSDfromIV(): display intervals defined relative to tsd
timestamps (ts)
timestamped data (tsd)
tuning curve (tc)

Visualization functions

Loading functions

Analysis functions

analysis/matlab-overview.1498869218.txt.gz · Last modified: 2018/07/07 10:19 (external edit)