An open API service indexing awesome lists of open source software.

https://github.com/inseefrlab/btbpy

A Python package which provides functions dedicated to urban analysis and kernel density estimation.
https://github.com/inseefrlab/btbpy

geography package python statistical-package urban-data-science

Last synced: 3 months ago
JSON representation

A Python package which provides functions dedicated to urban analysis and kernel density estimation.

Awesome Lists containing this project

README

        

# `btbpy`: Kernel Density Estimation for Urban Geography

[![cibuild](https://github.com/InseeFrLab/btbpy/actions/workflows/cibuildwheels.yml/badge.svg)](https://github.com/InseeFrLab/btbpy/actions)
[![Documentation Status](https://readthedocs.org/projects/pybtb/badge/?version=latest)](https://pybtb.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/btbpy.svg)](https://badge.fury.io/py/btbpy)

`btbpy` is a partial transposition of R `btb` package, available on the [CRAN](https://cran.r-project.org/web/packages/btb/index.html). `btbpy` stands for *beyond the border for Python users*

Documentation website: https://pybtb.readthedocs.io/en/latest/

## Contributions

Developer and maintainer of `btbpy` package :

* Julien Jamme,
* [Lino Galiana](https://github.com/linogaliana/)
* François Sémécurbe

Authors and Contributors of R `btb` package:
Arlindo Dos Santos [cre],
François Sémécurbe [drt, aut],
Auriane Renaud [ctb],
Farida Marouchi [ctb]
Joachim Timoteo [ctb]

## What do `btbpy` and `btb` do ?

The `kernelSmoothing()` function allows you to square and smooth geolocated data. It calculates a classical kernel smoothing (conservative) or a geographically weighted median. There are only two major call modes of the function. The smoothing with quantiles method is not available on the `btbpy` package.
The first call mode is `kernelSmoothing(obs, epsg, cellsize, bandwith)` for a classical kernel smoothing and automatic grid.
The second call mode is `kernelSmoothing(obs, epsg, cellsize, bandwith, centroids)` for a classical kernel smoothing and user grid.

## References

Geographically weighted summary statistics : a framework for localised exploratory data analysis, C.Brunsdon & al., in Computers, Environment and Urban Systems C.Brunsdon & al. (2002) ,
Statistical Analysis of Spatial and Spatio-Temporal Point Patterns, Third Edition, Diggle, pp. 83-86, (2003) .