SpectRes: Simple Spectral Resampling
====================================
SpectRes is a Python function which efficiently resamples spectra and their associated uncertainties onto an arbitrary wavelength grid. The function works with any grid of wavelength values, including non-uniform sampling, and preserves the integrated flux. This may be of use for binning data to increase the signal to noise ratio, obtaining synthetic photometry, or resampling model spectra to match the sampling of observational data.
Installation
------------
SpectRes can be installed using pip
.. code::
pip install spectres
Documentation
-------------
The code's documentation is available at `spectres.readthedocs.io <https://spectres.readthedocs.io>`_. Take a look in the examples folder of this repository for some more guidance.
For an explanation of how the code works take a look at `ArXiv:1705.05165 <https://arxiv.org/abs/1705.05165>`_. Please consider citing this publication if you use SpectRes in your research.
Raw data
{
"_id": null,
"home_page": "https://spectres.readthedocs.io",
"name": "spectres",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Adam Carnall",
"author_email": "adamc@roe.ac.uk",
"download_url": "https://files.pythonhosted.org/packages/92/20/1044c725a7fe408068d3c669de0fa68143a8aa1b772e85d008088690fcbf/spectres-2.2.2.tar.gz",
"platform": null,
"description": "SpectRes: Simple Spectral Resampling\n====================================\n\nSpectRes is a Python function which efficiently resamples spectra and their associated uncertainties onto an arbitrary wavelength grid. The function works with any grid of wavelength values, including non-uniform sampling, and preserves the integrated flux. This may be of use for binning data to increase the signal to noise ratio, obtaining synthetic photometry, or resampling model spectra to match the sampling of observational data. \n\n\nInstallation\n------------\n\nSpectRes can be installed using pip \n\n.. code::\n\n\tpip install spectres\n\n\t\nDocumentation\n-------------\n\nThe code's documentation is available at `spectres.readthedocs.io <https://spectres.readthedocs.io>`_. Take a look in the examples folder of this repository for some more guidance.\n\nFor an explanation of how the code works take a look at `ArXiv:1705.05165 <https://arxiv.org/abs/1705.05165>`_. Please consider citing this publication if you use SpectRes in your research.\n",
"bugtrack_url": null,
"license": null,
"summary": "Simple spectral resampling",
"version": "2.2.2",
"project_urls": {
"ArXiv": "https://arxiv.org/abs/1705.05165",
"GitHub": "https://github.com/ACCarnall/spectres",
"Homepage": "https://spectres.readthedocs.io"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d34335c153bb880843c9e610e4698e4290dcc7aa86a3c026aa876328799fff92",
"md5": "72edbef310e2ff0d4721cba9bef75130",
"sha256": "99b1f17639e999c8db06e5dcd7bd017cf45f5057d0aedaefa17df8b929d91d7a"
},
"downloads": -1,
"filename": "spectres-2.2.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "72edbef310e2ff0d4721cba9bef75130",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 19031,
"upload_time": "2024-08-26T12:32:49",
"upload_time_iso_8601": "2024-08-26T12:32:49.852827Z",
"url": "https://files.pythonhosted.org/packages/d3/43/35c153bb880843c9e610e4698e4290dcc7aa86a3c026aa876328799fff92/spectres-2.2.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "92201044c725a7fe408068d3c669de0fa68143a8aa1b772e85d008088690fcbf",
"md5": "fe948e059bfed443bad20725848d5974",
"sha256": "cbd23ac72f7c1b16e0f2151e82f68466890b10d144661dbb397f4c03641fa22e"
},
"downloads": -1,
"filename": "spectres-2.2.2.tar.gz",
"has_sig": false,
"md5_digest": "fe948e059bfed443bad20725848d5974",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 96704,
"upload_time": "2024-08-26T12:32:51",
"upload_time_iso_8601": "2024-08-26T12:32:51.708591Z",
"url": "https://files.pythonhosted.org/packages/92/20/1044c725a7fe408068d3c669de0fa68143a8aa1b772e85d008088690fcbf/spectres-2.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-26 12:32:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ACCarnall",
"github_project": "spectres",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "spectres"
}