Skip to content

caojinzhou/paper-flowmap-code

 
 

Repository files navigation

paper-flowmap-code

Data and analyzing code for paper flowmap

Dependence

  • Install requirements.txt
pip install -r requirements.txt
  • Install matplotlib
pip install -U numpy pytz cycler tornado pyparsing
yum install -y freetype-devel libpng-devel

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
pip install -U distribute && pip install -U matplotlib
  • To use read_shp() of networkx, install GDAL and osgeo module
yum install -y gdal-python gdal-devel hdf5-devel
ln -s /usr/lib64/libhdf5.so /usr/lib64/libhdf5.so.6
ln -s /usr/lib64/libhdf5_hl.so /usr/lib64/libhdf5_hl.so.6
python -c "from osgeo import ogr"

Tested on CentOS 6.5.

About

Tools to mine motifs and meta-structures of human mobility.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.6%
  • R 36.5%
  • Jupyter Notebook 3.9%