Skip to content

view_wave_raster.m

Calvin Eiber edited this page Jun 30, 2021 · 1 revision

Visualisation of a single wave saved from models.nerve_recording or models.ECAP_recording. Nicer view than plots.preview_wave. This visualisation was used to generate figure 3 for Eiber et al (2020). Running with no input arguments prompts you to select a waves file and uses the default options.

Part of package +plots.

Options

  • -f [list] if wave includes multiple fascicles, sum across which fascicles? (Default: sum across all)
  • -roi [tMin tMax] set display ROI, default is ±40 ms.
  • -pair [list], -chan [list], -elec [list] define electrode montages, default is sequential bipolar pairs e.g. for a 4-electrode input file, default is [1 2; 3 4]. TODO actually implement this
  • -dy [val] separation between wave baselines, scaled by wave Vpp
  • -trend include linear trend in wave display, otherwise linear trend is removed using tools.detrend_wave

Example

plots_view_wave_raster

Todo

Does not currently support variable recording electrodes, this needs to be fixed!

Clone this wiki locally