{ "info": { "author": "Aaron O'Leary", "author_email": "dev@aaren.me", "bugtrack_url": null, "classifiers": [], "description": "pharminv\n========\n\nThis is a python interface to\n`harminv `__, a library\nfor performing harmonic inversion on a signal.\n\nRequirements:\n~~~~~~~~~~~~~\n\n- BLAS & LAPACK\n- libharminv-dev\n- numpy\n\nInstallation:\n~~~~~~~~~~~~~\n\nMake sure that you have the requirements above, then\n\n::\n\n pip install pharminv\n\nSee `below <#installing-libharminv>`__ for help with installing harminv.\n\nUsage:\n~~~~~~\n\n``harminv.invert`` contains the basic functionality of the harminv tool.\nThis function should remain stable but the API elsewhere is subject to\nchange.\n\n.. code:: python\n\n import numpy as np\n import harminv\n\n time = np.linspace(0, 1, 1000)\n\n signal = np.cos(2 * np.pi * time * 10) + np.cos(2 * np.pi * time * 20)\n\n inversion = harminv.invert(signal, fmin=1, fmax=100, dt=0.001)\n\n inversion.freq # mode frequencies\n inversion.decay # decay rates\n inversion.Q # Q factor\n inversion.amplitudes # absolute amplitudes\n inversion.phase # phase shift\n\nLicense:\n~~~~~~~~\n\n`harminv `__ was\nwritten by Steven G. Johnson and is licensed under the GNU GPLv2+,\ncopyright 2005 by the Massachusetts Institute of Technology.\n\nThis python interface to harminv is licensed under the standard BSD\n3-clause license.\n\nInstalling libharminv\n~~~~~~~~~~~~~~~~~~~~~\n\nOn Debian / Ubuntu this is available with\n\n.. code:: bash\n\n sudo apt-get install libharminv-dev\n\nOtherwise you'll need to build it yourself. Download the sources from\n`here `__.\n\nYou need to install libharminv somewhere that python can find it at\nruntime. This should happen by default (installs to ``/usr/local``), but\nyou may need to change this to ``/usr``:\n\n.. code:: bash\n\n PREFIX=/usr\n\nNow install with the following:\n\n.. code:: bash\n\n ./configure --with-pic --enable-shared --prefix=$PREFIX\n make\n make install\n\nUser installation\n^^^^^^^^^^^^^^^^^\n\nIf you don't have admin rights on your system you'll need to install to\na directory that you have access to. Here I'll assume that is\n``$HOME/.local``.\n\nHere is how I do it (using Anaconda python with the mkl libraries on\nCentOS 5):\n\n.. code:: bash\n\n ./configure --with-pic --enable-shared --prefix=$HOME/.local --with-blas=$HOME/.local/lib/libopenblas.so\n make\n make install\n\nNote that I've linked to openblas. I installed this separately. If you\nhave BLAS/LAPACK installed on your system elsewhere you might not need\nto do this. There might be a way to link against Anaconda mkl libraries\nbut I don't know what it is.\n\nNow you need to set ``LD_LIBRARY_PATH`` to include your directory. I\nhave this in my bashrc:\n\n.. code:: bash\n\n export LD_LIBRARY_PATH=$HOME/.local\n\nFinally, when you install pharminv, you need to tell pip where to look\nfor your installation of libharminv:\n\n.. code:: bash\n\n CFLAGS=\"-I$HOME/.local/include -L$HOME/.local/lib\" pip install pharminv\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/aaren/pharminv", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pharminv", "package_url": "https://pypi.org/project/pharminv/", "platform": "", "project_url": "https://pypi.org/project/pharminv/", "project_urls": { "Homepage": "http://github.com/aaren/pharminv" }, "release_url": "https://pypi.org/project/pharminv/0.4/", "requires_dist": null, "requires_python": "", "summary": "Python interface to harminv", "version": "0.4" }, "last_serial": 2983086, "releases": { "0.2": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1b63b737ee04a14ab308c6f902b9a48e", "sha256": "db2084d25892ac190e3d3351749b0403857e7455539c0ab8d0f0f0300e5dfede" }, "downloads": -1, "filename": "pharminv-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1b63b737ee04a14ab308c6f902b9a48e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44438, "upload_time": "2015-04-01T14:23:06", "url": "https://files.pythonhosted.org/packages/0e/76/204b78dc880e2f601e0863d1505490517a09c6c8cce3aba2937a610b2095/pharminv-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "dc33094dae4612d27f87bd3014699723", "sha256": "f6e55b5fccb3e65278ec95dc2e1b4b4c248d506d6b236c4aa47518e7a8e52d08" }, "downloads": -1, "filename": "pharminv-0.2.1.tar.gz", "has_sig": false, "md5_digest": "dc33094dae4612d27f87bd3014699723", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44485, "upload_time": "2015-04-01T15:05:36", "url": "https://files.pythonhosted.org/packages/dd/d8/706f4329d6f37c978cf7217c414370a355e9c582fc4058ed423efbc59760/pharminv-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "2e8da1d83474555cdd55e71118a4a99e", "sha256": "c384cc7666500089c81a35bb727fa0b08774ae67703104cb2920dca58da13df9" }, "downloads": -1, "filename": "pharminv-0.2.2.tar.gz", "has_sig": false, "md5_digest": "2e8da1d83474555cdd55e71118a4a99e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45276, "upload_time": "2015-04-22T07:24:33", "url": "https://files.pythonhosted.org/packages/9f/24/7991182d706316e7a58b67bef44f431f51fcfb87146fd92b050a289c43f1/pharminv-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "c85fa8ca1ca7a50397eb55ff5f83f22a", "sha256": "de65daf7be97643163e729a2b207bd66c063e93f374430b9bf25aa2e76d94154" }, "downloads": -1, "filename": "pharminv-0.2.3.tar.gz", "has_sig": false, "md5_digest": "c85fa8ca1ca7a50397eb55ff5f83f22a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45337, "upload_time": "2015-04-29T17:22:57", "url": "https://files.pythonhosted.org/packages/53/e7/008e19a09c5ae31cbedd3c61a9af4a9e00bf3ff09338fd9ad0282a67ff8c/pharminv-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "5541bb99ca20661cb913961535d41c2e", "sha256": "1a2a52b238c571ab67b0d3308bb231434e57eefbae672dac1f8ada6cd6166fd8" }, "downloads": -1, "filename": "pharminv-0.2.4.tar.gz", "has_sig": false, "md5_digest": "5541bb99ca20661cb913961535d41c2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45358, "upload_time": "2015-04-29T17:33:43", "url": "https://files.pythonhosted.org/packages/28/8e/e453bf385e135b8c81026873325294679c6d6c7410b478bca74cf2b8d611/pharminv-0.2.4.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "0b7fe0f7f8cfcdabc3f702209428447d", "sha256": "8914170042140a6ed7bd1756f5ee5e11ad7b175d3f981c73219a59b4e8459e79" }, "downloads": -1, "filename": "pharminv-0.3.tar.gz", "has_sig": false, "md5_digest": "0b7fe0f7f8cfcdabc3f702209428447d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48914, "upload_time": "2015-04-30T13:14:41", "url": "https://files.pythonhosted.org/packages/fb/06/087ace268c38421d7ae42b3450edf6859f50d85f02656b5cdd6c24c584dd/pharminv-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "b1e7e68d40cd46a3e300caa3bc2c8f58", "sha256": "0230beb9152fa433f42ededcf2adda2381ce15bd5909e74d24b762bbdc859e42" }, "downloads": -1, "filename": "pharminv-0.4.tar.gz", "has_sig": false, "md5_digest": "b1e7e68d40cd46a3e300caa3bc2c8f58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55045, "upload_time": "2017-06-27T20:59:32", "url": "https://files.pythonhosted.org/packages/d0/20/02f3fab488642dbdc95e15d17b617311c103177ef6b2fe2b3f8f633b8c99/pharminv-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b1e7e68d40cd46a3e300caa3bc2c8f58", "sha256": "0230beb9152fa433f42ededcf2adda2381ce15bd5909e74d24b762bbdc859e42" }, "downloads": -1, "filename": "pharminv-0.4.tar.gz", "has_sig": false, "md5_digest": "b1e7e68d40cd46a3e300caa3bc2c8f58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55045, "upload_time": "2017-06-27T20:59:32", "url": "https://files.pythonhosted.org/packages/d0/20/02f3fab488642dbdc95e15d17b617311c103177ef6b2fe2b3f8f633b8c99/pharminv-0.4.tar.gz" } ] }