The code implements the elliptic model for social fluxes as presented in
The elliptic model for communication fluxes, Herrera-Yagüe et al
General syntax
Fluxes = elliptic_model(lat, lng, pop, FLEX=0, option="ellipse", totalSum=1)
- lat is a 1-D vector containing latitudes of locations
- lng is a 1-D vector containing longitudes of locations
- pop is a 1-D vector containing the population of each location
- FLEX is the flexibility parameter in kilometers. Defaults to 0
- options either "ellipse" or "union" depending on the model to be applied
- totalSum desired sum of all ellemnts in the resulting Fluxes matrix. Defaults to 1.
Depends on numpy
Depends on sp
Works in octave No dependency