dfcosmic: A Python package for cosmic ray removal

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Rhea, Carter Lee, van Dokkum, Pieter, Janssens, Steven R., Pasha, Imad, Abraham, Roberto, Bowman, William P., Lokhorst, Deborah, Chen, Seery
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917283917463552
author Rhea, Carter Lee
van Dokkum, Pieter
Janssens, Steven R.
Pasha, Imad
Abraham, Roberto
Bowman, William P.
Lokhorst, Deborah
Chen, Seery
author_facet Rhea, Carter Lee
van Dokkum, Pieter
Janssens, Steven R.
Pasha, Imad
Abraham, Roberto
Bowman, William P.
Lokhorst, Deborah
Chen, Seery
contents Astronomical images often show sharp features that are caused by cosmic ray (CR) hits, hot pixels, or non-Gaussian noise. L.A.Cosmic (van Dokkum 2001) is a widely used edge detection algorithm that identifies and replaces such features. Here we describe dfcosmic, a direct python port of L.A.Cosmic utilizing PyTorch and C++ to enable efficient performance on both CPUs and GPUs. The code was developed for the MOTHRA array, which is projected to produce more than 1000 large format CMOS images every 15 minutes. Compared to previous python implementations, dfcosmic achieves a speed gain of at least 20%.
format Preprint
id arxiv_https___arxiv_org_abs_2602_17938
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle dfcosmic: A Python package for cosmic ray removal
Rhea, Carter Lee
van Dokkum, Pieter
Janssens, Steven R.
Pasha, Imad
Abraham, Roberto
Bowman, William P.
Lokhorst, Deborah
Chen, Seery
Instrumentation and Methods for Astrophysics
Astrophysics of Galaxies
Astronomical images often show sharp features that are caused by cosmic ray (CR) hits, hot pixels, or non-Gaussian noise. L.A.Cosmic (van Dokkum 2001) is a widely used edge detection algorithm that identifies and replaces such features. Here we describe dfcosmic, a direct python port of L.A.Cosmic utilizing PyTorch and C++ to enable efficient performance on both CPUs and GPUs. The code was developed for the MOTHRA array, which is projected to produce more than 1000 large format CMOS images every 15 minutes. Compared to previous python implementations, dfcosmic achieves a speed gain of at least 20%.
title dfcosmic: A Python package for cosmic ray removal
topic Instrumentation and Methods for Astrophysics
Astrophysics of Galaxies
url https://arxiv.org/abs/2602.17938