Reconstruct a Flux-preserving Model Cube from Cluster Spectra
Source:R/reconstruct_cluster_cube.R
reconstruct_flux_preserving_cube.RdThis is a convenience wrapper around reconstruct_cluster_cube
that uses the arithmetic cluster mean while preserving the original spectral
mask. In this mode, the reconstructed cube preserves the summed flux spectrum
of the segmented cube on the observed support, which makes it a sensible
default for later spectral fitting.
Usage
reconstruct_flux_preserving_cube(
cluster_result,
fill_mode = c("na", "zero"),
return_residual = TRUE
)Value
The same structure returned by reconstruct_cluster_cube.