{ "info": { "author": "Pierre Clad\u00e9", "author_email": "pierre.clade@upmc.fr", "bugtrack_url": null, "classifiers": [], "description": "Overview\n========\n\nThis package provides a library to access the `Red Pitaya `_ registers. This library consist of a C library (libmonitor.c) and a ctypes interface on the Python side. \n\nAn object oriented interface to the different application (scope, generator, PID, AMS, ...) is provided. This interface is implemented using Python properties (see usage below) and can quickly be extended to your own application. \n\nAn rpyc server is used in order to communicate with your computer. The interface is the same on the computer as the one on the board.\n\nInstallation\n============\n\nThe process to install PyRedPitaya on the board requires the installation of Python first. See `this link `_.\n\n\nTo install PyRedPitaya on the computer download the package and run the command:: \n\n python setup.py install\n\nor use easy_install::\n\n easy_install PyRedPitaya\n\n\nUsage\n=====\n\nYou need to have Python installed on you Red Pitaya. \n\nInteractive Python\n------------------\n\nLogging onto the redpitaya using ssh, one can start the ipython shell and run :\n\n.. code ::\n\n from PyRedPitaya.board import RedPitaya\n\n redpitaya = RedPitaya()\n\n print redpitaya.ams.temp # Read property\n redpitaya.hk.led = 0b10101010 # Write property\n\n\nRemote access\n-------------\n\nYou need to install the PyRedPitaya package on your PC as well as Rpyc: \n\n.. code::\n\n rpyc_server\n\nOn the computer (replace REDPITAYA_IP by the string containing the IP address) : \n\n.. code::\n\n from rpyc import connect\n from PyRedPitaya.pc import RedPitaya\n\n conn = connect(REDPITAYA_IP, port=18861)\n redpitaya = RedPitaya(conn)\n\n print redpitaya.ams.temp # Read property\n redpitaya.hk.led = 0b10101010 # Write property\n\n from time import sleep\n from pylab import *\n\n redpitaya.scope.setup(frequency = 100, trigger_source=1)\n sleep(100E-3)\n plot(redpitaya.scope.times, redpitaya.scope.data_ch1)\n show()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "PyRedPitaya", "package_url": "https://pypi.org/project/PyRedPitaya/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyRedPitaya/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/PyRedPitaya/1.0/", "requires_dist": null, "requires_python": null, "summary": "Python utilities for redpitaya", "version": "1.0" }, "last_serial": 1580338, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "f2551c20ed69db5785eccff5d032fe36", "sha256": "025f861e2afb6246dafe4dd9aa58489419163d1de5d4ac09326270fb30552386" }, "downloads": -1, "filename": "PyRedPitaya-1.0.tar.gz", "has_sig": false, "md5_digest": "f2551c20ed69db5785eccff5d032fe36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14574, "upload_time": "2015-06-05T18:27:58", "url": "https://files.pythonhosted.org/packages/9d/05/6c661df990288634d81544fb46c6ba04a52700597f6246069145e1e98e43/PyRedPitaya-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f2551c20ed69db5785eccff5d032fe36", "sha256": "025f861e2afb6246dafe4dd9aa58489419163d1de5d4ac09326270fb30552386" }, "downloads": -1, "filename": "PyRedPitaya-1.0.tar.gz", "has_sig": false, "md5_digest": "f2551c20ed69db5785eccff5d032fe36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14574, "upload_time": "2015-06-05T18:27:58", "url": "https://files.pythonhosted.org/packages/9d/05/6c661df990288634d81544fb46c6ba04a52700597f6246069145e1e98e43/PyRedPitaya-1.0.tar.gz" } ] }