Skip to content

Conversation

@jshanna100
Copy link

This makes significant improvements to the assessment and display of eyelink synchronisations, as well as documentation of the parameters in the _config.py file.

@jshanna100 jshanna100 requested a review from behinger March 31, 2025 10:00
Copy link
Member

@behinger behinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice!

I just have very small comments. This is high quality :)

10-41-09-561_512

???+ example "Example"
```python
sync_heog_ch = "xpos_left" # use the xpos_left channel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sync_heog_ch = "xpos_left" # use the xpos_left channel
sync_heog_ch = "xpos_left" # use the xpos_left channel

does it need to be left or right? e.g. if you have binocular recordings but switch between subjects which eye is recorded (e.g. via dominant eye), this might be tricky to adjust. Is there a already combined signal (I dont remember, but rather no, - then we could just look which eye has data?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does need to be one channel. as far the code goes, it doesn't matter whether it's one eye or combined. should we consider building this combination capability in?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and i see now that in the example it should be "sync_et_ch" not "sync_heog_ch"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we discussed earlier using the metadata to automatically pick out out the xpos channel(s). the metadata do not seem to make any distinction between the xpos and ypos channels, unfortunately. this means some kind of keyword will have to be either specified or assumed e.g. "xpos" in our case.

also, shall we default to average of left and right eyes?

@behinger
Copy link
Member

looks good to me!

@jshanna100 jshanna100 merged commit be1d361 into s-ccs:temp_dev May 21, 2025
1 check passed
@jshanna100 jshanna100 deleted the eyelink branch May 21, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants