{ "info": { "author": "Kamal Shadi", "author_email": "kamal.shadi85@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Localization\n\n### Introduction\nLocalization package provides tools for multilateration and triangulation in `2D`,`3D` and on `earth surface`.\nThe current model of the earth, supported by the package, is called `Earth1`.\nEarth1 models the earth as an ideal sphere having radius of 6378.1 kilometers.\n\n### Installation\nThe package has been tested with python2.7 and python3.6. Use pip to install the package:\n```\npip install localization\n```\n### Usage\n\nTypical usage of the package is:\n\n```python\nimport localization as lx\n```\nTo initilaize new localization Project use:\n\n```python\nP=lx.Project(mode=,solver=)\n```\n\nCurrently three modes are supported:\n - 2D\n - 3D\n - Earth1\n\nAlso three solvers can be used:\n - LSE for least square error\n - LSE_GC for least square error with geometric constraints. Geometric constraints force the solutions to be in the intersection areas of all multilateration circles.\n - 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.\n\nTo add anchors to the project use:\n\n```python\nP.add_anchor(,)\n```\n\nwhere name denote user provided label of the anchor and is the location of the anchor provided in tuple, e.g., (120,60).\n\nTo add target use:\n\n```python\nt,label=P.add_target()\n```\n\nt is the target object and label is the package provided label for the target.\n\nDistance measurements must be added to target object like:\n\n```python\nt.add_measure(,)\n```\n\nFinally running P.solve() will locate all targets. You can access the estimated location of the target t by t.loc.\nt.loc is a point object. Point object `B` has `x`,`y`,`z` coordinates available by `B.x`, `B.y`, `B.z` respectively.\n\nHere is a sample use of the package for three anchors and one target scenario:\n\n```python\nimport localization as lx\n\nP=lx.Project(mode='2D',solver='LSE')\n\n\nP.add_anchor('anchore_A',(0,100))\nP.add_anchor('anchore_B',(100,100))\nP.add_anchor('anchore_C',(100,0))\n\nt,label=P.add_target()\n\nt.add_measure('anchore_A',50)\nt.add_measure('anchore_B',50)\nt.add_measure('anchore_C',50)\n\nP.solve()\n\n# Then the target location is:\n\nprint(t.loc)\n```\n\n---\ncontact: __kamal.shadi85@gmail.com__\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kamalshadi/Localization", "keywords": "", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "Localization", "package_url": "https://pypi.org/project/Localization/", "platform": "", "project_url": "https://pypi.org/project/Localization/", "project_urls": { "Homepage": "https://github.com/kamalshadi/Localization" }, "release_url": "https://pypi.org/project/Localization/0.1.7/", "requires_dist": null, "requires_python": "", "summary": "Multilateration and Triangulation.", "version": "0.1.7" }, "last_serial": 4629970, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4f38f00ed7096e54f6b6fcda274b4fe8", "sha256": "44f994212899aa7d0860e78f4290e746a38a12615c7365be422a11232251641e" }, "downloads": -1, "filename": "Localization-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4f38f00ed7096e54f6b6fcda274b4fe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8881, "upload_time": "2014-08-17T00:04:13", "url": "https://files.pythonhosted.org/packages/3f/30/00f22cee8b7e101b18c30cdf925e8d8336bf0f949402294f3bed34f432f5/Localization-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "141c2c921a7a33ecacdfb7b57e8f93dd", "sha256": "f7bdf79dc06dc6d0eb81b1ca498527a04a6bcace8da3a7ed5ac297b281ce6181" }, "downloads": -1, "filename": "Localization-0.1.1.tar.gz", "has_sig": false, "md5_digest": "141c2c921a7a33ecacdfb7b57e8f93dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8906, "upload_time": "2014-08-17T00:11:07", "url": "https://files.pythonhosted.org/packages/cf/d1/35c3c197ba041a48a1b4f465629cfd1c1f22903009c1fd55891ae3639db8/Localization-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "267c1f4fbfbf43c3032310ff8f524b47", "sha256": "cf280070777533f7f3b00e1dd75313775c0f3958a3d0ed189937100fc5df6e9a" }, "downloads": -1, "filename": "Localization-0.1.2.tar.gz", "has_sig": false, "md5_digest": "267c1f4fbfbf43c3032310ff8f524b47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8871, "upload_time": "2014-08-17T00:31:34", "url": "https://files.pythonhosted.org/packages/06/ec/f5e818bc8e0913371db31fc2b31d16f6a59a9fd82fcac0be65d3cfad1014/Localization-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "fb43bf428a533c2987314143e6e89158", "sha256": "2b59e5870878e06041c62c2023117580749d020f75600da58660170f08b04d1a" }, "downloads": -1, "filename": "Localization-0.1.3.tar.gz", "has_sig": false, "md5_digest": "fb43bf428a533c2987314143e6e89158", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10143, "upload_time": "2014-11-11T03:31:02", "url": "https://files.pythonhosted.org/packages/b0/cd/4050dfc095157f31abe058d70c057cebc951a8ec5d042bea5ef7ed251230/Localization-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "927c9f1187c0a0a62b68f33abb3598d8", "sha256": "ebe2043eec7271309860b6d25f4488e67b1b369cf25e84f4eea1744a58610120" }, "downloads": -1, "filename": "Localization-0.1.4.tar.gz", "has_sig": false, "md5_digest": "927c9f1187c0a0a62b68f33abb3598d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10803, "upload_time": "2014-11-11T04:53:53", "url": "https://files.pythonhosted.org/packages/f8/90/154723d64b3b5e1582a9b3e143e0dc47893338f0e0201ddc2ee6ebbe08b8/Localization-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "9bca76f63328524f872af39cf07fb5f9", "sha256": "bdc7470926c5c0d0a5ce42542061e538e3980c0daeb8f1a547cc2d5d682cb637" }, "downloads": -1, "filename": "Localization-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "9bca76f63328524f872af39cf07fb5f9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16301, "upload_time": "2018-10-07T21:29:29", "url": "https://files.pythonhosted.org/packages/b9/1d/682bc4b5f9697d76618be16783308d0678f2e537a780d078337674e9dd2c/Localization-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2bb9a68e0eba0153b7400c89d56c1025", "sha256": "4bfe5cab43e2770689fcbf524b4f4b99915081ff7e409faa31e25fd698338bb3" }, "downloads": -1, "filename": "Localization-0.1.5.tar.gz", "has_sig": false, "md5_digest": "2bb9a68e0eba0153b7400c89d56c1025", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12418, "upload_time": "2018-10-07T21:29:31", "url": "https://files.pythonhosted.org/packages/ad/bf/f8a4192e8fe31f4a3a657b2d1a44870f0f9950f316666f8e3d98e43fe9b2/Localization-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "6f13de1a76648688f734dd13c25fc182", "sha256": "cd2d9897d388785e26f88e826e979fe647e9947312873fcff182ed27f9e0d488" }, "downloads": -1, "filename": "Localization-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "6f13de1a76648688f734dd13c25fc182", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16297, "upload_time": "2018-10-21T15:11:56", "url": "https://files.pythonhosted.org/packages/b5/6e/8048a7551f73728ce10c2d1cee5f19d0aeb3da6c9975585fec0764620c50/Localization-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "87fdc7a0587d1eac5026286a5009a774", "sha256": "cceb9186171e3ac36791ace35de0394d678f92ecf08dfaa5429ca7b51e9d3f27" }, "downloads": -1, "filename": "Localization-0.1.6.tar.gz", "has_sig": false, "md5_digest": "87fdc7a0587d1eac5026286a5009a774", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12421, "upload_time": "2018-10-21T15:11:59", "url": "https://files.pythonhosted.org/packages/73/ad/82f7254e1918be8e299fa0fe130a311b91f89b3fb39d46022f0f91ed819c/Localization-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "7a148e3fc7546b6637a0a4e29497ecb5", "sha256": "fc72e24bd18cfe4b4afea348fb08056732e096886c043e4b6353fecebfd7e34c" }, "downloads": -1, "filename": "Localization-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "7a148e3fc7546b6637a0a4e29497ecb5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16296, "upload_time": "2018-12-23T19:23:20", "url": "https://files.pythonhosted.org/packages/8d/7e/b1323bfade87d5ca5e61f083e44124f0b24cf7a557b23a4496c0811387f2/Localization-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e8e9f8d1d2d76e07952bba675799c79", "sha256": "ddf8db1c1235ceea8e9515facea66a056454f707fdd4ff054a3ce4596d44aa8c" }, "downloads": -1, "filename": "Localization-0.1.7.tar.gz", "has_sig": false, "md5_digest": "5e8e9f8d1d2d76e07952bba675799c79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12430, "upload_time": "2018-12-23T19:23:23", "url": "https://files.pythonhosted.org/packages/82/73/a8153fe113dd7523a22f67f6a9def0de56a1a95593606585d71b9e017698/Localization-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a148e3fc7546b6637a0a4e29497ecb5", "sha256": "fc72e24bd18cfe4b4afea348fb08056732e096886c043e4b6353fecebfd7e34c" }, "downloads": -1, "filename": "Localization-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "7a148e3fc7546b6637a0a4e29497ecb5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16296, "upload_time": "2018-12-23T19:23:20", "url": "https://files.pythonhosted.org/packages/8d/7e/b1323bfade87d5ca5e61f083e44124f0b24cf7a557b23a4496c0811387f2/Localization-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e8e9f8d1d2d76e07952bba675799c79", "sha256": "ddf8db1c1235ceea8e9515facea66a056454f707fdd4ff054a3ce4596d44aa8c" }, "downloads": -1, "filename": "Localization-0.1.7.tar.gz", "has_sig": false, "md5_digest": "5e8e9f8d1d2d76e07952bba675799c79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12430, "upload_time": "2018-12-23T19:23:23", "url": "https://files.pythonhosted.org/packages/82/73/a8153fe113dd7523a22f67f6a9def0de56a1a95593606585d71b9e017698/Localization-0.1.7.tar.gz" } ] }