Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

ariannaf

About

Username
ariannaf
Joined
Visits
19
Last Active
Roles
Member

Comments

  • I thank you for your precious suggestion and material. Yours faithfully, Arianna
  • Global name 'expyriment' is not defined
  • I've just sent it!
  • Could I send it to you by e-mail?
  • stimuli.TextScreen("Instructions", """In the experiment, pictures showing two hands are presented to you. You should imitate the configurations with your fingers.\n\n Please note:\n * Each trial is always introduced by neut…
  • blankscreen.present() posNr = 0 lastPosture = -1 exp.keyboard.clear() while not correct_number: if lastPosture != -1 and exp.keyboard.check() is not None: correctRT = -1 break exp.keyboard.cl…
  • if trial.get_factor("fingers") == 0: pic = stimuli.Picture("mask.JPG") prime = trial.get_factor("digit") else: pic = stimuli.Picture("{}fingers_{}_{}small.JPG".forma…
  • -- coding: cp1252 -- import Leap, cv2, math, ctypes, sys, thread, time, ctypes, os from expyriment import misc, design, control, stimuli, io import numpy as np control.set_develop_mode(False) design exp = design.Experiment(name="PostureProd…
  • I apologize, since I don't menage to attach the file I have to copy and paste the script.
  • yes all of them, I tried to delete each of them and the errors passed to the second line. Now I attach the whole script
  • prime_on_pic = pic.copy()prime.plot(prime_on_pic)mask_on_pic = pic.copy()mask.plot(mask_on_pic) these lines give me "invalid syntax" error
  • it keeps on giving me the following error message: prime.plot(prime_on_pic) AttributeError: 'int' has no attribute 'plot'" NOTE I used pic instead of target
  • SOA = trial.get_factor("t_SOA") if trial.get_factor("fingers") == 0: pic = stimuli.Picture("mask.JPG") prime = trial.get_factor("digit") else: pic = stimuli.Picture("{}finge…
  • "#"= forward mask lasting 49 (now 50 ms) "1" = digit meaning the prime lasting 83 ms "#" = backward mask lasting 49 (now 50 ms) picture of two hands = target stimulus on the screen with SOA = 50 the digit should appear…
  • (Image)
  • "prime" is a digit ranging from 1 to 10 should I use another code (e.g., overlapping)?
  • I receive an error message telling me that "prime" object has no attribute plot
  • Thank you for all your clear teachings! I''ve just implemented the modifications you suggested on my script. Since the prime is a digit and not a picture, what can I use in place of "plot"?
  • I understood the point of our misunderstanding: by "stimuli" I meant the single items that make up a trial (mask, prime, mask and target) not the screens displayed. Now I explain you more in detail: With SOA=50 1° blank screen with mask …
  • What now I see with SOA= 50 is that when the mask replaces the prime, the result is a flickering stimulation. If I cut the following lines: pic.present(clear=True) mask.present(clear=True) I see that the prime appears as last event in place of the …
  • Dear prof. Krause, thank you for your fast answer and help! The refresh rate is 60 Hz. My script doesn't work with both SOA = 50 and SOA = 0 Maybe due to the fact that in those case, with respect to the SOA= 100, the mask should appear in place of…