<commit_before>biobankAccelerometerAnalysis
======================

A tool to extract meaningful health information from large accelerometer
datasets e.g. how much time individuals spend in sleep, sedentary behaviour,
and physical activity.


<h2>Usage</h2>
To extract a summary of movement (average sample vector magnitude) and
(non)wear time from raw Axivity .CWA accelerometer files:

```
python ActivitySummary.py [input_file.CWA] [options]
python ActivitySummary.py sample.cwa
```

[Click here for a sample .CWA file.]
(http://users.fmrib.ox.ac.uk/~adoherty/sample.cwa)

The output will look like:
```
{
    "file-name": "sample.cwa", 
    "file-startTime": "2014-05-07 13:29:50", 
    "file-endTime": "2014-05-13 09:50:25", 
    "pa-overall-avg(mg)": "33.01", 
    "wearTime-overall(days)": "5.80", 
    "nonWearTime-overall(days)": "0.04"
}
```
[Click here for customised usage options on our wiki.]
(https://github.com/aidendoherty/biobankAcceleromerAnalysis/wiki/1. Usage)


<h2>Installation</h2>
Dependancies include: java and python (numpy and pandas).
```
javac *.java
```

[Click here for detailed information on installing this software on our wiki.]
(https://github.com/aidendoherty/biobankAcceleromerAnalysis/wiki/2. Installation)

<h2>Under the hood</h2>
We are using a combination of published methods to extract meaningful health
information from accelerometer data. [Click here for detailed information on the 
data processing methods on our wiki.]
(https://github.com/aidendoherty/biobankAccelerometerAnalysis/wiki/3.-Methods-Overview)

![Accelerometer data processing overview]
(http://users.fmrib.ox.ac.uk/~adoherty/accProcessingOverviewDec2014.png)


<h6>Licence</h6>
This project is released under a [BSD 2-Clause Licence](http://opensource.org/licenses/BSD-2-Clause) (see LICENCE file)<commit_msg>javac no longer needed<commit_after>biobankAccelerometerAnalysis
======================

A tool to extract meaningful health information from large accelerometer
datasets e.g. how much time individuals spend in sleep, sedentary behaviour,
and physical activity.


<h2>Usage</h2>
To extract a summary of movement (average sample vector magnitude) and
(non)wear time from raw Axivity .CWA accelerometer files:

```
python ActivitySummary.py [input_file.CWA] [options]
python ActivitySummary.py sample.cwa
```

[Click here for a sample .CWA file.]
(http://users.fmrib.ox.ac.uk/~adoherty/sample.cwa)

The output will look like:
```
{
    "file-name": "sample.cwa", 
    "file-startTime": "2014-05-07 13:29:50", 
    "file-endTime": "2014-05-13 09:50:25", 
    "pa-overall-avg(mg)": "33.01", 
    "wearTime-overall(days)": "5.80", 
    "nonWearTime-overall(days)": "0.04"
}
```
[Click here for customised usage options on our wiki.]
(https://github.com/aidendoherty/biobankAcceleromerAnalysis/wiki/1. Usage)


<h2>Installation</h2>
Dependancies include: java and python (numpy and pandas).

[Click here for detailed information on installing this software on our wiki.]
(https://github.com/aidendoherty/biobankAcceleromerAnalysis/wiki/2. Installation)

<h2>Under the hood</h2>
We are using a combination of published methods to extract meaningful health
information from accelerometer data. [Click here for detailed information on the 
data processing methods on our wiki.]
(https://github.com/aidendoherty/biobankAccelerometerAnalysis/wiki/3.-Methods-Overview)

![Accelerometer data processing overview]
(http://users.fmrib.ox.ac.uk/~adoherty/accProcessingOverviewDec2014.png)


<h6>Licence</h6>
This project is released under a [BSD 2-Clause Licence](http://opensource.org/licenses/BSD-2-Clause) (see LICENCE file)
{'fraction_non_alphanumeric': 0.13208585580627408, 'fraction_numerical': 0.03026967528893781, 'mean_word_length': 4.988467874794069, 'pattern_counts': {'":': 12, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1929565', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1130, 'n_words': 332}