peterhcharlton / info Goto Github PK
View Code? Open in Web Editor NEWTools for research
License: MIT License
Tools for research
License: MIT License
Hi, Dr.Charlton.
Thanks a lot for sharing your code, its really helps my study.
Somehow, I found some problem in the matlab scripts mentioned in the title.
Between the lines 454-463:
_
period_deb = rec_file_info.deb;
if ~isempty(onset_time)
period_deb = period_deb + datenum(onset_time, 'HH:MM:SS');
end
% - start time of relevant period for this subject
if ~isempty(offset_time)
period_fin = period_deb + datenum(offset_time, 'HH:MM:SS');
else
period_fin = inf;
end
_
" datenum(onset_time, 'HH:MM:SS')" may doesn't work well. Because its equals to ' 738157' in my case, so the recordings period always out of the range of the start and end time of annotation period.
And in the following codes, only the record-level AF annotation (af_status, lines 321) are used, the "in_period"(lines 470) may not be used.
Could " datenum(onset_time, 'HH:MM:SS')" be replaced with " period_deb =period_deb+datenum(onset_time, 'HH:MM:SS') - datenum('00:00:00', 'HH:MM:SS') ", and then replace "af_status" with "in_period"?
Thanks,
Luo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.