How to import Eye Calibration Variables in 0.9

meyert11's Avatar

meyert11

15 Jul, 2019 02:54 PM

Hi Chris,

I tried calibrating today, and we start by loading previous eye calibration variables as starting points, however in the new version of Mworks (0.9) the section is changed and I can only creat a new variable set, or load existing from server-side. There used to be an option in the Server side that said 'actions' and under it 'load variables', but I can't seem to find the correlate in the new version? Can you instruct how I can import these values into Mworks .9?

It looks like I'm starting with monkeyml version 1.1:
<?xml version="1.0"?>
params_Vparams_H

  1. Support Staff 1 Posted by Christopher Sta... on 15 Jul, 2019 05:30 PM

    Christopher Stawarz's Avatar

    Hi Travis,

    There used to be an option in the Server side that said 'actions'

    You mean the "Actions" menu in the MWServer application? That has been gone since MWorks 0.7.

    To make your saved-variables file accessible via MWClient's variable-set loading menu, you'll need to move it to the appropriate per-experiment directory on the machine running MWServer. Each experiment gets its own directory in $HOME/Documents/MWorks/Experiment Storage. For example, if I've loaded the experiment file /Users/cstawarz/exp.mwel, and I create a variable set called "my_vars", it will be stored in the file

    /Users/cstawarz/Documents/MWorks/Experiment Storage/_Users_cstawarz_exp.mwel/Saved Variables/my_vars.xml
    

    To get your existing variables XML file in the right place:

    1. Load your experiment.
    2. Use MWClient to create a new variable set. (This is just to ensure that the appropriate directory exists. You can remove this variable set when you're done.)
    3. Move the existing file in to $HOME/Documents/MWorks/Experiment Storage/[your experiment]/Saved Variables.

    Once this is done, you should be able to load the existing variable set via MWClient.

    Cheers,
    Chris

  2. 2 Posted by meyert11 on 16 Jul, 2019 03:37 PM

    meyert11's Avatar

    Chris,

    Thanks! I got it to import the values!

    - Next problem is that I can't see the monkey's eye trace in the eye .
    Nicole mentioned that sometimes it didn't default to a certain color, so I
    may have to imput this for the saccade movement. I see in the Options panel
    in the Eye Window that there is X, Y Saccade, should there be values there,
    or just selected colors? Each has their own color right now, X is black,
    saccade is blue. Long story short - are there further setup values for
    Mwork's Eye Window to display the monkey eye right out of the gate?

    T

  3. Support Staff 3 Posted by Christopher Sta... on 17 Jul, 2019 01:46 PM

    Christopher Stawarz's Avatar

    Hi Travis,

    I see in the Options panel in the Eye Window that there is X, Y Saccade, should there be values there, or just selected colors?

    You need to set those three fields to the names of the variables in which the eye coordinates and saccade state are stored. For example, in the RSVP demo experiment (/Library/Application Support/MWorks/Examples/RSVPDemo/RSVPDemo.mwel), those variables are eye_h, eye_v, and saccade.

    The colors are just there as a key to the various traces. Eventually, I'd like to make them configurable, but currently they're fixed.

    Cheers,
    Chris

  4. Christopher Stawarz closed this discussion on 19 Jul, 2019 08:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac