sainsc.GridCounts.filter_mask ============================= .. py:method:: sainsc.GridCounts.filter_mask(mask, crop = True) Filter all genes with a binary mask. :param mask: All counts where `mask` is `False` will be set to 0. :type mask: numpy.ndarray[numpy.bool] :param crop: Whether to crop the data to the bounding box of the selected region. This can improve performance by minimizing the sample size. :type crop: bool