ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

Welcome to the ASCL

The Astrophysics Source Code Library (ASCL) is a free online registry and repository for source codes of interest to astronomers and astrophysicists, including solar system astronomers, and lists codes that have been used in research that has appeared in, or been submitted to, peer-reviewed publications. The ASCL is indexed by the SAO/NASA Astrophysics Data System (ADS) and Web of Science and is citable by using the unique ascl ID assigned to each code. The ascl ID can be used to link to the code entry by prefacing the number with ascl.net (i.e., ascl.net/1201.001).


Most Recently Added Codes

2025 Aug 07

[submitted] AutoWISP: High-Precision Photometry Pipeline

We have developed a software pipeline, AutoWISP, for extracting high-precision photometry from citizen scientists' observations made with consumer-grade color digital cameras (digital single-lens reflex, or DSLR, cameras), based on our previously developed tool, AstroWISP. The new pipeline is designed to convert these observations, including color images, into high-precision light curves of stars. We outline the individual steps of the pipeline and present a case study using a Sony-alpha 7R II DSLR camera, demonstrating sub-percent photometric precision, and highlighting the benefits of three-color photometry of stars. Project PANOPTES will adopt this photometric pipeline and, we hope, be used by citizen scientists worldwide. Our aim is for AutoWISP to pave the way for potentially transformative contributions from citizen scientists with access to observing equipment.

[submitted] AstroWISP: Astronomical Widefield Images Stellar Photometry

We present AstroWISP: a collection of image processing tools for source extraction, background determination, point spread function/pixel response function fitting, and aperture photometry. AstroWISP is particularly well-suited for working with detectors featuring a Bayer mask (an array of microfilters applied to each detector pixel to allow color photography), such as consumer DSLR cameras. Such detectors pose significant challenges for existing tools while offering a much cheaper alternative to specialized devices. As a result, consumer DSLR cameras with Bayer masks are often underutilized for precision photometry. AstroWISP addresses this limitation in an effort to democratize precision photometry and support broader community participation in research. We demonstrate that our tools produce high-precision photometry from such images, enabling the use of such devices for detecting exoplanet transits. We package our tools for all major operating systems to ensure accessibility for amateur astronomers.

2025 Aug 03

[submitted] FRion: time averaged correction of Faraday Rotation from the IONosphere

FRion computes and applies corrections for the effects of Faraday rotation by the Earth's ionosphere in radio polarization data. Other ionospheric Faraday rotation codes can compute the predicted Faraday rotation measure as a function of time and direction, and in some cases apply the correction directly to visibilities. FRion has been made to tackle the case where direct correction in visibilities is not possible and correction must occur post-imaging. FRion computes the time-averaged Faraday rotation across the duration of an observation, which should serve as a reasonable approximation for the effect of the ionosphere in radio interferometer images. For the ionosphere Faraday rotation calculations we use the external package RMextract (ascl:1806.024). FRion can further apply the correction to Stokes Q and U cubes to remove the effects of the ionosphere.

2025 Aug 01

[submitted] STELA (Sampling Time for Even Lightcurve Analysis) Toolkit

STELA Toolkit is a fully documented Python package for interpolating gappy/irregular, noisy light curves using Gaussian Processes, enabling the computation of a wide range of time-domain and frequency-domain data products. STELA supports standard Fourier frequency-resolved products such as power spectra, cross spectra, lag spectra, and coherence, as well as lags via the Cross-Correlation Function (CCF), interpolated with GPs or traditional linear interpolation.

2025 Jul 31

[ascl:2507.030] DPMhalo: Descriptive Parametric Model for gaseous halos

DPMhalo (Descriptive Parametric Model) generates profiles of gaseous halos (pressure, electron density, and metallicity) as functions of radius, halo mass, and redshift. The code assumes spherically symmetric, volume-filling warm/hot gas, and enables mock observations of the circumgalactic medium (CGM), group halos, and clusters across a number of wavebands including X-ray, sub-millimeter/millimeter, radio, and ultraviolet (UV).

[ascl:2507.029] PIRATES: Polarimetric Image Reconstruction AI for Tracing Evolved Structures

PIRATES (Polarimetric Image Reconstruction AI for Tracing Evolved Structures) uses machine learning to perform image reconstruction. It uses MCFOST (ascl:2207.023) to generate models, then uses those models to build, train, iteratively fit, and evaluate PIRATES performance.

[ascl:2507.028] torchmfbd: Multi-object multi-frame blind deconvolution of point-like or extended objects

torchmfbd carries out multi-object multi-frame blind deconvolution (MOMFBD) of point-like or extended objects, and is especially tailored to solar images. The code is built on PyTorch and provides a high-level interface for adding observations, defining phase diversity channels, and adding regularization. It can deal with spatially variant PSFs either by mosaicking the images or by defining a spatially variant PSF. torchmfbd supports smooth solutions and solutions based on the ℓ 1 penalization of the isotropic undecimated wavelet transform of the object, and regularizations are easily extendable. The code also includes an API and a configuration file.

[ascl:2507.027] SPIBACK: Backward-integration-based non-axisymmetric models of the Milky Way disk

SPIBACK (SPIral arms & Bar bACKward integrations) generates Milky Way models through the backward integration method. The code allows users to plot the 2D local velocity space distribution at the Sun's position, as well as median Galactocentric radial velocity maps across the area of the Galactic disk probed with Gaia DR3. This can be done for different bar and spiral arms parameters. The parameters are set by default to be those of the "fiducial model" and can be adjusted as needed.

[ascl:2507.026] HYDRAD: Field-aligned hydrodynamic equations in coronal loops solver

HYDRAD (HYDrodynamics and RADiation) computes solutions to field-aligned hydrodynamic equations in coronal loops. The code models a broad variety of phenomena, including multi-species plasma confined to full-length, magnetic flux tubes of arbitrary geometrical and cross-section variation in the field-aligned direction; solar flares driven by non-thermal electrons3 and Alfven waves4, and the non-thermal equilibrium response of the chromosphere; and coronal rain formed by condensations in thermal non-equilibrium where the adaptive grid is required to fully resolve and track multiple steep transition regions. HYDRAD also models ultracold, strongly coupled laboratory plasmas composed of weakly-ionized strontium. The code, written in C++, is modular in its structure; new capabilities can be added in a relatively straightforward way and handled robustly by the numerical scheme. HYDRAD is also intended to be fairly undemanding of computational resources, though its needs do depend strongly on the particular nature of each model run.

[ascl:2507.025] EXP: nbody EXPansion code

EXP performs and analyzes N-body simulations using biorthogonal and orthogonal expansions. The package also supports time series analysis of expansion coefficients using multivariate Singular Spectrum Analysis (mSSA) to discover new dynamical correlations, separate signal from noise, and visualize these in two- and three-dimensional renderings. EXP's object-oriented design enforces minimal consistency while retaining flexibility.