feat: enable adding custom units of analysis (aois) - #147
Draft
theDebbister wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The MultiplEYE image generation generates aoi files automatically when generating the stimulus images which will be shown during the experiment. Per default, character-based aois are generated as well as white-space delimited word aois. For languages where white-space delimited words do not make sense (e.g., Chinese), there is the possibility to add manually defined aois. This PR integrates adding those custom aois. More specifically, the following features / changes are made:
wordcolumn in the aoi files (and all word related columns, e.g.,word_idx) --> intounit_of_analysis. This is to not restrict the primary aoi to be a "word" but it can also be a morpheme etc. This is implemented for all languages, no matter if they have custom aoiswordcolumn --> useunits_of_analysisunit_of_analysis(white-space delimited chars) is renamed intosecondary_unit_of_analysis. The manually created custom aois are merged with the original aoi files in the columnunit_of_analysis--> custom aois are by default used for scanpath mapping and reading measures if available!custom_units_of_analysisin the data folder on SwitchDrive. The file format should follow the standard aoi file format.