DCANT Lab

Parametric Analysis of Temporal Structure (PATS) GitHub

PATS quantifies the strength of periodic oscillations embedded in duration data. The core idea is to:

  1. Construct a rhythmic cumulative distribution function (rCDF) by embedding periodic oscillations into the cumulative distribution function (CDF) that models the duration data.
  2. Estimate the additional variance explained by the rCDF compared to the CDF.
  3. Adjust the oscillation amplitude parameter of the rCDF to reflect its contribution to explaining variance in the data.

Due to its parametric approach, PATS remains effective even with small datasets. Figure 1 shows the results for 80 simulated response times with an embedded 8 Hz rhythm.

PATS results for 80 simulated response times
Fig. 1. PATS results for 80 simulated response times with an embedded 8 Hz rhythm. Left top: estimated amplitude across model frequencies, with the largest value at 8 Hz. Left bottom: the best-fit probability density function (PDF) and the 8 Hz rhythmic PDF, with the data. Right: deviations of each rCDF from the best-fit CDF, with those of the data (dots).

The PATS toolbox v2 is a rewritten MATLAB implementation of PATS. It provides preset underlying CDFs and a function for comparing them on the data, fits multiple datasets in one call, and plots the results. The original version remains available for reproducing the analyses reported in the following article, which describes PATS in detail:


Face Datasets GitHub

DCANT Face Datasets are not your typical collection of datasets. Instead, they consist of image processing pipelines that generate masked face images from regular face images. The current collection includes pipelines compatible with the Chicago Face Database and the Karolinska Directed Emotional Faces. Below, you can compare grayscale face images with their final masked versions (Fig. 2) generated by a sample pipeline provided in the GitHub repository.

Fig. 2. Grayscale face images and their final masked versions. The orignial face images were downloaded from Unsplah.

The datasets are used in the following article:


Random Stimulus Datasets GitHub

DCANT Random Stimulus Datasets are a collection of random shape and texture images and the code for generating them. The datasets are divided into two types: splash shapes and zebra blobs, with each type further categorized into two datasets—categorical and continuous. Splash shapes are simple silhouettes with contours defined by varying amplitudes at different radial frequencies. Zebra blobs are created using band-pass filtered white noise patterns that are windowed and saturated.

The categorical datasets consist of images sampled randomly from an object space, grouped into six subsets based on visual similarity. The continuous datasets feature images sampled continuously from a two-dimensional feature space. Sample images from the splash shape and zebra blob continuous datasets are shown in Figures 3 and 4.

Fig. 3. Splash shapes sampled from a two-dimensional feature space. The feature space is flexible and can be defined with random parameters.
Fig. 4. Zebra blobs sampled from a two-dimensional feature space. The feature space is flexible and can be defined with random parameters.

The datasets are used in the following article: