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 module use pip:

pip install acti-data-analyzer

The GUI for Windows 10 and Windows 11 is availabe as a standalone executable from TODO WHERRE IT WILL BE??.

Alternatively, GUI can be run on any system as a Python script, best within a venv. To do so:

  • Download the run_gui.py file from this repository
  • Install ada with GUI using pip install acti-data-analyzer[gui]
  • Run the script from the terminal

Alternatively, one may use following commands in the terminal to avoid manual downloading of run_gui.py:

  • Install the GUI dependencies using pip install acti-data-analyzer[gui]
  • Activate python by typing python
  • Import the main using from ada_gui.gui import main
  • Activate GUI using main()

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
    • Cole-Kripke
  • 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.
  • Automatic and customizable synchronization of actigraphic data with PSG staging.
  • Plotting of all analysis steps.

Full documentation together with usage tutorial can be found under the link.

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.

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.1.tar.gz (270.0 kB 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.1-py3-none-any.whl (275.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acti_data_analyzer-1.0.1.tar.gz
  • Upload date:
  • Size: 270.0 kB
  • 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.1.tar.gz
Algorithm Hash digest
SHA256 94b25d8be0dd7e40c6281326c4b428904d08ffce596e031a1314848a71630528
MD5 d0ae069bffd65647f572084eca85ab60
BLAKE2b-256 a8046d0c669f9b7262b5d8ef4dce029dff64fbf0c70ce06b8ee96431cf3c2ded

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for acti_data_analyzer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58d50c1c8f518017945b839dd950cf0815a6e200a926795312aceee110e1fba3
MD5 dbf3f9d86fb12c2efbd04de4b2b10e4a
BLAKE2b-256 0fb0ba3370e523edfe12611ac6d037623bbe2b0e27bb7bfe18f842df802088bc

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