set_units function

Set units used in experiment