sangheekim

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • in reply to: Some questions about setting up an eyetracking experiment #10885
    sangheekim
    Participant

    Hi Jeremy,

    Thanks again for your response. I’ll try again with your suggestions!

    Speaking of the version for the controllers, is there a way to do version control? For example, I see the calibration processes for version 2.1 (the first code I attached) and version 2.0 (the second code I attached) are different, and I would like to have these processes consistent across experiments. Is there a way to do this? Where can I find the version number in my script? And if I want to specify the version that I’m using, how can I do that?

    Best,
    Sanghee

    in reply to: Some questions about setting up an eyetracking experiment #10876
    sangheekim
    Participant

    Hi Jeremy,

    Thanks for your help!

    Re your response to question 4: did you mean to include just that line before the Selector element? I think I’m getting a syntax error. I replaced call() with run().

    Also, I’m trying to change this code in a way that, in the initial calibration stage, the participants get 3 chances for calibration (with threshold 60), and when they do not pass the first two calibration processes, they get a message to readjust themselves, and when they finally fail to pass the final calibration step, they get a message that they cannot participate. Then the second component I’d like to include is the between-the-trial-calibration stage, where before each trial, we check whether the score is above 50, and if not, they are directed to the initial calibration process, where they have a threshold of 50 and again given 3 chances for calibration. Similar to the initial calibration stage, when they do not pass the first two calibration processes, they get a message to readjust themselves. When they finally fail to pass the final calibration step, they get a message that they cannot participate, but this time with a confirmation code they can enter on Prolific.

    So basically I’d like to set the initial calibration stage as 60, and the intermediate ones as 50, and give 3 chances to re-calibrate. But people who fail to pass the initial calibration stage cannot participate, but those who pass the initial round of calibration process but fail to pass the threshold during the trials do get a confirmation code.

    Here is a demo link I have: https://farm.pcibex.net/r/poplCg/

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    Thanks for your response.

    I had a follow-up question on your previous reply on understanding the columns of the eyetracking data. The reply you gave me is copy pasted here: “The columns starting with _ are named after the elements you added to the EyeTracker element, and report 0 or 1, depending on whether the (X,Y) coordinates that were estimated by the tracker fell within the boundaries of the corresponding element at that time point.”

    I was curious to know where the “boundaries of the corresponding element” is defined.

    The size of the image in my experiment is set up as 20vh*20vh, and I have a code in the main.js file that defines the canvas size of the visual stimuli:

    newCanvas("TopLeft", "50vw", "50vh")
        .add("center at 50%", "middle at 50%", newImage(images[0])) // retrieve the first image from the shuffled array
        .print("center at 25%", "middle at 25%")
        .log()

    Does this mean that if the participant’s eye gaze falls within the boundary of within the left 50% of the width of the screen and 50% of the height of the screen, the data will be marked as 1 for TopLeft column?

    Does the image not matter in this case?

    Thank you so much!

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    Just a very quick follow-up question in addition to my previous post —

    I’m having trouble getting the Latin square design with the current Sequence. I have four conditions for each item for ‘target’ trials and two conditions for each item for ‘filler’ trials. Somehow each participant is getting only one condition out of four in the target trials throughout the whole trial and only some of the items in the filler trials. Could you help me locate the issue? Thank you!

    Here is the demo link: https://farm.pcibex.net/r/kNBfaC/

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    I had a few questions regarding some setup.

    1. Calibration
    I see in the documentation that regarding the calibration process (related to this code, newEyeTracker("tracker").calibrate(70)), it says that “if fewer than 70% of the estimated looks fall on the button during the 3s fixation time-window” (https://doc.pcibex.net/eyetracker/eyetracker-calibrate/).

    Is the current setup that the size of a single dot that the eye gaze has to fall into? If so, can we know how large the dot is? I wasn’t sure if the dot I see is relative to each participant’s screen size or not.

    I’m trying to use a visual world paradigm, where there are four pictures on each quadrant. I’m curious if calibration process is done only on the size of the dot. Or can the calibration be done as large as the image that I’m using (“20vh”, “20vh”), and the coordinates that the four images are located?

    Also, when it says, “if fewer than 70% of the estimated looks fall on the button during the 3s fixation time-window,” does this mean that the calculation for the calibration starts right after the beginning of the appearance of the dot until it disappears (i.e., 3 seconds)?

    Finally, (I may have missed this information from the documentation) what is the default value for calibrate()?

    2. Sampling rate
    Could I know what the sampling rate for the implemented eyetracker function?

    Thank you!

    Best,
    Sanghee

    • This reply was modified 1 year, 1 month ago by sangheekim.
    sangheekim
    Participant

    Hi Jeremy,

    Thank you for the detailed explanation, this is really helpful!

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    I’m working on analyzing the eye-tracking data, and I was wondering if I can know the notation in the data file. I see the results are divided by the following categories: trial,times,_BottomLeft,_Ys,_BottomRight,_TopRight,_Xs,_TopLeft. Can I know what information each category contains?

    In particular, I’m trying to merge the results file with the eyetracking result data, and I’m having difficulty finding what corresponds to the ‘trial’ in the eyetracking results data in the pcibex results file.

    Thank you!

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    Thanks so much for this, it works!! I realized I was visiting the script in an incorrect way. Thank you for your patience and assistance!

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    I’m not quite sure if the files are still compressed or not, but I see that the characters inside the file seem corrupted and unreadable. One of the files I downloaded looks like this: https://www.dropbox.com/s/q8jxduug5rxga7d/840b47d0-c7e2-5d6a-bcdb-e0084731f25f?dl=0

    Currently, I have the php file in folder A, and once I collect data, a new folder (folder B — named as ‘httpsfarmpcibexnet’+’UNIQUE_KEY’) is created under folder A, and results from each participant are generated under folder B. The link I shared above is the single file of a result from a single participant. (This was a test trial that I ran and so the result data won’t be so long.)

    Did I put the php file in the wrong directory?

    Thank you again,

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    Thanks so much, these work!!

    As a follow-up — the data results seem to be successfully uploaded to my server, but they are somehow corrupted/unreadable (and are not in a csv format). Would you mind helping me with troubleshooting this issue? Thank you once again! Here is the demo link: https://farm.pcibex.net/r/gpKGCm/

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    Perfect, it works now!

    If I may, I had a couple of follow-up questions regarding php. I’m reading this document about php (https://doc.pcibex.net/how-to-guides/collecting-eyetracking-data/) and I had a question about the placeholder for the URL. Do I insert the Experiment’s URL right after the colon in the php file? (like in the section below?)

        <div>
            <form method='get' action="">
                Experiment's URL: <input type="text" name="experiment"><br>
                <input type="submit" value="Submit">
            </form>
        </div>
    

    Once I change the URL above and upload the php file to the server, does this mean that I should expect a newly created folder/file that contains the data results in the server folder? Or is it the case that I should only be able to retrieve the data results only when I use this code?

    
    ETURL = "http://files.lab.florianschwarz.net/ibexfiles/RecordingsFromIbex/EyeTracker.php?experiment="
    

    And I’m assuming I should replace this ETURL with the Experiment’s URL I’m using?

    Thanks so so much for your help in advance! Here is the demo link: https://farm.pcibex.net/r/gpKGCm/

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    Thanks so much! I no longer have the error message.

    Other issues I am encountering though are that somehow the trial “PracticeSession” is not loaded even though it’s in the sequence. And the images aren’t loaded — I am using a server to upload the images and I can download the .zip file with the URL — and it’s unclear to me why. Could you help me identify where the issue is coming from? Here is the demo link: https://farm.pcibex.net/r/gpKGCm/

    Best,
    Sanghee

    sangheekim
    Participant

    Hi Jeremy,

    Thanks for your help! I’ll try out with the code you suggested!

    Best,
    Sanghee

Viewing 13 posts - 1 through 13 (of 13 total)