Skip to main content

Crate nex5_analyze

Crate nex5_analyze 

Source
Expand description

Spike-train analysis on top of nex5file.

  • PSTH — peri-event spike histograms
  • Filtering — time-range selection on timestamps and file variables
  • ISI — inter-spike interval histograms
  • Sort — order spike times; rank units by firing rate

For NWB import/export use the sibling nex5-nwb crate.

Structs§

CrossCorrelationResult
Pairwise spike-time cross-correlation histogram (spike A relative to spike B).
FileAnalysisOptions
Convenience bundle for a neuron/event PSTH analysis on a file.
FileAnalysisResult
IsiHistogram
Inter-spike interval histogram.
PsthOptions
Peri-stimulus histogram configuration.
PsthResult
Peri-stimulus histogram result.
RasterResult
Raster across all events.
TimeRange
Inclusive time window in seconds (same units as nex5 timestamps).
TrialRaster
Spikes aligned to one event (seconds relative to event time).

Functions§

analyze_file
Run PSTH + raster for one neuron aligned to one event variable.
filter_file_events
Filter an event variable’s timestamps by time range.
filter_file_neuron
Filter a neuron’s spike train by time range.
filter_timestamps
Keep timestamps inside range (inclusive).
inter_spike_intervals
Consecutive inter-spike intervals (seconds) from sorted spike times.
isi_histogram
Histogram of inter-spike intervals.
peri_event_raster
Collect spike times relative to each event within the PSTH window.
psth
Build a peri-stimulus time histogram from spike times and event times.
smooth_firing_rate
Gaussian-smoothed firing rate (Hz) from binned spike counts.
sort_spike_times
Return a time-sorted copy of spike timestamps.
spike_cross_correlation
Histogram of (t_a - t_b) for all spike pairs within max_lag.
units_by_mean_rate
List neuron variable names sorted by mean firing rate (descending).

Type Aliases§

Result