-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sleepscoremaster run on interval set instead of continuous time #38
Comments
Are you talking about using the intervalSet class? You can just save those in a .mat file, so you don't need to modify LoadBinary.m |
No, we've stayed away from TStoolbox with this repo. intervals would be an Nx2 matrix of intervals that can be given as in input to SleepScoreMaster and LoadBinary |
Ok, that's too bad. I wish you guys would reconsider before you commit to
repeating the mistakes of FMAtoolbox, but I don't have time now to
contribute in a meaningful way myself.
On Mon, May 8, 2017 at 5:44 PM David Tingley ***@***.***> wrote:
No, we've stayed away from TStoolbox with this repo. intervals would be an
Nx2 matrix of intervals that can be given as in input to SleepScoreMaster
and LoadBinary
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE3LJYsj_F8lc-dtkMXhzSLcLS7YYObIks5r34zSgaJpZM4NUhg0>
.
--
Sent from my iPhone
|
similarly, this will allow us to Ignore Behavior epochs during state scoring |
From email chain with @rhuszar (how do we add an assignee?): @brendonw1 In this function there is already something called “badtimes” Maybe you can take that concept and expand it. That’d let you generate histsandthreshs without bad data in them thereby making the right cutoff thresholds. Then once you have that you’d need to separately decide how to actually score the bad times. In this case i assume they should all be called wake. But I’d not hard code them as wake all the time. I’m thinking you could assign them all state 0 (unscored) or can let the user specify the state to assign to those unused times. I’m imagining you’d give badtimes or some similar name as an input to sleepscoremster. You can also have an input called something like “defaultscoreforbadtimes”. The final issue is if/how to carry forward the badtimes for if you re-score the file using the window that comes up when you press “a” (auto) in TheStateEditor. I’d think you can store badtimes in the main states.mat and then whenever ClusterStates_DetermineStates is called it checks for those times after applying the histsandthreshes and overwrites the badtimes with the default state - whether it’s called the before TheStateEditor (ie from SleepScoreMaster) or from inside TheStateEditor. @dlevenstein I think scoretime and badtimes are both old options that you’ll have to make sure still work as intended, but if we’re lucky it will just be a matter of carrying through the right times. |
Thanks for transcribing/copy-pasting |
This way we could remove 'noisy' segments of recording that often mess up the scoring results...
To do this, we'll probably need to add functionality to LoadBinary.m as well, to load interval sets
The text was updated successfully, but these errors were encountered: