finam.data.masks_equal#
- finam.data.masks_equal(this, other, this_grid=None, other_grid=None)[source]#
Check two masks for equality.
- Parameters:
this (
Maskvalue or valid boolean mask forMasked arraysor None) – first maskother (
Maskvalue or valid boolean mask forMasked arraysor 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: