Avatar

Howdy, Stranger!

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

Supported by

Pascal

About

Username
Pascal
Joined
Visits
154
Last Active
Roles
Moderator
Thanked
10

Comments

  • I just moved the discussion to the mousetrap category.
  • Hi, I just checked installing the mousetrap development version via: import pip pip.main(['install', 'https://github.com/PascalKieslich/mousetrap-os/archive/master.zip']) I installed it in OpenSesame 3.2.5 under Windows 7. Everything worke…
  • Hi, this problem should not occur if you are using OpenSesame 3.2 together with the latest development version of the mousetrap plugin - as discussed here: https://github.com/pascalkieslich/mousetrap-os#installation You can install it via: …
  • Hi Mike, sorry for the delayed reply - I was on holiday and afterwards gave a workshop at a summer school (on mouse-tracking ). The MD and AOI classification functions are not included in the mousetrap package yet, as they still require a l…
  • I just checked this and the following script resets the cursor correctly in full screen mode: my_mouse = Mouse(visible=True) my_mouse.show_cursor(True) my_mouse.set_pos((300, 200)) button, (x, y), timestamp = my_mouse.get_click(visible=True)
  • Hi sollago, in this case the solution would be as you described, i.e., setting the duration of the sketchpad to 0, following with a mouse_response item making sure that the option Visible mouse cursor is selected. I am also using OpenSesame 3.2.4 …
  • Hi sollago, as this discussion is a general OpenSesame question, I have moved it to the OpenSesame category. To replicate your problem, it would be very helpful if you could report the OpenSesame version you are using, the backend and the oper…
  • Hi Mike, Regarding velocity (1): yes, it definitely is best to remap the trajectories beforehand (the example trajectories in mt_example are already remapped). Regarding velocity (2): that's a good point and unfortunately (in my view) there is…
  • Regarding two: I don't think this assumption is correct. I think the MD threshold of 0.9 is applied on the raw MD values calculated by MouseTracker. As MouseTracker transforms the original pixel values into its own metric (x values between -1 and…
  • Hi Mike, regarding one: yes, it is possible to do this in the mousetrap R package. Here are two examples: Example 1 that is close to the Freeman (2014) plots: # calculate signed velocity based on movements along x dimension mt_example &l…
  • Hi, that sounds weird indeed. Maybe just a remark from what I inferred from the screenshots you provided: you have set the logging resolution to an extremely small value (2 ms). I think this is unlikely to cause the problem but I would still sugg…
  • Hi Dirk, I would like to help with this problem, but I think that it would be easier to test if you could provide a demo version of the working experiment and a demo of the defective expriment (not just the slider code). Besides, have you tested bo…
  • Hi Lisa, you can also stay with the old version if you want to (if you use the new OpenSesame version, please be sure to install the latest development version of mousetrap). However, none of this should influence the ability to reset the mous…
  • Hi Lisa, hm, that's strange. Which OpenSesame version are you using? And does the screen resolution set in the experiment settings correspond to the resolution of the computer screen? Best, Pascal
  • Hi there, it should work under Windows as well. Which backend are you using? The mousetrap plugin should be used in combination with the xpyriment or legacy back-end. (it works in principle with the psychopy backend as well - with the notable ex…
  • Add on: In new versions of OpenSesame and mousetrap, you can now also use named elements to define buttons (see steps 2 and 3a in the mousetrap_response documentation). Currently this only supports rectangle elements on sketchpads (we will add suppo…
  • Hi there, am I assuming correctly that participants should click on one of the images to indicate their response? If so, one option is to use the mousetrap_response item to define clickable areas on a sketchpad, that is, a rectangular area aro…
  • Hi Vatsal, I updated both mousetrap items so they should now be fully compatible with OpenSesame 3.2. Regarding Q1: yes, the MT_response class supports any number of buttons. Regarding Q2: Yes, OpenSesame's form_base item can be used to bot…
  • Just to summarize: the issue discussed in this thread is not related to plugins. Besides, there are some (unrelated) additional issues in OpenSesame 3.2 with Python 3, for which we have opened GitHub issues: Plugin installation using pip does …
  • OK, that's good . So I guess that the * issue is a general issues in OpenSesame that probably is related to the other discussion in http://forum.cogsci.nl/index.php?p=/discussion/3829/workaround-for-crashes-when-running-experiments-in-opensesame…
  • Thanks for the detailed summary. I have made a few changes in the mousetrap plugin to ensure that the items should now also run with Python 3. This should basically resolve all problems marked with *** in your table. Could you try it out using the l…
  • @Eru_Iluvatar : I am not sure whether the installation of plugins in the Python 3 version has to do with the problem that is described above by @sebastiaan . I think these are different issues (see related discussion in the forum).
  • Thanks, @sebastiaan , for pointing this out. The issue in the Python 2 version seems to be covered in the discussion for which you shared the link. We are currently continuing the discussion regarding the specific problem of the mousetrap plug…
  • Thanks for pointing this out. I will look into this. Just to clarify: The installation of the mousetrap plugin and the mousetrap_form example experiment works fine if you use OpenSesame 3.2.1 with Python 2?
  • Hi Vatsal, I am currently traveling (until Sunday) so just a very short answer now (happy to anwer in detail later). If you want to design you stimulus display via a sketchpad/canvas, you can combine the sketchpad/canvas with a mousetrap_respo…
  • Hi Vatsal, hi Sebastiaan, really cool that OS 3.2 is released! I am currently working on an update of the mousetrap plugin that will use the new functionalities so you can define buttons in the mousetrap_response plugin just by using the nam…
  • By default, mt_measures calculates the measures using the raw trajectories, e.g., in the following code: mt_example <- mt_measures(mt_example) You can also compute the measures based on the time-normalized trajectories: mt_example <- mt_m…
  • Regarding the plots of average velocity: The warning ("Trajectories differ in the number of logs. Aggregate trajectory data may be incorrect.") occurs, because you are plotting the average trajectories that contain a different number of recorded …
  • Regarding the order of functions: The order of running * first mt_derivatives and mt_deviations * then mt_average and mt_measures makes sense. Basically, mt_measures will return additional measures like max velocity and acceleration …
  • Hi Mike, glad to hear that most of the questions were solved! Regarding question 3: I would definitely try to ensure that the plots of individual trajectories are accurate even when the aggregate plots look fine to prevent that problems wit da…