{ "info": { "author": "David Buscher", "author_email": "dfb@mrao.cam.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics" ], "description": "Python optical interferometry simulation (pois)\n===============================================\n\n|results.png| A python package providing the building blocks to simulate the\noperation of a ground-based optical interferometer perturbed by\natmospheric seeing perturbations. It is provided as supplementary\nmaterial for the book `\u201cPractical Optical Interferometry\u201d`_, and is\nderived from the code which was used to provide data for many of the\nfigures in the book.\n\n\nThe package includes functions to:\n\n- generate simulated atmospheric turbulent wavefront perturbations\n- correct these perturbations using adaptive optics\n- combine beams from an arbitrary number of telescopes, with or without\n spatial filtering, to provide complex fringe visibility measurements.\n\nThe code has been written following a functional-programming style (in\nother words minimising \"side-effects\" in the code where possible) in order\nto try and make it modular and extensible.\n\nRequirements\n------------\n\nThe simulator runs under Python3 and requires ``numpy``. Some of the\ntest code uses ``astropy`` for manipulating and saving data\ntables.\n\nInstallation\n------------\n\nOn unix-like systems do\n\n::\n\n pip3 install pois\n\nor if that does not work because of file permission errors, then\n::\n\n sudo pip3 install pois\n\n \nAlternatively download and unpack a copy of this repository and then use\n\n::\n\n python3 setup.py install\n\n\nThis should install the package into Python path.\n\nBasic usage\n-----------\n\nAn interferometric simulation can be written as a for loop with some custom data processing, for example:\n\n.. code:: python\n\n from pois import *\n\n results=[]\n for phaseScreens in PhaseScreens(numTelescope=3,\n r0=15,\n\t\t\t\t pupilSize=30,\n screenSize=1024,\n\t\t\t\t numIter=1000)):\n pupils=AdaptiveOpticsCorrect(phaseScreens,pupilSize=30,radialOrder=5)\n complexPupils=ComplexPupil(pupils)\n fluxes,coherentFluxes=SingleModeCombine(complexPupils)\n\t# process() is a user-written data processing function\n\tresults.append(process(fluxes,coherentFluxes)) \n\n\nMore example code using the package is in the `tests`_ directory. The file\n`tests/test\\_visibility.py`_ includes a complete simulation for\ndetermining visibility losses and single-mode fibre coupling losses as a\nfunction of the diameter of the telescopes.\n\nPronunciation\n-------------\n\nThe package name should be pronounced as it would be in the phrase\n\u201cpetits pois\u201d.\n\nLicencing\n---------\n\nThe code is licenced under a 2-clause BSD licence (see `LICENCE.txt`_).\n\n.. _\u201cPractical Optical Interferometry\u201d: https://dbuscher.github.io/practical-optical-interferometry/\n.. _tests: tests\n.. _tests/test\\_visibility.py: tests/test_visibility.py\n.. _LICENCE.txt: LICENCE.txt\n\n.. |results.png| image:: SNR-vs-diameter.png", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/dbuscher/pois/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pois", "package_url": "https://pypi.org/project/pois/", "platform": "any", "project_url": "https://pypi.org/project/pois/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/dbuscher/pois/" }, "release_url": "https://pypi.org/project/pois/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "Python optical interferometer simulation", "version": "0.4.0" }, "last_serial": 1788328, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "a86900a6cc2dc1213b73a9ec8a6a5a28", "sha256": "a73b5c60583def64d36dba9e1bee0f9bece37382b5fe200611aa2239a76b2039" }, "downloads": -1, "filename": "pois-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a86900a6cc2dc1213b73a9ec8a6a5a28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6155, "upload_time": "2015-07-29T14:38:00", "url": "https://files.pythonhosted.org/packages/cd/41/fba0f97b51bf7f100e5c27025422bfed93ce8394a7ac96249a24f8540ba4/pois-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "2d24b98332b21726eb4fca0928e1f0ce", "sha256": "774967d66811b4eef5a089e52ab1be300689b4f55530dce3f431214b2bf07619" }, "downloads": -1, "filename": "pois-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2d24b98332b21726eb4fca0928e1f0ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 188693, "upload_time": "2015-07-29T15:08:10", "url": "https://files.pythonhosted.org/packages/fe/98/5fa4cb241a210fcf7708afc69de11d8657f78604c61352184a8ed5b689f4/pois-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6872d73212daf55882b7c6332459038e", "sha256": "b24419fcdc9f79ca0cdbcc4508e9e15d01d7d2b8557412c5e364f87a56a2f0db" }, "downloads": -1, "filename": "pois-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6872d73212daf55882b7c6332459038e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189779, "upload_time": "2015-07-31T09:26:28", "url": "https://files.pythonhosted.org/packages/22/40/18b0d0a12fda7ebe716b471ea09b50904c5e4d655ad15f5209b94b024c2c/pois-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "7514a89ff941d09eaca6e011f42b2f67", "sha256": "95de3c2d34f14af374eeb8dcf3d478429f228f08a96ede283a2e5e87ef3a8b5f" }, "downloads": -1, "filename": "pois-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7514a89ff941d09eaca6e011f42b2f67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189238, "upload_time": "2015-10-27T13:12:22", "url": "https://files.pythonhosted.org/packages/47/fc/7e534ae095032f9ca772b6479c098ad48fa7c60f5e1a56fd23ee106a0a21/pois-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7514a89ff941d09eaca6e011f42b2f67", "sha256": "95de3c2d34f14af374eeb8dcf3d478429f228f08a96ede283a2e5e87ef3a8b5f" }, "downloads": -1, "filename": "pois-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7514a89ff941d09eaca6e011f42b2f67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189238, "upload_time": "2015-10-27T13:12:22", "url": "https://files.pythonhosted.org/packages/47/fc/7e534ae095032f9ca772b6479c098ad48fa7c60f5e1a56fd23ee106a0a21/pois-0.4.0.tar.gz" } ] }