nSamp = filenamestruct.bytes/(gwfparams.nCh*dataTypeNBytes) How do I determine the number of samples per channel?