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