Set the number of transients for an mrs_data object.
set_Ntrans(mrs_data, n_trans)
mrs_data
MRS data.
n_trans
number of acquired transients.