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

FMRI Stop Signal #43

Closed
5 of 6 tasks
nqthqn opened this issue Jun 3, 2017 · 18 comments
Closed
5 of 6 tasks

FMRI Stop Signal #43

nqthqn opened this issue Jun 3, 2017 · 18 comments
Assignees

Comments

@nqthqn
Copy link
Owner

nqthqn commented Jun 3, 2017

Respect new field user.jitter.

  • add statically seeded randomized 3 - 7 second inter-trial jitter
  • store jitter=true in gsession
  • change key responses for stop signal (spacebar -> 0) NOT '
  • trigger start on ' (scanner emits this keyboard events at start of scan, and continually pulses)
  • add fmri checkbox to admin for each user (PUT /user with jitter=true)
  • staff side button to start game.
@nqthqn
Copy link
Owner Author

nqthqn commented Jun 6, 2017

@abadi199 Could I get an ETA on this, please?

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 7, 2017

@abadi199

My apologies, there's been a spec change as of this mornings meeting.

The game will need to reside on the admin side and the staff member will need to input a valid username which will determine the correct ugimages to preload.

@abadi199
Copy link
Collaborator

abadi199 commented Jun 8, 2017

@nqthqn I'm still a bit confused by this jitter. When you said 3-7 second inter-trial jitter, do you mean total rest period will be between 3-7 seconds, or 500ms + jitter?

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 8, 2017

The former. Total rest period will be between 3-7 seconds. The order randomization for trial and jitter should be based on the same see.

So, all participants, in the scanner will see the same order of trials and have the same order of inter-trial jitter.

example

first run:
pic1/blue, 3sec, pic2/gray, 4sec, pic3/blue, 5sec, pic4/blue, 7sec...

second run:
pic1/blue, 3sec, pic2/gray, 4sec, pic3/blue, 5sec, pic4/blue, 7sec...

Make sense?

@abadi199
Copy link
Collaborator

abadi199 commented Jun 8, 2017

Yup. Thanks

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 8, 2017

And, do you understand the new twist? Instead of Stop Signal with a jitter setting, it's a separate Stop Signal that only staff can administer to the participants while they are in the FMRI.

@abadi199
Copy link
Collaborator

abadi199 commented Jun 9, 2017

I think I understand the requirement. I'm just not sure how the UI should look like, e.g. for the login form, where in admin page should the button be, etc.
Do you think you can create a simple mockup for this?

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 9, 2017

@abadi199

screen shot 2017-06-09 at 4 43 08 pm

then after clicking "start" the whole page would be the game, which needs to be triggered by '.

@abadi199
Copy link
Collaborator

Two things:

  • do we need to ask for the user's password on the user dialog? if not, can we just implement the button inside of the user row? that way, we can avoid having the need for the username dialog.
  • we're going to need a new backend api for submitting fmri gcycles data since we need to include the userId data.

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 11, 2017

Gsession Has user I'd and entering username is a requirement. It ensures the game is getting played by the correct participant - so if the username does not exist then it will not play the game

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 11, 2017

No need to enter password. Basically the fmri person is in as staff then starts the stop signal game on behalf of the participant who is in the machine

@abadi199
Copy link
Collaborator

abadi199 commented Jun 11, 2017

More questions:

  • I also need to load the user's filler, valid, and invalid images and then preload them, correct?
  • If yes, wouldn't that make the game unique per user, e.g: each user will see different sets of images based on their profile? would it make sense to set ugimgset for admin, and when in fmri, we'll always use the admin's ugimgset?

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 11, 2017

For now, fetch and preload the users image set - I think the important thing that aligned was the timings. I emailed Sonja for clarification.

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 12, 2017

Could we do a call tonight?

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 12, 2017

@abadi199 ^

@abadi199
Copy link
Collaborator

Yes, 11pm central time?

@nqthqn
Copy link
Owner Author

nqthqn commented Jun 12, 2017

@abadi199 CONFIRMED 💃 💯 😄 Think you'll be able to rush this feature for tomorrows testing?

@abadi199 abadi199 mentioned this issue Jun 13, 2017
Merged
@nqthqn
Copy link
Owner Author

nqthqn commented Jun 13, 2017

@abadi199 The mechanics of this in relation to the fMRI scanner worked. We did discover incorrect game play behavior: #52

@nqthqn nqthqn closed this as completed Jun 13, 2017
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