-
Notifications
You must be signed in to change notification settings - Fork 0
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
new DCM structure #314
Merged
Merged
new DCM structure #314
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added for convolution option
Same format as the four half cosine model
Cleaning up to prepare for more fMRI simulations
DO NOT PR THIS BRANCH! It's very hacky at the moment to get things running quickly. It shouldn't be included until we have some in-depth conversations about how to combine hemodynamic observer blocks with neural mass blocks.
Added for convolution option
Same format as the four half cosine model
Cleaning up to prepare for more fMRI simulations
DO NOT PR THIS BRANCH! It's very hacky at the moment to get things running quickly. It shouldn't be included until we have some in-depth conversations about how to combine hemodynamic observer blocks with neural mass blocks.
Just committing so that I have a backup as I start messing with some other things - this is still NOT ready for merging so needs to remain quarantined. For reference: This includes some modular implementations to extend the fitting procedures to blocks beyond LinearNeuralMass. As it is, there's hard-coded state number issues with the old implementation, and hierarchy issues with the `system_from_graph` implementation. So we'll need to talk through some design choices after the deadline is met for other stuff.
…ased on Haris's System from Graph framework
…lox.jl into bold-extensions
…ted if a float is passed. If a graph weight is a symbolic expression use that directly instead.
…ad of adding an @parameters in progress_scope, otherwise scoping is not working properly
… created within blox is automatically tunable. Note that weight parameters in comparison are currently not tunable by default
…now grouped by region
…se that are non-tunable which are also needed when computing the jacobian
…h with the ordering in the balloon model, otherwise we run into issues when computing the gradient
…. Gradient of bold signal is correct, jacobian of hemodynamic response is erroneous
…mic_observers to have the correct indices. However, there is still a very subtle deviation of the results with previous version. Free Energy is 709 instead of 704. Need to figure where that comes from. Should be the last issue!
… instance in Striatum and other subcortical blox.
… instance in Striatum and other subcortical blox. And in compileparameterlist I added an Int alongside the Float64 since some blox pass integers
…meters is wrong, the correct use is to call compileparameterlist which will then produce symbolics if numbers are passed or directly use the symbol if that is passed instead.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New:
tunable
output
with a string label such ashemodynamic_observer