Howdy, Stranger!

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

Supported by

PyGaze Tobii problems, Titta implementation

Hi there,

I found OpenSesame with PyGaze has lots of temporal noise and missing samples with the Tobii eye trackers.

Diederick Niehorster helped me trace the bug and we also had contact with Edwin regarding this issue. We found libtobii to write the current system time at the time of writing the log file instead of the timestamp that is included in the sample of the eye tracker. This explains the high temporal noise. Additionally, it seems Python also has serious problems with multiprocessing and multithreading so lots of samples are lost. 

I am now trying to implement Titta through inline scripts in an OpenSesame experiment.

Titta writes the correct timestamp but also uses a C++ wrapper TittaPy to stabilize the writing of samples to minimize the chance of lost samples. See: https://github.com/marcus-nystrom/Titta

I described the problem at PyGaze:

https://github.com/esdalmaijer/PyGaze/issues/173


I got Titta working in the inline scripts with only problem. The calibration dots are smaller and located more to the center. I found that Titta its calibration screen is created with psychopy with 'degree' as unit so it needs the screen distance and monitor dimensions. I am trying to get these monitor properties injected into OpenSesame by doing:


# %% Monitor/geometry
var.MY_MONITOR = 'testMonitor'
var.SCREEN_RES = [1920, 1080]
var.SCREEN_WIDTH = 52.7  # cm
var.VIEWING_DIST = 63    # distance from eye to center of screen (cm)

var.mon = monitors.Monitor(var.MY_MONITOR) # Defined in defaults file
var.mon.setWidth(var.SCREEN_WIDTH)         # Width of screen (cm)
var.mon.setDistance(var.VIEWING_DIST)      # Distance eye / monitor (cm)
var.mon.setSizePix(var.SCREEN_RES)


But I think this only creates a new monitor and does not change and apply it to the current monitor settings.

Is there a way to change and apply these values for the monitor created and used by OpenSesame?

Best,

Bob

Comments

  • Finally found it, you can just change the settings in ~/.psychopy3/monitors/testMonitor.json or create a new monitor there.

    Now it works correctly!

  • I finished a Titta Eye Tracking plugin for OpenSesame. The latest version is in accordance with the new OpenSesame 4 plugin API. The plugin is also available for OpenSesame 3, this version is located in the 'legacy' branch. I tested it on Debian 12 (Bookworm) with the X3-120, Fusion and Spectrum.


    https://github.com/dev-jam/opensesame-plugin-titta_eyetracking


    Note: at the moment, the calibration item crashes in Windows because it wants to save the calibration images and data to a location where it has no write permissions. I am working on getting control over the location of these files. A workaround can be to calibrate with the Tobii Eye tracker manager and then omit calibration within OpenSesame. I have not tested this yet.


    Titta is now independent of the psychopy monitor settings and the distance to screen. Calibration dots are drawn based on pixels (instead of visual angle) so no need to adjust testMonitor.json anymore.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games