`nSensor` and `nTime` is unused. It could be replaced with underscore, or better still you may use `data.shape[0]`