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

SSVEP Frequency functions #35

Open
JadinTredup opened this issue Jul 30, 2020 · 2 comments
Open

SSVEP Frequency functions #35

JadinTredup opened this issue Jul 30, 2020 · 2 comments

Comments

@JadinTredup
Copy link
Collaborator

I am testing the SSVEP stimulus presentation on the new branch and am getting some strange numbers for the frequencies. The problem seems to be due to the following line of code:

frame_rate = np.round(mywin.getActualFrameRate()) # Frame rate, in Hz

For some reason, on my laptop with a 60 Hz monitor, that value returns at above 2000, producing flickers that are way too fast for my monitor.

@JohnGriffiths
Copy link
Collaborator

It works ok for me.

I get

Flickering frequencies (Hz): [24.0, 16.0]

But in general I think it would be preferable to specify the flicker frequencies more explicitly (eg adding input arguments for desired frequencies), if poss.

This could be opportunity to do so.

@JadinTredup
Copy link
Collaborator Author

I just tried it on windows and it worked fine for me so it seems to be a problem in Linux. I tried hard-coding the flickering frequencies and it was still having timing issues so it appears to be a psychopy/linux problem. I will try to troubleshoot in their documentation.

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