antsnormflows.utils.masks

Functions

create_alternating_binary_mask(features[, even])

Creates a binary mask of a given dimension which alternates its masking.

create_mid_split_binary_mask(features)

Creates a binary mask of a given dimension which splits its masking at the midpoint.

create_random_binary_mask(features[, seed])

Creates a random binary mask of a given dimension with half of its entries randomly set to 1s.