Skip to main content

Filters a set of points in a 2D space.

Project description

tinfiltering

This is the tinfiltering package, created to perform the automated filtering of 2D data points, based on the edges distance distribution of a Delaunay triangulation.

The methodology upon which this package is based on the initial steps of the algorithm proposed by Yang and Cui (2010) in the paper “A Novel Spatial Clustering Algorithm Based on Delaunay Triangulation”.

This package was developed while in my PhD research in the Department of Geography at University College London, supervised by Dr Mat Disney (Earth Observation/Remote Sensing).

If you have any problem, question or suggestion, please, don’t hesitate to contact the author.

Usage as module

>>> import tinfiltering
>>> tinfiltering.apply_filter(x, y)

Parameters

x, y: list or numpy.ndarray

Coordinates for the set of points to be filtered.

Returns

out_points: 2D numpy.ndarray

Coordinates for the filtered set of points.

Raises

ValueError

If input is in the wrong shape (the shapes of x and y should match).

TypeError

If the input is of the wrong type (the inputs must be a 1-D array or list)

Usage in console

>>> tinfiltering in_filename out_filename

Parameters

in_filename: str

Name of the file containing the numpy array point data to be filtered.

out_filename: str

Name of the file to save the numpy array of filtered point data.

Packages

  • tinfiltering

  • tinfiltering.test

  • tinfiltering.tin

  • Version 0.1.4

Dependencies

  • numpy

  • scipy

Author

  • Matheus Boni Vicari (@matt_bv)

Who do I talk to?

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinfiltering-0.1.4.tar.gz (70.2 kB view details)

Uploaded Source

File details

Details for the file tinfiltering-0.1.4.tar.gz.

File metadata

  • Download URL: tinfiltering-0.1.4.tar.gz
  • Upload date:
  • Size: 70.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tinfiltering-0.1.4.tar.gz
Algorithm Hash digest
SHA256 301cb6b35e962a0b81784dac7a9e0130202bb9269288d256defd2a91d73be58a
MD5 38288cbbe3b29a650eaefa94d6a23a00
BLAKE2b-256 06aa1ab0bd29b4c514ab8abc41f826800e8e019e8467cc6820e91d9b3621c471

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page