gustavdelius / mizer

This is my old mizer fork that is not actively used any more but still has lots of material in its many branches.
http://gustavdelius.github.io/mizer/
0 stars 2 forks source link

Adsp #49

Closed richardsouthwell closed 6 years ago

richardsouthwell commented 6 years ago

20 #42 Have included add_species which attempts to add a new species into the system in such a way that the resulting system will till be in steady state. As part of this I wrote retune_abundance, that retunes the abundances of background species to retain power law.

Outstanding issues with retune_abundance are:

  1. [x] why doesnt the help example code for retune_abundance() work properly ?
  2. [x] currently the code relies on L being a list, but we could switch to the TRUE/FALSE convention.
  3. [ ] we should add an extra iteration to solve this issue of -ve abundance multipliers by holding certain species off.

Outstanding issues with retune_abundance are:

  1. [ ] Have I dealt with absence of r_max's properly ?
  2. [ ] What about params@srr ? do I have to pass this through when rmax is off ?
  3. [ ] Alter this code here, so it avoids division by zero, in stunted growth case.
  4. [ ] Do we need a new version of this erepro setting code for the case where r_max is missing, or infinity.