This function visualizes the output of a clustering algorithm applied to an IFU data cube, where each cluster is assigned a distinct fill color.
Arguments
- cluster_data
A list containing the clustering results with the following components:
cluster_map: A matrix representing the spatial layout of the clusters.cluster_snr: A numeric vector with the SNR values for each cluster.
- palette
Character or vector of colours used for the discrete cluster colors. The default
"starry_night"uses the Van Gogh inspired blue and gold palette used in the companion workflows. Viridis palette names such as"magma","inferno","plasma","viridis", and"cividis"are also supported.