{ "info": { "author": "Henrik Blidh", "author_email": "henrik.blidh@nedobmkull.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": "Calibraxis\n==========\n\n.. image:: https://travis-ci.org/hbldh/calibraxis.svg?branch=master\n :target: https://travis-ci.org/hbldh/calibraxis\n.. image:: http://img.shields.io/pypi/v/calibraxis.svg\n :target: https://pypi.python.org/pypi/calibraxis/\n.. image:: http://img.shields.io/pypi/dm/calibraxis.svg\n :target: https://pypi.python.org/pypi/calibraxis/\n.. image:: http://img.shields.io/pypi/l/calibraxis.svg\n :target: https://pypi.python.org/pypi/calibraxis/\n.. image:: https://coveralls.io/repos/github/hbldh/calibraxis/badge.svg?branch=master\n :target: https://coveralls.io/github/hbldh/calibraxis?branch=master\n\nAn Python/NumPy implementation of the accelerometer calibration method\ndescribed in [#FRO2009]_. This is a Python reimplementation of the\nMatlab routine found at [#MLCENTRAL]_.\n\nInstallation\n------------\n\n.. code:: bash\n\n $ pip install git+git://github.com/hbldh/calibraxis.git\n\n\nUsage\n-----\n\n.. code-block:: python\n\n import numpy as np\n from calibraxis import Calibraxis\n\n c = Calibraxis()\n points = np.array([[-4772.38754098, 154.04459016, -204.39081967],\n [3525.0346179, -68.64924886, -34.54604833],\n [-658.17681729, -4137.60248854, -140.49377865],\n [-564.18562092, 4200.29150327, -130.51895425],\n [-543.18289474, 18.14736842, -4184.43026316],\n [-696.62532808, 15.70209974, 3910.20734908],\n [406.65271419, 18.46827992, -4064.61085677],\n [559.45926413, -3989.69513798, -174.71879106],\n [597.22629169, -3655.54153041, -1662.83257031],\n [1519.02616089, -603.82472204, 3290.58469588]])\n # Add points to calibration object's storage.\n c.add_points(points)\n # Run the calibration parameter optimization.\n c.calibrate_accelerometer()\n\n # Applying the calibration parameters to the calibration data.\n c.apply(points[0 :])\n >>> (-0.9998374717802275, 0.018413117166568103, -0.015581921828828033)\n c.batch_apply(points)\n >>> [(-0.9998374717802275, 0.018413117166568103, -0.015581921828828033),\n (0.9992961622260429, -0.013214366898928225, 0.02485664909901566),\n (-0.019529368790511807, -0.9999036558762957, -0.0016168646941819831),\n (0.02495705262007455, 0.9997148237911497, 0.002962712686085044),\n (0.01976766176204912, -0.004116860997835083, -0.9989226575863294),\n (-0.01861952448274546, -0.0030340053509653056, 0.9994716286085392),\n (0.2486658848595297, -0.0015217968569550546, -0.9695063568748282),\n (0.2743240898265507, -0.9612564659612206, -0.01023892300189375),\n (0.2845586995260631, -0.8814105592109305, -0.37753891563574526),\n (0.5138552246439876, -0.14594841230046982, 0.8459602354269684)]\n\nTesting\n-------\n\nRun tests with:\n\n.. code:: bash\n\n $ python setup.py test\n\nor with `Pytest `_:\n\n.. code:: bash\n\n $ py.test tests.py\n\nDocumentation\n-------------\n\nTBW.\n\nReferences\n----------\n\n.. [#FRO2009] `Frosio, I.; Pedersini, F.; Alberto Borghese, N.,\n \"Autocalibration of MEMS Accelerometers,\" Instrumentation and Measurement,\n IEEE Transactions on, vol.58, no.6, pp.2034,2041, June 2009\n `_\n\n.. [#MLCENTRAL] `Matlab File Central `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hbldh/calibraxis", "keywords": "Calibration,Accelerometers", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "calibraxis", "package_url": "https://pypi.org/project/calibraxis/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/calibraxis/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hbldh/calibraxis" }, "release_url": "https://pypi.org/project/calibraxis/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Autocalibration method for accelerometers, implemented in Python.", "version": "0.2.0" }, "last_serial": 2084203, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "7354e4907390db506c849820d309a2f6", "sha256": "2c54e01b05c965728eee9fe9a38a1e519b800d724d1c14cabd1eceb0cb41ba10" }, "downloads": -1, "filename": "calibraxis-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7354e4907390db506c849820d309a2f6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8785, "upload_time": "2016-04-26T07:51:25", "url": "https://files.pythonhosted.org/packages/78/06/084087bf2a41515ecae522c6d8c09b72774646fe4582042ff1e5f3fe38f5/calibraxis-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4f60fad86e820cdba7f2c7a67cabf87", "sha256": "796a062003f7afa30f036e2a8e139feaaad47239cabf7c791014dc9186dbeb28" }, "downloads": -1, "filename": "calibraxis-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b4f60fad86e820cdba7f2c7a67cabf87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6587, "upload_time": "2016-04-26T07:51:19", "url": "https://files.pythonhosted.org/packages/36/c2/c74b30fd8354ee235b1a0f6f4a6499422e7573e06de2580dda5ca7c9404c/calibraxis-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7354e4907390db506c849820d309a2f6", "sha256": "2c54e01b05c965728eee9fe9a38a1e519b800d724d1c14cabd1eceb0cb41ba10" }, "downloads": -1, "filename": "calibraxis-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7354e4907390db506c849820d309a2f6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8785, "upload_time": "2016-04-26T07:51:25", "url": "https://files.pythonhosted.org/packages/78/06/084087bf2a41515ecae522c6d8c09b72774646fe4582042ff1e5f3fe38f5/calibraxis-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4f60fad86e820cdba7f2c7a67cabf87", "sha256": "796a062003f7afa30f036e2a8e139feaaad47239cabf7c791014dc9186dbeb28" }, "downloads": -1, "filename": "calibraxis-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b4f60fad86e820cdba7f2c7a67cabf87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6587, "upload_time": "2016-04-26T07:51:19", "url": "https://files.pythonhosted.org/packages/36/c2/c74b30fd8354ee235b1a0f6f4a6499422e7573e06de2580dda5ca7c9404c/calibraxis-0.2.0.tar.gz" } ] }