Skip to main content

A library for processing and analyzing actigraphic data.

Project description

ADA – Actigraphic Data Analyzer

ADA stands for Actigraphic Data Analyzer, coincidentally being also the name of the first programmer in the world. It is an open source Python module for processing, analyzing and visualizing actigraphic data, with the main focus on bedtime sleep/wake classification and circadian rhythms analysis. ADA is usable in form of a python package, and in form of standalone application with graphical interface (GUI).

Installation

Python 3.11 or higher is required. To install the Python package use pip:

pip install acti-data-analyzer

GUI version of ADA can installed and run on any system as a Python script, best within a venv. To do use following commands:

pip install 'acti-data-analyzer[gui]'
python -m ada_gui

Main features

  • Reading and writing data from:
    • GENEActiv .bin and .csv files
    • Actigraph Corp .gt3x and .csv files
    • The MESA dataset.
  • Converting data to native .ada format (much more efficient in terms of disk space and reading speed).
  • Multiple algorithms allowing collapsing into epochs:
    • MIMS
    • ActivityIndex
    • ENMO
    • Resampling
  • Sleep/wake scoring using multiple algorithms:
    • Cole-Kripke
    • Webster
    • Scripps Clinic
    • UCSD
    • Sazonov
    • Unified Filter, with possibility of custom filter construction.
  • Estimating multiple sleep metrics:
    • Sleep efficiency
    • Sleep fragmentation index
    • Sleep onset latency
    • Wake after sleep onset
    • And more.
  • Assessing circadian rhythms:
    • Single and multi-component cosinor in linear and nonlinear variants
    • Sigmoidally-transformed cosinor
    • Spectrum estimator using autoregressive model
    • Detrended Fluctuation Analysis
    • Nonparametric measures: Interdaily Stability, Intradaily Variability, M10, L5.
  • Easy to read and analyze summaries of sleep/wake and circadian assessments for multiple subjects (in a form of comma-separated CSV).
  • Automatic and customizable synchronization of actigraphic data with PSG staging.
  • Plotting of all analysis steps.

Documentation

Full documentation together with tutorial providing basic insight into functionalities of ADA as a Python package can be found under the link.

Example data

Sample dataset, consisting of 87 weekly recordings of healthy subjects, can be found under the link. Do not hesitate to test the package capabilities using this data!

Acknowledgments

pygt3x source code included in ADA is developed under the GPL-3.0 license by the Actigraph team. The original repository can be found under the link.

Funding

Study financed from the state budget within the program of the Polish Minister of Education and Science under the name ”Perły Nauki”, project number PN/01/0111/2022, funding value 239 998.00 zł, total value 239 998.00 zł

Project details


Download files

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

Source Distribution

acti_data_analyzer-1.0.3.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

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

acti_data_analyzer-1.0.3-py3-none-any.whl (5.4 MB view details)

Uploaded Python 3

File details

Details for the file acti_data_analyzer-1.0.3.tar.gz.

File metadata

  • Download URL: acti_data_analyzer-1.0.3.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for acti_data_analyzer-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ab8cda18726d1bcd9ca27a53d24b391de37c4d2991909fe6a79fba378cb2129d
MD5 212b341b767a0a019c661f2b8943c8e5
BLAKE2b-256 543c09f5ccc178fdd4cf2f624dcdeb7e1cac0ce4501baa35d5d7ec5ceba0ed32

See more details on using hashes here.

File details

Details for the file acti_data_analyzer-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for acti_data_analyzer-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a29035acd523ac8a33e5795da0e50643073f405878ed3464a178d6cf8f344e30
MD5 755c92a6b57ee6fef13e2eaf29f9aa76
BLAKE2b-256 4744e57611b11b6c14cc9b07bfbdf3b850189d900ddbe9c11bd17ccc70c9c5d1

See more details on using hashes here.

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