sim_brain_1h: Simulate MRS data with a similar appearance to normal brain...

Description Usage Arguments Value

View source: R/utils.R

Description

Simulate MRS data with a similar appearance to normal brain (by default).

Usage

1
2
3
4
5
6
7
8
9
sim_brain_1h(
  acq_paras = def_acq_paras(),
  type = "normal_v1",
  pul_seq = seq_press_ideal,
  xlim = c(0.5, 4.2),
  full_output = FALSE,
  amps = NULL,
  ...
)

Arguments

acq_paras

list of acquisition parameters or an mrs_data object. See def_acq_paras.

type

type of spectrum, only "normal" is implemented currently.

pul_seq

pulse sequence function to use.

xlim

range of frequencies to simulate in ppm.

full_output

when FALSE (default) only output the simulated MRS data. When TRUE output a list containing the MRS data, basis set object and corresponding amplitudes.

amps

a vector of basis amplitudes may be specified to modify the output spectrum.

...

extra parameters to pass to the pulse sequence function.

Value

see full_output option.


neuroconductor-devel-releases/spant documentation built on May 6, 2020, 4:29 p.m.