carrien / free-speech

Analysis and plotting code for speech neuroimaging experiments.
MIT License
4 stars 5 forks source link

add switch for ost_stat and ost_calc in calc_vowelMeans #24

Closed cwnaber closed 3 years ago

cwnaber commented 3 years ago

Added a switch in calc_vowelMeans which will use data.ost_calc (i.e., user-specified OST values) if it's available. If that field doesn't exist or is empty for that trial, the function will use the old method of data.ost_stat (i.e., the original output OST values), which will always exist and be non-empty.

lhantzsch commented 3 years ago

I checked this on test mode with varMod_MEG & coAdapt - all looks to be working