cesaraustralia / Dispersal.jl

Tools for simulating organism dispersal
Other
21 stars 3 forks source link

Kernel #95

Closed virgile-baudrot closed 3 years ago

virgile-baudrot commented 3 years ago

Description

Additional kernels: Geometric, Gaussian and Bivariate Student Formulation founds in Nathan 2012, "Dispersal kernels: review" from the book Dispersal Ecology and Evolution (2012) and Walker et al. (2019) "A Spatio-Temporal Exposure-Hazard Model for Assessing Biological Risk and Impact"

❓ How (where) to cite the sources?

Changes (choose one only, with x or click after creating PR):

Checklist:

For bugfixes

For new Rules

virgile-baudrot commented 3 years ago

drop the Kernel from the end, so you just do formulation=Gaussian(a)

I thought about that also. For Gaussian and Geometric it's working. But we have ExponentialKernel, ExponentialGrowth and ExponentialMortality... what makes many exponential, and why calling one Exponential and not the other

rafaqz commented 3 years ago

That's a good point. Exponential needs to be clarified. Geometric is also the same name as Distributions.Geometric - so maybe leaving Kernel on the end is better.

rafaqz commented 3 years ago

Any movement on this one virgile? Youve probably been busy. But great to have it in the package for submission

virgile-baudrot commented 3 years ago

I made some updates on type of wirtting equations. Also I added Weibull kernel which is very use for pollen dispersal I removed BivarianteStudent, I'm not fully sure about the mathematical formulation in Nathan et al.

rafaqz commented 3 years ago

Also your commits are a bit messed up with some of my commits somehow, and your mortality tests. Might need to start a new branch from master, recommit the kernel files, and push here to this branch again.

When working on a PR you should always rebase it against master and other branches, instead of merge. rebase just rewrites all your commits at the end.

virgile-baudrot commented 3 years ago

arrff, sorry for that. I made a change on my forks forgetting it follows the PR here

I'm doing a new branch base on the master for kernel... come in few minutes

virgile-baudrot commented 3 years ago

@rafaqz how do I PR here with a this new branch kernel_PR which is on my fork? Should I start a new PR and close this one?

rafaqz commented 3 years ago

You can push another branch to this one with --force

Or start a new PR, up to you.

virgile-baudrot commented 3 years ago

move to #98