Complete API#
Reference to the complete Syncopy API
syncopy Package#
- syncopy.startup_print_once(message, force=False)[source]#
Print message once: do not spam message n times during all n worker imports.
Functions#
|
(Re-)define trials of a Syncopy data object |
|
Create a new Syncopy object from a selection |
|
Show (partial) contents of Syncopy object |
|
Create a copy of the entire Syncopy object data on disk |
|
This function allows you to adjust the time axis of your data, i.e. to change from stimulus-locked to response-locked. |
|
Concatenate two Syncopy data objects trial-by-trial along dim axis. |
|
Imports raw time-series data from Field Trip into potentially multiple |
|
Imports TDT time series data and meta-information into a single |
|
Read contents of NWB files |
|
Delete old files in temporary Syncopy folder |
|
Clear Syncopy objects from memory |
|
Load Syncopy data object(s) from disk |
|
Save Syncopy data object to disk |
|
Convert raw spy.AnalogData (single-trial data) to an MNE Python RawArray. |
|
Convert MNE python mne.io.RawArray to spy.AnalogData (single-trial data). |
|
Convert Syncopy timelocked data to MNE Python mne.EpochsArray. |
Convert MNE EpochsArray to time-locked Syncopy AnalogData instance. |
|
|
Parse input arguments of obj and return dictionary |
|
Perform (time-)frequency analysis of Syncopy |
|
Perform connectivity analysis of Syncopy |
|
Peristimulus time histogram |
|
Average, variance and covariance for |
|
Calculates the average along arbitrary dimensions of a Syncopy data object |
|
Calculates the standard deviation along arbitrary dimensions of a Syncopy data object |
|
Calculates the variance along arbitrary dimensions of a Syncopy data object |
|
Calculates the median along arbitrary dimensions of a Syncopy data object |
|
Calculates the inter trial coherence for a SpectralData spec_data object, the input spectrum needs to be complex. |
|
Plot Syncopy data in a single panel |
|
Plot Syncopy data in multiple panels |
|
Preprocessing of time continuous raw data with IIR and FIR filters |
|
Performs resampling or downsampling of |
Classes#
|
Multi-channel, uniformly-sampled, analog (real float) data |
|
Multi-channel, real or complex spectral data |
|
Multi-channel real or complex spectral connectivity data |
|
Multi-channel, uniformly-sampled, time-locked data. |
|
Spike times of multi- and/or single units |
|
Timestamps and integer codes of experimental events |
|
|
|
Child-class of dict for emulating MATLAB structs |
Class Inheritance Diagram#

syncopy.synthdata Package#
Functions#
|
Simulation of a network of coupled AR(2) processes |
|
Helper function to tune spectral peak of AR(2) process |
|
Decorator to wrap around a single trial (nSamples x nChannels shaped np.ndarray) synthetic data function. |
|
A harmonic with frequency freq. |
|
A linear trend on all channels from 0 to y_max in nSamples. |
|
Create a random adjacency matrix for the network of AR(2) processes where entry |
|
Linear (harmonic) phase evolution plus a Brownian noise term inducing phase diffusion around the deterministic phase velocity (angular frequency). |
|
Poisson (Shot-)noise generator |
|
Uncoupled multi-channel AR(1) process realizations. |
|
Parse scalars |
|
Get a signature object for the passed callable. |
|
Decorator that unwraps cfg "structure" in metafunction call |
|
Plain white noise with unity standard deviation. |