{ "info": { "author": "Jean-Baptiste Bayle (APC/CNRS/CNES)", "author_email": "bayle@apc.in2p3.fr", "bugtrack_url": null, "classifiers": [], "description": "# PSD Module\n\n\n**This module provides easy-to-use tools for quick data visualization and spectral\nanalysis.**\n\nData must be stored on text, Numpy or HDF5 files, and all formats compatible with\nthe standard `numpy.loadtxt` and `numpy.load` are accepted. First dimension, or\nrows, is used for time and second dimension, or columns, for series. The first\ncolumn is always assumed to represent the times associated with each row.\n\n## Installation\n\nMake sure that Python 3 is available on your machine, and run\n\n```shell\npip3 install psd\n```\n\nThe package is also available at https://pypi.org/project/psd/.\n\n## Getting Started\n\n### Time-Series Visualization\n\nYou can visualize time-series from Numpy or text files using\n\n```shell\npsd --time-series my_file.npy another_file.txt ...\n```\n\nYou can read HDF5 files as well by specifying the path to the dataset inside\nyour file using\n\n```shell\npsd --time-series my_hdf5_file.hdf5:mygroup/mydataset ...\n```\n\n### Power Spectrum Estimation\n\nTo compute Power Spectral Density (PSD) estimates for each series using the\n[Welch method](https://en.wikipedia.org/wiki/Welch%27s_method), simply use\n\n```shell\npsd my_file.npy\n```\n\nYou can specify the number of rows at the top of the files you want to skip\nusing `-s SKIPROWS` option, the number of points per segment you want to use\nwith `-n NPERSEF` option, or the windowing function using `--window WINDOW`.\n\nFor time-series visualization and spectral analysis, you can hide the legend\nwith the `--no-legend` option, specify a title with `--title TITLE`, or save\nthe output as a text file, a Numpy file or an image using `-o OUTPUT`. You\ncan specify line and marker aspect using matplotlib notation with `--aspect`.\n\n```shell\npsd -s 500 -n 10000 --window nuttall my_file.npy --title \"This is an example\"\n```\n\n### Format Conversion\n\nYou can easily convert from text files to Numpy binary files using the quick\n`convert` command-line tool included in this package, i.e.\n\n```shell\nconvert my_file1.txt my_file2.text\n```\n\nTo reverse the conversion and get a text file from a Numpy file, use the `-r`\noption. You can specify the output file name using `-o OUTPUT`.\n\n```shell\nconvert -r my_numpy.npy -o my_text_file.txt\n```\n\nThe tool can also remove original files as soon as they are converted if you\nspecify the `--delete` or `-d` option.\n\n```shell\nconvert -d file*.txt\n```\n\n## Documentation\n\nOther options are available, use `psd --help` or `convert --help` to show\ndocumentation.\n\nDevelopped by Jean-Baptiste Bayle (APC/CNES/CNRS), bayle@apc.in2p3.fr.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.in2p3.fr/j2b.bayle/psd", "keywords": "", "license": "GNU GPLv3", "maintainer": "", "maintainer_email": "", "name": "psd", "package_url": "https://pypi.org/project/psd/", "platform": "", "project_url": "https://pypi.org/project/psd/", "project_urls": { "Homepage": "https://gitlab.in2p3.fr/j2b.bayle/psd" }, "release_url": "https://pypi.org/project/psd/1.5/", "requires_dist": null, "requires_python": "", "summary": "Python tools for data visualization and spectral analysis.", "version": "1.5" }, "last_serial": 5112652, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c5f9d53f4de1d581788f1e7a924d3187", "sha256": "6dd00bd84124de01a8610fa67cbeb8f41e1c816dd03c5d1f480a1ccce741a831" }, "downloads": -1, "filename": "psd-1.0.tar.gz", "has_sig": false, "md5_digest": "c5f9d53f4de1d581788f1e7a924d3187", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4142, "upload_time": "2018-02-13T14:49:27", "url": "https://files.pythonhosted.org/packages/42/48/5cba90342d32057ac45e27a0d5816091b645f404aba6bf9647350cc4a8dc/psd-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "a239aed1b659a750651c08bf1e05e924", "sha256": "132fe2b71aba6ca4fe7d3dc996e29811c360f053ac78310a55a261f978412a80" }, "downloads": -1, "filename": "psd-1.1.tar.gz", "has_sig": false, "md5_digest": "a239aed1b659a750651c08bf1e05e924", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4710, "upload_time": "2018-03-12T17:40:17", "url": "https://files.pythonhosted.org/packages/2e/0a/af21a695b53039a5238fc84d08cc7161c081220a2628f2c1ec0634fbe95c/psd-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "b5860f1fe96a4fd4c584a17eba83c9c5", "sha256": "4686df9f638567c68e0528498629ce789f82aa924ac97354c42a059899f37900" }, "downloads": -1, "filename": "psd-1.1.1.tar.gz", "has_sig": false, "md5_digest": "b5860f1fe96a4fd4c584a17eba83c9c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4725, "upload_time": "2018-03-13T09:20:49", "url": "https://files.pythonhosted.org/packages/4c/0c/4e526ad5c4d9ff5be61ea64a8f82876f6dc3abc78c0260f91263290aa2fa/psd-1.1.1.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "57c52db623bc2672bcc1abea43ae68e2", "sha256": "8f02a75ac543ba5365e46dc93aebda16f4a670f0cd2fc91180ba4784420e290f" }, "downloads": -1, "filename": "psd-1.1.3.tar.gz", "has_sig": false, "md5_digest": "57c52db623bc2672bcc1abea43ae68e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4996, "upload_time": "2018-05-05T12:23:57", "url": "https://files.pythonhosted.org/packages/7c/1c/8a4b1293c5a7f88b8072bc4f6b5b7edd1e4bae7e47e105b05937e12b46b0/psd-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "65e1539db3922e9fa94d2b8f57df6513", "sha256": "9b341278ee2a85005b0f008c5a9aa0fb5c211f2a5062f1cf6b50b138a92ba594" }, "downloads": -1, "filename": "psd-1.1.4.tar.gz", "has_sig": false, "md5_digest": "65e1539db3922e9fa94d2b8f57df6513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5036, "upload_time": "2018-05-29T10:02:37", "url": "https://files.pythonhosted.org/packages/90/06/ef132d7d5df5a200bbef8967335ad57e7722e061ed63b1dd4732049ffb33/psd-1.1.4.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "1119dfef5dbac51bfa4c5d809dbe0d4c", "sha256": "4a1b4e7522af7438f214f6d226887faca5f1e9eee3fa90b0e5c519f75ef88222" }, "downloads": -1, "filename": "psd-1.2.tar.gz", "has_sig": false, "md5_digest": "1119dfef5dbac51bfa4c5d809dbe0d4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5396, "upload_time": "2018-06-05T08:58:38", "url": "https://files.pythonhosted.org/packages/77/a7/2e005bb6b31e6b78b4bc9c86bfea58dfc2880a5d721f1c5295dd2af9ed44/psd-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "9299a4e04f60eee6bb54b3a828435381", "sha256": "95426bbf7b4cd602ccdd5af8857e522bccb9d9e8fc5fbaff66ce1ff46016aeec" }, "downloads": -1, "filename": "psd-1.3.tar.gz", "has_sig": false, "md5_digest": "9299a4e04f60eee6bb54b3a828435381", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6483, "upload_time": "2018-06-28T08:48:36", "url": "https://files.pythonhosted.org/packages/1c/51/736f7d965f732915299a5c7fee19975d4893b5e44ea4e563e6136ac3144c/psd-1.3.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "fc1791c3e6129294d728025627adcafa", "sha256": "821b73dc0665d57bf89fb8d5c35e0f7f7dfdd8a3494b8885b741f3dca6146f6a" }, "downloads": -1, "filename": "psd-1.3.1.tar.gz", "has_sig": false, "md5_digest": "fc1791c3e6129294d728025627adcafa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6585, "upload_time": "2018-06-28T09:11:26", "url": "https://files.pythonhosted.org/packages/49/06/641bd6548f6d61adb1b6b6e3b32aa3eb27189c021069d9b66c9072f88d7e/psd-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "cea0c419e99d5a7e12ee0d289b2cd3bd", "sha256": "09c8c8919cd914e88ccf6fa2dfdb89f76238ad4a661abb66646da9def7c3b14f" }, "downloads": -1, "filename": "psd-1.3.2.tar.gz", "has_sig": false, "md5_digest": "cea0c419e99d5a7e12ee0d289b2cd3bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6519, "upload_time": "2018-09-08T18:18:13", "url": "https://files.pythonhosted.org/packages/4b/e9/bfaa1d0b30d16a8c661fb91ccd0e06670a6dd3907147d7677cea8e75c070/psd-1.3.2.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "c762cbc00ced1d477fc7aeb362e8e131", "sha256": "8d990c1c30ddf492eb6210ae5a6c75beddde67a03a3103747e69c2cac61d47af" }, "downloads": -1, "filename": "psd-1.4.tar.gz", "has_sig": false, "md5_digest": "c762cbc00ced1d477fc7aeb362e8e131", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6622, "upload_time": "2018-09-10T13:33:03", "url": "https://files.pythonhosted.org/packages/74/d8/6a51fff1d6ccfb9e499eb10a890321726f06ba837f9f43f9da8564293915/psd-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "a17986aeddb4f1615d87afb4647280dc", "sha256": "e380806cbe75f259f379079aed8d499766b8f674c2de52894dfacecea940e298" }, "downloads": -1, "filename": "psd-1.5.tar.gz", "has_sig": false, "md5_digest": "a17986aeddb4f1615d87afb4647280dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6831, "upload_time": "2019-04-08T08:42:17", "url": "https://files.pythonhosted.org/packages/5a/6b/0d95d4c3d42c8fe8e827f04e81504962bedbbc96b11656aed43b228bffc9/psd-1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a17986aeddb4f1615d87afb4647280dc", "sha256": "e380806cbe75f259f379079aed8d499766b8f674c2de52894dfacecea940e298" }, "downloads": -1, "filename": "psd-1.5.tar.gz", "has_sig": false, "md5_digest": "a17986aeddb4f1615d87afb4647280dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6831, "upload_time": "2019-04-08T08:42:17", "url": "https://files.pythonhosted.org/packages/5a/6b/0d95d4c3d42c8fe8e827f04e81504962bedbbc96b11656aed43b228bffc9/psd-1.5.tar.gz" } ] }