scale_mrs_amp: Scale an mrs_data object by a scalar or vector or amplitudes.

View source: R/mrs_data_proc.R

scale_mrs_ampR Documentation

Scale an mrs_data object by a scalar or vector or amplitudes.

Description

Scale an mrs_data object by a scalar or vector or amplitudes.

Usage

scale_mrs_amp(mrs_data, amp)

Arguments

mrs_data

data to be scaled.

amp

multiplicative factor, must have length equal to 1 or Nspec(mrs_data).

Value

mrs_data object multiplied by the amplitude scale factor.


spant documentation built on Sept. 11, 2024, 9:13 p.m.