Skip to content

CoMuNeLab/FERM_python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FERM_python

Simulate the Feature-Enriched Radiation Model (FERM) on Python. Code includes parallelization of the main routine.

Installation

Open a terminal and run

python -m pip install .

or, if you want to install the package locally (develop mode), run

python -m pip install --editable .

Getting started

See ./tests/ for examples of usage

  • sigma: standard deviation of the Gaussian distribution to sample the absorbance/absorption threshold
  • num_particles: number of particles to produce for each pair of points
  • path_niche_array: matrix of the value the human suitability for each point
  • path_x: longitude coordinates
  • path_y: latitude coordinates
  • path_pop: .tif file where each geospatial point is associated with a population value
  • save_mobility: where to save the mobility matrix

License

MIT

About

Code to run the Feature-Enriched Radiation Model (FERM) on Python, including parallel computing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors