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

Parameterize some settings variables in default_settings.yml #39

Open
mnlevy1981 opened this issue Nov 17, 2022 · 0 comments
Open

Parameterize some settings variables in default_settings.yml #39

mnlevy1981 opened this issue Nov 17, 2022 · 0 comments

Comments

@mnlevy1981
Copy link
Collaborator

The default settings file (feisty/core/default_settings.yml) has blocks like

food_web:
  # [snip some intervening keys]
  # large demersal
  - predator: Ld
    prey: Mf
    preference: 0.375 #should be A*D = (school_avoid * generalist_reduct)

  - predator: Ld
    prey: Mp
    preference: 0.75 #should be D (generalist_reduct)

As the comments indicate, .0375 is really a generalist_reduct term times a school_avoid term, while the 0.75 is just the generalist_reduct term. We'd like to introduce a way to set those two parameters elsewhere in the file, and then have these food_web.preference terms change if the user changes the other parameters

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