Skip to main content

Biomarkers of Critical Oscillations

Project description

crosci: biomarkers of Critical Oscillations

Collection of biomarkers for estimating criticality of neuronal oscillations:

  • detrended fluctuation analysis (DFA), as implemented in [1]
  • fE/I, a non-invasive estimate of E/I ratio [2]

The spectral ranges for computation of DFA and fE/I have been optimized in [3]

To reference, please cite the following papers:

  1. Hardstone, Richard, et al. "Detrended fluctuation analysis: a scale-free view on neuronal oscillations." Frontiers in physiology 3 (2012): 450.
  2. Bruining, Hilgo, et al. "Measurement of excitation-inhibition ratio in autism spectrum disorder using critical brain dynamics." Scientific reports 10.1 (2020): 9195.
  3. Diachenko, Marina, et al. "Functional excitation-inhibition ratio indicates near-critical oscillations across frequencies." Imaging Neuroscience 2 (2024): 1-17.

Running

The demo script (demo.py) exemplifies how DFA and fEI are computed for randomly generated data. You can use it as a starting point for your own data.

Building

We use uv and setuptools to build this package. As we also use Cyhton to improve performance you will need to have clang installed on your system

To build go into the source directory and do

uv build

This will both build a SDist and a wheel of the package for your machine.

Note

Crosci is also dependent on openmp, with is missing on modern MacOS clang version Apple ships. For the build to be succesfull you will need to install libomp as shown below:

brew install libomp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crosci-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl (811.4 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

File details

Details for the file crosci-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for crosci-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d98b3b39365085774e6416ae64450e9fd9ba84a107b160086bb1b5c4fef5daa4
MD5 82212a33b9140cc974a6377de76702e9
BLAKE2b-256 32f8d83c18247eb4ef08b2c04fc473400df88220ad752461eac2ebf04ecf88ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for crosci-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: publish.yml on Critical-Brain-Dynamics/crosci

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page