IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1009514.html
   My bibliography  Save this article

pyActigraphy: Open-source python package for actigraphy data visualization and analysis

Author

Listed:
  • Grégory Hammad
  • Mathilde Reyt
  • Nikita Beliy
  • Marion Baillet
  • Michele Deantoni
  • Alexia Lesoinne
  • Vincenzo Muto
  • Christina Schmidt

Abstract

Over the past 40 years, actigraphy has been used to study rest-activity patterns in circadian rhythm and sleep research. Furthermore, considering its simplicity of use, there is a growing interest in the analysis of large population-based samples, using actigraphy. Here, we introduce pyActigraphy, a comprehensive toolbox for data visualization and analysis including multiple sleep detection algorithms and rest-activity rhythm variables. This open-source python package implements methods to read multiple data formats, quantify various properties of rest-activity rhythms, visualize sleep agendas, automatically detect rest periods and perform more advanced signal processing analyses. The development of this package aims to pave the way towards the establishment of a comprehensive open-source software suite, supported by a community of both developers and researchers, that would provide all the necessary tools for in-depth and large scale actigraphy data analyses.Author summary: The possibility to continuously record locomotor movements using accelerometers (actigraphy) has allowed field studies of sleep and rest-activity patterns. It has also enabled large-scale data collections, opening new avenues for research. However, each brand of actigraph devices encodes recordings in its own format and closed-source proprietary softwares are typically used to read and analyse actigraphy data. In order to provide an alternative to these softwares, we developed a comprehensive open-source toolbox for actigraphy data analysis, pyActigraphy. It allows researchers to read actigraphy data from 7 different file formats and gives access to a variety of rest-activity rhythm variables, automatic sleep detection algorithms and more advanced signal processing techniques. Besides, in order to empower researchers and clinicians with respect to their analyses, we created a series of interactive tutorials that illustrate how to implement the key steps of typical actigraphy data analyses. As an open-source project, all kind of user’s contributions to our toolbox are welcome. As increasing evidence points to the predicting value of rest-activity patterns derived from actigraphy for brain integrity, we believe that the development of the pyActigraphy package will not only benefit the sleep and chronobiology research, but also the neuroscientific community at large.

Suggested Citation

  • Grégory Hammad & Mathilde Reyt & Nikita Beliy & Marion Baillet & Michele Deantoni & Alexia Lesoinne & Vincenzo Muto & Christina Schmidt, 2021. "pyActigraphy: Open-source python package for actigraphy data visualization and analysis," PLOS Computational Biology, Public Library of Science, vol. 17(10), pages 1-16, October.
  • Handle: RePEc:plo:pcbi00:1009514
    DOI: 10.1371/journal.pcbi.1009514
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009514
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1009514&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1009514?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Aiden Doherty & Dan Jackson & Nils Hammerla & Thomas Plötz & Patrick Olivier & Malcolm H Granat & Tom White & Vincent T van Hees & Michael I Trenell & Christoper G Owen & Stephen J Preece & Rob Gillio, 2017. "Large Scale Population Assessment of Physical Activity Using Wrist Worn Accelerometers: The UK Biobank Study," PLOS ONE, Public Library of Science, vol. 12(2), pages 1-14, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Clark, Stephen & Birkin, Mark & Lomax, Nik & Morris, Michelle, 2020. "Developing a whole systems obesity classification for the UK Biobank Cohort," OSF Preprints 7nqgd, Center for Open Science.
    2. Marta Karas & Jiawei Bai & Marcin Strączkiewicz & Jaroslaw Harezlak & Nancy W. Glynn & Tamara Harris & Vadim Zipunnikov & Ciprian Crainiceanu & Jacek K. Urbanek, 2019. "Accelerometry Data in Health Research: Challenges and Opportunities," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 11(2), pages 210-237, July.
    3. Xinyue Li & Hongyu Zhao, 2020. "Automated feature extraction from population wearable device data identified novel loci associated with sleep and circadian rhythms," PLOS Genetics, Public Library of Science, vol. 16(10), pages 1-22, October.
    4. Bernadette Nakabazzi & Lucy-Joy M Wachira & Adewale L Oyeyemi & Ronald Ssenyonga & Vincent O Onywera, 2020. "Prevalence and socio-demographic correlates of accelerometer measured physical activity levels of school-going children in Kampala city, Uganda," PLOS ONE, Public Library of Science, vol. 15(7), pages 1-18, July.
    5. Jin Luo & Raymond Y. W. Lee, 2022. "Opposing patterns in self-reported and measured physical activity levels in middle-aged adults," European Journal of Ageing, Springer, vol. 19(3), pages 567-573, September.
    6. Thomas G. Brooks & Nicholas F. Lahens & Gregory R. Grant & Yvette I. Sheline & Garret A. FitzGerald & Carsten Skarke, 2023. "Diurnal rhythms of wrist temperature are associated with future disease risk in the UK Biobank," Nature Communications, Nature, vol. 14(1), pages 1-10, December.
    7. Yunhe Wang & Binbin Su & Marta Alcalde-Herraiz & Nicola L. Barclay & Yaohua Tian & Chunxiao Li & Nicholas J. Wareham & Roger Paredes & Junqing Xie & Daniel Prieto-Alhambra, 2024. "Modifiable lifestyle factors and the risk of post-COVID-19 multisystem sequelae, hospitalization, and death," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    8. Pietro Luigi Invernizzi & Gabriele Signorini & Raffaele Scurati & Giovanni Michielon & Stefano Benedini & Andrea Bosio & Walter Staiano, 2022. "The UP150: A Multifactorial Environmental Intervention to Promote Employee Physical and Mental Well-Being," IJERPH, MDPI, vol. 19(3), pages 1-26, January.
    9. Esmonde, Katelyn & Roth, Stephen & Walker, Alexis, 2023. "A social and ethical framework for providing health information obtained from combining genetics and fitness tracking data," Technology in Society, Elsevier, vol. 74(C).
    10. Luiza Isnardi Cardoso Ricardo & Andrea Wendt & Leony Morgana Galliano & Werner de Andrade Muller & Gloria Izabel Niño Cruz & Fernando Wehrmeister & Soren Brage & Ulf Ekelund & Inácio Crochemore M. Sil, 2020. "Number of days required to estimate physical activity constructs objectively measured in different age groups: Findings from three Brazilian (Pelotas) population-based birth cohorts," PLOS ONE, Public Library of Science, vol. 15(1), pages 1-13, January.
    11. Pontin, Francesca & Lomax, Nik & Clarke, Graham & Morris, Michelle A., 2021. "Socio-demographic determinants of physical activity and app usage from smartphone data," Social Science & Medicine, Elsevier, vol. 284(C).
    12. Hongliang Feng & Lulu Yang & Yannis Yan Liang & Sizhi Ai & Yaping Liu & Yue Liu & Xinyi Jin & Binbin Lei & Jing Wang & Nana Zheng & Xinru Chen & Joey W. Y. Chan & Raymond Kim Wai Sum & Ngan Yin Chan &, 2023. "Associations of timing of physical activity with all-cause and cause-specific mortality in a prospective cohort study," Nature Communications, Nature, vol. 14(1), pages 1-10, December.
    13. Scott Duncan & Tom Stewart & Lisa Mackay & Jono Neville & Anantha Narayanan & Caroline Walker & Sarah Berry & Susan Morton, 2018. "Wear-Time Compliance with a Dual-Accelerometer System for Capturing 24-h Behavioural Profiles in Children and Adults," IJERPH, MDPI, vol. 15(7), pages 1-12, June.
    14. Leonie Heron & Mark A. Tully & Frank Kee & Ciaran O’Neill, 2023. "Inpatient care utilisation and expenditure associated with objective physical activity: econometric analysis of the UK Biobank," The European Journal of Health Economics, Springer;Deutsche Gesellschaft für Gesundheitsökonomie (DGGÖ), vol. 24(4), pages 489-497, June.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1009514. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.