R/utils.R
sim_brain_1h.Rd
Simulate MRS data with a similar appearance to normal brain (by default).
sim_brain_1h(
acq_paras = def_acq_paras(),
type = "normal_v2",
pul_seq = seq_slaser_ideal,
xlim = c(0.5, 4.2),
full_output = FALSE,
amps = NULL,
basis_lb = NULL,
zero_lip_mm = FALSE,
remove_lip_mm = FALSE,
...
)
list of acquisition parameters or an mrs_data object. See
def_acq_paras
.
type of spectrum, only "normal" is implemented currently.
pulse sequence function to use.
range of frequencies to simulate in ppm.
when FALSE (default) only output the simulated MRS data. When TRUE output a list containing the MRS data, basis set object and corresponding amplitudes.
a vector of basis amplitudes may be specified to modify the output spectrum.
apply additional Gaussian line-broadening to the basis (Hz).
zero the amplitudes of any lipid or macromolecular components based on their name starting with "MM" or "Lip".
remove any lipid or macromolecular basis components based on their name starting with "MM" or "Lip".
extra parameters to pass to the pulse sequence function.
see full_output option.