nmrglue.analysis.linesh.sim_NDregion
- nmrglue.analysis.linesh.sim_NDregion(shape, lineshapes, params, amps)[source]
Simulate an N-dimensional region with one or more peaks.
- Parameters
- shapetuple of ints
Shape of region.
- lineshapeslist
List of lineshapes by label (str) or a lineshape class. See
fit_NDregion()
for additional documentation.- paramslist
P-length list (P is the number of peaks in region) of N-length lists of tuples where each each tuple is lineshape parameters for a given peak and dimension.
- ampslist
P-length of peak amplitudes.
- Returns
- simndarray with shape, shape.
Simulated region.