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

Padding stimuli with zeros #411

Open
mbeyeler opened this issue Oct 14, 2021 · 0 comments
Open

Padding stimuli with zeros #411

mbeyeler opened this issue Oct 14, 2021 · 0 comments
Milestone

Comments

@mbeyeler
Copy link
Member

Electrical stimuli should have a pad method that pads the stimulus with zeros up to a specific stimulus duration. This is useful when building your own stimuli from elementary parts. For example, shifting a stimulus by 3 seconds will make the stimulus start at 3; the t=0 data point is missing, and the end of the stimulus is also shifted. Make it so it's easy to pad it to 10 seconds total.

@mbeyeler mbeyeler added this to the v0.8 milestone Oct 20, 2021
@mbeyeler mbeyeler modified the milestones: v0.8, v0.9 Mar 3, 2022
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