A suite for diffusion analysis algorithms.
Project description
pySDA
a python Suite for Diffusion Analysis (for python 3.5 and above)
Intro
This package currently included the two diffusion analysis algorithms:
- TaPiTaS: A geo-computational algorithm for exploring the structure of diffusion progression in time and space. Scientific Reports. https://www.nature.com/articles/s41598-017-12852-z
- MST-DBSCAN: Characterizing Diffusion Dynamics of Disease Clustering: A Modified Space–Time DBSCAN (MST-DBSCAN) Algorithm. Annals of the American Association of Geographers. https://www.tandfonline.com/doi/full/10.1080/24694452.2017.1407630
Install
You can choose one of the following to install pySDA to your python environment.
1. download then pip install
-
download the package by clicking the green button (Clone or download), choose Download ZIP.
-
extract the zip file to your working directory
-
in cmd (where you can use pip install to the intended python environment):
cd C://the/extract/directory/pysda-master pip install .
This should install the package to your python.
2. git clone and pip install
in cmd:
cd C://a/place/you/like/
git clone https://github.com/wenlab501/pysda.git
cd pysda
pip install .
This is actually the exact same thing as the first option.
3. pip install from github
in cmd:
pip install git+https://github.com/wenlab501/pysda.git
This is also the same as above.
4. pip install from pypi
in cmd:
pip install pysda
This will download the pysda from pypi.
Dependency
- numpy, scipy: for calculations, including spatial indexing and querying
- pandas, geopandas: for data manipulation and result preparation
- shapely: deal with the geometry
- descartes, matplotlib, seaborn: for making maps
- python-dateutil: deal with the date conversion
- imageio: animated figure exporting
- tapitas: the core algorithm for TaPiTas
- mstdbscan: the core algorithm for MST-DBSCAN
Tutorials
- The tutorial for using TaPiTaS in pySDA: https://github.com/wenlab501/pysda/blob/master/pysda-taipitas-tutorial.ipynb
- The tutorial for using MST-DBSCAN in pySDA: https://github.com/wenlab501/pysda/blob/master/pysda-mstdbscan%20tutorial.ipynb
License
Copyright (c) 2018 wenlab501, Tzai-Hung Wen, Department of Geography, National Taiwan University
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pysda-0.1.6.tar.gz
.
File metadata
- Download URL: pysda-0.1.6.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d92565e6ba7754652d1e73afe27f29ef8d03380855fb4f0a9e343715b66b992 |
|
MD5 | 47a577d83dbe63ffc23cdd2e75463978 |
|
BLAKE2b-256 | 7002301aa0752456d9d09fb86000ebece18f81fc21aeebfa51c14542e9b6f476 |
File details
Details for the file pysda-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: pysda-0.1.6-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46685593177c741ace73c78f0a2bbc8d3a084df39b8a343b400ea2c5e955d62 |
|
MD5 | 3b22fd08bc9ba7688bd5392b2bc91a71 |
|
BLAKE2b-256 | 674328795f2b2ceee04bd86ad115deece2a34943684d79893f0088f8b29d4600 |