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

Markov Channels #334

Open
dbdorman opened this issue Nov 21, 2018 · 3 comments
Open

Markov Channels #334

dbdorman opened this issue Nov 21, 2018 · 3 comments

Comments

@dbdorman
Copy link

Moose has objects for markov channels and markov rate tables, but I cannot determine how to properly set them up. Is there an example or documentation of creating a markov channel using pymoose?

@upibhalla
Copy link
Contributor

I was not able to find a worked example. There is the in-code documentation that you can see using
moose.doc( 'MarkovChannel' )
There is some automated documentation in the code that can be found at
https://moose.ncbs.res.in/source/doxygen/cpp/html/annotated.html
but I didn't find it to be very helpful.
Finally the author of the code is still at NCBS but in a different lab, and is at [email protected]
-- Upi

@dbdorman
Copy link
Author

Thank you, Upi! The function testMarkovChannel() in https://github.com/BhallaLab/moose-core/blob/master/biophysics/testBiophysics.cpp was helpful in showing how to setup and connect 3 necessary objects for simulating a markov channel: a MarkovChannel, a MarkovRateTable, and a MarkovSolver. But I cannot figure out a way to get the step for setting up transition rates for the MarkovRateTable object to work. There are 3 destFinfo functions, set1d, set2d, and setconst, that appear to be used for setting up the transition rates, but calling these from python raises the following: SystemError: NULL result without error in PyObject_Call. So it seems to me that it is not currently possible to simulate a markov channel from pymoose. Thanks for the assistance!

@github-actions
Copy link

Stale issue message

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

3 participants