Fix sample period units