We are interested in exploring the raw accelerometry data (p90001) from physical activity measurements. This data exists inside 'Bulk' folder within our project as files with '.cwa' file extension. How can we open these '.cwa' files in UK-RAP platform?
Great tip @Anastazie Sedlakova?, thanks! It worked on my end.
I went ahead and also to have it installed directly in interactive JupyterLab session, I was able to install all the prerequisities from JupyterLab Terminal:
1) updated Python to >3.6 via "conda upgrade python"
2) installed Java via the following commands --> "apt update", "apt upgrade", "apt install default-jre"
3) installed accelerometer package via "pip install accelerometer"
Comments
2 comments
I would suggest to install accelerometer package using pip in ttyd.
Great tip @Anastazie Sedlakova?, thanks! It worked on my end.
I went ahead and also to have it installed directly in interactive JupyterLab session, I was able to install all the prerequisities from JupyterLab Terminal:
1) updated Python to >3.6 via "conda upgrade python"
2) installed Java via the following commands --> "apt update", "apt upgrade", "apt install default-jre"
3) installed accelerometer package via "pip install accelerometer"
Installation can be tested by running:
wget -P data/ http://gas.ndph.ox.ac.uk/aidend/accModels/sample.cwa.gz # download a sample file
accProcess data/sample.cwa.gz
accPlot data/sample-timeSeries.csv.gz
https://biobankaccanalysis.readthedocs.io/en/latest/index.html
Please sign in to leave a comment.