Collapse MRS data by concatenating spectra along the dynamic dimension.
collapse_to_dyns(x, rm_masked = FALSE)# S3 method for mrs_data
collapse_to_dyns(x, rm_masked = FALSE)
# S3 method for fit_result
collapse_to_dyns(x, rm_masked = FALSE)
collapsed data with spectra or fits concatenated along the dynamic dimension.
data object to be collapsed (mrs_data or fit_result object).
remove masked dynamics from the output.