This function is used for 3D event extraction and feature computation.

stats_3d(dat)

Arguments

dat

The data array

Value

A list with following components

mean.dat

The mean of the data array

sd.dat

The standard deviation of the data array

Examples

set.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
#> [[1]]
#> [1] -0.007072421
#> 
#> [[2]]
#> [1] 1.014337
#>