{"id":19175873,"url":"https://github.com/astropy/astroscrappy","last_synced_at":"2025-04-03T11:10:50.105Z","repository":{"id":33194890,"uuid":"36837126","full_name":"astropy/astroscrappy","owner":"astropy","description":"Speedy Cosmic Ray Annihilation Package in Python","archived":false,"fork":false,"pushed_at":"2024-09-30T06:53:42.000Z","size":766,"stargazers_count":70,"open_issues_count":9,"forks_count":34,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-10-29T17:39:19.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astropy.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"licenses/LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"numfocus","custom":"https://numfocus.org/donate-to-astropy"}},"created_at":"2015-06-03T23:53:02.000Z","updated_at":"2024-09-30T06:53:46.000Z","dependencies_parsed_at":"2023-12-05T19:24:45.216Z","dependency_job_id":"ba5ba51b-8a8d-42a7-8558-1b83f545c05a","html_url":"https://github.com/astropy/astroscrappy","commit_stats":{"total_commits":449,"total_committers":35,"mean_commits":12.82857142857143,"dds":0.8262806236080178,"last_synced_commit":"26f4bec6ce39f209d0179a5357316430fe009fb5"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fastroscrappy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fastroscrappy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fastroscrappy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astropy%2Fastroscrappy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astropy","download_url":"https://codeload.github.com/astropy/astroscrappy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246961981,"owners_count":20861196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T10:26:01.180Z","updated_at":"2025-04-03T11:10:50.075Z","avatar_url":"https://github.com/astropy.png","language":"C","funding_links":["https://github.com/sponsors/numfocus","https://numfocus.org/donate-to-astropy"],"categories":[],"sub_categories":[],"readme":"Astro-SCRAPPY: The Speedy Cosmic Ray Annihilation Package in Python\n===================================================================\n\n.. image:: https://readthedocs.org/projects/astroscrappy/badge/?version=latest\n    :alt: Documentation Status\n    :scale: 100%\n    :target: https://astroscrappy.readthedocs.io/en/latest/?badge=latest\n.. image:: https://github.com/astropy/astroscrappy/workflows/Run%20unit%20tests/badge.svg\n    :target: https://github.com/astropy/astroscrappy/actions\n    :alt: CI Status\n.. image:: https://codecov.io/gh/astropy/astroscrappy/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/astropy/astroscrappy\n    :alt: AstroScrappy's Coverage Status\n.. image:: https://zenodo.org/badge/36837126.svg\n    :target: https://zenodo.org/badge/latestdoi/36837126\n\n\nAn optimized cosmic ray detector.\n\n:Author: Curtis McCully\n\n\nAstro-SCRAPPY is designed to detect cosmic rays in images (numpy arrays),\nbased on Pieter van Dokkum's L.A.Cosmic algorithm.\n\nMuch of this was originally adapted from cosmics.py written by Malte Tewes.\nI have ported all of the slow functions to Cython/C, and optimized\nwhere I can. This is designed to be as fast as possible so some of the\nreadability has been sacrificed, specifically in the C code.\n\nIf you use this code, please cite the Zendo DOI: https://zenodo.org/record/1482019\n\nPlease cite the original paper which can be found at:\nhttp://www.astro.yale.edu/dokkum/lacosmic/\n\nvan Dokkum 2001, PASP, 113, 789, 1420\n(article : http://adsabs.harvard.edu/abs/2001PASP..113.1420V)\n\nThis code requires Cython, preferably version \u003e= 0.21.\n\nParallelization is achieved using OpenMP. This code should compile (although\nthe Cython files may have issues) using a compiler that does not support OMP,\ne.g. clang.\n\nNotes\n-----\nThere are some differences from original LA Cosmic:\n\n- Automatic recognition of saturated stars.\n  This avoids treating such stars as large cosmic rays.\n\n- I have tried to optimize all of the code as much as possible while\n  maintaining the integrity of the algorithm. One of the key speedups is to\n  use a separable median filter instead of the true median filter. While these\n  are not identical, they produce comparable results and the separable version\n  is much faster.\n\n- This implementation is much faster than the Python by as much as a factor of\n  ~17 depending on the given parameters, even without running multiple threads.\n  With multiple threads, this can be increased easily by another factor of 2.\n  This implementation is much faster than the original IRAF version, improvment\n  by a factor of ~90.\n\nThe arrays always must be C-contiguous, thus all loops are y outer, x inner.\nThis follows the astropy.io.fits (pyfits) convention.\n\nscipy is required for certain tests to pass, but the code itself does not depend on\nscipy.\n\n\nLicense\n-------\n\nThis project is Copyright (c) Astropy Developers and licensed under the terms of the BSD 3-Clause license. See the licenses folder for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropy%2Fastroscrappy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastropy%2Fastroscrappy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastropy%2Fastroscrappy/lists"}