Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robynstuart committed Dec 16, 2024
1 parent 0410858 commit 79760c9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions stisim/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 79760c9

Please sign in to comment.