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

Signals clone method #292

Open
k1o0 opened this issue Mar 12, 2020 · 0 comments
Open

Signals clone method #292

k1o0 opened this issue Mar 12, 2020 · 0 comments
Labels
enhancement signals relating to signals experiments and code

Comments

@k1o0
Copy link
Contributor

k1o0 commented Mar 12, 2020

Is your feature request related to a problem? Please describe.
A method for cloning signals, namely visual signals. If we can't think of a reason to clone normal signals then this should be made a method of Subscriptable signals only. A couple of users have mentioned wanting this.

Describe the solution you'd like
A way to create a number of visual stimuli at once, using a single stimulus as a template:

stimulusLeft = vis.grating(t);
stimulusLeft.altitude = 10;

[stimulusRight, stimulusMiddle] = stimulusLeft.clone();

[stimulusLeft, stimulusRight, stimulusMiddle] = deal(-90, 0, 90);

Additional context
Bonus points for creating these during an experiment. This would probably be impractical though...

@k1o0 k1o0 added enhancement signals relating to signals experiments and code labels Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement signals relating to signals experiments and code
Projects
None yet
Development

No branches or pull requests

1 participant