pymovements icon indicating copy to clipboard operation
pymovements copied to clipboard

parse metadata in utils.parsing.parse_eyelink

Open dkrako opened this issue 9 months ago • 1 comments

Description of the problem

The header of an asc file has a lot of metadata which we can parse.

Description of a solution

Instead of just returning a dataframe, the function then should return a tuple of a dataframe and a dictionary with parsed info

Minimum acceptance criteria

  • [x] parsing recording datetime
  • [x] parse eye tracker model and version
  • [x] parse tracker mount info
  • [x] parse display resolution
  • [x] get pupil size data type
  • [x] parse sampling rate
  • [x] parse filter setting
  • [ ] parse TRACKING
  • [ ] parse CR
  • [ ] parse VEL
  • [ ] parse RES
  • [ ] parse HTARG
  • [ ] parse INPUT
  • [ ] parse BUTTONS
  • [ ] parse LEFT
  • [ ] parse RIGHT
  • [ ] infer if monocular

Context

the eyelink_parser from eyelinker is a good reference for implementation: https://github.com/cran/eyelinker/blob/master/R/eyelink_parser.R

https://cran.r-project.org/web/packages/eyelinker/vignettes/format.html

dkrako avatar Sep 07 '23 13:09 dkrako