Skip to main content

Crate med64

Crate med64 

Source
Expand description

Headless MED64 electrophysiology toolkit: .modat I/O, spike/burst analysis, assay modules, spike-rate maps, and CSV / HTML / SVG / PNG / HDF5 export.

See the crate README (or README.md in the repo) for CLI commands, feature flags, and limitations.

§Feature flags

FlagDefaultPurpose
analysisyesIIR filters, spike detection
burstsyesSingle/multi-channel bursts + ASDR
correlationyesBurst-onset correlogram + synchrony
histogramsyesISI / amplitude histograms
workflowyes.moflo compute runner
chartyesHTML Chart.js reports
diagnosticsyesChannel statistics
layoutsyes384-ch well plate / Basic4x4 / QuadII labels
parallelyesrayon batch + per-channel detect
hdf5yesSpike / SIS-style HDF5 (hdf5-no-c)
accelerateyesmacOS vDSP FFT (no-op elsewhere)
blasnoalias for accelerate
slow-goldensnolong analysis goldens
fullnoalias for default

§Quick start

use med64::prelude::*;

let mut rec = Recording::open("data/sample data1.modat")?;
for block in rec.blocks() {
    let block = block?;
    println!("block {} has {} points", block.block_number, block.samples.len());
}
convert("data/sample data1.modat", "/tmp/out.csv", &ConvertOptions::default())?;

§Burst analysis facade

use med64::{run_burst_pipeline, BurstPipelineOptions};

let report = run_burst_pipeline("data/sample data1.modat", &BurstPipelineOptions::default())?;
println!("{} spikes", report.spikes.len());

Re-exports§

pub use burst_pipeline::burst_pipeline_amplitude_histogram;
pub use burst_pipeline::burst_pipeline_isi_histogram;
pub use burst_pipeline::burst_pipeline_asdr;
pub use burst_pipeline::burst_pipeline_create_image;
pub use burst_pipeline::burst_pipeline_detect_spikes;
pub use burst_pipeline::burst_pipeline_dose_series;
pub use burst_pipeline::burst_pipeline_export_bundle;
pub use burst_pipeline::burst_pipeline_multi_channel_bursts;
pub use burst_pipeline::burst_pipeline_native_log;
pub use burst_pipeline::burst_pipeline_result_table;
pub use burst_pipeline::burst_pipeline_single_channel_bursts;
pub use burst_pipeline::run_burst_pipeline;
pub use burst_pipeline::write_amplitude_chart_html;
pub use burst_pipeline::write_analysis_dashboard_html;
pub use burst_pipeline::write_asdr_svg;
pub use burst_pipeline::write_botcc_svg;
pub use burst_pipeline::write_burst_chart_html;
pub use burst_pipeline::write_correlation_chart_html;
pub use burst_pipeline::write_freq_count_chart_html;
pub use burst_pipeline::write_isi_chart_html;
pub use burst_pipeline::write_map_chart_html;
pub use burst_pipeline::write_synchrony_svg;
pub use burst_pipeline::BurstPipelineOptions;
pub use burst_pipeline::BurstPipelineReport;
pub use burst_pipeline::burst_pipeline_botcc;
pub use burst_pipeline::burst_pipeline_synchrony;
pub use rate_map::write_synchrony_table_csv;
pub use rate_map::build_rate_map_report;
pub use rate_map::compute_rate_map;
pub use rate_map::compute_rate_map_batch;
pub use rate_map::compute_stv_table;
pub use rate_map::smooth_rate_map_rates;
pub use rate_map::write_poincare_isi_csv;
pub use rate_map::write_rate_map_average_package;
pub use rate_map::write_rate_map_channel_table_csv;
pub use rate_map::write_rate_map_filtered_export;
pub use rate_map::write_rate_map_html;
pub use rate_map::write_rate_map_overlay_html;
pub use rate_map::write_rate_map_prefs_json;
pub use rate_map::write_rate_map_propagation_package;
pub use rate_map::write_rate_map_raw_package;
pub use rate_map::write_rate_map_smoothing_csv;
pub use rate_map::write_rate_map_speed_table_csv;
pub use rate_map::write_rate_map_start_package;
pub use rate_map::write_rate_map_summary_csv;
pub use rate_map::write_rate_map_well_package;
pub use rate_map::write_rate_map_well_package_with_prefs;
pub use rate_map::write_rate_summary_csv;
pub use rate_map::write_rate_table1_csv;
pub use rate_map::write_rate_table2_csv;
pub use rate_map::write_rate_table2r_csv;
pub use rate_map::write_rate_table3_csv;
pub use rate_map::write_rate_table3_from_batch;
pub use rate_map::write_raw_viewer_html;
pub use rate_map::write_stv_metrics_csv;
pub use rate_map::write_stv_table_csv;
pub use rate_map::write_well_plate_channels_bin;
pub use rate_map::write_well_plate_channels_csv;
pub use rate_map::write_well_plate_html;
pub use rate_map::write_well_plate_raw_html;
pub use rate_map::write_well_plate_viewer_html;
pub use rate_map::write_well_plate_viewer_html_with_analysis;
pub use rate_map::RateMapBatchReport;
pub use rate_map::RateMapCell;
pub use rate_map::RateMapFileSummary;
pub use rate_map::RateMapOptions;
pub use rate_map::RateMapPrefs;
pub use rate_map::RateMapReport;
pub use rate_map::RawViewerHtmlOptions;
pub use rate_map::StvMetrics;
pub use svg::downsample_lttb;
pub use svg::escape_xml;
pub use svg::render_bar_svg;
pub use svg::render_line_svg;
pub use svg::render_raster_svg;
pub use svg::write_bar_svg;
pub use svg::write_line_svg;
pub use svg::write_raster_svg;
pub use svg::write_svg_file;
pub use svg::SvgChartOptions;
pub use svg::SvgSeries;
pub use svg::SvgStyle;

Modules§

burst_pipeline
Burst analysis HTML chart exports and facade (run_burst_pipeline, …).
connection_map
Connection Map (connection map): pairwise lag matrix + HTML/CSV export.
prelude
Convenient re-exports for application code.
rate_map
Spatial spike-rate heatmaps and batch summaries.
svg
SVG charting helpers for analysis exports.

Structs§

ActivationCell
ActivationOptions
ActivationReport
AmplitudeRankReport
AmplitudeRankRow
AnalysisLogManifest
Files written under a burst-analysis log folder.
AnalysisLogRestore
Restored contents of a log directory.
AnalysisOptions
AnalysisOptionsSnapshot
AnalysisProgress
Progress callback payload for long analyses.
AnalysisProject
AnalysisReport
AsdrTrace
AutocorrOptions
AutocorrReport
AverageWaveform
BandpassBand
BandpassFilter
Convenience bandpass = HPF then LPF (filter_raw_data chain).
Batch
Parallel batch processor over many recordings.
BatchExportPrefs
Burst Detector batch export toggles + filename suffixes.
Beat
BeatExportOptions
Export matrix for Beat/FPD package writer.
BeatOptions
BeatPrefs
BeatReport
BetaExportOptions
Export matrix for Beta CreateImage package writer.
BetaOscillationOptions
BetaOscillationReport
BetaPrefs
BlockStream
Lazy iterator over data blocks.
BurstDataFilePublic
BurstDetectorBundleOptions
Preferences for which Burst Detector package members to write.
BurstOnsetCorrelogram
BurstProfile
BurstProfileOptions
BurstProfilePoint
BurstResultTable
ChChartBeat
ChannelAutocorr
ChannelCriteria
ChannelStatRow
ChannelStats
ChannelSynchrony
ChannelThresholdRow
ChartOptions
Chart generation options.
ClusterAssignment
ClusterCentroid
ClusterOptions
ClusterReport
ConductionFrame
ConductionSeries
ConnectionMapOptions
ConnectionMapReport
ConnectivityEdge
ConnectivityOptions
ConnectivityPackageOptions
ConnectivityPackageReport
ConnectivityPrefs
Keys from connectivity export / pref properties files.
ConnectivityReport
ConvertOptions
Options controlling file conversion.
ConvertReport
Summary returned after a conversion completes.
CorrelationOptions
CreateImagePackageOptions
Create Image dialog options (headless substitute).
CsdCell
CsdOptions
CsdReport
CsvWriter
Streaming CSV export compatible with waveform analysis tools.
DiagnosticOptions
Controls how much data diagnostics scans.
Diagnostics
Full diagnostic report for a recording.
DiscreteWaveletReport
DoseEditRow
Editable dose table row (spreadsheet UX substitute).
DoseEditTable
DosePoint
DoseSeriesReport
FboBatchFileResult
FboBatchOptions
Batch FBO Filteringbatch options (template fbo overridden per input path).
FboBatchReport
FboOptions
FboReport
FftConfig
FilterChain
Per-channel filter state for multichannel waveforms.
FilteredExportOptions
FilteredExportReport
FilteredSample
FourWellAsdrOptions
FourWellAsdrReport
GapHistBin
HeaderBuilder
Builder for constructing a new .modat file header.
HeatmapCell
HighPassFilter
Second-pole high-pass (SecondPoleHPFilter.filter, not filterIIR).
Histogram
HistogramOptions
ImportedSpikes
Parsed spike CSV plus a synthetic header for downstream burst analysis.
JsonWriter
JSON export with metadata and optional block payloads.
LowPassFilter
Second-pole low-pass (SecondPoleLPFilter.filter / filterIIR).
LtpOptions
LtpPoint
LtpReport
Med64DataBlock
One contiguous chunk of multichannel waveform samples from a .modat file.
Med64Header
Metadata parsed from the first 123 bytes of a .modat file.
Med64Reader
Sequential reader for MED64 .modat electrophysiology recordings.
ModatWriter
Write MED64 .modat binary recordings.
ModaxWrapperMeta
XML preamble metadata for write_modax_wrapper_with_meta.
MofloNode
A workflow node from a .moflo XML protocol file.
MofloProtocol
Parsed .moflo workflow describing how MED64 offline tools process recordings.
MultiBandpassOptions
MultiBandpassReport
MultiBandpassTrace
MultiChannelBurst
MultiChannelBurstChartPrefs
Chart + threshold keys from Multi-Channel Burst default.properties.
MultiChannelBurstOptions
MultiFileResultColumn
One analyzed file column in a multi-file result table.
MultiFileResultTable
multi-file result table: raw values + % change from #1 per metric.
MultiStatType
Nested agg: per-channel inner, then across-channel outer.
NativeAnalysisLog
Contents restored from a native log directory.
NativeLogOptions
Options for native log directory layout.
NotchFilter
Simple time-domain notch (biquad) for analysis pipelines.
OscillationEvent
OversampleGrid
Dense oversampled delay grid (rows*factor × cols*factor).
PaceWindow
PacingOptions
PacingReport
PaidCell
PaidOptions
PaidPrefs
PaidReport
PdmDetectorOptions
PdmDetectorReport
PethBin
PethOptions
PethReport
Pipeline
Configurable processing pipeline over a recording.
PoincarePoint
PoincareReport
PropagationCell
PropagationOptions
PropagationPrefs
PropagationReport
PsaChartPrefs
All 22 keys from conf_powerspectrumanalysis_pref.properties.
RasterPoint
RasterTimeHistogram
Recording
An opened MED64 .modat recording with parsed header metadata.
ResultTableOptions
ResultTableRow
Sample
A single multichannel sample exposed for streaming/export.
SampleBatch
A batch of samples produced by chunked pipeline iteration.
SampleChunks
Collect samples into fixed-size batches (useful for ML / IPC / vectorized ops).
SampleCollector
In-memory collector implementing SampleSink.
SampleStream
Flat iterator over all samples in block order.
SettingsFormParams
SingleChannelBurst
SingleChannelBurstExportPrefs
Single-Channel Burst export toggles + filename suffixes.
SingleChannelBurstOptions
SpectrogramReport
SpectrumBin
SpectrumOptions
SpectrumPrefs
SpectrumReport
Spike
SpikeDetectOptions
SpikeDetectorExportMatrix
Full ExportSettingController toggle matrix.
SpikeDetectorExportOptions
SpikeDetectorOptions
SpikeDetectorPanelPrefs
Prefer dialog mirror (colors optional).
SpikeDetectorPrefs
SpikeDetectorReport
SpikeFilterOptions
Amplitude / duration gates (SpikeFilteringService).
SpikeFrequencyBin
SpikeFrequencyOptions
SpikeFrequencyReport
SpikeHdf5Options
SpikeHeatmap
SpikePostHocReport
SpikeRaster
SpikeScatterPoint
SpikeTrain
SpikeWellFreqOptions
SpikeWellFreqReport
StageWindowPrefs
stage window placement from *_stage.properties.
StatResultReport
SyntheticWell384Options
Options for write_synthetic_well384 / write_synthetic_well384_modax.
ThresholdOptions
TimeRangeMs
One analysis window (start + duration), matching Toolkit range rows.
VoltageCell
VoltageChartExportPrefs
Export settings prefs.
VoltageChartOptions
VoltageChartPackageReport
VoltageChartPathPrefs
Waveform Viewer main conf (conf_waveformviewer.properties) — path only, distinct from super::voltage_chart_prefs::VoltageChartExportPrefs.
VoltageMapOptions
VoltageMapReport
VoltageStftFrame
VoltageStftReport
WaveStack
WaveStackTrace
WaveformSeries
Waveform series ready for plotting.
WaveletBand
WaveletExportOptions
Export matrix for Wavelet CreateImage package writer (mirrors Beta).
WaveletOptions
WaveletReport
WorkflowGraph
WorkflowLink
WorkflowNodeRef
WorkflowOptions
WorkflowReport

Enums§

AnalysisStage
Stages reported by run_analysis_with_progress.
AsdrChartKind
AsdrChartKind for ImageExportService chart rendering.
AsdrValueType
AutoThresholdBase
AverageBinKind
BetaThresholdMethod
BurstProfileAlignment
ChartImageType
Wire chartImageType — 0 = BMP, 1 = PNG.
DownsampleMode
ExportTraceType
Wire exportTraceType — 0 / 1 / 2.
FileFormat
Supported MED64 file formats.
FilterAlgorithm
filter vs direct-form filterIIR biquad.
HumNoiseRemoval
LowPassKind
LP filter family (FilterType.LPF).
Med64Error
MultiBurstMethod
Multi-channel burst detection series (BurstMultiDetectionMethod).
OversampleMode
Wire combooversample: None | Linear 1/2 | Linear 1/64 | Spline 1/2 | Spline 1/64.
PaceRhythmMode
PaceSource
PdmTimestampCsvStyle
Row formatting for PDM Detector timestamp CSV.
PdmTimestampMode
PdmTimestampVariant
PsdReduce
RecordingFormat
Detected on-disk recording format.
RecordingLayout
Hardware / software layout profile for channel mapping and export.
SampleUnit
Value representation for pipeline output.
ShihyouBins
Wire comboshihyou palette levels: 5 / 10 / 20 (0 = off).
SingleChannelBurstChartImageFormat
ChartImageFormat — default emf.
SingleChannelBurstChartType
Chart kind used by SC Burst UI / exporters.
SingleStatType
SpectrumBackend
FFT backend for Welch-averaged periodograms.
SpectrumWindow
SpikeDirection
SpikePolarity
Which polarity crossings to keep (Toolkit combomethod).
StatKind
ThresholdCalcRange
Window used for automatic threshold calculation (Toolkit comboduration).
ThresholdMethod
Threshold calculation method (ThresholdType).
VoltageChartFormat
VoltageFilterType
ExportSetting filtertype: 0 raw / 1 filtered / 2 downsampled.
VoltageHdrStyle
.hdr layout: modat includes Session Start; dat omits it.
WellPlate
PRESTO-style well plates (channellist).
Writer
Unified writer enum for conversion targets.

Constants§

FILE_HEADER_BYTES
Fixed-size file header for standard MED64 .modat recordings.
NUM_CHANNELS
UNDEFINED_INDEX
SpikeInfo.UndefinedIndex (-1): spike still reading at EOF.

Traits§

SampleSink
Sink trait for streaming sample export.

Functions§

accelerate_dot
Dot product via vDSP_dotprD when available, else a manual loop.
accelerate_fft_inplace
In-place radix-2 complex FFT. On macOS+accelerate uses vDSP; otherwise delegates to the Welch Cooley–Tukey path.
activation_from_spikes
activation_map
First-spike activation map relative to the earliest electrode in a wave.
active_channel_map_bytes
Bytes required for active-channel map (standard vs PRESTO).
amplitude_histogram
amplitude_rank_report
Rank spikes by absolute amplitude (SpikeAmplitudeFreq / amplitude histogram companion).
analysis_channels
Channels used for spike/burst analysis given layout profile.
analysis_options_from
Build AnalysisOptions from Toolkit spike-detector settings.
analyze
Collect diagnostics by streaming blocks (does not load full file).
analyze_ltp
Measure EPSP rising-slope and population-spike amplitude per segment.
analyze_pacing
Detect paced responses: stim markers / artifact / synthetic + capture + delay map + PETH.
analyze_paid
analyze_path
apply_dose_edits
Apply label / spike_count overrides: (index, optional_label, optional_spike_count).
apply_hum_filter
Notch / harmonic removal in the frequency domain (HamFilter.cutoffHamFrq). Averages adjacent bins at each harmonic rather than zeroing a band.
apply_to_all_cluster
apply_to_all_minus_thresh
apply_to_all_on_off
apply_to_all_plus_thresh
attach_waveforms
Attach pre/post peak waveform snippets in millivolts.
average_spike_waveforms
Mean waveform per channel (and optionally direction), aligned at peak index center.
burst_onset_correlogram
Burst-onset time cross-correlogram (BOTCC) across all channel pairs, summed.
calc_moving_average
AnalysisUtils.calcMovingAverage: NaN margins of width W; center uses [i-W, i+W].
calc_thresholds
Compute per-channel spike thresholds in millivolts.
channel_label
Map logical channel index to well/electrode label for export.
chart_file
Convenience: diagnostics + HTML in one call.
cluster_spikes
k-means on spike peak (± duration) features.
color_bin
Port of AverageBinPresto.kurai / kurai5 / kurai20. Returns palette short (0…N+2). Missing / sentinel −1 → 2.
compare_burst_result_tables
Build a multi-file result table from already-computed per-file tables.
compute_burst_result_table
Build the 13-row result table for one analysis.
compute_csd
2-D discrete Laplacian CSD on the electrode grid (second spatial derivative).
compute_stat_results
Per-channel summary (legacy companion to the result table).
compute_threshold_table
conduction_series
conduction_series_from_spikes
Split spikes into N time bins and compute one delay map per bin.
connection_map
Build an NxN connection map from spike trains (Connection Map).
continuous_wavelet
Morlet CWT power spectrogram (WaveletAnalysis style).
convert
Convert between supported MED64 formats.
create_multi_stat_map
Nested Mean_Mean … CV_CV over per-channel value lists.
create_single_stat_map
Sample SD (Welford / n-1) + mean/median/CV matching reference StatValueMap.
default_connectivity_prefs_path
default_fast_backend
Prefer Accelerate on macOS when the feature is on; otherwise Welch.
detect_beats
Detect field-potential beats and field-potential duration (FPD).
detect_beta_oscillations
Detect slow oscillations: filter → optional rectify → SD/median threshold → bursts.
detect_layout
Detect layout from header metadata and optional file magic.
detect_multi_channel_bursts
Network-wide burst detection (MultiChannelBurstService).
detect_single_channel_bursts
Max-interval burst detection matching SingleChannelBurstService.detectPerChannel.
detect_spikes
Detect spikes in one channel waveform (millivolts).
detect_spikes_f32
Float32 sample path (same algorithm as detect_spikes).
discover_data_files
Discover .modat and .moflo files under a directory tree.
discrete_wavelet
Haar discrete wavelet transform (DWT / wavelet discrete path).
encode_bgr_emf
Encode BGR24 pixels into EMF bytes.
execute_fft
Port of Fft.executeFFT working in-place on (re, im). When inverse is true, twiddle imag uses -sin and results are divided by N (matching the reference output-copy path); callers typically use forward only.
extended_header_bytes
Extended header size hint for non-standard layouts (from Med64FileReader).
extract_waveforms
Build waveform series from a recording window.
fft_inplace
In-place radix-2 Cooley–Tukey FFT.
filter_spikes
first_selected_channel
Parse first selected channel from comma 0/1 flags (0-based) or textChannelSele (1-based).
format_spike_csv_row
gap_histogram_from_report
Build gap histogram of consecutive within-channel ISIs (Timestampcount style).
import_spike_csv
Load spikes from a med64 spike-timestamp CSV.
import_spike_timestamps_hdf5
Import spike timestamps from SIS HDF5 / /med64 sidecar (feature hdf5).
is_med64_data_file
is_modat_file
is_moflo_file
is_presto_file
PRESTO files may embed a magic token after the standard 123-byte header region.
is_waveform_file
True when path looks like a waveform recording the apps can open.
is_waveform_recording
isi_histogram
load_analysis_log_dir
Load a previously saved log directory.
load_batch_export_prefs
Load batch_export_prefs.properties.
load_beat_prefs
load_beta_prefs
load_burst_data_json
Load burst.json written by save_analysis_log_dir.
load_connectivity_properties
load_default_connectivity_prefs
Load prefs from dir/conf_connectivity_pref.properties.
load_fft_settings_properties
load_last_path_prefs
Load last path from a properties file (textfile1 key).
load_multi_channel_burst_chart_prefs
Load MCB chart prefs (+ optional batch-export keys) from a properties file.
load_paid_prefs
load_project
load_propagation_prefs
load_propagation_spike_detector_threshold
Thin wrapper: conf_propagationspikedetector_Threshold.properties → threshold loader.
load_psa_chart_prefs
Load conf_powerspectrumanalysis_pref.properties.
load_settings_table_csv
load_single_channel_burst_export_prefs
Load Single Channel Burst export prefs.
load_spectrum_prefs
load_spike_detector_prefs
load_spike_detector_prefs_pair
Merge setting + export property files (later keys win).
load_stage_properties
Load height / width / setX / setY from a stage properties file.
load_threshold_properties
Load Toolkit conf_spikedetector_Threshold.properties.
load_voltage_chart_export_prefs
Load Toolkit-style key=value export properties.
load_voltage_chart_path_prefs
load_wave_stack
Load one channel across multiple .modat files (or traces) into a stack.
multi_bandpass
Filter one channel into several simultaneous bandpass bands (bandpass99).
multi_channel_burst_profile
Average ASDR windows aligned to each multi-channel burst onset or peak.
open
Open a .modat recording (alias for Recording::open).
open_recording
Open a .modat recording (alias for Recording::open).
open_recording_any
Open a .modat / .dat / .dax / .modax recording.
open_with_layout
Open a recording with layout detection.
pacing_from_spikes
paid_from_spikes
pdm_detect
Stage 1: spike detection only (PDM Detector).
pdm_timestamp_data_header
Timestampoutput column header (single line after metadata rows).
percent_change_from_first
% change from baseline (#1): 100 * first / current (100 for #1 itself).
peri_event_histogram
Build a peri-event histogram from spikes and event times.
pipe
Pipe samples from one recording into a writer sink.
poincare_isi
Consecutive inter-spike-interval return map with SD1/SD2 descriptors.
power_spectrum
Welch-style averaged power spectrum for one channel.
prepare_native_log_restore
Validate a native log directory and return restore instructions.
propagation_delay_map
First-spike latency map relative to a reference electrode.
propagation_from_spikes
raster_time_histogram
read_native_analysis_log
Read a native log directory (extensionless JSON + ts+*.csv).
reference_fft_inplace
psa99.Fft.executeFFT (forward) — bit-reversal + stages with theta starting at π, halved each stage; wr=cos(theta), wi=+sin(theta).
render_html
Render a self-contained interactive HTML report (Chart.js).
resolve_pace_times
run_analysis
Full burst-analysis pipeline on a .modat / .modax recording.
run_analysis_from_spikes
Continue analysis from an imported spike train (skip waveform filters).
run_analysis_on_recording
Run analysis on an already-open recording (avoids a second file open + sniff).
run_analysis_with_progress
Like run_analysis, invoking on_progress after each block and at stage changes.
run_connectivity_package
run_dose_series
Run analysis on every .modat in a directory (e.g. sample data6 CAP series).
run_dose_series_report
run_fbo
Run FBO-style activation analysis and optionally write SIS HDF5 + filtered .modat.
run_fbo_filtering_batch
Run FBO filtering/export over many .modat / .modax / .dat inputs. Continues on per-file errors and writes batch_manifest.json under out_dir.
run_four_well_asdr
run_pdm_detector
Detect spikes for PDM Detector (stage 1).
run_pdm_detector_package
run_result_table_compare
Analyze each path and assemble the multi-file result table.
run_spike_detector
Run the full spike detector pipeline on a recording.
run_spike_frequency
Run Toolkit-style spike detect then summarize rates over each time range.
run_spike_well_freq
run_voltage_chart_package
run_workflow
Execute compute nodes from a .moflo workflow (filter → spike → burst → export).
save_analysis_log_dir
Save a burst analysis-compatible log directory: spike_time_stamp.csv, single_ch_burst.csv, burst.json, results.csv, config.json.
save_project
spectrogram
Short-time Fourier transform spectrogram.
spike_autocorrelogram
Per-channel spike autocorrelograms within ±max_lag_ms.
spike_connectivity
Pairwise spike-time lag histograms and coincidence indices.
spike_heatmap
Channel spike-count heatmap on an electrode grid (spike-detector style).
spike_posthoc
Amplitude vs duration scatter, mean waveforms, and raster time histogram.
spike_raster
Flatten a spike train into raster plot points.
spike_timestamp_csv_header
Legacy one-line header kept for older tooling; prefer crate::write_spike_timestamps_csv.
stim_events_from_recording
Extract stimulation event times from block markers (loop/step changes).
synchrony_index
Pairwise synchrony: fraction of bursts on A with an onset on B within synchrony_ms.
upsample_delay_grid
Upsample a rectangular delay field (row-major, missing = NaN).
voltage_colormap
Spatial voltage / RMS amplitude map for one (or first) data block.
voltage_stft_colormap
Time-varying voltage color map from STFT band power (colormap + STFTExecutor).
write_amplitude_rank_csv
write_analysis_bundle
Write the full burst-analysis CSV bundle into dir.
write_analysis_moflo
Build a minimal replay → filter → spike-extract workflow.
write_asdr_csv
write_autocorr_csv
write_average_waveforms_csv
write_batch_export_prefs
Write batch_export_prefs.properties.
write_beat_csv
Write beat events CSV (depolarization_ms, amplitude, optional FPD/ISI).
write_beat_fpd_isi_csv
Beats with explicit fpd_ms and isi_ms columns (FPD/ISI package).
write_beat_html
Simple HTML dashboard: rate, mean FPD/ISI, FPD vs ISI scatter, timeline.
write_beat_package
Write the full Beat/FPD package under out_dir.
write_beat_prefs
write_beta_create_image
CreateImage-style package: events CSV, beta HTML timeline, optional envelope SVG.
write_beta_package
Write CreateImage package plus optional filtered/raw waveform exports.
write_beta_prefs
write_bgr_emf
Write a 24-bit BGR image as a true EMF (embedded DIB).
write_bgr_png
Write a top-down BGR image as an RGB PNG.
write_burst4well_html
Burst4well-style HTML: 2×2 ASDR charts with burst overlays (headless export).
write_burst_batch_package
Burst Detector batch-export package using crate::BatchExportPrefs naming.
write_burst_batch_package_with_chart
write_burst_detector_bundle
Burst Detector–style export package (summary / individual / ASDR / raster).
write_burst_detector_bundle_with_options
Burst Detector export with selectable members + batch_prefs.json.
write_burst_profile_csv
write_chart_snapshots
Write CreateImage-style snapshots: polished SVG/EPS + BMP/PNG for ASDR, BOTCC (correlation), and a spike raster.
write_cluster_package
Write clustering package: clusters.csv, centroids.csv, cluster_scatter.html.
write_conduction_html
Playable conduction frames (JS slider).
write_connection_map_csv
write_connection_map_html
write_connection_map_matrix_csv
write_connection_map_package
Write connection map outputs according to ConnectionMapOptions flags.
write_connectivity_properties
write_create_image_package
Alias for CreateImage dialog tabs: chart snapshots plus legacy tab names.
write_create_image_package_with_options
Create Image package with explicit include/format options.
write_dose_csv
Write dose-series summary CSV.
write_dose_html
Write dose-response HTML chart (Chart.js).
write_dose_interactive_html
Interactive editable dose table (contenteditable + client-side % change + CSV export).
write_examples_gallery
Run short analyses on sample data and write an HTML gallery plus companion exports.
write_fft_settings_properties
write_filtered_f32_binary
Little-endian f32 millivolts, sample-major then channel (BinaryexportDouble float sibling).
write_filtered_i16_binary
Little-endian i16 ADC counts, sample-major then channel (BinaryexportShort).
write_filtered_interleaved_csv
write_filtered_mobius_modat
Re-export filtered millivolt traces as a .modat can open (FBO mobiusexport).
write_filtered_raw_csv
write_filtered_waveforms
Write i16/f32 binaries, interleaved CSV, and optional .modat.
write_four_well_asdr_package
write_frequency_csv
write_gap_histogram_csv
write_heatmap_png
Heatmap PNG: values length rows * cols, mapped blue→red.
write_html_report
Analyze, chart, and write HTML report to disk.
write_intra_burst_csv
write_last_path_prefs
Write a minimal properties file containing only the textfile1 path key.
write_modax_wrapper
Write a minimal .modax-style file: XML preamble + .modat payload.
write_modax_wrapper_with_meta
write_multi_bandpass_csv
write_multi_burst_csv
write_multi_channel_burst_chart_prefs
Write MCB chart prefs (+ nested batch-export keys).
write_native_analysis_log
Write a log I/O-compatible log folder (root, single-pass defaults).
write_native_analysis_log_with_options
Write a native log with well nesting and/or multi-trace ts+N splitting.
write_oversample_csv
write_pacing_chchart_html
8×8 grid of mini beat/latency sparkline charts for all 64 channels.
write_pacing_delay_map_html
Delay heatmap HTML (CanvasDelaymap substitute).
write_pacing_package
Write pacing package: paces CSV, FPD, chchart, per-channel FPD/ISI.
write_paid_csv
write_paid_prefs
write_pdm_timestamp_csv
Write PDM Detector CSV matching Timestampoutput layout.
write_pdm_timestamp_package
Write Timestampoutput-style package (all and/or each).
write_png_snapshot
Raster PNG snapshot of ASDR (CreateImage PNG).
write_propagation_csv
write_propagation_html
Delay heatmap + reference info + mean velocity.
write_propagation_prefs
write_psa_chart_prefs
Write conf_powerspectrumanalysis_pref.properties.
write_raster_csv
write_raster_histogram_csv
write_result_table_compare_csv
Multi-file result table with % change from #1 columns.
write_result_table_csv
result-table clipboard layout (Metrics / Value type / Raw value).
write_result_table_csv_with_options
Result table CSV with ChannelCriteria / StatTypeUnits aggregation options.
write_result_table_interactive_html
Interactive MultiFileResultTable HTML (contenteditable % change).
write_rgb_png
Write a top-down packed RGB PNG (w * h * 3 bytes).
write_scatter_csv
write_settings_table_csv
ThresholdtableController CSV: channelNo,onoff,plusthresh,minusthresh,cluster.
write_single_burst_csv
write_single_channel_burst_export_package
Write Single-Channel Burst export package from prefs.
write_single_channel_burst_export_prefs
Write Single Channel Burst export prefs.
write_spectrum_prefs
write_spike_detector_bundle
Write the spike detector export package + HTML dashboard.
write_spike_detector_create_image
Capture-image style package: settings CSV + 64ch / 16ch rate PNG + mean-wave CSV.
write_spike_detector_panel_html
write_spike_detector_prefs
write_spike_detector_result_table_html
write_spike_frequency_package
write_spike_hdf5
Write spike detector / FBO–style SIS HDF5 layout using hdf5-no-c.
write_spike_timestamps_csv
write_spike_timestamps_csv_from_train
Write spike timestamp CSV for an arbitrary SpikeTrain subset (e.g. one trace).
write_spike_timestamps_hdf5
write_spike_timestamps_plus_waveforms_csv
Spike timestamps plus waveform samples (SpikeTimeStampPlusSpikes).
write_spike_well_freq_package
write_stage_properties
Write stage window properties.
write_stat_results_csv
write_svg_snapshot
Minimal SVG snapshot of ASDR for burst-analysis image export.
write_synthetic_well384
Write a minimal PRESTO-format .modat with synthetic spike-like waveforms.
write_synthetic_well384_modax
Write a 384-ch .modax fixture: synthetic .modat payload + XML preamble.
write_threshold_properties
Write a Toolkit-compatible threshold properties file.
write_voltage_binary
Write a simple binary double dump (BinaryexportDouble-style): little-endian f64 per cell.
write_voltage_chart_export_prefs
write_voltage_chart_package
write_voltage_chart_path_prefs
write_voltage_create_image
CreateImage-style package: voltage_map.png + optional STFT HTML + downsample note.
write_voltage_frame_png
write_voltage_panel_html
Interactive Prefer HTML: colormap lo/hi + log toggle over an existing map/STFT.
write_voltage_stft_html
write_wavelet_create_image
CreateImage-style package: scalogram HTML, bands CSV, summary text.
write_wavelet_package
Write CreateImage package plus optional filtered/raw waveform exports.
write_wavestack_html

Type Aliases§

ConnectivityExportOptions
Alias for export preference fields on ConnectionMapOptions.
Result
WaveformViewerPathPrefs
Alias matching the Waveform Viewer conf name.