Skip to main content

geotriangulate

Project description

geotriangulate

geotriangulate is a Python library for finding object location by triangulation method.

Installation

Just save geotriangulate.py to any convenient location and import it

Usage

import geotriangulate

# Creates a new measurement with longitude lon, latitude lat, azimuth alpha
meas = Measurement(lon, lat, alpha)

# Creates a new target object
targobj = TargObj()

''' Adds measurement meas of the target object. returns the id assigned to the measurement. 
If the new measurement does not provide any additional information, None is returned

'''
meas_id = targobj.AddMeasurement(meas)

# Deletes the measurement by id. If there is no measurement with such an id, an error is thrown
targobj.DeleteMeasurement(meas_id)

# Access to the current average location of the object
targobj.CurMedPos

License

MIT

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

geotriangulate-1.0.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geotriangulate-1.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file geotriangulate-1.0.1.tar.gz.

File metadata

  • Download URL: geotriangulate-1.0.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for geotriangulate-1.0.1.tar.gz
Algorithm Hash digest
SHA256 248c346bcad658b1af610287404bc91c2cfa5c472e6a99e2a1349949a708608e
MD5 257d971afd7790fd2dbabf60c197775d
BLAKE2b-256 5dba26a4b59005c5030c611f77ca94159d539f8b789f04f36823652b1c00f852

See more details on using hashes here.

File details

Details for the file geotriangulate-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: geotriangulate-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for geotriangulate-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b1bb7eef88c50165a1e76075f555963dbe1b99eed1b35fdaea369b5909a819d
MD5 f4554542253c5cfa77f5d91a2d3a8963
BLAKE2b-256 5f258a7686f5a8062af3f3dd9d07696008b428b0adec899c1beabeeaeb7cc938

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