theDebbister / multipleye-preprocessing

0 stars 0 forks source link

Map trial numbers to stimulus IDs #5

Open saeub opened 3 months ago

saeub commented 3 months ago

The ASC file only contains the trial number but not the stimulus ID. The order of stimuli appears to be stored in config/stimulus_order_versions_*.csv (but how do we know which participant got which version of the stimulus order?). In the sample-level CSVs, I think we should use the stimulus IDs rather than trial numbers, since these are more useful for downstream analysis.

For the practice trials, there doesn't seem to be a stimulus mapping -- I assume these always appear in the same order?

@theDebbister is there still a plan to integrate the stimulus ID directly into the ASC file, such that this mapping would be redundant?

theDebbister commented 3 months ago

I have changed the message in the asc file to contain the stimulus id and name and the trial number. It looks like this: start_recording_{flag}trial_{trial_nr}_stimulus_{stimulus_name}_{stimulus_id}_page_{page_number}

saeub commented 2 months ago

now implemented in quality report, but not in preprocessing notebook