Skip to content

Issues regarding models using moment-to-moment drift rates #104

Answered by mwshinn
ding9889 asked this question in Ask for help
Discussion options

You must be logged in to vote

Hi Yuyang,

It looks like there are two issues here, and neither are related to moment-to-moment drifts! Both are related to how you call model.solve. In short, you cannot call model.solve the same way you call model_gui.

First, when you call model.solve, you need to specify a single value to solve with for each condition. Here, the value you want is (0, 2, 0, -2). Instead, you are specifying a list of values which only contains one element, namely, [(0, 2, 0, -2)]. By contrast, in model_gui, you can pass a list of elements because then it will average across them and allow you to select them in the list of conditions. I am assuming this was unintended and you meant to use (0, 2, 0, -2), b…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ding9889
Comment options

@ding9889
Comment options

@mwshinn
Comment options

@ding9889
Comment options

Answer selected by ding9889
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants