Skip to content
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

Deceptive comment in wfdb2mat output #9

Open
bemoody opened this issue Nov 6, 2014 · 0 comments
Open

Deceptive comment in wfdb2mat output #9

bemoody opened this issue Nov 6, 2014 · 0 comments

Comments

@bemoody
Copy link
Owner

bemoody commented Nov 6, 2014

wfdb2mat adds info strings along the lines of

#Creator: wfdb2mat
#Source: record 12063/  Start: [11:04:21.104]

The "start time", however, is deceptive: it's actually just the base time of the output record, as returned by mstimstr(0). (This, of course, makes no sense: the base time is recorded at the start of the header file, there's no need to put it in an info string.)

What would make sense - and what I'm sure was the original intention - would be for the comment to record the starting time relative to the original input record (i.e., the "-f" argument to wfdb2mat.) This is not equivalent to the base time of the new record if there is no base time, or if there's no base date and the new record begins after the first day of the original record.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant