Skip to contents

Signal and O-score

make_continuous_trace()
Make a continuous trace from event times
autocorr_centered()
Centered autocorrelation (unnormalized)
spectral_peak()
Find spectral peak within bounds
oscillation_score()
Oscillation Score for binary or continuous data
oscillation_score_surrogates()
Surrogate oscillation scores (shuffle or trend-preserving)

Workflow Wrappers

oscillation_score_z() oscore_z()
Oscillation score with surrogate log-Z
oscillation_score_config() oscillation_score_cfg()
Configuration-list wrapper for oscillation scores
oscillation_score_surrogates_config() oscillation_score_stats()
Configuration-list wrapper for surrogate O-scores
phase_at_events()
Extract narrowband phase at event times

Tidy Helpers

oscore_tidy()
Tidy summary of oscillation score results
oscore_spectrum()
Tidy spectrum from oscillation score or spectral peak output
clusters_tidy()
Tidy summary of detected clusters
clusters_pixels()
Tidy per-pixel cluster data

Phase and Hilbert

narrowband_hilbert()
Narrowband filtering and Hilbert transform

Circular Statistics

circ_mean()
Circular Mean Direction
circ_r()
Mean Resultant Vector Length
circ_rayleigh()
Rayleigh Test for Non-uniformity
circ_vtest()
V-test for Non-uniformity with Specified Mean Direction

PPC and Statistical Testing

pairwise_phase_consistency()
Pairwise Phase Consistency (1D)
u_score_matrix()
Mann-Whitney U Z-score per element vs. reference repeats
paired_tscore()
Paired t-score along a dimension
nonparam_pval()
Non-parametric p-values vs reference
fdr_bh()
FDR Correction (Benjamini-Hochberg)

Clustering

extract_clusters()
Connected component labeling for thresholded data
detect_clusters()
Detect clusters with optional splitting

Grouped Data Preparation

align_time_bins()
Align observed times to a target bin grid
residualize_trials()
Residualize trial-wise responses against nuisance terms
aggregate_by_bin()
Aggregate trial values into regularized bins

Grouped Analysis

group_spectrum()
Grouped spectrum for binned subject-level series
group_spectrum_test()
Grouped spectrum with resampled null testing
group_tfr()
Grouped time-frequency map via narrowband Hilbert decomposition
group_tfr_test()
Grouped time-frequency map with resampled null testing
group_phase_consistency()
Grouped phase consistency over bins
group_phase_difference()
Grouped phase difference over bins

Plotting

plot_spectrum()
Plot spectrum
plot_phase_hist()
Plot phase histogram
plot_simplebox()
Simple Box Plot by Group
plot_cluster_heatmap()
Plot Cluster Heatmap

I/O

read_mat()
Load MATLAB .mat files (wrapper)
open_hdf5()
Load HDF5 files (wrapper)