{ "info": { "author": "Benno Meier", "author_email": "meier.benno@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Physics" ], "description": "lecroyparser\n============\n\nleCroyParser.py parses binary files as written by LeCroy scopes.\n\nleCroyParser.py is derived from the matlab program\nReadLeCroyBinaryWaveform.m, available at\n,\nOriginal version (c)2001 Hochschule fr Technik+Architektur Luzern\nFachstelle Elektronik 6048 Horw, Switzerland Slightly modified by Alan\nBlankman, LeCroy Corporation, 2006\n\nFurther elements for the code were taken from pylecroy, written by Steve Bian\n\nA useful resource for modifications is the LeCroy Remote Control Manual\navailable at\n\n\nLecroyparser has been tested with Python 2.7 and Python 3.6\n\nInstallation\n------------\n\nlecroyparser is available at pip. It may be installed\nwith\n\n>>> pip install lecroyparser\n\nor with\n\n\n>>> easy_install lecroyparser\n\nUsage\n-----\n\nTo import a single trace, instantiate a ScopeData object by passing it a\npath, i.e.\n\n>>> import lecroyparser\n>>> path = \"/home/benno/Dropbox/RESEARCH/bullet/experiments/scopeTraces/201804/C1180421_typicalShot00000.trc\"\n>>> data = lecroyparser.ScopeData(path)\n\n\nThe x and y data are stored as numpy arrays in data.x and data.y\n\nAlternatively, to parse several channels set the optional keyword\nargument parseAll to True, i.e.\n\n>>> data = lecroyparser.ScopeData(path, parseAll = True)\n\nThis will parse all files in the specified folder with a matching\nfilename. I.e., if the provided path is as above, then the files\n\n.. code-block:: console\n C2180421_typicalShot00000.trc\n C3180421_typicalShot00000.trc\n C4180421_typicalShot00000.trc\n\n\nwill pe parsed as well.\n\nAdditionally, it is possible to limit the number of samples in the output array, by overwritting the sparse keyword:\n\n>>> data = lecroyparser.ScopeData(path, parseAll = True, sparse = 1000)\n\nwill limit the samples in the x and y dimensions to 1000.\n\nInformation about the file can be obtained by calling print(data)\n\n.. code-block:: console\n >>> print(data)\n \n Le Croy Scope Data\n Path: /Users/benno/Dropbox/RESEARCH/bullet/experiments/scopeTraces/201804/C1180421\\_typicalShot00000.trc\n Endianness: <\n Instrument: LECROYHDO4104\n Instrunemt Number: 19359\n Template Name: LECROY\\_2\\_3\n Channel: Channel 4\n Vertical Coupling: DC1M\n Bandwidth Limit: on\n Record Type: single\\_sweep\n Processing: No Processing >>> TimeBase: 200 ms/div\n TriggerTime: 2018-04-21 11:50:45.76\n\n\n\nLicense\n-------\n\nMIT License\n\nCopyright (c) 2018 Benno Meier\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/bennomeier/lecroyparser", "keywords": "LeCroy Binary Scope Parse", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lecroyparser", "package_url": "https://pypi.org/project/lecroyparser/", "platform": "", "project_url": "https://pypi.org/project/lecroyparser/", "project_urls": { "Homepage": "http://github.com/bennomeier/lecroyparser" }, "release_url": "https://pypi.org/project/lecroyparser/1.30/", "requires_dist": null, "requires_python": "", "summary": "Parse LeCroy Binary Files.", "version": "1.30" }, "last_serial": 3830631, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "57d03a150b599603f1f06a619a04c11f", "sha256": "7db9ca30e37611875ca300c67cacd19ecb6386a35de3b3ff22be8a7a8f92562c" }, "downloads": -1, "filename": "lecroyparser-1.0.tar.gz", "has_sig": false, "md5_digest": "57d03a150b599603f1f06a619a04c11f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4853, "upload_time": "2018-04-28T16:10:28", "url": "https://files.pythonhosted.org/packages/4d/ef/bd4e8edf8b235b15fe81367f212b6fa30c26277b88cf7e67f64cc25c7b0a/lecroyparser-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "5b51466c7ab8d44f7405ce7ed8c8540a", "sha256": "544bf77bf8d882d592c742c8be4288ab2411da261a5d292c9b583a1847360128" }, "downloads": -1, "filename": "lecroyparser-1.1.tar.gz", "has_sig": false, "md5_digest": "5b51466c7ab8d44f7405ce7ed8c8540a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4964, "upload_time": "2018-04-29T10:24:56", "url": "https://files.pythonhosted.org/packages/64/84/99d667b6f31520fab39c13c02abbf987c3e54eee817584d80e4fef37b7d0/lecroyparser-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "831cfbc9aca9a48bc37c5db1193e344f", "sha256": "40c34885dd0a0abee97a61bd51ccf9656ab1550ede4cf26318b2e300f4492055" }, "downloads": -1, "filename": "lecroyparser-1.2.tar.gz", "has_sig": false, "md5_digest": "831cfbc9aca9a48bc37c5db1193e344f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5333, "upload_time": "2018-04-29T10:37:20", "url": "https://files.pythonhosted.org/packages/32/3e/766056cb3dc07e39dbd6a205cc05ab3add79bdc94d289c179ea373d4068f/lecroyparser-1.2.tar.gz" } ], "1.21": [ { "comment_text": "", "digests": { "md5": "5f534a989e921765fd8b98a03c8f18a5", "sha256": "72f77f51ca779b8110959d511f9128ace76a224dc19fbeafd9a2d7f61c589551" }, "downloads": -1, "filename": "lecroyparser-1.21.tar.gz", "has_sig": false, "md5_digest": "5f534a989e921765fd8b98a03c8f18a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5495, "upload_time": "2018-04-29T21:27:40", "url": "https://files.pythonhosted.org/packages/16/1d/6a1f09620cfc73f9aa3c1e3510eb0ad214631293802f5ae6e73e5b51d17c/lecroyparser-1.21.tar.gz" } ], "1.22": [ { "comment_text": "", "digests": { "md5": "0d7f290657b0197817472806f1e06202", "sha256": "fc9ab1685c1fe679ebb0474d600727844da95936dc25ffea91ada4d74077b127" }, "downloads": -1, "filename": "lecroyparser-1.22.tar.gz", "has_sig": false, "md5_digest": "0d7f290657b0197817472806f1e06202", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5608, "upload_time": "2018-04-29T21:42:19", "url": "https://files.pythonhosted.org/packages/7d/81/d8f611b7c1e765dbc52026aafddf7ee3c386f41598af530462a44d292149/lecroyparser-1.22.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "92f8e1aeb2b6ea87728f2afdae7e3b0f", "sha256": "1aae892a5bbf0d337fb50c92d604dc941b151aa838630c71ab18ac6df20b1deb" }, "downloads": -1, "filename": "lecroyparser-1.3.tar.gz", "has_sig": false, "md5_digest": "92f8e1aeb2b6ea87728f2afdae7e3b0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5868, "upload_time": "2018-05-03T11:29:05", "url": "https://files.pythonhosted.org/packages/65/8d/db43f5610634832a932a5a04322faea6f7f6445e37d14116881e760d18ea/lecroyparser-1.3.tar.gz" } ], "1.30": [ { "comment_text": "", "digests": { "md5": "cb6aca4d55bdd9faa85eb47b37fd4d51", "sha256": "a45329991e316bb1bed403a88273ebb89e85756beac91de8b263b8b4a3807242" }, "downloads": -1, "filename": "lecroyparser-1.30.tar.gz", "has_sig": false, "md5_digest": "cb6aca4d55bdd9faa85eb47b37fd4d51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5876, "upload_time": "2018-05-03T11:40:19", "url": "https://files.pythonhosted.org/packages/b1/cd/a009925446f0e394002f57612d9530302b3f83fc86727b88b9e8bba1a011/lecroyparser-1.30.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cb6aca4d55bdd9faa85eb47b37fd4d51", "sha256": "a45329991e316bb1bed403a88273ebb89e85756beac91de8b263b8b4a3807242" }, "downloads": -1, "filename": "lecroyparser-1.30.tar.gz", "has_sig": false, "md5_digest": "cb6aca4d55bdd9faa85eb47b37fd4d51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5876, "upload_time": "2018-05-03T11:40:19", "url": "https://files.pythonhosted.org/packages/b1/cd/a009925446f0e394002f57612d9530302b3f83fc86727b88b9e8bba1a011/lecroyparser-1.30.tar.gz" } ] }