neurodsp.sim.combined.sim_combined_peak

neurodsp.sim.combined.sim_combined_peak(n_seconds, fs, components)[source]

Simulate a combined signal with an aperiodic component and a peak.

Parameters:
n_secondsfloat

Simulation time, in seconds.

fsfloat

Sampling rate of simulated signal, in Hz.

componentsdict

A dictionary of simulation functions to run, with their desired parameters.

Returns:
sig1d array

Simulated combined peak signal.