def _spline_vanadium_ws(self, focused_vanadium_spectra): focused_vanadium_spectra = pearl_algs.strip_bragg_peaks(focused_vanadium_spectra) splined_list = common.spline_workspaces(focused_vanadium_spectra=focused_vanadium_spectra, num_splines=self._inst_settings.spline_coefficient) # Ensure the name is unique if we are in tt_mode all new_workspace_names = [] for ws in splined_list: new_name = ws.getName() + '_' + self._inst_settings.tt_mode new_workspace_names.append(mantid.RenameWorkspace(InputWorkspace=ws, OutputWorkspace=new_name)) return new_workspace_names