Skip to content
Commits on Source (9)
language: python
sudo: false
branches:
only:
- master
python:
- "3.5"
- "3.6"
env:
- PYSAL_PLUS=false MPLBACKEND="pdf"
- PYSAL_PLUS=true MPLBACKEND="pdf"
sudo: false
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p ./miniconda
- export PATH=`pwd`/miniconda/bin:$PATH
- conda update --yes conda
- conda config --add channels conda-forge
- conda create -y -q -n test-env python=$TRAVIS_PYTHON_VERSION
- source activate test-env
matrix:
include:
- env: ENV_FILE="ci/travis/36-latest-conda-forge.yaml"
- env: ENV_FILE="ci/travis/37-latest-conda-forge.yaml"
install:
- conda install --yes pip
- if [ "$PYSAL_PLUS" == true ]; then
echo 'plus testing'; conda install --yes --file requirements_plus.txt;
else conda install --yes --file requirements.txt;
fi;
# Install conda
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda install conda=4.6
- conda info
- conda install --yes geopandas
- pip install -r requirements_dev.txt
# Install dependencies
- conda env create --file="${ENV_FILE}"
- source activate test
- conda list
script:
- python setup.py sdist >/dev/null
- python setup.py install
- travis_wait 45 nosetests --verbose --with-coverage --cover-package=pysal;
#- cd doc; make pickle; make doctest
notifications:
email:
recipients:
- sjsrey@gmail.com
- levi.john.wolf@gmail.com
- dfolch@gmail.com
- daniel.arribas.bel@gmail.com
- weikang9009@gmail.com
- carsonfarmer@gmail.com
- tayoshan@gmail.com
- marynia.kolak@gmail.com
- jgaboardi@gmail.com
- phil.stphns@gmail.com
on_success: always
on_success: change
on_failure: always
after_success:
......
This diff is collapsed.
Copyright (c) 2007-2015, PySAL Developers
Copyright (c) 2007-, PySAL Developers
All rights reserved.
Redistribution and use in source and binary forms, with or without
......
include authors.txt INSTALL.txt LICENSE.txt THANKS.txt CHANGELOG.txt MANIFEST.in pysal/COPYING requirements_dev.txt requirements_plus.txt requirements.txt
include authors.txt INSTALL.txt LICENSE.txt THANKS.txt CHANGELOG.txt MANIFEST.in pysal/COPYING requirements_dev.txt requirements_plus.txt requirements_docs.txt requirements.txt
......@@ -27,6 +27,10 @@ prep:
rm -rf pysal/lib
mkdir pysal/lib
docs:
python convert_docs.py
cd doc; make clean; make html
clean:
find . -name "*.pyc" -exec rm '{}' ';'
find pysal -name "__pycache__" -exec rm -rf '{}' ';'
......
......@@ -2,14 +2,14 @@ Python Spatial Analysis Library
===============================
[![image](https://travis-ci.org/pysal/pysal.svg)](https://travis-ci.org/pysal)
[![image](https://coveralls.io/repos/pysal/pysal/badge.svg?branch=master)](https://coveralls.io/r/pysal/pysal?branch=master)
[![image](https://badges.gitter.im/pysal/pysal.svg)](https://gitter.im/pysal/pysal)
[![image](https://readthedocs.org/projects/pip/badge/?version=latest)](http://pysal.readthedocs.io/en/latest/index.html)
[![DOI](https://zenodo.org/badge/8295380.svg)](https://zenodo.org/badge/latestdoi/8295380)
[![LISA Maps of US County Homicide Rates](https://farm2.staticflickr.com/1699/23937788493_1b9d147b9f_z.jpg){width="100.0%"}](http://nbviewer.ipython.org/urls/gist.githubusercontent.com/darribas/657e0568df7a63362762/raw/pysal_lisa_maps.ipynb)
[![LISA Maps of US County Homicide Rates](https://farm2.staticflickr.com/1699/23937788493_1b9d147b9f_z.jpg)](http://nbviewer.ipython.org/urls/gist.githubusercontent.com/darribas/657e0568df7a63362762/raw/pysal_lisa_maps.ipynb)
*Above: Local Indicators of Spatial Association for Homicide Rates in US
Counties 1990.*
......@@ -19,18 +19,18 @@ cross-platform library for geospatial data science with an emphasis on
geospatial vector data written in Python. It supports the development of
high level applications for spatial analysis, such as
> - detection of spatial clusters, hot-spots, and outliers
> - construction of graphs from spatial data
> - spatial regression and statistical modeling on geographically
> embedded networks
> - spatial econometrics
> - exploratory spatio-temporal data analysis
- detection of spatial clusters, hot-spots, and outliers
- construction of graphs from spatial data
- spatial regression and statistical modeling on geographically
embedded networks
- spatial econometrics
- exploratory spatio-temporal data analysis
PySAL Components
================
- **explore** - modules to conduct exploratory analysis of spatial and spatio-temporal data, including statistical testing on points, networks, and
polygonal lattices. Also includes methods for spatial inequality and distributional dynamics.
polygonal lattices. Also includes methods for spatial inequality, distributional dynamics, and segregation.
- **viz** - visualize patterns in spatial data to detect clusters,
outliers, and hot-spots.
- **model** - model spatial relationships in data with a variety of
......@@ -50,15 +50,15 @@ Installation
PySAL is available through
[Anaconda](https://www.continuum.io/downloads) (in the defaults or
conda-forge channel) and [Enthought
Canopy](https://www.enthought.com/products/canopy/). We recommend
conda-forge channel) We recommend
installing PySAL from conda-forge:
``` {.sourceCode .bash}
conda config --add channels conda-forge
conda install pysal
```
PySAL can be installed using pip:
PySAL can also be installed using pip:
``` {.sourceCode .bash}
pip install pysal
......@@ -79,18 +79,19 @@ Documentation
For help on using PySAL, check out the following resources:
- [User
Guide](http://pysal.readthedocs.org/en/latest/users/index.html)
Guide](https://pysal.readthedocs.io/en/latest/)
- [Tutorials and Short
Courses](https://github.com/pysal/notebooks/blob/master/courses.md)
Courses](https://github.com/pysal/notebooks)
Development
===========
As of version 2.0.0, PySAL is now a collection of affiliated geographic
data science packages. Changes to the code for any of the subpackages
should be directed at the respective upstream repositories, and not made
here. Infrastructural changes for the meta-package, like those for
tooling, building the package, and code standards, will be considered.
As of version 2.0.0, PySAL is now a collection of affiliated geographic data
science packages. Changes to the code for any of the subpackages should be
directed at the respective [upstream
repositories](http://github.com/pysal/help), and not made here. Infrastructural
changes for the meta-package, like those for tooling, building the package, and
code standards, will be considered.
Development is hosted on [github](https://github.com/pysal/pysal).
......@@ -102,7 +103,7 @@ Getting Involved
================
If you are interested in contributing to PySAL please see our
development guidelines \<https://github.com/pysal/pysal/wiki/GitHub-Standard-Operating-Procedures\>
[development guidelines](https://github.com/pysal/pysal/wiki).
Bug reports
===========
......@@ -110,6 +111,13 @@ Bug reports
To search for or report bugs, please see PySAL\'s
[issues](http://github.com/pysal/pysal/issues).
Build Instructions
=======================
To build the meta-package pysal see [build.md](build.md).
License information
===================
......
name: test
channels:
- conda-forge
dependencies:
- python=3.6
- six
- pyyaml
- deprecated
# required
# testing
- nose
- codecov
- matplotlib
# optional
- bokeh
- scikit-learn
- geopandas
- statsmodels
- ipywidgets
- mapclassify
- tqdm
- zstd
- pip
- pip:
- urbanaccess
- pandana
name: test
channels:
- conda-forge
dependencies:
- python=3.7
- six
- pyyaml
- deprecated
# testing
- nose
- codecov
- matplotlib
# optional
- geopandas
- bokeh
- scikit-learn
- numba
- statsmodels
- ipywidgets
- mapclassify
- tqdm
- zstd
- pip
- pip:
- urbanaccess
- pandana
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
<th>package</th>
<th>commits</th>
<th>total issues</th>
<th>pulls</th>
</tr>
</thead>
<tbody>
<tr>
<td>spaghetti</td>
<td>282</td>
<td>94</td>
<td>34</td>
</tr>
<tr>
<td>libpysal</td>
<td>276</td>
<td>79</td>
<td>57</td>
</tr>
<tr>
<td>splot</td>
<td>247</td>
<td>27</td>
<td>21</td>
</tr>
<tr>
<td>mgwr</td>
<td>229</td>
<td>30</td>
<td>16</td>
</tr>
<tr>
<td>giddy</td>
<td>137</td>
<td>38</td>
<td>31</td>
</tr>
<tr>
<td>esda</td>
<td>80</td>
<td>29</td>
<td>19</td>
</tr>
<tr>
<td>spglm</td>
<td>70</td>
<td>12</td>
<td>9</td>
</tr>
<tr>
<td>spint</td>
<td>57</td>
<td>11</td>
<td>9</td>
</tr>
<tr>
<td>spreg</td>
<td>57</td>
<td>8</td>
<td>6</td>
</tr>
<tr>
<td>mapclassify</td>
<td>48</td>
<td>9</td>
<td>8</td>
</tr>
<tr>
<td>pointpats</td>
<td>40</td>
<td>10</td>
<td>10</td>
</tr>
<tr>
<td>inequality</td>
<td>36</td>
<td>6</td>
<td>5</td>
</tr>
<tr>
<td>spvcm</td>
<td>21</td>
<td>2</td>
<td>1</td>
</tr>
</tbody>
</table>
\ No newline at end of file
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
<th></th>
<th>commits</th>
</tr>
</thead>
<tbody>
<tr>
<th>Dani Arribas-Bel</th>
<td>25</td>
</tr>
<tr>
<th>Eli Knaap</th>
<td>14</td>
</tr>
<tr>
<th>Hu Shao</th>
<td>5</td>
</tr>
<tr>
<th>James Gaboardi</th>
<td>310</td>
</tr>
<tr>
<th>Jsignell</th>
<td>1</td>
</tr>
<tr>
<th>Levi John Wolf</th>
<td>227</td>
</tr>
<tr>
<th>Philip Kahn</th>
<td>2</td>
</tr>
<tr>
<th>Serge Rey</th>
<td>239</td>
</tr>
<tr>
<th>Stefanie Lumnitz</th>
<td>240</td>
</tr>
<tr>
<th>Taylor Oshan</th>
<td>239</td>
</tr>
<tr>
<th>Thequackdaddy</th>
<td>1</td>
</tr>
<tr>
<th>Wei Kang</th>
<td>217</td>
</tr>
<tr>
<th>Ziqi Li</th>
<td>51</td>
</tr>
</tbody>
</table>
\ No newline at end of file
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
<th></th>
<th>Dani Arribas-Bel</th>
<th>Eli Knaap</th>
<th>Hu Shao</th>
<th>James Gaboardi</th>
<th>Jsignell</th>
<th>Levi John Wolf</th>
<th>Philip Kahn</th>
<th>Serge Rey</th>
<th>Stefanie Lumnitz</th>
<th>Taylor Oshan</th>
<th>Thequackdaddy</th>
<th>Wei Kang</th>
<th>Ziqi Li</th>
</tr>
</thead>
<tbody>
<tr>
<th>lib.libpysal</th>
<td>19</td>
<td>12</td>
<td>0</td>
<td>8</td>
<td>0</td>
<td>112</td>
<td>0</td>
<td>101</td>
<td>2</td>
<td>4</td>
<td>0</td>
<td>18</td>
<td>0</td>
</tr>
<tr>
<th>explore.esda</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>11</td>
<td>0</td>
<td>50</td>
<td>10</td>
<td>0</td>
<td>0</td>
<td>8</td>
<td>0</td>
</tr>
<tr>
<th>explore.giddy</th>
<td>0</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>18</td>
<td>10</td>
<td>0</td>
<td>0</td>
<td>106</td>
<td>0</td>
</tr>
<tr>
<th>explore.inequality</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>22</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>13</td>
<td>0</td>
</tr>
<tr>
<th>explore.pointpats</th>
<td>0</td>
<td>0</td>
<td>5</td>
<td>0</td>
<td>0</td>
<td>7</td>
<td>0</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>26</td>
<td>0</td>
</tr>
<tr>
<th>explore.spaghetti</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>278</td>
<td>0</td>
<td>3</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
</tr>
<tr>
<th>viz.mapclassify</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>3</td>
<td>0</td>
<td>22</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>23</td>
<td>0</td>
</tr>
<tr>
<th>viz.splot</th>
<td>6</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>9</td>
<td>0</td>
<td>7</td>
<td>218</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<th>model.spreg</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>40</td>
<td>0</td>
<td>17</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<th>model.spglm</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>7</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>60</td>
<td>0</td>
<td>1</td>
<td>0</td>
</tr>
<tr>
<th>model.spint</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>7</td>
<td>0</td>
<td>8</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>42</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<th>model.mgwr</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>9</td>
<td>0</td>
<td>10</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td>133</td>
<td>0</td>
<td>21</td>
<td>51</td>
</tr>
<tr>
<th>model.spvcm</th>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>21</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</tbody>
</table>
\ No newline at end of file
......@@ -6,282 +6,242 @@ import json
# TARGETROOT ="pysal/"
os.system('rm pysal/*.py')
os.system("rm pysal/*.py")
os.system("rm -rf notebooks")
with open('packages.yml') as package_file:
with open("packages.yml") as package_file:
packages = yaml.load(package_file)
# only tagged packages go in release
with open('tags.json') as tag_file:
with open("tags.json") as tag_file:
tags = json.load(tag_file)
tagged = list(tags.keys())
print(tagged)
com = "mkdir notebooks"
os.system(com)
for package in packages:
com = "rm -fr pysal/{package}".format(package=package)
os.system(com)
com = "mkdir pysal/{package}".format(package=package)
os.system(com)
com = "mkdir notebooks/{package}".format(package=package)
os.system(com)
#"cp -fr tmp/{subpackage}-master/{subpackage}/* pysal/{package}/".format(package=package, subpackage=subpackage)
subpackages = packages[package].split()
for subpackage in subpackages:
if subpackage == 'libpysal':
com = "cp -rf tmp/{subpackage}/{subpackage}/* pysal/{package}/".format(package=package, subpackage=subpackage)
if subpackage == "libpysal":
com = "cp -rf tmp/{subpackage}/{subpackage}/* pysal/{package}/".format(
package=package, subpackage=subpackage
)
else:
com = "cp -rf tmp/{subpackage}/{subpackage} pysal/{package}/{subpackage}".format(package=package, subpackage=subpackage)
com = "cp -rf tmp/{subpackage}/{subpackage} pysal/{package}/{subpackage}".format(
package=package, subpackage=subpackage
)
if subpackage in tagged:
print(com)
os.system(com)
else:
print('skipping: ', subpackage)
# replace all references to libpysal with pysal.lib
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/libpysal/pysal\.lib/g'"
os.system(c)
# replace all references to esda with pysal.explore.esda
c = "find pysal/explore/. -name '*.py' -print | xargs sed -i -- 's/esda/pysal\.explore\.esda/g'"
os.system(c)
# replace all references to mapclassify in esda and viz.mappclassify with pysal.viz.mapclassify
c = "find pysal/viz/mapclassify/. -name '*.py' -print | xargs sed -i -- 's/mapclassify/pysal\.viz\.mapclassify/g'"
os.system(c)
c = "find pysal/explore/. -name '*.py' -print | xargs sed -i -- 's/mapclassify/pysal\.viz\.mapclassify/g'"
os.system(c)
# replace all references to pysal.spreg with pysal.model.spreg
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/pysal\.spreg/pysal\.model\.spreg/g'"
os.system(c)
# replace all references in spglm to spreg with pysal.model.spreg
c = "find pysal/model/spglm/. -name '*.py' -print | xargs sed -i -- 's/ spreg\./ pysal\.model\.spreg\./g'"
os.system(c)
# from spreg import user_output as USER
c = "find pysal/model/spglm/. -name '*.py' -print | xargs sed -i -- 's/from spreg import/from pysal\.model\.spreg import/g'"
os.system(c)
# replace all references in spint to spreg with pysal.model.spreg
c = "find pysal/model/spint/. -name '*.py' -print | xargs sed -i -- 's/from spreg import/from pysal\.model\.spreg import/g'"
os.system(c)
# replace all references in spint to spreg with pysal.model.spreg
c = "find pysal/model/spint/. -name '*.py' -print | xargs sed -i -- 's/ spreg\./ pysal\.model\.spreg\./g'"
os.system(c)
# replace import spreg.user_output as USER to from pysal.model.spreg import user_output as USER
#c = "find pysal/model/spreg/. -name '*.py' -print | xargs sed -i -- 's/import spreg\.user_output as USER/from pysal\.model\.spreg import user_output as USER/g'"
#os.system(c)
c = "find pysal/model/spglm/. -name '*.py' -print | xargs sed -i -- 's/import spreg\.user_output as USER/from pysal\.model\.spreg import user_output as USER/g'"
os.system(c)
c = "find pysal/model/spglm/. -name '*.py' -print | xargs sed -i -- 's/import spreg\.user_output as USER/from pysal\.model\.spreg import user_output as USER/g'"
os.system(c)
# undo a side effect in spglm
c = "find pysal/model/spglm/. -name '*.py' -print | xargs sed -i -- 's/import pysal\.model\.spreg\.user_output as USER/from pysal\.model\.spreg import user_output as USER/g'"
os.system(c)
c = "find pysal/model/spint/. -name '*.py' -print | xargs sed -i -- 's/import spreg\.user_output as USER/from pysal\.model\.spreg import user_output as USER/g'"
os.system(c)
c = "find pysal/model/mgwr/. -name '*.py' -print | xargs sed -i -- 's/import spreg\.user_output as USER/from pysal\.model\.spreg import user_output as USER/g'"
os.system(c)
# replace all references to spglm with pysal.model.spglm
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/spglm/pysal\.model\.spglm/g'"
os.system(c)
# replace all references to spvcm with pysal.model.spvcm
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/ spvcm / pysal\.model\.spvcm /g'"
os.system(c)
# replace all references to spvcm with pysal.model.spvcm
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/ spvcm\./ pysal\.model\.spvcm\./g'"
os.system(c)
# fix in spvcm from spreg -> from pysal.model.spreg
c = "find pysal/model/spvcm/. -name '*.py' -print | xargs sed -i -- 's/from spreg/from pysal\.model\.spreg/g'"
os.system(c)
# fix giddy
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/ giddy\.api/ pysal\.explore\.giddy\.api/g'"
os.system(c)
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/import giddy/import pysal\.explore\.giddy/g'"
os.system(c)
c = "find pysal/. -name '*.py' -print | xargs sed -i -- 's/from giddy/from pysal\.explore\.giddy/g'"
os.system(c)
# fix mgwr
c = "find pysal/model/mgwr/. -name '*.py' -print | xargs sed -i -- 's/pysal\.open/pysal\.lib\.open/g'"
os.system(c)
c = "find pysal/model/mgwr/. -name '*.py' -print | xargs sed -i -- 's/pysal\.examples/pysal\.lib\.examples/g'"
os.system(c)
# fix spreg
c = "find pysal/model/spreg/. -name '*.py' -print | xargs sed -i -- 's/from spreg/from pysal\.model\.spreg/g'"
os.system(c)
c = "find pysal/model/spreg/. -name '*.py' -print | xargs sed -i -- 's/import spreg/import pysal\.model\.spreg/g'"
os.system(c)
c = "find pysal/model/spreg/. -name '*.py' -print | xargs sed -i -- 's/ spreg/ pysal\.model\.spreg/g'"
os.system(c)
# fix spvcm
c = "find pysal/model/spvcm/. -name '*.py' -print | xargs sed -i -- 's/pysal\.examples/pysal\.lib\.examples/g'"
os.system(c)
#pysal.queen_from_shapefile
c = "find pysal/model/spvcm/. -name '*.py' -print | xargs sed -i -- 's/pysal\.queen/pysal\.lib\.weights\.user\.queen/g'"
os.system(c)
c = "find pysal/model/spvcm/. -name '*.py' -print | xargs sed -i -- 's/pysal\.w_subset/pysal\.lib\.weights\.Wsets\.w_subset/g'"
os.system(c)
if 'splot' in tagged:
# fix splot
#from splot.libpysal import plot_spatial_weights
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\.libpysal/from pysal\.viz\.splot\.libpysal/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\.bk/from pysal\.viz\.splot\.bk/g'"
os.system(c)
#from esda.moran import Moran_Local, Moran, Moran_BV, Moran_Local_BV
#c = "find pysalnext/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from esda/from pysal\.explore\.esda/g'"
#os.system(c)
# from pysal.viz.splot.pysal.explore.esda import
# from splot.esda
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from pysal\.viz\.splot\.pysal\.explore\.esda/from pysal\.viz\.splot\.esda/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\.pysal\.explore\.esda/from pysal\.viz\.splot\.pysal\.explore\.esda/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/import pysal as ps/import pysal/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/ps\.spreg/pysal\.model\.spreg/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/ps\.lag_spatial/pysal\.lib\.weights\.spatial_lag\.lag_spatial/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from esda/from pysal\.explore\.esda/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/import esda/import pysal\.explore\.esda/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/import pysal\.explore\.esda/import pysal\.explore\.esda as esda/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\.esda/from pysal\.viz\.splot\.esda/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from spreg/from pysal\.model\.spreg/g'"
os.system(c)
#from splot.libpysal import plot_spatial_weights
#from splot.pysal.lib import plot_spatial_weights
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\.pysal\.lib/from pysal\.viz\.splot\.libpysal/g'"
os.system(c)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\.giddy/from pysal\.viz\.splot\.giddy/g'"
os.system(c)
#from ._viz_pysal.lib_mpl import (plot_spatial_weights)
#from ._viz_libpysal_mpl import (plot_spatial_weights)
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/_viz_pysal\.lib_mpl/_viz_libpysal_mpl/g'"
os.system(c)
# import mapclassify as classify -> import pysal.viz.mapclassify as classify
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/import mapclassify/import pysal\.viz\.mapclassify/g'"
os.system(c)
# from splot.mapping -> from pysal.viz.splot.mapping
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\.mapping /from pysal\.viz\.splot\.mapping /g'"
os.system(c)
# from splot._ -> from pysal.viz.splot._
c = "find pysal/viz/splot/. -name '*.py' -print | xargs sed -i -- 's/from splot\._/from pysal\.viz\.splot\._/g'"
os.system(c)
print("skipping: ", subpackage)
#############
# notebooks #
#############
com = "mkdir notebooks/{package}/{subpackage}".format(
package=package, subpackage=subpackage
)
os.system(com)
com = "cp -rf tmp/{subpackage}/notebooks/* notebooks/{package}/{subpackage}/".format(
package=package, subpackage=subpackage
)
os.system(com)
#
#
#c = "find pysalnext/model/mgwr/. -name '*.py' -print | xargs sed -i -- 's/pysal\.open/pysal\.lib\.examples\.open/g'"
#os.system(c)
###################
# Rewrite Imports #
###################
cache = {}
# handle inequality
def replace(targets, string, replacement, update_cache=True):
c = "find {} -name '*.py' -print | xargs sed -i -- 's/{}/{}/g'".format(
targets, string, replacement
)
if update_cache:
if targets in cache:
cache[targets].append([string, replacement])
else:
cache[targets] = [[string, replacement]]
os.system(c)
replace("pysal/.", "libpysal", "pysal\.lib")
replace("pysal/explore/.", "esda", "pysal\.explore\.esda")
replace("pysal/viz/mapclassify/.", "mapclassify", "pysal\.viz\.mapclassify")
replace("pysal/explore/.", "mapclassify", "pysal\.viz\.mapclassify")
replace("pysal/.", "pysal\.spreg", "pysal\.model\.spreg")
replace("pysal/model/spglm/.", "spreg\.", "pysal\.model\.spreg\.")
replace("pysal/model/spglm/.", "from spreg import", "from pysal\.model\.spreg import")
replace("pysal/model/spint/.", "from spreg import", "from pysal\.model\.spreg import")
replace("pysal/model/spint/.", " spreg\.", " pysal\.model\.spreg\.")
replace(
"pysal/model/spglm/.",
"import spreg\.user_output as USER",
"from pysal\.model\.spreg import user_output as USER",
)
replace(
"pysal/model/spglm/.",
"import pysal\.model\.spreg\.user_output as USER",
"from pysal\.model\.spreg import user_output as USER",
)
replace(
"pysal/model/spint/.",
"import pysal\.model\.spreg\.user_output as USER",
"from pysal\.model\.spreg import user_output as USER",
)
replace(
"pysal/model/mgwr/.",
"import pysal\.model\.spreg\.user_output as USER",
"from pysal\.model\.spreg import user_output as USER",
)
replace("pysal/.", "spglm", "pysal\.model\.spglm")
replace("pysal/.", "spvcm", "pysal\.model\.spvcm")
replace("pysal/model/spvcm/.", "def test_val", "\@ut\.skip\\n def test_val")
replace("pysal/model/spvcm/.", "from spreg", "from pysal\.model\.spreg")
replace("pysal/.", " giddy\.api", "pysal\.explore\.giddy\.api")
replace("pysal/.", "import giddy", "import pysal\.explore\.giddy")
replace("pysal/.", "from giddy", "from pysal\.explore\.giddy")
replace(
"pysal/explore/giddy/tests/.",
"class Rose_Tester",
'@unittest\.skip("skipping")\\nclass Rose_Tester',
)
replace("pysal/model/mgwr/.", "pysal\.open", "pysal\.lib\.open")
replace("pysal/model/mgwr/.", "pysal\.examples", "pysal\.lib\.examples")
replace("pysal/model/spreg/.", "from spreg", "from pysal\.model\.spreg")
replace("pysal/model/spreg/.", "import spreg", "import pysal\.model\.spreg")
replace("pysal/model/spreg/.", " spreg", " pysal\.model\.spreg")
replace("pysal/model/spvcm/.", "pysal\.examples", "pysal\.lib\.examples")
replace("pysal/model/spvcm/.", "pysal\.queen", "pysal\.lib\.weights\.user\.queen")
replace(
"pysal/model/spvcm/.", "pysal\.w_subset", "pysal\.lib\.weights\.Wsets\.w_subset"
)
replace("pysal/viz/splot/.", "from splot\.libpysal", "from pysal\.viz\.splot\.libpysal")
replace("pysal/viz/splot/.", "from splot\.bk", "from pysal\.viz\.splot\.bk")
replace(
"pysal/viz/splot/.",
"from pysal\.viz\.splot\.pysal\.explore\.esda",
"from pysal\.viz\.splot\.esda",
)
replace(
"pysal/viz/splot/.",
"from splot\.pysal\.explore\.esda",
"from pysal\.viz\.splot\.pysal\.explore\.esda",
)
replace("pysal/viz/splot/.", "import pysal as ps", "import pysal")
replace("pysal/viz/splot/.", "ps\.spreg", "pysal\.model\.spreg")
replace(
"pysal/viz/splot/.",
"ps\.lag_spatial",
"pysal\.lib\.weights\.spatial_lag\.lag_spatial",
)
replace("pysal/viz/splot/.", "from esda", "from pysal\.explore\.esda")
replace("pysal/viz/splot/.", "import esda", "import pysal\.explore\.esda as esda")
replace(
"pysal/viz/splot/.", "import pysal\.esda", "import pysal\.explore\.esda as esda"
)
replace("pysal/viz/splot/.", "from splot\.esda", "from pysal\.viz\.splot\.esda")
replace("pysal/viz/splot/.", "from spreg", "from pysal\.model\.spreg")
replace(
"pysal/viz/splot/.", "from splot\.pysal\.lib", "from pysal\.viz\.splot\.libpysal"
)
replace("pysal/viz/splot/.", "from splot\.giddy", "from pysal\.viz\.splot\.giddy")
replace("pysal/viz/splot/.", "_viz_pysal\.lib_mpl", "_viz_libpysal_mpl")
replace("pysal/viz/splot/.", "import mapclassify", "import pysal\.viz\.mapclassify")
replace("pysal/viz/splot/.", "from splot\.mapping", "from pysal\.viz\.splot\.mapping")
replace("pysal/viz/splot/.", "from splot\._", "from pysal\.viz\.splot\._")
replace("pysal/viz/splot/.", "import spreg", "from pysal\.model import spreg")
replace(
"pysal/explore/inequality/.", "from inequality", "from pysal\.explore\.inequality"
)
replace("pysal/model/mgwr/.", "from spreg", "from pysal\.model\.spreg")
replace("pysal/model/mgwr/.", "import spreg", "import pysal\.model\.spreg")
replace("pysal/explore/spaghetti/.", "from spaghetti", "from pysal\.explore\.spaghetti")
replace(
"pysal/explore/spaghetti/.", "import spaghetti", "import pysal\.explore\.spaghetti"
)
replace(
"pysal/explore/segregation/.",
"from segregation",
"from pysal\.explore\.segregation",
)
replace(
"pysal/explore/segregation/.",
"import segregation",
"import pysal\.explore\.segregation",
)
replace("pysal/explore/segregation/.", "w_pysal\.lib", "w_libpysal")
#####################
# Rewrite notebooks #
#####################
with open("packages.yml") as package_file:
packages = yaml.load(package_file)
c = "find pysal/explore/inequality/. -name '*.py' -print | xargs sed -i -- 's/from inequality/from pysal\.explore\.inequality/g'"
os.system(c)
# handle mgwr
mappings = []
for package in ["explore", "viz", "model"]:
for subpackage in packages[package].split():
left = "from {}".format(subpackage)
right = "from pysal\.{package}\.{subpackage}".format(
package=package, subpackage=subpackage
)
mappings.append([left, right])
left = "import {}".format(subpackage)
right = "from pysal\.{package} import {subpackage}".format(
package=package, subpackage=subpackage
)
mappings.append([left, right])
left = "libpysal"
right = "pysal\.lib"
mappings.append([left, right])
c = "find pysal/model/mgwr/. -name '*.py' -print | xargs sed -i -- 's/from spreg/from pysal\.model\.spreg/g'"
os.system(c)
def replace_nb(targets, string, replacement, update_cache=True):
c = "find {} -type f -print0 | xargs -0 sed -i -- 's/{}/{}/g'".format(
targets, string, replacement
)
c = "find pysal/model/mgwr/. -name '*.py' -print | xargs sed -i -- 's/import spreg/import pysal\.model\.spreg/g'"
os.system(c)
# handle spaghetti
for package in ["explore", "viz", "model"]:
for subpackage in packages[package].split():
targets = "notebooks/{package}/{subpackage}/".format(
package=package, subpackage=subpackage
)
for mapping in mappings:
left, right = mapping
replace_nb(targets, left, right)
c = "find pysal/explore/spaghetti/. -name '*.py' -print | xargs sed -i -- 's/from spaghetti/from pysal\.explore\.spaghetti/g'"
os.system(c)
c = "find pysal/explore/spaghetti/. -name '*.py' -print | xargs sed -i -- 's/import spaghetti/import pysal\.explore\.spaghetti/g'"
os.system(c)
init_lines = ["__version__='2.0rc2'"]
init_lines = ["__version__='2.1.0rc'"]
for package in packages:
os.system('touch pysal/{package}/__init__.py'.format(package=package))
os.system("touch pysal/{package}/__init__.py".format(package=package))
subpackages = packages[package].split()
if package == 'lib':
if package == "lib":
pass
else:
subpackage_lines = ['from . import {}'.format(s) for s in subpackages]
with open('pysal/{package}/__init__.py'.format(package=package), 'w') as f:
f.write('\n'.join(subpackage_lines))
init_lines.append('from . import {}'.format(package))
subpackage_lines = ["from . import {}".format(s) for s in subpackages]
with open("pysal/{package}/__init__.py".format(package=package), "w") as f:
f.write("\n".join(subpackage_lines))
init_lines.append("from . import {}".format(package))
lines = "\n".join(init_lines)
with open("pysal/__init__.py", 'w') as outfile:
with open("pysal/__init__.py", "w") as outfile:
outfile.write(lines)
......@@ -7,12 +7,12 @@ import pybtex.database
# TARGETROOT ="pysal/"
with open('packages.yml') as package_file:
with open("packages.yml") as package_file:
packages = yaml.load(package_file)
# only tagged packages go in release
with open('tags.json') as tag_file:
with open("tags.json") as tag_file:
tags = json.load(tag_file)
tagged = list(tags.keys())
......@@ -20,26 +20,33 @@ tagged = list(tags.keys())
from pybtex.database import BibliographyData, Entry
master_data = BibliographyData( {
'article-minimal': Entry('article', [
('author', 'Leslie B. Lamport'),
('title', "blah blah blah"),
('journal', "Some outlet"),
('year', '1986'),
]),
})
master_data = BibliographyData(
{
"article-minimal": Entry(
"article",
[
("author", "Leslie B. Lamport"),
("title", "blah blah blah"),
("journal", "Some outlet"),
("year", "1986"),
],
)
}
)
# handle duplicates
for package in packages:
subpackages = packages[package].split()
for subpackage in subpackages:
package_bib = "tmp/{subpackage}/doc/_static/references.bib".format(subpackage=subpackage)
package_bib = "tmp/{subpackage}/doc/_static/references.bib".format(
subpackage=subpackage
)
if os.path.isfile(package_bib):
local = pybtex.database.parse_file(package_bib)
for entry in local.entries:
if entry not in master_data.entries:
master_data.add_entry(entry, local.entries[entry])
print('adding', entry)
print("adding", entry)
with open("doc/_static/references.bib", 'w') as master_bib:
master_bib.write(master_data.to_string('bibtex'))
with open("doc/_static/references.bib", "w") as master_bib:
master_bib.write(master_data.to_string("bibtex"))
pysal (2.1.0-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* Bump Standards-Version to 4.4.0, no changes.
* Add python3-{deprecated,descartes,tqdm} to (build) dependencies.
-- Bas Couwenberg <sebastic@debian.org> Mon, 29 Jul 2019 20:05:50 +0200
pysal (2.0.0-1) unstable; urgency=medium
* Team upload.
......
......@@ -6,6 +6,8 @@ Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
python3-all,
python3-deprecated,
python3-descartes,
python3-geojson,
python3-geopandas,
python3-matplotlib,
......@@ -18,9 +20,10 @@ Build-Depends: debhelper (>= 9),
python3-seaborn,
python3-setuptools,
python3-shapely,
python3-sklearn,
python3-statsmodels
Standards-Version: 4.3.0
python3-sklearn (>= 0.21.0),
python3-statsmodels,
python3-tqdm
Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/debian-gis-team/pysal
Vcs-Git: https://salsa.debian.org/debian-gis-team/pysal.git -b experimental
Homepage: https://pysal.readthedocs.org/en/latest/
......@@ -32,7 +35,8 @@ Depends: python3-lxml,
python3-scipy,
${python3:Depends},
${misc:Depends}
Recommends: python3-geojson,
Recommends: python3-descartes,
python3-geojson,
python3-geopandas,
python3-matplotlib,
python3-numexpr,
......
......@@ -22,3 +22,12 @@ help:
clean:
rm -rf $(BUILDDIR)/*
rm -rf auto_examples/
dash: html
rm -rf PySAL.docset
doc2dash --name=PySAL --icon=_static/images/pysal_favicon.png _build/html
zeal: dash
rm -rf ~/.local/share/Zeal/Zeal/docsets/PySAL.docset
mkdir ~/.local/share/Zeal/Zeal/docsets/PySAL.docset
cp -R PySAL.docset/ ~/.local/share/Zeal/Zeal/docsets/
......@@ -73,6 +73,10 @@
.table-scrollable { margin: 0; padding: 0; }
.label {
color: #222222;
font-size: 100%;
color: #ff0000;
/*font-size: 100%;*/
}
div.body {
max-width: 1080px;
}
This diff is collapsed.
......@@ -322,9 +322,12 @@ Markov Methods
giddy.markov.Markov
giddy.markov.Spatial_Markov
giddy.markov.LISA_Markov
giddy.markov.FullRank_Markov
giddy.markov.GeoRank_Markov
giddy.markov.kullback
giddy.markov.prais
giddy.markov.homogeneity
giddy.markov.sojourn_time
giddy.ergodic.steady_state
giddy.ergodic.fmpt
giddy.ergodic.var_fmpt
......@@ -391,93 +394,246 @@ Gini Inequality Measures
inequality.gini.Gini_Spatial
pysal.explore.pointpats: Point Pattern Analysis
-----------------------------------------------
.. _pointpattern_api:
pysal.explore.spaghetti:
-------------------------
Point Pattern
++++++++++++++++++++++++
.. autosummary::
:toctree: generated/
pointpats.PointPattern
.. _network_api:
.. _pointprocess_api:
Point Processes
++++++++++++++++++++++++
spaghetti.Network
+++++++++++++++++
.. autosummary::
:toctree: generated/
pointpats.PointProcess
pointpats.PoissonPointProcess
pointpats.PoissonClusterPointProcess
.. _centrgraphy_api:
Centrography
++++++++++++++++++++++++
.. autosummary::
:toctree: generated/
spaghetti.Network
spaghetti.Network.extractgraph
spaghetti.Network.contiguityweights
spaghetti.Network.distancebandweights
spaghetti.Network.snapobservations
spaghetti.Network.compute_distance_to_nodes
spaghetti.Network.compute_snap_dist
spaghetti.Network.count_per_edge
spaghetti.Network.simulate_observations
spaghetti.Network.enum_links_node
spaghetti.Network.node_distance_matrix
spaghetti.Network.allneighbordistances
spaghetti.Network.nearestneighbordistances
spaghetti.Network.NetworkF
spaghetti.Network.NetworkG
spaghetti.Network.NetworkK
spaghetti.Network.segment_edges
spaghetti.Network.savenetwork
spaghetti.Network.loadnetwork
pointpats.mbr
pointpats.hull
pointpats.mean_center
pointpats.weighted_mean_center
pointpats.manhattan_median
pointpats.std_distance
pointpats.euclidean_median
pointpats.ellipse
pointpats.skyum
pointpats.dtot
pointpats._circle
.. _quadrat_api:
Quadrat Based Statistics
++++++++++++++++++++++++
.. autosummary::
:toctree: generated/
pointpats.RectangleM
pointpats.HexagonM
pointpats.QStatistic
.. _distance_api:
Distance Based Statistics
+++++++++++++++++++++++++
.. autosummary::
:toctree: generated/
pointpats.DStatistic
pointpats.G
pointpats.F
pointpats.J
pointpats.K
pointpats.L
pointpats.Envelopes
pointpats.Genv
pointpats.Fenv
pointpats.Jenv
pointpats.Kenv
pointpats.Lenv
.. _window_api:
Window functions
++++++++++++++++++++++++
.. autosummary::
:toctree: generated/
pointpats.Window
pointpats.as_window
pointpats.poly_from_bbox
pointpats.to_ccf
pysal.explore.segregation: Segregation Analysis
-----------------------------------------------
.. _segregation_api:
Aspatial Indices
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
spaghetti.NetworkBase
segregation.aspatial.Dissim
segregation.aspatial.GiniSeg
segregation.aspatial.Entropy
segregation.aspatial.Isolation
segregation.aspatial.Exposure
segregation.aspatial.Atkinson
segregation.aspatial.CorrelationR
segregation.aspatial.ConProf
segregation.aspatial.ModifiedDissim
segregation.aspatial.ModifiedGiniSeg
segregation.aspatial.BiasCorrectedDissim
segregation.aspatial.DensityCorrectedDissim
Spatial Indices
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
segregation.spatial.SpatialProxProf
segregation.spatial.SpatialDissim
segregation.spatial.BoundarySpatialDissim
segregation.spatial.PerimeterAreaRatioSpatialDissim
segregation.spatial.DistanceDecayIsolation
segregation.spatial.DistanceDecayExposure
segregation.spatial.SpatialProximity
segregation.spatial.AbsoluteClustering
segregation.spatial.RelativeClustering
segregation.spatial.Delta
segregation.spatial.AbsoluteConcentration
segregation.spatial.RelativeConcentration
segregation.spatial.AbsoluteCentralization
segregation.spatial.RelativeCentralization
Multigroup Indices
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
spaghetti.NetworkBase
spaghetti.NetworkBase.computeenvelope
spaghetti.NetworkBase.setbounds
spaghetti.NetworkBase.validatedistribution
segregation.aspatial.MultiDissim
segregation.aspatial.MultiGiniSeg
segregation.aspatial.MultiNormalizedExposure
segregation.aspatial.MultiInformationTheory
segregation.aspatial.MultiRelativeDiversity
segregation.aspatial.MultiSquaredCoefficientVariation
segregation.aspatial.MultiDiversity
segregation.aspatial.SimpsonsConcentration
segregation.aspatial.SimpsonsInteraction
segregation.aspatial.MultiDivergence
Local Indices
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
spaghetti.NetworkF
++++++++++++++++++
segregation.local.MultiLocationQuotient
segregation.local.MultiLocalDiversity
segregation.local.MultiLocalEntropy
segregation.local.MultiLocalSimpsonInteraction
segregation.local.MultiLocalSimpsonConcentration
segregation.local.LocalRelativeCentralization
Batch Compute Wrappers
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
spaghetti.NetworkF
spaghetti.NetworkF.computeenvelope
spaghetti.NetworkF.setbounds
spaghetti.NetworkF.validatedistribution
spaghetti.NetworkF.computeobserved
spaghetti.NetworkF.computepermutations
segregation.compute_all.ComputeAllAspatialSegregation
segregation.compute_all.ComputeAllSpatialSegregation
segregation.compute_all.ComputeAllSegregation
spaghetti.NetworkG
++++++++++++++++++
Inference Wrappers
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
segregation.inference.SingleValueTest
segregation.inference.TwoValueTest
Decomposition
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
spaghetti.NetworkG
spaghetti.NetworkG.computeenvelope
spaghetti.NetworkG.setbounds
spaghetti.NetworkG.validatedistribution
spaghetti.NetworkG.computeobserved
spaghetti.NetworkG.computepermutations
segregation.decomposition.DecomposeSegregation
Network
+++++++++++++++++++++
.. autosummary::
:toctree: generated/
segregation.network.get_osm_network
segregation.network.calc_access
spaghetti.NetworkK
++++++++++++++++++
pysal.explore.spaghetti: Spatial Analysis on Networks
-----------------------------------------------------
.. _spaghetti_api:
spaghetti.Network
+++++++++++++++++
.. autosummary::
:toctree: generated/
spaghetti.NetworkK
spaghetti.NetworkK.computeenvelope
spaghetti.NetworkK.setbounds
spaghetti.NetworkK.validatedistribution
spaghetti.NetworkK.computeobserved
spaghetti.NetworkK.computepermutations
spaghetti.Network.extract_components
spaghetti.Network.extractgraph
spaghetti.Network.contiguityweights
spaghetti.Network.distancebandweights
spaghetti.Network.snapobservations
spaghetti.Network.compute_distance_to_vertices
spaghetti.Network.compute_snap_dist
spaghetti.Network.count_per_link
spaghetti.Network.simulate_observations
spaghetti.Network.enum_links_vertex
spaghetti.Network.full_distance_matrix
spaghetti.Network.allneighbordistances
spaghetti.Network.nearestneighbordistances
spaghetti.Network.split_arcs
spaghetti.Network.savenetwork
spaghetti.Network.loadnetwork
spaghetti.Network.NetworkF
spaghetti.Network.NetworkG
spaghetti.Network.NetworkK
spaghetti.Network._evaluate_napts
spaghetti.Network._extractnetwork
spaghetti.Network._newpoint_coords
spaghetti.Network._round_sig
spaghetti.Network._snap_to_link
spaghetti.Network._yield_napts
spaghetti.Network._yieldneighbor
spaghetti.PointPattern
++++++++++++++++++++++
......@@ -496,22 +652,14 @@ spaghetti.SimulatedPointPattern
spaghetti.SimulatedPointPattern
spaghetti
+++++++++
.. autosummary::
:toctree: generated/
spaghetti.compute_length
spaghetti.dijkstra
spaghetti.dijkstra_mp
spaghetti.generatetree
spaghetti.get_neighbor_distances
spaghetti.snap_points_on_segments
spaghetti.squared_distance_point_segment
spaghetti.ffunction
spaghetti.gfunction
spaghetti.kfunction
spaghetti.element_as_gdf
.. currentmodule:: pysal.viz
......@@ -531,21 +679,21 @@ Classifiers
.. autosummary::
:toctree: generated/
mapclassify.Box_Plot
mapclassify.Equal_Interval
mapclassify.Fisher_Jenks
mapclassify.Fisher_Jenks_Sampled
mapclassify.HeadTail_Breaks
mapclassify.Jenks_Caspall
mapclassify.Jenks_Caspall_Forced
mapclassify.Jenks_Caspall_Sampled
mapclassify.Max_P_Classifier
mapclassify.Maximum_Breaks
mapclassify.Natural_Breaks
mapclassify.BoxPlot
mapclassify.EqualInterval
mapclassify.FisherJenks
mapclassify.FisherJenksSampled
mapclassify.HeadTailBreaks
mapclassify.JenksCaspall
mapclassify.JenksCaspallForced
mapclassify.JenksCaspallSampled
mapclassify.MaxP
mapclassify.MaximumBreaks
mapclassify.NaturalBreaks
mapclassify.Quantiles
mapclassify.Percentiles
mapclassify.Std_Mean
mapclassify.User_Defined
mapclassify.StdMean
mapclassify.UserDefined
Utilities
+++++++++
......@@ -709,12 +857,8 @@ Kernel Specification
.. autosummary::
:toctree: generated/
mgwr.kernels.fix_gauss
mgwr.kernels.adapt_gauss
mgwr.kernels.fix_bisquare
mgwr.kernels.adapt_bisquare
mgwr.kernels.fix_exp
mgwr.kernels.adapt_exp
mgwr.kernels.Kernel
mgwr.kernels.local_cdist
Bandwidth Selection
+++++++++++++++++++
......