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

Setting waveform/mode on Magventure? #20

Open
colecitrenbaum opened this issue Nov 14, 2023 · 1 comment
Open

Setting waveform/mode on Magventure? #20

colecitrenbaum opened this issue Nov 14, 2023 · 1 comment

Comments

@colecitrenbaum
Copy link

colecitrenbaum commented Nov 14, 2023

Hi,
Love this repo, thank you!

I'm not sure if this is still under development. When I go to set the waveform to Biphasic Burst (for theta-burst protocol), I have to use the following (for Normal pulse direction, 3 bursts, 20 iPi, all stimuli at the same amplitude (BARatio=1):

mv.setWaveform('BiphasicBurst','00',3,20,1,1)
Where mv is my instance of the magventure class. Is this correct?

This is different from the comments, which say that 'Normal' should work for the second argument.

Most importantly, I'd like to be able to set it back to regular 'Biphasic' from 'BiphasicBurst', and am not sure what to do with the extraneous arguments (burstPulses, ipiValue, etc). I just want to set it to "default" Magventure Biphasic settings.

Thanks, and apologies if I missed this in the documentation. Please let me know if there's an easier way to do this that I'm missing. I think this has overlap with issue #15

Cole

@umair-hassan
Copy link
Collaborator

Hi Cole,

Thank you for pointing this out.

You are right, the current direction key value pair is not picked properly and instead of writing a string 'Normal' , one have to define '00'. We can fix this in the next release.

If you would set the mode to Biphasic, you will notice that the burstpulses, ipiValue , etc other fields are inactive (grayed out) i.e. ineffective, no matter what is set there. please let us know if this is not the case.

Thank you!
Umair

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

2 participants