density_weighted_enst: Collapse a 3D array into a 2D array and weight by particle...

View source: R/density_weighted_enst.R

density_weighted_enstR Documentation

Collapse a 3D array into a 2D array and weight by particle density.

Description

Return a 'n by n' 2D array from the parsed 'n by n by n' 3D structure. The data is collapsed along the Z axis and weighted by the population along each column of cells on the Z axis in the 3D array

Usage

density_weighted_enst(data, layer)

Arguments

data

The list containing the enstrophy or noise values where each entry correlates to a 3D array of values

layer

The entry to collapse from the data provided. ie) n=2 is the second entry in the data list provided.


Will-McD/ENSTvisualise documentation built on June 24, 2022, 5:13 p.m.