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

mexrdsamp to do list #134

Open
5 of 6 tasks
cx1111 opened this issue Nov 8, 2016 · 1 comment
Open
5 of 6 tasks

mexrdsamp to do list #134

cx1111 opened this issue Nov 8, 2016 · 1 comment

Comments

@cx1111
Copy link
Collaborator

cx1111 commented Nov 8, 2016

  • De-interleave the samples
  • Global variables are keeping their values between calls. Readjust accordingly.
  • Make sure gateway function and helpers can be appropriately called for all input combinations.
  • Add if condition to preallocate array when size is known beforehand.
  • Clear global variables declared in the wfdb library, not directly in rdsamp,after the rdsamp exit.
  • Compile for all platforms
@cx1111
Copy link
Collaborator Author

cx1111 commented Nov 9, 2016

I am trying to figure out the best way to solve the de-interleaving issue, as in arranging the samples in the correct order for the output matlab matrix. An inefficient solution is easy but we want to save as much computation as possible.

  1. If we don't know the signal length beforehand

*EDIT: Done. Dynamically allocate growing array. Copy over to another array to de-interleave. *

  1. If we do know the signal length beforehand.
  • Preallocate a double pointer and store the samples in the correct indices. Point the matlab matrix to it and reshape. Easy.

from and to default to 0 unless explicitly specified. strtim("e") gives 0 if missing or gives the signal length. freq gives the sampling frequency or defaults to 250.

@cx1111 cx1111 closed this as completed Nov 23, 2016
@cx1111 cx1111 reopened this Nov 23, 2016
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