diff --git a/stisim/calibration.py b/stisim/calibration.py index 7eda54e..6ffb77a 100644 --- a/stisim/calibration.py +++ b/stisim/calibration.py @@ -265,15 +265,6 @@ def trial_to_sim_pars(self, pardict=None, trial=None): return pars - # @staticmethod - # def sim_to_df(sim): # TODO: remove this method - # """ Convert a sim to the expected dataframe type """ - # df_res = sim.to_df(sep='.') - # df_res['t'] = df_res['timevec'] - # df_res = df_res.set_index('t') - # df_res['time'] = np.floor(np.round(df_res.index, 1)).astype(int) - # return df_res - def run_trial(self, trial): """ Define the objective for Optuna """ if self.calib_pars is not None: