expyfun.check_units

expyfun.check_units(units)[source]

Ensure user passed valid units type

Parameters:
unitsstr

Must be 'norm', 'deg', 'pix', or 'cm'.