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

[ENH] ImageStimulus.apply needs to be able to overwrite electrodes #500

Open
mbeyeler opened this issue Jun 29, 2022 · 0 comments
Open

[ENH] ImageStimulus.apply needs to be able to overwrite electrodes #500

mbeyeler opened this issue Jun 29, 2022 · 0 comments
Milestone

Comments

@mbeyeler
Copy link
Member

mbeyeler commented Jun 29, 2022

Passing a function to ImageStimulus.apply that changes the image resolution will currently break, because the new stimulus is supposed to have the same number of electrodes. Instead, add another keyword arguments that overwrites self.electrodes if given (similar to ImageStimulus.rgb2gray and others).

A pessimist might see this as a bug ("can't pass skimage.transform.resize to ImageStimulus.apply")...

@mbeyeler mbeyeler added this to the v0.9 milestone Jun 29, 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