Skip to content
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

automate the conversion of parameters when time.unit != 7 #815

Open
AdrienLeGuillou opened this issue Feb 15, 2023 · 2 comments
Open

automate the conversion of parameters when time.unit != 7 #815

AdrienLeGuillou opened this issue Feb 15, 2023 · 2 comments
Assignees

Comments

@AdrienLeGuillou
Copy link
Member

questions:

  • an outside function to run after param.net?
  • a function inside netsim?
  • simple time.unit conversion? or also rate2int, int2rate, etc?

@smjenness

@smjenness
Copy link
Collaborator

I am thinking the first option. First you run the parameters through param.net or param_msm with parameters defined based on the default time.unit (=7), and then this param_timeunit_convert function would take (param, time.unit) and apply the conversion automatically to all parameters ending in .rate and .int.

@AdrienLeGuillou
Copy link
Member Author

I agree, it will avoid involuntary conversion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants