Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Multilateration and triangulation.

Project Description

Localization package provides tools for multilateration and triangulation
in '2D','3D' and on earth surface.
The current model of the earth, supported by the package, is called 'Earth1'.
Earth1 models the earth as an ideal sphere having radius of 6378.1 kilometers. Typical usage of the package is:

import localization as lx

To initilaize new localization Project use:


Currently three modes are supported:

Also three solvers can be utilized:
1-LSE for least square error
2-LSE_GC for least square error with geometric constraints. Geometric constraints force the solutions to be in the intersection areas of all multilateration circles.
3- CCA for centroid method, i.e., the solution will be the centroid of the intersection area. If no common intersection area exist, the area with maximum overlap is used.

To add anchors to the project use:


where name denote user provided label of the anchor and <loc> is the location of the anchor provided in tuple, e.g., (120,60).

To add target use:


t is the target object and label is the package provided label for the target.

Distance measurements must be added to target object like:


Finally running P.solve() will locate all targets. You can access the estimated location of the target t by t.loc.
t.loc is a point object. Point object B has "x","y","z" coordinates available by B.x, B.y, B.z respectively.

Install the package by:
pip install localization


An Example


To be completed:


2. DOC
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Localization-0.1.4.tar.gz (10.8 kB) Copy SHA256 Checksum SHA256 Source Nov 11, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting