def get_sim_index(self, tmin, tmax, freq, warmup):
"""Method to get the indices for the simulation, including the warmup
period.
Parameters
----------
tmin
tmax
freq
warmup
Returns
-------
"""
sim_index = pd.date_range(tmin - pd.DateOffset(days=warmup), tmax,
freq=freq)
return sim_index
评论列表
文章目录