queso_cluster.atoms.flare#

Functions#

kernelClusterMask(optLabels[, kernel])

Creates a NaN mask of the kernel cluster

Module Contents#

kernelClusterMask(optLabels, kernel=None)[source]#

Creates a NaN mask of the kernel cluster

Parameters:

optLabels (ndarray) – 3d array containing the labels in space and time

Returns:

NaN mask which changes all pixels that are not the kernelCluster to NaN

Return type:

ndarray