donuts


Namedonuts JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/jmccormac01/Donuts
SummaryAlign astronomical images
upload_time2024-05-07 16:41:54
maintainerNone
docs_urlNone
authorJames McCormac, Simon Walker
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            =======
Donuts
=======

.. image:: https://img.shields.io/pypi/v/donuts.svg?text=version
    :target: https://pypi.python.org/pypi/donuts
    :alt: Latest Pypi Release
.. image:: https://img.shields.io/pypi/pyversions/donuts.svg
    :target: https://pypi.python.org/pypi/donuts
.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
    :target: http://www.astropy.org/
    :alt: Powered by astropy
.. image:: https://travis-ci.org/jmccormac01/Donuts.svg?branch=master
    :target: https://travis-ci.org/jmccormac01/Donuts
    :alt: Travis Build Status
.. image:: https://ci.appveyor.com/api/projects/status/gs02nr4o4n2vdu22?svg=true
    :target: https://ci.appveyor.com/project/JamesMcCormac/Donuts
    :alt: Appveyor Build Status
.. image:: https://landscape.io/github/jmccormac01/Donuts/master/landscape.svg?style=flat
    :target: https://landscape.io/github/jmccormac01/Donuts/master
    :alt: Code Health
.. image:: https://coveralls.io/repos/github/jmccormac01/Donuts/badge.svg?branch=master 
    :target: https://coveralls.io/github/jmccormac01/Donuts?branch=master
    :alt: Test Coverage
.. image:: https://readthedocs.org/projects/donuts/badge/?version=latest
    :target: http://donuts.readthedocs.io/en/latest/
    :alt: Latest Documentation Status
.. image:: https://badges.gitter.im/jmccormac01/Donuts.svg?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
    :target: https://gitter.im/jmccormac01/Donuts
    :alt: Gitter Chat

A science frame autoguiding and image alignment algorithm with sub-pixel
precision, capable of guiding on defocused stars.


Project documentation: https://donuts.readthedocs.io/en/latest/

See the changelog_ for latest changes.

Motivation
----------

We operate or have access to several telescopes (NGTS, NITES, Warwick
1m, 1.5m San Pedro Martir) that require precise autoguiding. Sometimes
we need to defocus a telescope but we would still like to autoguide. 
Donuts was designed to allow this. The algorithm had to be
simple, fast and accurate. It has been shown to perform well as an 
autoguiding algorithm for equatorial telescopes (no field rotation).

The process of aligning apertures for photometry is essentially the same. 
Rather than correcting the telescope pointing, the apertures
must track the drift of the stars. Donuts can therefore be used to track
the stellar positions for CCD photometry also.

By default Donuts measures frame-to-frame translational offsets (X
and Y) using all the stars in the image. The algorithm could be adjusted 
in the to select a specific region of interest (for extremely wide or
distorted fields).

The algorithm has its limitations. It currently does not deal with
rotation or very large drifts - where the field moves by approx. half a FOV
or more. Our paper describing the details can be found here:

http://adsabs.harvard.edu/abs/2013PASP..125..548M

Example
-------

Below is a sample of 10 nights autoguiding residuals from NGTS while using 
Donuts. The upper plot shows the frame-to-frame error, while the bottom 
shows the drift which would have occured if not for Donuts. Aligning 
photometry apertures is essentially the same process and similar performance
is expected under that scenario. We routinely achieve an autoguiding RMS of 
1/20 pixels with NGTS. 

.. image:: AgResiduals_802_March2016.png

Contributors
------------

`James McCormac <https://github.com/jmccormac01>`_,
`Simon Walker <https://github.com/mindriot101>`_.


License
-------

MIT License

Copyright (c) 2021 James McCormac & Simon Walker

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

.. _changelog: https://github.com/jmccormac01/Donuts/blob/devel/CHANGELOG.md

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jmccormac01/Donuts",
    "name": "donuts",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "James McCormac, Simon Walker",
    "author_email": "jmccormac001@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/41/c7/8d64e13abfb084bc98aa7a747524183fa0a7237d2a2b344435e2a44e6e7b/donuts-0.4.0.tar.gz",
    "platform": null,
    "description": "=======\nDonuts\n=======\n\n.. image:: https://img.shields.io/pypi/v/donuts.svg?text=version\n    :target: https://pypi.python.org/pypi/donuts\n    :alt: Latest Pypi Release\n.. image:: https://img.shields.io/pypi/pyversions/donuts.svg\n    :target: https://pypi.python.org/pypi/donuts\n.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat\n    :target: http://www.astropy.org/\n    :alt: Powered by astropy\n.. image:: https://travis-ci.org/jmccormac01/Donuts.svg?branch=master\n    :target: https://travis-ci.org/jmccormac01/Donuts\n    :alt: Travis Build Status\n.. image:: https://ci.appveyor.com/api/projects/status/gs02nr4o4n2vdu22?svg=true\n    :target: https://ci.appveyor.com/project/JamesMcCormac/Donuts\n    :alt: Appveyor Build Status\n.. image:: https://landscape.io/github/jmccormac01/Donuts/master/landscape.svg?style=flat\n    :target: https://landscape.io/github/jmccormac01/Donuts/master\n    :alt: Code Health\n.. image:: https://coveralls.io/repos/github/jmccormac01/Donuts/badge.svg?branch=master \n    :target: https://coveralls.io/github/jmccormac01/Donuts?branch=master\n    :alt: Test Coverage\n.. image:: https://readthedocs.org/projects/donuts/badge/?version=latest\n    :target: http://donuts.readthedocs.io/en/latest/\n    :alt: Latest Documentation Status\n.. image:: https://badges.gitter.im/jmccormac01/Donuts.svg?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge\n    :target: https://gitter.im/jmccormac01/Donuts\n    :alt: Gitter Chat\n\nA science frame autoguiding and image alignment algorithm with sub-pixel\nprecision, capable of guiding on defocused stars.\n\n\nProject documentation: https://donuts.readthedocs.io/en/latest/\n\nSee the changelog_ for latest changes.\n\nMotivation\n----------\n\nWe operate or have access to several telescopes (NGTS, NITES, Warwick\n1m, 1.5m San Pedro Martir) that require precise autoguiding. Sometimes\nwe need to defocus a telescope but we would still like to autoguide. \nDonuts was designed to allow this. The algorithm had to be\nsimple, fast and accurate. It has been shown to perform well as an \nautoguiding algorithm for equatorial telescopes (no field rotation).\n\nThe process of aligning apertures for photometry is essentially the same. \nRather than correcting the telescope pointing, the apertures\nmust track the drift of the stars. Donuts can therefore be used to track\nthe stellar positions for CCD photometry also.\n\nBy default Donuts measures frame-to-frame translational offsets (X\nand Y) using all the stars in the image. The algorithm could be adjusted \nin the to select a specific region of interest (for extremely wide or\ndistorted fields).\n\nThe algorithm has its limitations. It currently does not deal with\nrotation or very large drifts - where the field moves by approx. half a FOV\nor more. Our paper describing the details can be found here:\n\nhttp://adsabs.harvard.edu/abs/2013PASP..125..548M\n\nExample\n-------\n\nBelow is a sample of 10 nights autoguiding residuals from NGTS while using \nDonuts. The upper plot shows the frame-to-frame error, while the bottom \nshows the drift which would have occured if not for Donuts. Aligning \nphotometry apertures is essentially the same process and similar performance\nis expected under that scenario. We routinely achieve an autoguiding RMS of \n1/20 pixels with NGTS. \n\n.. image:: AgResiduals_802_March2016.png\n\nContributors\n------------\n\n`James McCormac <https://github.com/jmccormac01>`_,\n`Simon Walker <https://github.com/mindriot101>`_.\n\n\nLicense\n-------\n\nMIT License\n\nCopyright (c) 2021 James McCormac & Simon Walker\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n.. _changelog: https://github.com/jmccormac01/Donuts/blob/devel/CHANGELOG.md\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Align astronomical images",
    "version": "0.4.0",
    "project_urls": {
        "Homepage": "https://github.com/jmccormac01/Donuts"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "344e9095fe7ea66a54d66355454437a7aea565131f3e2d9acaadfd4942fd6d67",
                "md5": "fec76c57cf980c1e24b889ff1827ddca",
                "sha256": "dc7c429dfdcd98580a49d87d5530068e15118c22289dfa5c7a5dca8395c49f30"
            },
            "downloads": -1,
            "filename": "donuts-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fec76c57cf980c1e24b889ff1827ddca",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 27225,
            "upload_time": "2024-05-07T16:41:52",
            "upload_time_iso_8601": "2024-05-07T16:41:52.846122Z",
            "url": "https://files.pythonhosted.org/packages/34/4e/9095fe7ea66a54d66355454437a7aea565131f3e2d9acaadfd4942fd6d67/donuts-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "41c78d64e13abfb084bc98aa7a747524183fa0a7237d2a2b344435e2a44e6e7b",
                "md5": "f3577fb23df4abcacd35767812865d47",
                "sha256": "c998a07a9b2f7ec96b2c29eeb0c26fd53ef29743a4e001b8703eb37f23dab371"
            },
            "downloads": -1,
            "filename": "donuts-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f3577fb23df4abcacd35767812865d47",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 172553,
            "upload_time": "2024-05-07T16:41:54",
            "upload_time_iso_8601": "2024-05-07T16:41:54.374886Z",
            "url": "https://files.pythonhosted.org/packages/41/c7/8d64e13abfb084bc98aa7a747524183fa0a7237d2a2b344435e2a44e6e7b/donuts-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-07 16:41:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jmccormac01",
    "github_project": "Donuts",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "landscape": true,
    "appveyor": true,
    "requirements": [],
    "tox": true,
    "lcname": "donuts"
}
        
Elapsed time: 0.26783s