{ "info": { "author": "Jacopo Martelli", "author_email": "martelli.jacopo@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "===============\nAnechoDB_Access\n===============\n\nIt is a library used to connect to a specific database, download data stored in it and make some simple calculation. The data are beam patterns obtained from measurements in two anechoic chambers saved on the database as HDF5 files.\n\nThe package is divided in two distinct modules called **connection** and **computation** that have different tasks.\n\n*************\nconnection.py\n*************\nThis module is a class with useful function to establish a connection with the chosen database.\nThe database is structered in a way that each *beam* identifier (the data user is looking for) is linked to a *measurements* page with information about the measure and the links to *projects* and *instruments* pages.\nWith **connection** is possible to find the desired beam identifier through a search in one of those pages and finally download the data that is converted from a .h5 file to a Python dict variable preserving the same structure\n\n**************\ncomputation.py\n**************\nThis module has some function used to perform simple (but useful) calculation from the data previously obtained from **connection**. Till now this module has only two functions, one to compute mean and variance of the data and the other to perform normalization and centering of beam patterns, but more will be added in the future.\n\nExample of usage\n----------------\nAfter being installed here is a classic way to use this package.\n\n.. code-block:: python\n\n >>> c = share_belen.connection.Connection(Host)\n >>> i_m = c.search_meas_by_instruments('Instrument To Search')\n >>> #More than one measurement can be linked at the same instrument\n >>> i_b = c.search_beam_by_meas(i_1[0])\n >>> #More than one beam can be linked at the same measurement\n >>> b = c.get_beam_in_dict_by_id(i_b[0])\n >>> b_c = share_belen.computation.make_beam_meanvar(b)\n >>> b_c_2 = share_belen.computation.center_norm_beam(b_c)\n\nRequirements\n------------\n\n* `Python `_ (tested with version >=3.3)\n* `h5py `_", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JacopoMartelli/AnechoDB_Access", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "AnechoDB-Access", "package_url": "https://pypi.org/project/AnechoDB-Access/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/AnechoDB-Access/", "project_urls": { "Homepage": "https://github.com/JacopoMartelli/AnechoDB_Access" }, "release_url": "https://pypi.org/project/AnechoDB-Access/1.0/", "requires_dist": null, "requires_python": null, "summary": "A library to comunicate with the database Belen to search, download and compute beam stored in it", "version": "1.0" }, "last_serial": 2366097, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "f73e5de4c089b6a73b2545a4000a4015", "sha256": "0ee9f3bb8511912776546f775b2bed9506992f6743d46cd4cf6f809418790a0a" }, "downloads": -1, "filename": "AnechoDB_Access-1.01.zip", "has_sig": false, "md5_digest": "f73e5de4c089b6a73b2545a4000a4015", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9224, "upload_time": "2016-09-27T11:16:12", "url": "https://files.pythonhosted.org/packages/7e/3e/ed8d2e51062ab67b68860fcd7c95c8141da22d36988cf2858b78250cd9eb/AnechoDB_Access-1.01.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f73e5de4c089b6a73b2545a4000a4015", "sha256": "0ee9f3bb8511912776546f775b2bed9506992f6743d46cd4cf6f809418790a0a" }, "downloads": -1, "filename": "AnechoDB_Access-1.01.zip", "has_sig": false, "md5_digest": "f73e5de4c089b6a73b2545a4000a4015", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9224, "upload_time": "2016-09-27T11:16:12", "url": "https://files.pythonhosted.org/packages/7e/3e/ed8d2e51062ab67b68860fcd7c95c8141da22d36988cf2858b78250cd9eb/AnechoDB_Access-1.01.zip" } ] }