Skip to content

Python program to compute ultra-metric for migration networks

Notifications You must be signed in to change notification settings

tmelorc/migration

Repository files navigation

Migration networks

(...)

USA migration

(...)

Required folders and files

Folders

You should have the following (possibly empty) folders in your main folder:

  • migration_matrices
  • dendrograms
  • ultra_metric
Files

You should have the following files in your main folder:

  • my_shortest_path.so
  • Net_Gross_US.txt from census.gov (~100Mb)
  • prepare_data_fields.csv
  • prepare_data_states_num_counties.csv

Execution order

Run the following files with python <file.py>

  • prepare_data.py
  • compute_ultrametric_v2.py
  • plot_dendrogram.py
  • plot_VR.py (not working yet)

About

Python program to compute ultra-metric for migration networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages