.. accelerometer documentation master file, created by sphinx-quickstart on Tue Nov 27 12:48:46 2018. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. .. image:: accelerometerLogo.png A tool to extract meaningful health information from large accelerometer datasets. The software generates time-series and summary metrics useful for answering key questions such as how much time is spent in sleep, sedentary behaviour, or doing physical activity. ************ Installation ************ *Minimum requirements*: Python>=3.7, Java 8 (1.8) The following instructions make use of Anaconda to meet the minimum requirements: #. Download & install `Miniconda `__ (light-weight version of Anaconda). #. (Windows) Once installed, launch the **Anaconda Prompt**. #. Create a virtual environment:: $ conda create -n accelerometer python=3.9 openjdk pip This creates a virtual environment called :code:`accelerometer` with Python version 3.9, OpenJDK, and Pip. #. Activate the environment:: $ conda activate accelerometer You should now see ``(accelerometer)`` written in front of your prompt. #. Install :code:`accelerometer`:: $ pip install accelerometer You are all set! The next time that you want to use :code:`accelerometer`, open the Anaconda Prompt and activate the environment (step 4). If you see ``(accelerometer)`` in front of your prompt, you are ready to go! *************** Getting started *************** To extract a summary of movement (average sample vector magnitude) and (non)wear time from raw Axivity .CWA (or gzipped .cwa.gz) accelerometer files: .. code-block:: console $ accProcess data/sample.cwa.gz