-
Notifications
You must be signed in to change notification settings - Fork 6
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
Implement relevant struct to handle SIRUS rule extraction #419
Closed
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
Prototype worked by using $t$ to inform $t+1$, but ADRIAmod was developed such that $t-1$ is used to inform $t$.
Previous implementation worked on the assumption that increases to coral cover could be used to determine relative weights when mixing distributions. However, most scenario trajectories show a decline, meaning that distributions were never updated. This is resolved simply by pairing neighbouring size classes up (2 with 3, 3 with 4, etc) and using the current area covered to inform the weights/priors
Add additional detail in comments
Additional changes for performance
…oral cover array for ReefMod
ReefMod uses a log normal size distribution for initialising coral colonies with mean log(700cm^2) and standard deviation log(4cm^2). Coral cover is separated into ADRIA size classes using the cdf of this distribution and finding the density between each of the size class bin edges for ADRIA. These densities are then normalised and used to weight the distribution between size classes for each species.
Fix reference to AEDT to AEST
Update ReefMod interface to match new species list
Bin sizes are in diameter, not area
Shifting the minimum value as tolerance increases makes the distribution behave similarly to a log-normal representation. Discussed with K.B-N
Spawned larvae incorporates distribution mix of all reproductive size classes (see https://github.com/open-AIMS/ADRIA.jl/blob/df5d53c7c590a7c8250ddfc24a390d5a1ef67400/src/ecosystem/corals/Corals.jl#L177) TODO: Rather than hardcode the size classes, could use `corals.fecundity` to select relevant size classes.
Adjustments to heritability based on feedback
Missed this in earlier PR
Update docstrings with missing detail
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.
The struct Rule together with some functions to get information once a rule is extracted from SIRUS.