ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

Browsing Codes

Order
Title Date
 
Mode
Abstract Compact
Per Page
50100250All
[submitted] easyspec

easyspec is a tool designed to streamline long-slit spectroscopy, offering an intuitive framework for reducing, extracting, and analyzing astrophysical spectra.

[ascl:2412.030] γ-Cascade V4: Gamma-ray propagation package

γ-Cascade (also called GCascade) uses a semi-analytic approach to model gamma-ray propagation through cosmological distances accounting for attenuation, the formation of electromagnetic cascades,and cosmological redshifting. V4 implements an assortment of the most widely used EBL models, significantly improves computational precision, and provides new core functionality. Additionally, GCascadeV4 uses a new method to estimate the uncertainty due to the EBL model.

[ascl:2412.029] lintsampler: Efficient random sampling via linear interpolation

lintsampler performs linear interpolant sampling to create a set of sample points from a density function. The code uses the evaluation of the density at the two endpoints of 1D interval, or the four corners of a 2D rectangle, or generally the 2k vertices of a dimensional hyperbox (or a series of such hyperboxes, e.g., the cells of a k-dimensional grid) to draw random samples within the hyperbox. lintsampler works by evaluating a given PDF on the nodes of a grid (or grid-like structure, such as a tree); the number of evaluations (and memory occupancy) grows exponentially with the number of dimensions.

[ascl:2412.028] POSEIDON: Multidimensional atmospheric retrieval of exoplanet spectra

POSEIDON models and retrieves 1D, 2D, and 3D exoplanet transmission spectra. Given a set of observed exoplanet spectra from space-based or ground-based telescopes, the code uses Bayesian techniques to infer the atmospheric properties of the planet. POSEIDON also includes disk-integrated thermal emission and reflection spectra modeling and retrievals for both secondary eclipses and directly-imaged substellar objects.

[ascl:2412.027] mr-plotter: Mass-radius diagrams plotter

Mister plotter (mr-plotter) creates paper-quality mass-radius diagrams based on a wide range of state-of-the-art models of planetary interiors and atmospheres. It can be used to contextualize planets and infer their possible internal structures. It can also be used to search for correlations at a population level with its color-coding option based on any property collected in the NASA Exoplanet Archive, PlanetS, and Exoplanet.eu catalogs. mr-plotter can also produce article-ready two-column plots.

[ascl:2412.026] MARDIGRAS: MAss-Radius DIaGRAm with Sliders

The visualization tool MARDIGRAS (Mass-Radius DIaGRAm with Sliders) enables simple and intuitive manipulation of mass-radius relationships (also known as iso-composition curves) using interactive sliders. It infers composition based on mass and radius (and other parameters). As a result, it requires use of actual measurements of mass and radius; values that are upper/lower limits, derived from empirical mass-radius relations, or are somewhat controversial should not be used. MARDIGRAS screen captures can be used for general scientific communication but are not of suitable quality for article publication.

[submitted] euclidlib

The euclidlib python package is an unofficial tool designed to read products from the Euclid Consortium Science Ground Segment. Euclidlib offers user-friendly reading and writing routines, and effectively enables to work overall with Large-Scale Structure cosmological products.

[ascl:2412.025] squishyplanet: Non-spherical exoplanet transit modeling

squishyplanet produces realistic lightcurves and phase curves of non-spherical exoplanets. The code generates models of triaxial planets; fitting for the triaxial shape can provide additional constraints on the planet’s interior properties and evolution. squishyplanet also handles complex limb darkening profiles while also accounting for the planet’s non-circular, potentially time-varying, projected shape.

[ascl:2412.024] CLOWN: Cloud detection software for observatories with an all-sky camera

CLOWN (CLOud Watcher at Night) detects and monitors clouds in real time. The software can be used with any type of all-sky camera even without knowing its parameters; parameters are stored instead in a configuration file. CLOWN correctly traces cloud positions in the sky and provides accurate pointing information to the observation planning of the optical telescope to avoid cloudy areas.

[ascl:2412.023] cogsworth: Self-consistent population synthesis and galactic dynamics simulations

cogsworth merges rapid population synthesis and galactic dynamics together; the code can evolve a population of stars using population synthesis while self-consistently integrating their orbits with a chosen galactic potential. This enables exploration of the full evolutionary history (both stellar and orbital) of a population of stars and the ability to make predictions for present day kinematics and other distributions. cogsworth also provides tools for transforming the intrinsic populations into observables and for classifying the nature of each system.

[ascl:2412.022] ForestFlow: Lyman-alpha cosmology emulator

ForestFlow emulates the linear biases and small-scale deviation parameters of the 3D flux power spectrum of the Lyman-alpha forest. The parameters are modeled as a function of cosmology – the small-scale amplitude and slope of the linear power spectrum – and the physics of the intergalactic medium.

[ascl:2412.021] BlendingToolKit: Tools to create blend catalogs, produce training samples, and implement blending metrics

BlendingToolKit (BTK) generates images of blended objects and evaluate performance metrics on various detection, deblending and measurement algorithms. The toolkit is a convenient way to produce multi-band postage stamp images of blend scenes and evaluate the performance of deblending algorithms, as well as train samples for machine learning algorithms.

[ascl:2412.020] Combustion Toolbox: Gaseous combustion problem solver

Combustion Toolbox (CT) models thermodynamic properties of the gaseous species with the ideal gas equation of state (EoS). Written in MATLAB, this thermochemical code is modular and has three main modules: CT-EQUIL, CT-SD, and CT-ROCKET. CT-EQUIL computes the composition at the equilibrium of multi-component gas mixtures that undergo canonical thermochemical transformations from an initial state (reactants). CT-SD solves steady-state shock and detonation waves in either normal or oblique incidence, and CT-ROCKET computes the theoretical performance of rocket engines under highly idealized conditions. Modules can be accessed through user-friendly GUI or from MATLAB’s command line in plain code mode.

[ascl:2412.019] FitTeD: Fitting Transients with Discs

FitTeD solves time-dependent general relativistic disc equations to fit multi-band light curves and spectra. It includes relativistic optics effects such as Doppler and gravitational energy shifting, and gravitational lensing, and can include non-disc light curve and spectral components to, for example, model the early time rise and decay of tidal disruption event light curves in optical-to-UV bands. FitTeD also provides Monte Carlo Markov Chain fitting procedures that return posterior distributions of black hole and disc parameters.

[ascl:2412.018] gwforge: Mock gravitational wave detector data generator

gwforge generates mock gravitational wave detector data using user-defined population and arbitrary detector sensitivity. The code can, for example, simulate a wide range of binary source populations by specifying parameters such as the local merger rate, distribution functions, and additional keyword arguments, and simulate coloured Gaussian or zero noise using a provided or default power spectrum to represent the detector noise. gwforge can also inject gravitational wave signal(s) into the generated detector data using the previously generated population and a chosen waveform model.

[ascl:2412.017] Particle_spray: Modeling globular cluster streams

Particle_spray models the position and velocity distributions of newly-escaped stream particles that emerge from globular clusters (GCs). Rather than computing the detailed internal cluster dynamics, which is computationally expensive, the code directly draws tracer particles from these distributions. This algorithm is fast and accurate, and is implemented in a series of notebooks for several galactic dynamics codes, including AGAMA (ascl:1805.008) and galpy (ascl:1411.008).

[ascl:2412.016] WD_models: WD photometry to physical parameters transformer

WD_models transforms white dwarf (WD) photometry to physical parameters (i.e., mass, cooling age, and Teff) and vice versa, based on interpolation of existing WD atmosphere grid and cooling models. The code converts the coordinates of Gaia (and other passbands) H--R diagram into WD parameters and plots contours of WD parameters on the Gaia (and other passbands) H--R diagram. WD_models also provides tools to transform any desired WD parameters and compare the results of different WD models. In addition, the user may customize many parameters, such as the choice of cooling models and setting details of plotting.

[ascl:2412.015] The Payne: Interpolate spectral models with neural networks

The Payne precisely and simultaneously determines numerous stellar labels from observed spectra based on fitting physical spectral models. It fits all all labels (stellar parameters and element abundances) simultaneously, and uses spectral models where the atmosphere structure and the radiative transport are consistently calculated to reflect the stellar labels. The Payne leads to both precise and accurate estimates of stellar labels, based on physical models and without re-calibration.

[ascl:2412.014] Siril: Astronomical image processing tool

Siril reduces reduction and improves the signal/noise ratio of an image from multiple captures. It can can align automatically or manually, and stack and enhance pictures from various file formats, even image sequence files (films and SER files). Its Graphical User Interface (GUI) allows manual processing of images in addition to scripts or typing commands. Siril provides astrometry and photometry options and performs geometric transformations in addition to many other tools.

[ascl:2412.013] Spectuner: Automated line identification of interstellar molecules

Spectuner identifies spectral lines of interstellar molecules automatically. The code uses XCLASS (ascl:1810.016) for the spectral line model and SciPy for the peak finder. Spectral fitting is performed using article swarm optimization and the peak matching loss function. From frequency in a unit of MHz and temperature in a unit of K, Spectuner returns the combined spectrum, identification of the combined spectrum, and the identification of all candidates.

[ascl:2412.012] CosmoFlow: A systematic approach to primordial correlators

CosmoFlow automatically computes cosmological correlators. The Cosmological Flow approach is based on computing cosmological correlators by solving differential equations in time governing their time evolution through the entirety of the spacetime during inflation, from their origin as quantum fluctuations in the deep past to the end of inflation. This method takes into account all physical effects at tree-level without approximation. Specifically, CosmoFlow computes the two- and three-point correlators of fields and/or conjugate momenta X a in Fourier space that includes an arbitrary number of degrees of freedom with any propagation speeds, couplings, and time-dependencies.

[ascl:2412.011] DIES: Dust radiative transfer with the immediate reemission method

DIES calculates equilibrium dust temperatures and the resulting dust emission spectra. It handles spherical models (cells are spherical shells), computes dust temperatures (equilibrium temperatures only), and returns spectra for different impact parameters. The code uses the immediate re-emission method; it is not suitable for problems where the stochastic heating of the grains is important. DIES can assume constant dust properties throughout the model, and also offers an alternative script that allows dust properties to be set cell by cell. The program uses OpenCL libraries and is recommended to be run on GPUs.

[ascl:2412.010] exoTEDRF: Tools for end-to-end reduction of JWST exoplanet observations

exoTEDRF (Exoplanet Transit and Eclipse Data Reduction Framework) reduces and analyzes JWST exoplanet time series observations. The code is modular and tunable, which makes it easy to run multiple reductions of a given dataset, and therefore ascertain whether the spectral features driving atmosphere inferences are robust or are sensitive to the peculiarities of a given reduction. exoTEDRF has full support for TSOs with NIRISS/SOSS and can run the ATOCA extraction algorithm to explicitly model the SOSS order overlap.

[ascl:2412.009] Codex Africanus: Radio astronomy algorithms library

Codex Africanus presents radio astronomy algorithms to the user as modular functions accepting NumPy inputs and producing NumPy outputs. Internally, it uses Numba to accelerate these codes and Dask to parallelize and distribute them. The library contains functions for plotting convolution filters and tapers associated with convolution filters and can compute the discretised direct Fourier transform (DFT) for an ideal interferometer. Codex Africanus has routines for gridding or degridding complex visibilities onto or from an image, includes deconvolution algorithms and coordinate transforms, and many other functions.

[ascl:2412.008] nifty-ls: Fast Lomb-Scargle periodogram

nifty-ls evaluates the Lomb-Scargle periodogram very quickly and accurately. The Lomb-Scargle periodogram, used for identifying periodicity in irregularly-spaced observations, is useful but computationally expensive. However, when it is phrased mathematically as a pair of non-uniform FFTs (NUFFTs), FINUFFT (ascl:2412.007), which is really fast, can be leveraged to improve performance. It also enables GPU (CUDA) support and is several orders of magnitude more accurate than Astropy's (ascl:1304.002) Lomb Scargle with default settings.

[ascl:2412.007] FINUFFT: Flatiron Institute Nonuniform Fast Fourier Transform

FINUFFT (Flatiron Institute Nonuniform Fast Fourier Transform) computes the three standard types of nonuniform FFT to a specified precision, in one, two, or three dimensions. It can be run on a multi-core shared-memory machine or on a GPU. It is extremely fast and has very simple interfaces to most major numerical languages (such as C/C++, Fortran, MATLAB, octave, Python, and Julia). FINUFFT also provides more advanced (vectorized and “guru”) interfaces that allow multiple strength vectors and the reuse of FFT plans.

[ascl:2412.006] Coport: Covariant polarized radiative transfer

Coport computes covariant polarized radiation transfer in any spacetime. It is particularly useful for imaging black hole accretion systems. Written in Julia, it contains functions for handling the computation of all rays and a single ray, and deriving initial ray directions. Coport also has functions for interpolating GRMHD data, obtaining covariant emission, absorption, and Faraday rotation coefficients, and projecting the polarization tensor at the observer's screen, among other tasks.

[ascl:2412.005] pmwd: Particle Mesh With Derivatives

pmwd simulates and models cosmological evolutionary history. The code includes reverse time integration in addition to traditional forward simulation, enabling symmetrical dynamics analysis using the adjoint method. The pmwd particle-mesh model supports fully-differentiable analytic, semi-analytics, and deep learning components in parallel. Based on JAX (ascl:2111.002), pmwd is optimized for PU computation.

[ascl:2412.004] BADASS: Bayesian AGN Decomposition Analysis for SDSS Spectra

BADASS (Bayesian AGN Decomposition Analysis for SDSS Spectra) decomposes Sloan Digital Sky Survey (SDSS) spectra and fits Type 1 ("broad line") Active Galactic Nuclei (AGN) in the optical. The fitting process uses the Bayesian affine-invariant Markov-Chain Monte Carlo sampler emcee (ascl:1303.002) for robust parameter and uncertainty estimation, as well as autocorrelation analysis to access parameter chain convergence. Out of the box, BADASS fits SDSS spectra, and MANGA IFU cube data; the code can be modified to fit user-input spectra of any instrument.

[ascl:2412.003] dask-ms: xarray datasets from CASA tables

dask-ms constructs xarray datasets from CASA tables, thus providing a data access layer for Measurement Set v2.0 data. It supports the CASA Data Table System, Zarr and Apache Arrow formats, but abstracts them away from the developer at the xarray dataset level. It therefore serves as a basis for writing distributed PyData Radio Astronomy applications and supports writing variables back to the respective column in the Table. The intention behind dask-ms is to support the Measurement Set as a data source and sink for the purposes of writing parallel, distributed radio astronomy algorithms.

[ascl:2412.002] Stimela2: Workflow management framework for data reduction workflows

Stimela2 develops data reduction workflows and is a significant update of Stimela (ascl:2305.007). Though designed for radio astronomy data, it can be adapted for other data processing applications. Stimela2 represents workflows by linear, concise and intuitive YAML-format "recipes". Atomic data reduction tasks (binary executables, Python functions and code, and CASA tasks) are described by YAML-format "cab definitions" detailing each task's "schema" (inputs and outputs). Stimela2 provides a rich syntax for chaining tasks together, and encourages a high degree of modularity: recipes may be nested into other recipes, and configuration is cleanly separated from recipe logic. Tasks can be executed natively or in isolated environments using containerization technologies such as Apptainer. Stimela2 facilitates the deployment of scalable, distributed workflows by interfacing with the Slurm scheduler and the Kubernetes API, the latter allowing workflows to be readily deployed in the cloud.

[ascl:2412.001] Twinkle: Calculate and plot spectral energy distribution of main-sequence stars

Twinkle calculates and plots the stellar spectral energy distribution (SED) using empirical photometric data and stellar model grids. The code was originally created to help calculate the excess infrared (IR) flux from a star; the presence of an IR excess indicates dust orbiting the star. This dust likely results from the grinding and collisions of asteroids, influenced by a larger planetary object—pointing to the potential for finding planets. Twinkle quickly calculates the temperature and location of the dust to first order by fitting the assumed blackbody or modified blackbody function to the broadband excess emission.

[submitted] Colume: Estimating volume densities clouds from their column density morphology

Colume (COLUMn to vOLUME) uses the statistical and spatial distribution of a column density map to infer a likely volume density distribution along each line of sight. This Python package incorporates all pre-processing (in particular re-sampling) functions needed to efficiently work on the column density maps. Colume's outputs are saved in Numpy format.

[submitted] Spectroscopic Analysis of O and B-Type Stars, Neutron Stars, and White Dwarfs Using SDSS Data and Astroquery

This project presents a comprehensive spectroscopic analysis of O and B-type stars, neutron stars, and white dwarfs, with a focus on the detection of helium (He) and oxygen (O) in stellar atmospheres. By leveraging data from the Sloan Digital Sky Survey (SDSS) and utilizing tools such as Astropy, Astroquery, and Specutils, the project aims to identify key spectral lines of helium and oxygen, as well as the formation of heliox (OHe) molecules. The methodology involves querying SDSS for relevant spectral data, filtering and analyzing it based on stellar classification, and visualizing the results using advanced techniques. The findings contribute to the understanding of stellar evolution, chemical processes, and the role of these elements in various stellar classes. Additionally, the project incorporates interactive data exploration with Aladin Lite and Simbad, offering a robust framework for future astrophysical research.

[submitted] Analysis and Super-Resolution of Astronomical Data from FITS Files of NGC 0628

This notebook provides a comprehensive approach for analyzing and visualizing astronomical data from FITS (Flexible Image Transport System) files, focusing on moment maps derived from molecular line emissions within the galaxy NGC 0628. The analysis involves applying various image processing techniques to handle corrupted pixels, reconstruct images, and enhance the quality of moment maps. The notebook also demonstrates how to simulate super-resolution to improve the spatial resolution of the data. By utilizing Gaussian filtering, median filtering, and contrast enhancement, the approach improves the clarity and precision of the data, making it suitable for detailed astrophysical studies. This tool serves as an efficient method for processing and visualizing large-scale astronomical datasets for further analysis and scientific interpretation.

[ascl:2411.030] NEMESISPY: Modeling exoplanet spectra

NEMESISPY infers the atmospheric properties of exoplanets, such as chemical composition, using spectroscopic data. The package calculates radiative transfer using the correlated-k approximation and for parametric atmospheric modelling. NEMESISPY is a Python implementation of the well-established Fortran NEMESIS library (ascl:2210.009), which has been applied to the atmospheric retrievals of both solar system planets and exoplanets employing numerous different observing geometries.

[ascl:2411.029] IcyDwarf: Coupled geophysical-geochemical-orbital evolution model of icy worlds

IcyDwarf calculates the coupled physical-chemical evolution of an icy dwarf planet or moon. The code calculates the thermal evolution of an icy planetary body (moon or dwarf planet), with no chemistry, but with rock hydration, dehydration, hydrothermal circulation, core cracking, tidal heating, and porosity; the depth of cracking and a bulk water:rock ratio by mass in the rocky core are also computed. It also calculates whether cryovolcanism is possible by the exsolution of volatiles from cryolavas. IcyDwarf also determines the equilibrium fluid and rock chemistries resulting from water-rock interaction in subsurface oceans in contact with a rocky core, up to 200ºC and 1000 bar.

[ascl:2411.028] SMINT: Structure Model INTerpolator

SMINT (Structure Model INTerpolator) obtains posterior distributions on the H/He or H2O mass fraction of a planet; its interface is user-friendly. The parameters of the planet of interest are input with specifications on the priors that should be used. SMINT returns publication-ready plots presenting the joint parameters constraints obtained from interpolating the interior models grid of interest as well as confidence intervals for each parameter.

[ascl:2411.027] DarkMatters: Multi-frequency emissions from Dark Matter annihilation and decay

DarkMatters calculates multi-frequency and multi-messenger emissions from WIMP annihilation and decay. This can be done both for standard channels and custom models, with the ability to produce surface brightnesses and integrated fluxes as well as maps in FITS format to compare to actual data. DarkMatters uses an accelerated ADI solver such as GALPROP (ascl:1010.028) for electron diffusion with an innovative sparse matrix approach. Additionally, there is the option to use a Green's function approximate solution (implemented in both C++ and Python).

[ascl:2411.026] DustPOL-py: Numerical modeling of dust polarization

The numerical modeling code DustPOL-py calculates the multi-wavelength polarization degree of absorption and thermal dust emission based on Radiative Torque alignment (RAT-A), Magnetically enhanced RAT (MRAT) and Radiative Torque Disruption (RAT-D). The code saves the output files (wavelength and degree of polarization) for further analysis and is idealization for diffuse ISM, molecular clouds and star-forming regions; it also predicts the polarization spectrum for one- or two-dust layers. A web-interface GUI for DustPOL-py is also available.

[ascl:2411.025] DAMSPI: DArk Matter SPIkes in EAGLE simulations

DArk Matter SPIkes (DAMSPI) analyzes dark matter spikes around Intermediate Mass Black Holes (IMBHs) in the Milky Way. It extracts an IMBH catalog with the corresponding dark matter spike parameters from EAGLE simulations to probe a potential gamma-ray signal from dark matter self-annihilation. The catalog includes, among others, the coordinates, mass, formation redshift, and spike parameters for each individual IMBH.

[ascl:2411.024] jaxspec: X-ray spectra Bayesian analysis

jaxspec performs statistical inference on X-ray spectra. It loads an X-ray spectrum (in the OGIP standard), defines a spectral model from the implemented components, and calculates the best parameters using state-of-the-art Bayesian approaches. The code is built on top of JAX (ascl:2111.002) to provide just-in-time compilation and automatic differentiation of the spectral models, enabling the use of sampling algorithms. jaxspec is written in pure Python and is not dependent on HEASoft (ascl:1408.004).

[ascl:2411.023] mochi_class: Modelling Optimization to Compute Horndeski in CLASS

mochi_class extends the hi_class code (ascl:1808.010), itself a patch to the Einstein-Boltzmann solver CLASS (ascl:1106.020). It replaces α-functions by stable basis to ensure stability and takes general functions of time as input, including the dark energy equation of state or its normalized background energy-density. mochi_class provides stability test checking for mathematical (classical) instabilities in the scalar field fluctuations, and also includes a GR approximation scheme, among other new capabilities.

[ascl:2411.022] HIILines: Analytical ionized ISM emission line model

HIILines analytically models lines emitted by the ionized interstellar medium (ISM). It covers [OIII], [OII], Hα, and Hβ lines. The strength of HIILines is its high computational efficiency. It can be used for galaxy spectroscopic survey measurement interpolations assuming a one-zone picture and galaxy line emission measurement design and forecasts. HIILines also performs post-processing of hydrodynamical galaxy formation simulations for ISM emission lines.

[ascl:2411.021] McFine: Muli-component hyperfine fitting tool

McFine performs complex, multi-component hyperfine spectra fitting in astronomical data. It turns line intensities into gas conditions using a fully automated Bayesian method. Written in Python, the code uses Markov chain Monte Carlo (MCMC) to characterize model denegeracies. It handles local thermodynamic equilibrium (LTE) and radiative-transfer (RT) models and can fit individual spectra and data cubes; given a data cube, it can also use the neighboring information to attempt a better fit. McFine also fits the minimum number of distinct components to avoid overfitting.

[ascl:2411.020] Diagnose: Spectral classification code

The spectral classification code Diagnose assigns one of four classifications (star, galaxy, quasar, or unknown) to each source and returns a redshift estimate for the galaxies and quasars and a velocity estimate for the stars. The code uses a chi-squared minimization for linear combinations of principal component templates to determine a best-fit spectral classification and redshift estimate. It computes three best-fit chi-squared values: one for stellar type and velocity, one for galaxy type and redshift, and one for a quasar and redshift. Diagnose then compares the best fit of these three reduced chi-squared values to the second best fit and evaluates the difference against a statistical threshold.

[ascl:2411.019] unicorn: Full 3D-HST grism pipeline

The Unicorn pipeline produces data products from the 3D-HST grism survey of four CANDELS fields. It extracts interlaced 2D and 1D spectra for all objects in the Skelton et al. (2014) photometric catalogs. It then fits the 2D spectra and multi-band photometry to determine redshifts and emission line strengths. Unicorn is built on threedhst (ascl:2411.018) and has been superseded by grizli (ascl:1905.001).

[ascl:2411.018] threedhst: 3D-HST grism analysis software

threedhst reduces WFC3 grism exposures. It is essentially a wrapper around aXe (ascl:1109.016) and produces a catalog and other useful files; extracted 1D spectra are placed in a single file, and 2D spectra are in individual files. The code produces an HTML table with thumbnails of the direct images, 1D, and 2D spectra and supports the pipeline Unicorn (ascl:2411.019), which produces data products from the 3D-HST grism survey of four CANDELS fields. threedhst has been superceded by Grizli (ascl:1905.001).

[ascl:2411.017] CLASS LVDM: Cosmological model of Lorentz invariance violation in gravity and dark matter

CLASS LVDM modifies the CLASS code (ascl:1106.020) to incorporate the cosmological model of Lorentz invariance violation (LV) in gravity and dark matter. Compared to the usual CLASS code, it contains four new parameters: alpha, beta, and lambda characterize LV in the gravity sector
, and Y characterizes LV in the dark matter sector.

[ascl:2411.016] fits_warp: Warp catalogs and images to dedistort the effects of the ionosphere

fits_warp smoothly removes the distorting effect of the ionosphere and restores sources to their reference positions in both the catalog and image domain. Image warping uses pixel offsets derived from a catalog of cross-matched sources. Though initially written for low-frequency radio astronomy, fits_warp can be used to de-distort any image distorted by some vector field which is sampled by some sparse pierce-points.

Would you like to view a random code?