Computes mean and standard deviation
This function is used for 3D event extraction and feature computation.
stats_3d(dat)
dat
: The data arrayA list with following components - mean.dat
: The mean of the data array
sd.dat
: The standard deviation of the data arrayset.seed(1) arr <- array(rnorm(12000),dim=c(40,25,30)) arr[25:33,12:20, 20:23] <- 10 mean_sd <- stats_3d(arr[1:20,1:6,1:8]) mean_sd