Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_spike_plot_jpsth”.
FT_SPIKE_PLOT_JPSTH makes a plot from JPSTH structure. Use as ft_spike_plot_jpsth(cfg, jpsth) Inputs: JPSTH must be the output structure from FT_SPIKE_JPSTH and contain the field JPSTH.avg. If cfg.psth = 'yes', the field JPSTH.psth must be present as well. General configurations: cfg.channelcmb = string or index of single channel combination to trigger on. See SPIKESTATION_FT_SUB_CHANNELCOMBINATION for details. cfg.psth = 'yes' (default) or 'no'. If 'yes', the psth histogram is down the x and left from the y axis. cfg.axlim = [begin end] in seconds or 'max' (default), 'prestim' or 'poststim'; cfg.colorbar = 'yes' (default) or 'no' cfg.colormap = N-by-3 colormap (see COLORMAP). or 'auto' (default,hot(256)) cfg.interpolate = 'yes' or 'no', determines whether we interpolate the density plot Configurations related to smoothing: cfg.smooth = 'yes' or 'no' (default) If 'yes', we overlay a smooth density plot calculated by non-parametric symmetric kernel smoothing with cfg.kernel. cfg.kernel = 'gausswin' or 'boxcar', or N-by-N matrix containing window values with which we convolve the scatterplot that is binned with resolution cfg.dt. N should be uneven, so it can be centered at each point of the lattice. 'gausswin' is N-by-N multivariate gaussian, where the diagonal of the covariance matrix is set by cfg.gaussvar. 'boxcar' is N-by-N rectangular window. If cfg.kernel is numeric, it should be of size N-by-N. cfg.gaussvar = variance (default = 1/16 of window length in sec). cfg.winlen = window length in seconds (default = 5*binwidth). The total length of our window is 2*round*(cfg.winlen/binwidth) where binwidth is the binwidth of the jpsth (jpsth.time(2) - jpsth.time(1)). See also FT_SPIKE_JOINTPSTH, FT_SPIKE_PSTH, FT_SPIKE_XCORR
Share this page: