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

Trim/cut/resize operations on trial #73

Open
Alzathar opened this issue Feb 25, 2017 · 0 comments
Open

Trim/cut/resize operations on trial #73

Alzathar opened this issue Feb 25, 2017 · 0 comments
Milestone

Comments

@Alzathar
Copy link
Member

In BTK, a btk::Acquisition has the possibility to resize it number of samples from the beginning and the end. We can do the same for a ma::Trial object.

In fact, we can do more as proposed on the forum: How to properly cut/resize/trim a trial?

  • ma::processing::trim(): remove all the samples at the beginning and the end of trial where reconstructed time sequences has residual < 0
  • ma::processing::cut(): split the trial into several ones
  • ma::processing::resize(): set the number of frame for each time sequence in a trial (starting from the begging or the end of the data)
@Alzathar Alzathar added this to the 0.7 milestone Feb 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant