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

Designating noise scailing parameter in DSL (and maybe as meta data)? #660

Closed
TorkelE opened this issue Aug 5, 2023 · 1 comment
Closed

Comments

@TorkelE
Copy link
Member

TorkelE commented Aug 5, 2023

Currently, if you want a parameter to linearly scale the noise in the CLE, this is the only option: https://docs.sciml.ai/Catalyst/stable/catalyst_applications/advanced_simulations/#Scaling-the-noise-magnitude-in-the-chemical-Langevin-equations

Seems it would be possible to make easier interfaces for this, e.g.:

@reaction_network begin
    @noise_scaling_parameter η
    (p,d), 0 <--> X
end

or

@reaction_network begin
    @parameters η[noise_scaling=true]
    (p,d), 0 <--> X
end
@TorkelE
Copy link
Member Author

TorkelE commented Jun 4, 2024

now works on master

@TorkelE TorkelE closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant