Comments (5)
This study also shows the dynamic M variables in action - https://pubmed.ncbi.nlm.nih.gov/31288983/
from pyactigraphy.
Dear @roryos1
Thank you for the feedback. Always appreciated.
Indeed, there is no way to specify the stop time directly (I don't recall why I did not include that possibility from the start...). However, if you know your start time, then it becomes easy to specify a stop time as period=stop-start.
However, I'll include that possibility in the list of changes for next minor release.
A side remark: having a start/stop file is really handy and can be shared along with the data. It is also easier to maintain, modify and store centrally and give access to others working on the same data for example. So I strongly encourage people to use it.
Concerning the MX variables, if I understand correctly what I have read in the reference you provide (and the ref therein, Rowlands et al., 2019), these variables are slightly different from the traditional L5/M10.
L5/M10: average activity counts (or equivalently the average hourly mouvement duration, for binarised data) for the uninterrupted least/most active 5h/10h-period (https://journals.sagepub.com/doi/pdf/10.1177/074873049701200206)
MXacc: magnitude of acceleration above which X most active minutes are accumulated. But if I understand correctly, there is no continuity requirement about these most active minutes.
These variables are anyway interesting but we need to find a new name, in order to avoid the confusion...
from pyactigraphy.
Dear @ghammad,
Thank you for your prompt response.
Sorry yes, the MX variables and traditional L5/M10 variables are calculated differently. I believe both continuous/accumulated variables are informative, and definitely provide more specific data about an individual's activity profile when <10 hours. Does this seem like a good idea to you? Not strictly related to circadian rhythm but possibly a good way to diversify the package to measure activity profiles throughout the day.
from pyactigraphy.
Dear @roryos1
Indeed, these metrics would be a valuable addition to the package.
I see two ways to proceed further now;
- if you can, you can code the variables and submit a PR
- I code them for the next release but I cannot promise anything about the timescale...
The choice depends on your agenda.
Anyway, thanks for bringing these variables to my attention and good luck with your analysis.
from pyactigraphy.
Dear @ghammad,
I believe you are much better suited to coding these variables than me, do not worry about the timescale. I have a couple of other questions about the package which I'll put into a new thread (to keep the focus of this thread).
from pyactigraphy.
Related Issues (20)
- Sleep bout detection with the Roenneberg algo
- Analysis of sleep diary and physical activity with pyActigraphy (MotionWatch 8) HOT 7
- Implementation of the Light Regularity Index in the pyLight submodule
- .mtn error HOT 3
- Visualization of Actigraphy data HOT 1
- Add support for different model of Actiwatch-L HOT 1
- Read actilife data HOT 2
- Sleep diary file format bug HOT 5
- Define Threshold as Parameter in create_inactivity_mask() HOT 1
- How Can You Read Actiwatch Spectrum Plus CSV Files? HOT 5
- Support different file encodings for RPX files
- Add support for RPX files in Italian language
- The package installation does not work in anaconda/spyder HOT 5
- Add basic sleep parameters HOT 1
- For Empatica E4 HOT 4
- Error - UnboundLocalError: local variable 'uuid' referenced before assignment HOT 2
- Pyactigrpahy native actigrpahy data CWA file HOT 1
- Package not supported for Python 3.11 or newer HOT 1
- .IS and _interdaily_stability possibly giving different results with resampling
- ActivityReport function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyactigraphy.