extract_features#

smart.calculate_properties.extract_features(sorted_labels)[source]#

Extract binary masks for each feature found in index_and_grow_mask’s sorted_labels.

Parameters:

sorted_labels (ndarray) – An array where each unique label corresponds to a different feature on the solar disk.

Returns:

feature_masks – An array containing a binary mask for each identified feature.

Return type:

ndarray