Summarize Cluster Spectra with Optional Variance Propagation
Source:R/summarize_cluster_spectra.R
summarize_cluster_spectra.RdThis is the recommended post-segmentation summary layer for Capivara. It keeps the segmentation step separate from downstream spectral products and can return median spectra, arithmetic mean spectra, summed spectra, and inverse-variance-weighted mean spectra.
Arguments
- cluster_result
A list returned by a segmentation function.
- var_cube
Optional variance cube matching the dimensions of the original flux cube. It can be a FITS-like list with
imDator a raw 3-D array.- variance_inflation
Multiplicative factor applied to propagated variances. Use this to account for covariance if needed.