Skip to content

Parameters provided in examples (and default parameters) does not perform BOLD simulation correctly #250

Open

Description

@yusenz

For some reason I do not understand, the append_outputs parameter in model.run() is defaulted to None and thus False in model.integrateChunkwise(). Meanwhile, the bold simulation in model.simulateBold() pulls from self.default_output.
As a result, the BOLD simulation, when running with default parameters, will ONLY use the simulated activity of last chunk to simulate the entire duration. This is especially noticable when the model is run with time-dependent external stimuli.

The examples with BOLD like example 0 aln model suffer from this issue, and it has a strong misleading effect.

Activity

  1. yusenz commented on Sep 28, 2023

    @yusenz
    Author

    Edit: setting append_outputs=True does not fix the issue. The bold activity still behaves like the stimuli is not time dependent at all. The previous comment on the cause of the issue might be wrong. For my experiments setting chunkwise=False has acceptable memory cost and fixed the problem. However this needs further inspection from the team.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions