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

A more detailed tutorial on how to write channel models #496

Open
michaeldeistler opened this issue Nov 13, 2024 · 0 comments
Open

A more detailed tutorial on how to write channel models #496

michaeldeistler opened this issue Nov 13, 2024 · 0 comments
Labels

Comments

@michaeldeistler
Copy link
Contributor

michaeldeistler commented Nov 13, 2024

  • channel models should not modify their state
  • parameters that depend on other parameters should be considered as states whose values are defined in init_state (and are either not returned by update_states at all or it just returns the current value)
  • celsius, reversal potential, and so on, are currently considered as channel_params and must defined in every channel
  • users should use params and states in compute_current and update_states, and not the global self.channel_params or self.channel_states
  • explain current_name and ion_name
  • describe that params should never be set with a complicated function inside of self.channel_params = {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant