set_tr function

Set the repetition time of an MRS dataset.