finam.data.masks_equal#
- finam.data.masks_equal(this, other, this_grid=None, other_grid=None)[source]#
Check two masks for equality.
- Parameters:
this (
Mask
value or valid boolean mask forMasked arrays
or None) – first maskother (
Mask
value or valid boolean mask forMasked arrays
or None) – second maskthis_grid (Grid or NoGrid or None, optional) – grid for first mask (to check shape and value equality)
other_grid (Grid or NoGrid or None, optional) – grid for second mask (to check shape and value equality)
- Returns:
mask equality
- Return type: