Selecting sampling frequency for measuring diving behavior