-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model.simulate doesn't respect tmin #70
Labels
bug
Indicates an unintended behavior or coding error
Comments
Yes, the tmin should be applied all the way in the end of the simulate, as the warmup period is important for the simulated values. I will look at this later this week. |
raoulcollenteur
added a commit
that referenced
this issue
Jun 13, 2018
Restructured a large part of the the Model class and other files to be more readable and easier to understand what is going in. This involved removing redundant code (such as removing get_oseries_calib which could be combined with the observations method), renaming variables to be more consistent and making some names easier to understand. Basically, nothing changed (except internally), except that I also addressed issue #70 , which is now solved. - updated get_sim_index - removed get_oseries_calib - simulation is called sim everywhere (renamed h => sim in simulate), residuals are res, noise is noise. odelt is odelt. stressmodels as sm. Still need to do oseries and oseries_calib... - ml.simulate respects tmin. extra keyword is added to obtain the simulation in the warmup period.
I fixed this in commit 00a236f . It is still possible to obtain the simulation the warmup period by using the return_warmup=True keyword:
But by default it is False. |
Works fine now.
…On Wed, Jun 13, 2018 at 17:24 Raoul Collenteur ***@***.***> wrote:
I fixed this in commit 00a236f
<00a236f>
.
It is still possible to obtain the simulation the warmup period by using
the return_warmup=True keyword:
ml.simulate(return_warmup=True)
But by default it is False.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#70 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARmyrwddR-eKWqMgpxb0aRc9vOueow7Qks5t8S6wgaJpZM4Ukg-S>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When supplying tmin to Model.simulate, it returns values before tmin for the entire warmup period.
The text was updated successfully, but these errors were encountered: