aPriori.DNS.generate_maskΒΆ
- aPriori.DNS.generate_mask(start, shape, delta)ΒΆ
Computes the downsampled mask of a 3D field.
- Parameters:
start (list of int) β Is the a list with the indexes where to start doing the mask.
shape (list of int) β Is the shape of the input field
delta (int) β Is the filter size
- Returns:
mask β A 3D vector of boolean values.
- Return type:
numpy array of bool