[ascl:1412.007]
PIAO: Python spherIcAl Overdensity code
PIAO is an efficient memory-controlled Python code that uses the standard spherical overdensity (SO) algorithm to identify halos. PIAO employs two additional parameters besides the overdensity Δc. The first is the mesh-box size, which splits the whole simulation box into smaller ones then analyzes them one-by-one, thereby overcoming a possible memory limitation problem that can occur when dealing with high-resolution, large-volume simulations. The second is the smoothed particle hydrodynamics (SPH) neighbors number, which is used for the SPH density calculation.
[ascl:1408.003]
PIA: ISOPHOT Interactive Analysis
ISOPHOT is one of the instruments on board the Infrared Space Observatory (ISO). ISOPHOT Interactive Analysis (PIA) is a scientific and calibration interactive data analysis tool for ISOPHOT data reduction. Written in IDL under Xwindows, PIA offers a full context sensitive graphical interface for retrieving, accessing and analyzing ISOPHOT data. It is available in two nearly identical versions; a general observers version omits the calibration sequences.
[ascl:2309.008]
PI: Plages Identification
Plages Identification identifies solar plages from Ca II K photographic observations irrespective of noise level, brightness, and other image properties. The code provides an efficient, reliable method for identifying solar plages. The output of the algorithm is an image highlighting the plages and the calculated plage index. Plages Identification is also deployed as a webapp, allowing users to experiment with different hyperparameters and visualize their impact on the output image in real time.
[ascl:2602.004]
pht-ml: Identify long period exoplanets from TESS light curves using deep learning
pht-ml trains deep learning models to classify planetary transits from TESS light curves using preprocessed PDCSAP fluxes from .fits files. The pipeline applies binning, normalization, and optional data augmentations, and it can incorporate external synthetic light curves alongside label files. Code in the data module handles loading of light curves and label tables when provided. Experiments and hyperparameters are configured via command-line arguments and run through a main training script.
[ascl:1112.004]
PHOX: X-ray Photon Simulator
PHOX is a novel, virtual X-ray observatory designed to obtain synthetic observations from hydro-numerical simulations. The code is a photon simulator and can be apply to simulate galaxy clusters. In fact, X-ray observations of clusters of galaxies continue to provide us with an increasingly detailed picture of their structure and of the underlying physical phenomena governing the gaseous component, which dominates their baryonic content. Therefore, it is fundamental to find the most direct and faithful way to compare such observational data with hydrodynamical simulations of cluster-like objects, which can currently include various complex physical processes. Here, we present and analyse synthetic Suzaku observations of two cluster-size haloes obtained by processing with PHOX the hydrodynamical simulation of the large-scale, filament-like region in which they reside. Taking advantage of the simulated data, we test the results inferred from the X-ray analysis of the mock observations against the underlying, known solution. Remarkably, we are able to recover the theoretical temperature distribution of the two haloes by means of the multi-temperature fitting of the synthetic spectra. Moreover, the shapes of the reconstructed distributions allow us to trace the different thermal structure that distinguishes the dynamical state of the two haloes.
[ascl:1609.011]
Photutils: Photometry tools
Bradley, Larry;
Sipocz, Brigitta;
Robitaille, Thomas;
Tollerud, Erik;
Deil, Christoph;
Vinícius, Zè;
Barbary, Kyle;
Günther, Hans Moritz;
Bostroem, Azalee;
Droettboom, Michael;
Bray, Erik;
Bratholm, Lars Andersen;
Pickering, T. E.;
Craig, Matt;
Pascual, Sergio;
Greco, Johnny;
Donath, Axel;
Kerzendorf, Wolfgang;
Littlefair, Stuart;
Barentsen, Geert;
D'Eugenio, Francesco;
Weaver, Benjamin Alan
Photutils provides tools for detecting and performing photometry of astronomical sources. It can estimate the background and background rms in astronomical images, detect sources in astronomical images, estimate morphological parameters of those sources (e.g., centroid and shape parameters), and perform aperture and PSF photometry. Written in Python, it is an affiliated package of Astropy (ascl:1304.002).
[ascl:1408.022]
PhotoRApToR: PHOTOmetric Research APplication TO Redshifts
PhotoRApToR (PHOTOmetric Research APplication TO Redshifts) solves regression and classification problems and is specialized for photo-z estimation. PhotoRApToR offers data table manipulation capabilities and 2D and 3D graphics tools for data visualization; it also provides a statistical report for both classification and regression experiments. The code is written in Java; the machine learning model is in C++ to increase the core execution speed.
[ascl:2306.007]
PhotoParallax: Data-driven photometric parallaxes built with Gaia and 2MASS
PhotoParallax calculates photometric parallaxes for distant stars in the Gaia TGAS catalog without any use of physical stellar models or stellar density models of the Milky Way. It uses the geometric parallaxes to calibrate a photometric model that is purely statistical, which is a model of the data rather than a model of stars per se.
[ascl:1901.007]
Photon: Python tool for data plotting
Photon makes simple 1D plots in python. It uses mainly matplotlib and PyQt5 and has been build to be fully customizable, allowing the user to change the fontstyle, fontsize, fontcolors, linewidth of the axes, thickness, and other parameters, and see the changes directly in the plot. Once a customization is created, it can be saved in a configuration file and reloaded for future use, allowing reuse of the customization for other plots. The main tool is a graphical user interface and it is started using a command line interface.
[ascl:1703.004]
PHOTOMETRYPIPELINE: Automated photometry pipeline
PHOTOMETRYPIPELINE (PP) provides calibrated photometry from imaging data obtained with small to medium-sized observatories. PP uses Source Extractor (ascl:1010.064) and SCAMP (ascl:1010.063) to register the image data and perform aperture photometry. Calibration is obtained through matching of field stars with reliable photometric catalogs. PP has been specifically designed for the measurement of asteroid photometry, but can also be used to obtain photometry of fixed sources.
[ascl:1405.013]
PHOTOM: Photometry of digitized images
PHOTOM performs photometry of digitized images. It has two basic modes of operation: using an interactive display to specify the positions for the measurements, or obtaining those positions from a file. In both modes of operation PHOTOM performs photometry using either the traditional aperture method or via optimal extraction. When using the traditional aperture extraction method the target aperture can be circular or elliptical and its size and shape can be varied interactively on the display, or by entering values from the keyboard. Both methods allow the background sky level to be either sampled interactively by the manual positioning of an aperture, or automatically from an annulus surrounding the target object. PHOTOM is the photometry backend for the GAIA tool (ascl:1403.024) and is part of the Starlink software collection (ascl:1110.012).
[ascl:2504.004]
photoevolver: Atmospheric escape of extrasolar planets simulator
photoevolver simulates the atmospheric escape of extrasolar planets and their evolution. The code evolves the gaseous atmosphere of a planet backwards and forwards in time, taking into account its internal structure and cooling rate, atmospheric mass loss processes, and the stellar emission history. photoevolver determines whether a palent's atmosphere survives or ise completely stripped by radiation from its host star.
[ascl:2302.003]
PHOTOe: Monte Carlo model for simulating the slowing down of photoelectrons
PHOTOe simulates the slowing down of photoelectrons in a gas with arbitrary amounts of H, He and O atoms, and thermal electrons, making PHOTOe useful for investigating the atmospheres of exoplanets. The multi-score scheme used in this code differs from other Monte Carlo approaches in that it efficiently handles rare collisional channels, as in the case of low-abundance excited atoms that undergo superelastic and inelastic collisions. PHOTOe outputs include production and energy yields, steady-state photoelectron flux, and estimates of the 'relaxation' time required by the photoelectrons to slow down from the injection energy to the cutoff energy. The model can also estimate the pathlength travelled by the photoelectrons while relaxing.
[ascl:2601.010]
Photodynamics.jl: Differentiable transit light curves
Photodynamics.jl computes synthetic transit light curves for multi-planet systems by coupling the N-body integrator NbodyGradient.jl (ascl:2503.002) with the analytic transit and limb-darkening model Limbdark.jl (ascl:2511.014). The software produces time-integrated fluxes and analytic derivatives with respect to dynamical and photometric parameters, enabling gradient-based inference of systems exhibiting transit-timing variations. Implemented in Julia, Photodynamics.jl supports efficient fitting of high-dimensional photodynamical models using modern probabilistic sampling methods.
[ascl:2312.011]
PhotochemPy: 1-D photochemical model of rocky planet atmospheres
PhotochemPy finds the steady-state chemical composition of an atmosphere or evolves atmospheres through time. Given inputs such as the stellar UV flux and atmospheric temperature structure, the code creates a photochemical model of a planet's atmosphere. PhotochemPy is a distant fork of Atmos (ascl:2106.039). It provides a Python wrapper to Fortran source code but can also be used exclusively in Fortran.
[ascl:2406.021]
photochem: Chemical model of planetary atmospheres
Photochem models the photochemical and climate composition of a planet's atmosphere. It takes inputs such as the stellar UV flux and atmospheric temperature structure to find the steady-state chemical composition of an atmosphere, or evolve atmospheres through time. Photochem also contains 1-D climate models and a chemical equilibrium solver.
[ascl:1704.009]
Photo-z-SQL: Photometric redshift estimation framework
Photo-z-SQL is a flexible template-based photometric redshift estimation framework that can be seamlessly integrated into a SQL database (or DB) server and executed on demand in SQL. The DB integration eliminates the need to move large photometric datasets outside a database for redshift estimation, and uses the computational capabilities of DB hardware. Photo-z-SQL performs both maximum likelihood and Bayesian estimation and handles inputs of variable photometric filter sets and corresponding broad-band magnitudes.
[ascl:2407.017]
photGalIMF: Stellar mass and luminosity evolution calculator
The photGalIMF code calculates the evolution of stellar mass and luminosity for a galaxy model, based on the PARSEC stellar evolution model (ascl:1502.005). It requires input lists specifying the age, mass, metallicity, and initial mass function (IMF) of single stellar populations. These input parameters can be provided by the companion galaxy chemical simulation code GalIMF (ascl:1903.010), which generates realistic sets of inputs.
[ascl:1307.011]
PhoSim: Photon Simulator
The Photon Simulator (PhoSim) is a set of fast photon Monte Carlo codes used to calculate the physics of the atmosphere, telescope, and detector by using modern numerical techniques applied to comprehensive physical models. PhoSim generates images by collecting photons into pixels. The code takes the description of what astronomical objects are in the sky at a particular time (the instance catalog) as well as the description of the observing configuration (the operational parameters) and produces a realistic data stream of images that are similar to what a real telescope would produce. PhoSim was developed for large aperture wide field optical telescopes, such as the planned design of LSST. The initial version of the simulator also targeted the LSST telescope and camera design, but the code has since been broadened to include existing telescopes of a related nature. The atmospheric model, in particular, includes physical approximations that are limited to this general context.
[ascl:1010.056]
PHOENIX: A General-purpose State-of-the-art Stellar and Planetary Atmosphere Code
PHOENIX is a general-purpose state-of-the-art stellar and planetary atmosphere code. It can calculate atmospheres and spectra of stars all across the HR-diagram including main sequence stars, giants, white dwarfs, stars with winds, TTauri stars, novae, supernovae, brown dwarfs and extrasolar giant planets.
[ascl:1106.002]
PHOEBE: PHysics Of Eclipsing BinariEs
PHOEBE (PHysics Of Eclipsing BinariEs) is a modeling package for eclipsing binary stars, built on top of the widely used WD program (Wilson & Devinney 1971). This introductory paper overviews most important scientific extensions (incorporating observational spectra of eclipsing binaries into the solution-seeking process, extracting individual temperatures from observed color indices, main-sequence constraining and proper treatment of the reddening), numerical innovations (suggested improvements to WD's Differential Corrections method, the new Nelder & Mead's downhill Simplex method) and technical aspects (back-end scripter structure, graphical user interface). While PHOEBE retains 100% WD compatibility, its add-ons are a powerful way to enhance WD by encompassing even more physics and solution reliability.
[ascl:2107.029]
PHL: Persistent_Homology_LSS
Persistent_Homology_LSS analyzes halo catalogs using persistent homology to constrain cosmological parameters. It implements persistent homology on a point cloud composed of halos positions in a cubic box from N-body simulations of the universe at large scales. The output of the code are persistence diagrams and images that are used to constrain cosmological parameters from the halo catalog.
[ascl:2406.027]
phi-GPU: Parallel Hermite Integration on GPU
The phi-GPU (Parallel Hermite Integration on GPU) high-order N-body parallel dynamic code uses the fourth-order Hermite integration scheme with hierarchical individual block time-steps and incorporates external gravity. The software works directly with GPU, using only NVIDIA GPU and CUDA code. It creates numerical simulations and can be used to study galaxy and star cluster evolution.
[ascl:2406.022]
phazap: Low-latency identification of strongly lensed signals
Phazap post-processes gravitational-wave (GW) parameter estimation data to obtain the phases and polarization state of the signal at a given detector and frequency. It is used for low-latency identification of strongly lensed gravitational waves via their phase consistency by measuring their distance in the detector phase space. Phazap builds on top of the <a href="https://computing.docs.ligo.org/conda/environments/igwn/">IGWN conda enviroment</a> which includes the standard GW packages LALSuite (ascl:2012.021) and bilby (ascl:1901.011), and can be applied beyond lensing to test possible deviations in the phase evolution from modified theories of gravity and constrain GW birefringence.
[ascl:1112.006]
PhAst: Display and Analysis of FITS Images
PhAst (Photometry-Astrometry) is an IDL astronomical image viewer based on the existing application ATV which displays and analyzes FITS images. It can calibrate raw images, provide astrometric solutions, and do circular aperture photometry. PhAst allows the user to load, process, and blink any number of images. Analysis packages include image calibration, photometry, and astrometry that are provided through an interface with <a href="http://ascl.net/1010.064">Source Extractor</a> (ascl:1010.064), <a href="http://ascl.net/1010.063">SCAMP</a> (ascl:1010.063), and <a href="http://ascl.net/1010.062">missFITS</a> (ascl:1010.062)). PhAst has been designed to generate reports for Minor Planet Center reporting.
[ascl:2008.002]
PhaseTracer: Cosmological phases mapping
PhaseTracer maps out cosmological phases, and potential transitions between them, for Standard Model extensions with any number of scalar fields. The code traces the minima of effective potential as the temperature changes, and then calculates the critical temperatures at which the minima are degenerate. PhaseTracer can use potentials provided by other packages and can be used to analyze cosmological phase transitions which played an important role in the early evolution of the Universe.
[ascl:1611.019]
phase_space_cosmo_fisher: Fisher matrix 2D contours
phase_space_cosmo_fisher produces Fisher matrix 2D contours from which the constraints on cosmological parameters can be derived. Given a specified redshift array and cosmological case, 2D marginalized contours of cosmological parameters are generated; the code can also plot the derivatives used in the Fisher matrix. In addition, this package can generate 3D plots of qH^2 and other cosmological quantities as a function of redshift and cosmology.
[ascl:1709.002]
PHANTOM: Smoothed particle hydrodynamics and magnetohydrodynamics code
Price, Daniel J.;
Wurster, James;
Nixon, Chris;
Tricco, Terrence S.;
Toupin, Stéven;
Pettitt, Alex;
Chan, Conrad;
Laibe, Guillaume;
Glover, Simon;
Dobbs, Clare;
Nealon, Rebecca;
Liptai, David;
Worpel, Hauke;
Bonnerot, Clément;
Dipierro, Giovanni;
Ragusa, Enrico;
Federrath, Christoph;
Iaconi, Roberto;
Reichardt, Thomas;
Forgan, Duncan;
Hutchison, Mark;
Constantino, Thomas;
Ayliffe, Ben;
Mentiplay, Daniel;
Hirsh, Kieran;
Lodato, Giuseppe
Phantom is a smoothed particle hydrodynamics and magnetohydrodynamics code focused on stellar, galactic, planetary, and high energy astrophysics. It is modular, and handles sink particles, self-gravity, two fluid and one fluid dust, ISM chemistry and cooling, physical viscosity, non-ideal MHD, and more. Its modular structure makes it easy to add new physics to the code.
[ascl:1209.008]
Phantom-GRAPE: SIMD accelerated numerical library for N-body simulations
Phantom-GRAPE is a numerical software library to accelerate collisionless $N$-body simulation with SIMD instruction set on x86 architecture. The Newton's forces and also central forces with an arbitrary shape f(r), which have a finite cutoff radius r_cut (i.e. f(r)=0 at r>r_cut), can be quickly computed.
[ascl:1103.002]
PGPLOT: Device-independent Graphics Package for Simple Scientific Graphs
The PGPLOT Graphics Subroutine Library is a Fortran- or C-callable, device-independent graphics package for making simple scientific graphs. It is intended for making graphical images of publication quality with minimum effort on the part of the user. For most applications, the program can be device-independent, and the output can be directed to the appropriate device at run time.
The PGPLOT library consists of two major parts: a device-independent part and a set of device-dependent "device handler" subroutines for output on various terminals, image displays, dot-matrix printers, laser printers, and pen plotters. Common file formats supported include PostScript and GIF.
PGPLOT itself is written mostly in standard Fortran-77, with a few non-standard, system-dependent subroutines. PGPLOT subroutines can be called directly from a Fortran-77 or Fortran-90 program. A C binding library (cpgplot) and header file (cpgplot.h) are provided that allow PGPLOT to be called from a C or C++ program; the binding library handles conversion between C and Fortran argument-passing conventions.
[ascl:2210.026]
PGOPHER: Rotational, vibrational, and electronic spectra simulator
PGOPHER simulates and fits rotational, vibrational, and electronic spectra. It handles linear molecules and symmetric and asymmetric tops, including effects due to unpaired electrons and nuclear spin, with a separate mode for vibrational structure. The code performs many sorts of transitions, including Raman, multiphoton, and forbidden transitions. It can simulate multiple species and states simultaneously, including special effects such as perturbations and state dependent predissociation. Fitting can be to line positions, intensities, or band contours. PGOPHER uses a standard graphical user interface and makes comparison with, and fitting to, spectra from various sources easy. In addition to overlaying numerical spectra, it is also possible to overlay pictures from pdf files and even plate spectra to assist in checking that published constants are being used correctly.
[ascl:2105.022]
PFITS: Spectra data reduction
PFITS performs data reduction of spectra, including dark removal and flat fielding; this software was a standard 1983 Reticon reduction package available at the University of Texas. It was based on the plotting program PCOSY by Gary Ferland, and in 1985 was updated by Andrew McWilliam.
[ascl:2104.013]
pfits: PSRFITS-format data file processor
pfits reads, manipulates and processes PSRFITS format search- and fold-mode pulsar astronomy data files. It summerizes the header information in a PSRFITS file, reproduces some of fv's (ascl:1205.005) functionality, and allows the user to obtain detailed information about the file. It can determine whether the data is search mode or fold mode and plot the profile, color scale image, frequency time, sum in frequency, and 4-pol data, as appropriate. pfits can also read in a search mode file, dedisperses, and frequency-sums (if requested), and offers an option to output multiple dispersed data files, among other tasks.
[ascl:2407.014]
PFFT: Parallel fast Fourier transforms
PFFT computes massively parallel, fast Fourier transformations on distributed memory architectures. PFFT can be understood as a generalization of FFTW-MPI (ascl:1201.015) to multidimensional data decomposition; in fact, using PFFT is very similar to FFTW. The library is written in C and MPI; a Fortran interface is also available.
[ascl:1812.003]
PFANT: Stellar spectral synthesis code
PFANT computes a synthetic spectrum assuming local thermodynamic equilibrium from a given stellar model atmosphere and lists of atomic and molecular lines; it provides large wavelength coverage and line lists from ultraviolet through the visible and near-infrared. PFANT has been optimized for speed, offers error reporting, and command-line configuration options.
[ascl:1910.010]
PEXO: Precise EXOplanetology
PEXO provides a global modeling framework for ns timing, μas astrometry, and μm/s radial velocities. It can account for binary motion and stellar reflex motions induced by planetary companions and also treat various relativistic effects both in the Solar System and in the target system (Roemer, Shapiro, and Einstein delays). PEXO is able to model timing to a precision of 1 ns, astrometry to a precision of 1 μas, and radial velocity to a precision of 1 μm/s.
[ascl:2210.016]
PETSc: Portable, Extensible Toolkit for Scientific Computation
Balay, Satish;
Abhyankar, Shrirang;
Adams, Mark F.;
Benson, Steven;
Brown, Jed;
Brune, Peter;
Buschelman, Kris;
Constantinescu, Emil;
Dalcin, Lisandro;
Dener, Alp;
Eijkhout, Victor;
Faibussowitsch, Jacob;
Gropp, William D.;
Hapla, Vaclav;
Isaac, Tobin;
Jolivet, Pierre;
Karpeev, Dmitry;
Kaushik, Dinesh;
Knepley, Matthew G.;
Kong, Fande;
Kruger, Scott;
May, Dave A.;
McInnes, Lois Curfman;
Mills, Richard Tran;
Mitchell, Lawrence;
Munson, Todd;
Roman, Jose E.;
Rupp, Karl;
Sanan, Patrick;
Sarich, Jason;
Smith, Barry F.;
Zampini, Stefano;
Zhang, Hong;
Zhang, Junchao
PETSc (Portable, Extensible Toolkit for Scientific Computation) provides a suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations, and is intended for use in large-scale application projects. The toolkit includes a large suite of parallel linear, nonlinear equation solvers and ODE integrators that are easily used in application codes written in C, C++, Fortran and Python. PETSc provides many of the mechanisms needed within parallel application codes, such as simple parallel matrix and vector assembly routines that allow the overlap of communication and computation. In addition, PETSc (pronounced PET-see) includes support for managing parallel PDE discretizations.
[ascl:2207.014]
petitRADTRANS: Exoplanet spectra calculator
petitRADTRANS (pRT) calculates transmission and emission spectra of exoplanets for clear and cloudy planets. It also incorporates an easy subpackage for running retrievals with nested sampling. It allows the calculation of emission or transmission spectra, at low or high resolution, clear or cloudy, and includes a retrieval module to fit a petitRADTRANS model to spectral data. pRT has two different opacity treatment modes. The low resolution mode runs calculations at λ/Δλ ≤ 1000 using the so-called correlated-k treatment for opacities. The high resolution mode runs calculations at λ/Δλ ≤ 10<sup>6</sup>, using a line-by-line opacity treatment.
[ascl:2007.005]
PeTar: ParticlE Tree & particle-particle & Algorithmic Regularization code for simulating massive star clusters
The N-body code PETAR (ParticlE Tree & particle-particle & Algorithmic Regularization) combines the methods of Barnes-Hut tree, Hermite integrator and slow-down algorithmic regularization (SDAR). It accurately handles an arbitrary fraction of multiple systems (<i>e.g.</i> binaries, triples) while keeping a high performance by using the hybrid parallelization methods with MPI, OpenMP, SIMD instructions and GPU. PETAR has very good agreement with NBODY6++GPU results on the long-term evolution of the global structure, binary orbits and escapers and is significantly faster when used on a highly configured GPU desktop computer. PETAR scales well when the number of cores increase on the Cray XC50 supercomputer, allowing a solution to the ten million-body problem which covers the region of ultra compact dwarfs and nuclear star clusters.
[ascl:1407.009]
Period04: Statistical analysis of large astronomical time series
Period04 statistically analyzes large astronomical time series containing gaps. It calculates formal uncertainties, can extract the individual frequencies from the multiperiodic content of time series, and provides a flexible interface to perform multiple-frequency fits with a combination of least-squares fitting and the discrete Fourier transform algorithm. Period04, written in Java/C++, supports the SAMP communication protocol to provide interoperability with other applications of the Virtual Observatory. It is a reworked and extended version of Period98 (Sperl 1998) and PERIOD/PERDET (Breger 1990).
[ascl:1809.005]
perfectns: "Perfect" dynamic and standard nested sampling for spherically symmetric likelihoods and priors
perfectns performs dynamic nested sampling and standard nested sampling for spherically symmetric likelihoods and priors, and analyses the samples produced. The spherical symmetry allows the nested sampling algorithm to be followed “perfectly” - <i>i.e.</i> without implementation-specific errors correlations between samples. It is intended for use in research into the statistical properties of nested sampling, and to provide a benchmark for testing the performance of nested sampling software packages used for practical problems - which rely on numerical techniques to produce approximately uncorrelated samples.
[ascl:2309.016]
PEREGRINE: Gravitational wave parameter inference with neural ration estimation
PEREGRINE performs full parameter estimation on gravitational wave signals. Using an internal Truncated Marginal Neural Ratio Estimation (TMNRE) algorithm and building upon the swyft (ascl:2302.016) code to efficiently access marginal posteriors, PEREGRINE conducts a sequential simulation-based inference approach to support the analysis of both transient and continuous gravitational wave sources. The code can fully reconstruct the posterior distributions for all parameters of spinning, precessing compact binary mergers using waveform approximants.
[ascl:2306.040]
PEPITA: Prediction of Exoplanet Precisions using Information in Transit Analysis
PEPITA (Prediction of Exoplanet Precisions using Information in Transit Analysis) makes predictions for the precision of exoplanet parameters using transit light-curves. The code uses information analysis techniques to predict the best precision that can be obtained by fitting a light-curve without actually needing to perform the fit, thus allowing more efficient planning of observations or re-observations.
[ascl:2306.027]
PEP: Planetary Ephemeris Program
Planetary Ephemeris Program (PEP) computes numerical ephemerides and simultaneously analyzes a heterogeneous collection of astrometric data. Written in Fortran, it is a general-purpose astrometric data-analysis program and models orbital motion in the solar system, determines orbital initial conditions and planetary masses, and has been used to, for example, measure general relativistic effects and test physics theories beyond the standard model. PEP also models pulsar motions and distant radio sources, and can solve for sky coordinates for radio sources, plasma densities, and the second harmonic of the Sun's gravitational field.
[ascl:1811.019]
PENTACLE: Large-scale particle simulations code for planet formation
PENTACLE calculates gravitational interactions between particles within a cut-off radius and a Barnes-Hut tree method for gravity from particles beyond. It uses FDPS (ascl:1604.011) to parallelize a Barnes-Hut tree algorithm for a memory-distributed supercomputer. The software can handle 1-10 million particles in a high-resolution N-body simulation on CPU clusters for collisional dynamics, including physical collisions in a planetesimal disc.
[ascl:2601.008]
penquins: Python client for Kowalski
penquins enables programmatic querying of the Kowalski multi-survey data archive and alert broker, which primarily serves alerts from the Zwicky Transient Facility. It provides a programmatic interface to submit queries, retrieve alert data and associated metadata from Kowalski’s backend, and integrate those queries into automated analysis workflows. The library is intended to streamline access to brokered time‑domain data for downstream scientific analysis.
[ascl:1010.060]
Pencil: Finite-difference Code for Compressible Hydrodynamic Flows
The Pencil code is a high-order finite-difference code for compressible hydrodynamic flows with magnetic fields. It is highly modular and can easily be adapted to different types of problems. The code runs efficiently under MPI on massively parallel shared- or distributed-memory computers, like e.g. large Beowulf clusters. The Pencil code is primarily designed to deal with weakly compressible turbulent flows. To achieve good parallelization, explicit (as opposed to compact) finite differences are used. Typical scientific targets include driven MHD turbulence in a periodic box, convection in a slab with non-periodic upper and lower boundaries, a convective star embedded in a fully nonperiodic box, accretion disc turbulence in the shearing sheet approximation, self-gravity, non-local radiation transfer, dust particle evolution with feedback on the gas, etc. A range of artificial viscosity and diffusion schemes can be invoked to deal with supersonic flows. For direct simulations regular viscosity and diffusion is being used. The code is written in well-commented Fortran90.
[ascl:1507.003]
Pelican: Pipeline for Extensible, Lightweight Imaging and CAlibratioN
Pelican is an efficient, lightweight C++ library for quasi-real time data processing. The library provides a framework to separate the acquisition and processing of data, allowing the scalability and flexibility to fit a number of scenarios. Though its origin was in radio astronomy, processing data as it arrives from a telescope, the framework is sufficiently generic to be useful to any application that requires the efficient processing of incoming data streams.
[ascl:1108.007]
PÉGASE: Metallicity-consistent Spectral Evolution Model of Galaxies
PÉGASE (Projet d'Étude des GAlaxies par Synthèse Évolutive) is a code to compute the spectral evolution of galaxies. The evolution of the stars, gas and metals is followed for a law of star formation and a stellar initial mass function. The stellar evolutionary tracks extend from the main sequence to the white dwarf stage. The emission of the gas in HII regions is also taken into account. The main improvement in version 2 is the use of evolutionary tracks of different metallicities (from 10-4 to 5×solar). The effect of extinction by dust is also modelled using a radiative transfer code. PÉGASE.2 uses the BaSeL library of stellar spectra and can therefore synthesize low-resolution (R~200) ultraviolet to near-infrared spectra of Hubble sequence galaxies as well as of starbursts.
[ascl:1108.008]
PÉGASE-HR: Stellar Population Synthesis at High Resolution Spectra
PÉGASE-HR is a code aimed at computing synthetic evolutive optical spectra of galaxies with a very high resolution (R=10 000, or dlambda=0.55) in the range Lambda=[4000, 6800] Angstroms. PÉGASE-HR is the result of combining the code <a href="http://ascl.net/1108.007">PÉGASE.2</a> with the high-resolution stellar library ÉLODIE. This code can also be used at low resolution (R=200) over the range covered by the BaSeL library (from far UV to the near IR), and then produces the same results as PÉGASE.2. In PEGASE-HR, the BaSeL library is replaced by a grid of spectra interpolated from the high-resolution ÉLODIE library of stellar spectra. The ÉLODIE library is a stellar database of 1959 spectra for 1503 stars, observed with the echelle spectrograph ÉLODIE on the 193 cm telescope at the Observatoire de Haute Provence.
[ascl:1304.001]
PEC: Period Error Calculator
The PEC (Period Error Calculator) algorithm estimates the period error for eclipsing binaries observed by the Kepler Mission. The algorithm is based on propagation of error theory and assumes that observation of every light curve peak/minimum in a long time-series observation can be unambiguously identified. A simple C implementation of the PEC algorithm is available.
[ascl:2001.014]
Peasoup: C++/CUDA GPU pulsar searching library
The NVIDIA GPU-based pipeline code peasoup provides a one-step pulsar search, including searching for pulsars with up to moderate accelerations, with only one command. Its features include dedispersion, dereddening in the Fourier domain, resampling, peak detection, and optional time series folding. peasoup's output is the candidate list.
[ascl:1605.008]
PDT: Photometric DeTrending Algorithm Using Machine Learning
PDT removes systematic trends in light curves. It finds clusters of light curves that are highly correlated using machine learning, constructs one master trend per cluster and detrends an individual light curve using the constructed master trends by minimizing residuals while constraining coefficients to be positive.
[ascl:2207.026]
pdspy: MCMC tool for continuum and spectral line radiative transfer modeling
pdspy fits Monte Carlo radiative transfer models for protostellar/protoplanetary disks to ALMA continuum and spectral line datasets using Markov Chain Monte Carlo fitting. It contains two tools, one to fit ALMA continuum visibilities and broadband spectral energy distributions (SEDs) with full radiative transfer models, and another to fit ALMA spectral line visibilities with protoplanetary disk models that include a vertically isothermal, power law temperature distribution. No radiative equilibrium calculation is done.
[ascl:1102.022]
PDRT: Photo Dissociation Region Toolbox
Ultraviolet photons from O and B stars strongly influence the structure and emission spectra of the interstellar medium. The UV photons energetic enough to ionize hydrogen (hν > 13.6 eV) will create the H II region around the star, but lower energy UV photons escape. These far-UV photons (6 eV < hν < 13.6 eV) are still energetic enough to photodissociate molecules and to ionize low ionization-potential atoms such as carbon, silicon, and sulfur. They thus create a photodissociation region (PDR) just outside the H II region. In aggregate, these PDRs dominate the heating and cooling of the neutral interstellar medium.
The PDR Toolbox is a science-enabling Python package for the community, designed to help astronomers determine the physical parameters of photodissociation regions from observations. Typical observations of both Galactic and extragalactic PDRs come from ground- and space-based millimeter, submillimeter, and far-infrared telescopes such as ALMA, SOFIA, JWST, Spitzer, and Herschel. Given a set of observations of spectral line or continuum intensities, PDR Toolbox can compute best-fit FUV incident intensity and cloud density based on our models of PDR emission.
[ascl:2504.024]
PDQ: Predict Different Quasars
PDQ predicts the positions on the sky of high-redshift quasars that should provide photons that are both acausal and uncorrelated. The predicted signal-to-noise ratios are calculated at framerate sufficient for random-number generation input to a loophole-free Bell test, and are calibrated against a public archival dataset of four pairs of highly-separated bright stars observed simultaneously (and serendipitously) at 17 Hz with that same instrumentation in 2019 to 2021.
[ascl:2105.002]
PDM2: Phase Dispersion Minimization
PDM2 (Phase Dispersion Minimization) ddetermines periodic components of data sets with erratic time intervals, poor coverage, non-sine-wave curve shape, and/or large noise components. Essentially a least-squares fitting technique, the fit is relative to the mean curve as defined by the means of each bin; the code simultaneously obtains the best least-squares light curve and the best period. PDM2 allows an arbitrary degree of smoothing and provides improved curve fits, suppressed subharmonics, and beta function statistics.
[ascl:2211.014]
PDFchem: Average abundance of species from Av-PDFs
PDFchem models the cold ISM at moderate and large scales using functions connecting the quantities of the local and the observed visual extinctions and the local number density with probability density functions. For any given observed visual extinction sampled with thousands of clouds, the algorithm instantly computes the average abundances of the most important species and performs radiative transfer calculations to estimate the average emission of the most commonly observed lines.
[ascl:2309.011]
PCOSTPD: Periodogram Comparison for Optimizing Small Transiting Planet Detection
The Periodogram Comparison for Optimizing Small Transiting Planet Detection R code compares two periodogram algorithms for detecting transiting exoplanets: the Box-fitting Least Squares (BLS) and the Transit Comb Filter (TCF). It calculates the False Alarm Probability (FAP) based on extreme value theory and signal-to-noise ratio (SNR) metrics to quantify periodogram peak significance. The comparison approach is aimed at optimizing the detection of small transiting planets in future transiting exoplanet surveys. The code can be extended for comparing any set of periodograms.
[ascl:2507.021]
PCM-HiPT: Planetary Climate Model for High Pressures and Temperatures
PCM-HiPT (Planetary Climate Model for High Pressures and Temperatures) simulates the thermal structure of dense, hot terrestrial exoplanet atmospheres. This 1D line-by-line radiative-convective model uses a high-resolution spectral grid and HITRAN-based absorption data to model radiative energy transfer with high accuracy at elevated pressures and temperatures (>1000 K). PCM-HiPT extends the PCM_LBL model (ascl:2504.003) for early Mars conditions, and modifications allow PCM-HiPT to capture complex atmospheric structures, including detached convective zones and stable lower atmosphere layers driven by shortwave absorption.
[ascl:2504.003]
PCM_LBL: Planetary Climate Model Line-By-Line
The 1D radiative-convective code PCM_LBL simulates the climates of diverse planetary atmospheres. The code is written in modular modern Fortran and uses a 'brute-force' spectral approach where absorption coefficients are computed on a fixed spectral grid directly from line data. This allows climate calculations to be performed more simply and at higher accuracy than in a correlated-k approach. PCM_LBL allows the user to iterate rapidly between fast, lower accuracy calculations and slow high accuracy calculations. By default, the model is set up to run fairly fast at moderate resolution; the accuracy of the code can be adjusted with a few (documented) changes.
[ascl:1809.002]
PCCDPACK: Polarimetry with CCD
PCCDPACK analyzes polarimetry data. The set of routines is written in CL-IRAF (including compiled Fortran codes) and analyzes dozens of point objects simultaneously on the same CCD image. A subpackage, specpol, is included to analyze spectropolarimetry data.
[ascl:1705.004]
PCAT: Probabilistic Cataloger
PCAT (Probabilistic Cataloger) samples from the posterior distribution of a metamodel, i.e., union of models with different dimensionality, to compare the models. This is achieved via transdimensional proposals such as births, deaths, splits and merges in addition to the within-model proposals. This method avoids noisy estimates of the Bayesian evidence that may not reliably distinguish models when sampling from the posterior probability distribution of each model.
The code has been applied in two different subfields of astronomy: high energy photometry, where transdimensional elements are gamma-ray point sources; and strong lensing, where light-deflecting dark matter subhalos take the role of transdimensional elements.
[ascl:1207.012]
PCA: Principal Component Analysis for spectra modeling
The mid-infrared spectra of ultraluminous infrared galaxies (ULIRGs) contain a variety of spectral features that can be used as diagnostics to characterize the spectra. However, such diagnostics are biased by our prior prejudices on the origin of the features. Moreover, by using only part of the spectrum they do not utilize the full information content of the spectra. Blind statistical techniques such as principal component analysis (PCA) consider the whole spectrum, find correlated features and separate them out into distinct components.
This code, written in IDL, classifies principal components of IRS spectra to define a new classification scheme using 5D Gaussian mixtures modelling. The five PCs and average spectra for the four classifications to classify objects are made available with the code.
[ascl:1403.007]
PC: Unified EOS for neutron stars
The equation of state (EOS) of dense matter is a crucial input for the neutron-star structure calculations. This Fortran code can obtain a "unified EOS" in the many-body calculations based on a single effective nuclear Hamiltonian, and is valid in all regions of the neutron star interior. For unified EOSs, the transitions between the outer crust and the inner crust and between the inner crust and the core are obtained as a result of many-body calculations.
[ascl:1708.007]
PBMC: Pre-conditioned Backward Monte Carlo code for radiative transport in planetary atmospheres
PBMC (Pre-Conditioned Backward Monte Carlo) solves the vector Radiative Transport Equation (vRTE) and can be applied to planetary atmospheres irradiated from above. The code builds the solution by simulating the photon trajectories from the detector towards the radiation source, <i>i.e.</i> in the reverse order of the actual photon displacements. In accounting for the polarization in the sampling of photon propagation directions and pre-conditioning the scattering matrix with information from the scattering matrices of prior (in the BMC integration order) photon collisions, PBMC avoids the unstable and biased solutions of classical BMC algorithms for conservative, optically-thick, strongly-polarizing media such as Rayleigh atmospheres.
[ascl:1102.002]
PBL: Particle-Based Lensing for Gravitational Lensing Mass Reconstructions of Galaxy Clusters
Particle-Based Lensing (PBL) does gravitational lensing mass reconstructions of galaxy clusters. Traditionally, most methods have employed either a finite inversion or gridding to turn observational lensed galaxy ellipticities into an estimate of the surface mass density of a galaxy cluster. We approach the problem from a different perspective, motivated by the success of multi-scale analysis in smoothed particle hydrodynamics. In PBL, we treat each of the lensed galaxies as a particle and then reconstruct the potential by smoothing over a local kernel with variable smoothing scale. In this way, we can tune a reconstruction to produce constant signal-noise throughout, and maximally exploit regions of high information density.
PBL is designed to include all lensing observables, including multiple image positions and fluxes from strong lensing, as well as weak lensing signals including shear and flexion. In this paper, however, we describe a shear-only reconstruction, and apply the method to several test cases, including simulated lensing clusters, as well as the well-studied "Bullet Cluster" (1E0657-56). In the former cases, we show that PBL is better able to identify cusps and substructures than are grid-based reconstructions, and in the latter case, we show that PBL is able to identify substructure in the Bullet Cluster without even exploiting strong lensing measurements.
[ascl:2504.002]
PBjam: Automating asteroseismology of solar-like oscillators
Nielsen, M. B.;
Davies, G. R.;
Ball, W. H.;
Lyttle, A. J.;
Li, T.;
Hall, O. J.;
Chaplin, W. J.;
Gaulme, P.;
Carboneau, L.;
Ong, J. M. J.;
García, R. A.;
Mosser, B.;
Roxburgh, I. W.;
Corsaro, E.;
Benomar, O.;
Moya, A.;
Lund, M. N.;
Hatt, E.;
Jones, B. P.;
Logue, M.
PBjam analyzes the oscillation spectra of solar-like oscillators. The code performs two main tasks: identifying a set of modes of interest in a spectrum of oscillations, and accurately modeling those modes to measure their frequencies. Mode identification relies on a large set of previous observations of the model parameters, which are then used to construct a prior distribution to inform the sampling. PJjam models the modes using a nested sampling or MCMC algorithm, where Lorentzian profiles are fit to each of the identified modes.
[submitted]
PatchMamba
Hyperspectral image (HSI) classification remains a challenging task due to the high spectral dimensionality and the need for effective spatial feature integration. To address this, we propose a lightweight yet effective deep learning architecture named Patchwise Spectral-Spatial MambaNet (PatchMamba) that jointly models local spatial context and global spectral dependencies. The framework first extracts fixed-size local patches from the input hyperspectral cube and encodes spatial features using two-dimensional convolutional layers. These representations are reshaped into token sequences and passed through a stack of Spectral-Spatial Mamba (SS-Mamba) blocks, each composed of dense layers, layer normalization, and residual connections. A global average pooling layer aggregates the refined token features, and a final softmax classifier produces the predicted land-cover labels. The model was evaluated on the widely used Pavia University dataset and demonstrated superior performance over baseline models, including a fully connected deep neural network (FC-DNN) and a non-patch-based SS-Mamba architecture. PatchMamba achieved an overall accuracy of 96.4%, with strong per-class consistency, reduced confusion in spectrally similar classes, and high spatial coherence in the resulting classification maps. Both quantitative and qualitative results confirm the robustness and efficiency of the proposed method, making it a competitive solution for real-world HSI classification tasks.
[ascl:1809.003]
PASTA: Python Astronomical Stacking Tool Array
PASTA performs median stacking of astronomical sources. Written in Python, it can filter sources, provide stack statistics, generate Karma annotations, format source lists, and read information from stacked Flexible Image Transport System (FITS) images. PASTA was originally written to examine polarization stack properties and includes a Monte Carlo modeler for obtaining true polarized intensity from the observed polarization of a stack. PASTA is also useful as a generic stacking tool, even if polarization properties are not being examined.
[ascl:1010.073]
partiview: Immersive 4D Interactive Visualization of Large-Scale Simulations
In dense clusters a bewildering variety of interactions between stars can be observed, ranging from simple encounters to collisions and other mass-transfer encounters. With faster and special-purpose computers like GRAPE, the amount of data per simulation is now exceeding 1TB. Visualization of such data has now become a complex 4D data-mining problem, combining space and time, and finding interesting events in these large datasets. We have recently starting using the virtual reality simulator, installed in the Hayden Planetarium in the American Museum for Natural History, to tackle some of these problem. partiview is a program that enables you to visualize and animate particle data. partiview runs on relatively simple desktops and laptops, but is mostly compatible with its big brother VirDir.
[ascl:2207.029]
ParticleGridMapper: Particle data interpolator
ParticleGridMapper.jl interpolates particle data onto either a Cartesian (uniform) grid or an adaptive mesh refinement (AMR) grid where each cell contains no more than one particle. The AMR grid can be trimmed with a user-defined maximum level of refinement. Three different interpolation schemes are supported: nearest grid point (NGP), smoothed-particle hydrodynamics (SPH), and Meshless finite mass (MFM). It is multi-threading parallel.
[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:1010.005]
Particle module of Piernik MHD code
Piernik is a multi-fluid grid magnetohydrodynamic (MHD) code based on the Relaxing Total Variation Diminishing (RTVD) conservative scheme. The original code has been extended by addition of dust described within the particle approximation. The dust is now described as a system of interacting particles. The particles can interact with gas, which is described as a fluid. The comparison between the test problem results and the results coming from fluid simulations made with Piernik code shows the most important differences between fluid and particle approximations used to describe dynamical evolution of dust under astrophysical conditions.
[ascl:2306.026]
Parthenon: Portable block-structured adaptive mesh refinement framework
Grete, Philipp;
Dolence, Joshua C.;
Miller, Jonah M.;
Brown, Joshua;
Ryan, Ben;
Gaspar, Andrew;
Glines, Forrest;
Swaminarayan, Sriram;
Lippuner, Jonas;
Solomon, Clell J.;
Shipman, Galen;
Junghans, Christoph;
Holladay, Daniel;
Stone, James M.;
Roberts, Luke F.;
Prather, Ben
The Parthenon framework, derived from Athena++ (ascl:1912.005), handles massively-parallel, device-accelerated adaptive mesh refinement. It provides a device first/device resident approach, transparent packing of data across blocks (to reduce/hide kernel launch latency), and direct device-to-device communication via asynchronous, one-sided MPI communication to enable high performance. Parthenon uses an intermediate abstraction layer to hide complexity of device kernel launches, offers support for particles and abstract variable control via metadata tags, and has a flexible plug-in package system.
[ascl:2110.008]
ParSNIP: Parametrization of SuperNova Intrinsic Properties
ParSNIP learns generative models of transient light curves from a large dataset of transient light curves. It is designed to work with light curves in sncosmo format using the lcdata package to handle large datasets. This code can be used for classification of transients, cosmological distance estimation, and identifying novel transients.
[ascl:1208.020]
ParselTongue: AIPS Python Interface
ParselTongue is a Python interface to classic AIPS, Obit and possibly other task-based data reduction packages. It serves as the software infrastructure for some of the ALBUS implementation. It allows you to run AIPS tasks, and access AIPS headers and extension tables from Python. There is also support for running Obit tasks and accessing data in FITS files. Full access to the visibilities in AIPS UV data is also available.
[ascl:1502.005]
PARSEC: PARametrized Simulation Engine for Cosmic rays
PARSEC (PARametrized Simulation Engine for Cosmic rays) is a simulation engine for fast generation of ultra-high energy cosmic ray data based on parameterizations of common assumptions of UHECR origin and propagation. Implemented are deflections in unstructured turbulent extragalactic fields, energy losses for protons due to photo-pion production and electron-pair production, as well as effects from the expansion of the universe. Additionally, a simple model to estimate propagation effects from iron nuclei is included. Deflections in the Galactic magnetic field are included using a matrix approach with precalculated lenses generated from backtracked cosmic rays. The PARSEC program is based on object oriented programming paradigms enabling users to extend the implemented models and is steerable with a graphical user interface.
[ascl:2007.014]
PARS: Paint the Atmospheres of Rotating Stars
PARS (Paint the Atmospheres of Rotating Stars) quickly computes magnitudes and spectra of rotating stellar models. It uses the star's mass, equatorial radius, rotational speed, luminosity, and inclination as input; the models incorporate Roche mass distribution (where all mass is at the center of the star), solid body rotation, and collinearity of effective gravity and energy flux.
[ascl:1601.010]
PARAVT: Parallel Voronoi Tessellation
PARAVT offers massive parallel computation of Voronoi tessellations (VT hereafter) in large data sets. The code is focused for astrophysical purposes where VT densities and neighbors are widely used. There are several serial Voronoi tessellation codes, however no open source and parallel implementations are available to handle the large number of particles/galaxies in current N-body simulations and sky surveys. Parallelization is implemented under MPI and VT using Qhull library. Domain decomposition take into account consistent boundary computation between tasks, and support periodic conditions. In addition, the code compute neighbors lists, Voronoi density and Voronoi cell volumes for each particle, and can compute density on a regular grid.
[ascl:1103.014]
ParaView: Data Analysis and Visualization Application
ParaView is an open-source, multi-platform data analysis and visualization application. ParaView users can quickly build visualizations to analyze their data using qualitative and quantitative techniques. The data exploration can be done interactively in 3D or programmatically using ParaView's batch processing capabilities.
ParaView was developed to analyze extremely large datasets using distributed memory computing resources. It can be run on supercomputers to analyze datasets of terascale as well as on laptops for smaller data.
[ascl:2008.016]
ParaMonte: Parallel Monte Carlo library
ParaMonte contains serial and parallel Monte Carlo routines for sampling mathematical objective functions of arbitrary-dimensions. It is used for posterior distributions of Bayesian models in data science, Machine Learning, and scientific inference and unifies the automation of Monte Carlo simulations. ParaMonte is user friendly and accessible from multiple programming environments, including C, C++, Fortran, MATLAB, and Python, and offers high performance at runtime and scalability across many parallel processors.
[ascl:2009.008]
Paramo: PArticle and RAdiation MOnitor
Paramo (PArticle and RAdiation MOnitor) numerically solves the Fokker-Planck kinetic equation, which is used to model the dynamics of a particle distribution function, using a robust implicit method, for the proper modeling of the acceleration processes, and accounts for accurate cooling coefficient (<i>e.g.</i>, radiative cooling with Klein-Nishina corrections). The numerical solution at every time step is used to calculate radiations processes, namely synchrotron and IC, with sophisticated numerical techniques, obtaining the multi-wavelength spectral evolution of the system.
[ascl:1010.039]
Parameter Estimation from Time-Series Data with Correlated Errors: A Wavelet-Based Method and its Application to Transit Light Curves
We consider the problem of fitting a parametric model to time-series data that are afflicted by correlated noise. The noise is represented by a sum of two stationary Gaussian processes: one that is uncorrelated in time, and another that has a power spectral density varying as $1/f^gamma$. We present an accurate and fast [O(N)] algorithm for parameter estimation based on computing the likelihood in a wavelet basis. The method is illustrated and tested using simulated time-series photometry of exoplanetary transits, with particular attention to estimating the midtransit time. We compare our method to two other methods that have been used in the literature, the time-averaging method and the residual-permutation method. For noise processes that obey our assumptions, the algorithm presented here gives more accurate results for midtransit times and truer estimates of their uncertainties.
[ascl:1106.009]
PARAMESH V4.1: Parallel Adaptive Mesh Refinement
PARAMESH is a package of Fortran 90 subroutines designed to provide an application developer with an easy route to extend an existing serial code which uses a logically cartesian structured mesh into a parallel code with adaptive mesh refinement (AMR). Alternatively, in its simplest use, and with minimal effort, it can operate as a domain decomposition tool for users who want to parallelize their serial codes, but who do not wish to use adaptivity.
The package builds a hierarchy of sub-grids to cover the computational domain, with spatial resolution varying to satisfy the demands of the application. These sub-grid blocks form the nodes of a tree data-structure (quad-tree in 2D or oct-tree in 3D). Each grid block has a logically cartesian mesh. The package supports 1, 2 and 3D models. PARAMESH is released under the <a href="https://opensource.gsfc.nasa.gov/nosa.php">NASA-wide Open-Source software license</a>.
[ascl:1103.008]
Parallel HOP: A Scalable Halo Finder for Massive Cosmological Data Sets
Modern N-body cosmological simulations contain billions ($10^9$) of dark matter particles. These simulations require hundreds to thousands of gigabytes of memory, and employ hundreds to tens of thousands of processing cores on many compute nodes. In order to study the distribution of dark matter in a cosmological simulation, the dark matter halos must be identified using a halo finder, which establishes the halo membership of every particle in the simulation. The resources required for halo finding are similar to the requirements for the simulation itself. In particular, simulations have become too extensive to use commonly-employed halo finders, such that the computational requirements to identify halos must now be spread across multiple nodes and cores. Here we present a scalable-parallel halo finding method called Parallel HOP for large-scale cosmological simulation data. Based on the halo finder HOP, it utilizes MPI and domain decomposition to distribute the halo finding workload across multiple compute nodes, enabling analysis of much larger datasets than is possible with the strictly serial or previous parallel implementations of HOP. We provide a reference implementation of this method as a part of the toolkit yt, an analysis toolkit for Adaptive Mesh Refinement (AMR) data that includes complementary analysis modules. Additionally, we discuss a suite of benchmarks that demonstrate that this method scales well up to several hundred tasks and datasets in excess of $2000^3$ particles. The Parallel HOP method and our implementation can be readily applied to any kind of N-body simulation data and is therefore widely applicable. Parallel HOP is part of <a href=http://ascl.net/1011.022>yt</a> (ascl:1011.022).
[ascl:2509.003]
PAPI: PANIC Pipeline
The PANIC Pipeline (PAPI) automates reduction of near-infrared imaging data from the PAnoramic Near-Infrared Camera (PANIC) at the Calar Alto Observatory (CAHA). Initially developed for the HAWAII-2RG detectors of PANIC, PAPI has been updated to support the HAWAII-4RG detector installed in 2025. It provides a comprehensive suite of tools for processing raw astronomical images, including basic calibration, cosmic-ray removal, crosstalk correction, sky subtraction, non-linearity correction, and astrometric calibration. PAPI also includes the PANIC Quick-Look Tool (PQL), a graphical user interface for prompt data quality assessment during observations, and is a versatile tool optimized for broadband imaging of extragalactic sources, such as galaxy surveys and cluster studies.
[ascl:2105.020]
PAP: PHANGS-ALMA pipeline
Leroy, Adam K.;
Hughes, Annie;
Liu, Daizhong;
Pety, Jerome;
Rosolowsky, Erik;
Saito, Toshiki;
Schinnerer, Eva;
Schruba, Andreas;
Usero, Antonio;
Faesi, Christopher M.;
Herrera, Cinthya N.;
Chevance, Melanie;
Hygate, Alexander P. S.;
Kepley, Amanda A.;
Koch, Eric W.;
Querejeta, Miguel;
Sliwa, Kazimierz;
Will, David;
Wilson, Christine D.;
Anand, Gagandeep S. Barnes, Ashley;
Belfiore, Francesco;
Beslic, Ivana;
Bigiel, Frank;
Blanc, Guillermo A.;
Bolatto, Alberto D.;
Boquien, Mederic;
Cao, Yixian;
Chandar, Rupali;
Chastenet, Jeremy;
Chiang, I-Da;
Congiu, Enrico;
Dale, Daniel A.;
Deger, Sinan;
den Brok, Jakob S.;
Eibensteiner, Cosima;
Emsellem, Eric;
Garcıa-Rodrıguez, Axel;
Glover, Simon C. O.;
Grasha, Kathryn;
Groves, Brent;
Henshaw, Jonathan D.;
Jimenez Donaire, Maria J.;
Kim, Jenny J.;
Klessen, Ralf S.;
Kreckel, Kathryn;
Kruijssen, J. M. Diederik;
Larson, Kirsten L.;
Lee, Janice C.;
Mayker, Ness;
McElroy, Rebecca;
Meidt, Sharon E.;
Mok, Angus;
Pan, Hsi-An;
Puschnig, Johannes;
Razza, Alessandro;
Sanchez-Blazquez, Patricia;
Sandstrom, Karin M.;
Santoro, Francesco;
Sardone, Amy;
Scheuermann, Fabian;
Sun, Jiayi;
Thilker, David A.;
Turner, Jordan A.;
Ubeda, Leonardo;
Utomo, Dyas;
Watkins, Elizabeth J.;
Williams, Thomas G.
The PHANGS-ALMA pipeline process data from radio interferometer observations. It uses CASA (ascl:1107.013), AstroPy (ascl:1304.002), and other affiliated packages to process data from calibrated visibilities to science-ready spectral cubes and maps. The PHANGS-ALMA pipeline offers a flexible alternative to the scriptForImaging script distributed by ALMA. The pipeline runs in two separate software environments: CASA 5.6 or 5.7 (staging, imaging and post-processing) and Python 3.6 or later (derived products) with modern versions of several packages.
[ascl:2512.016]
PAOS: Physical optics propagation and system modeling
PAOS (Physical Optics Simulator) performs physical optics propagation simulations using Fourier optics and the Fresnel approximation to model the behavior of optical fields through complex optical systems. It combines paraxial ray tracing with wavefront propagation methods to analyze diffraction, wavefront aberrations, and imaging effects in user-defined optical configurations. The package accepts configurable input systems via files or interfaces, supports modeling of apertures, optical elements, and aberrations, and outputs propagated fields and related diagnostic data. PAOS includes command-line and library interfaces along with interactive notebooks for exploration and visualization of simulation results. Its modular design allows users to apply different propagation and aberration models, generate surface error fields, and retrieve metrics such as wavefront properties and optical system responses.
[ascl:2404.010]
Panphasia: Create cosmological and resimulation initial conditions
Panphasia computes a very large realization of a Gaussian white noise field. The field has a hierarchical structure based on an octree geometry with 50 octree levels fully populated. The code sets up Gaussian initial conditions for cosmological simulations and resimulations of structure formation. Panphasia provides an easy way to publish the linear phases used to set up cosmological simulation initial conditions; publishing phases enriches the literature and makes it easier to reproduce and extend published simulation work.
[ascl:1511.009]
Pangloss: Reconstructing lensing mass
Pangloss reconstructs all the mass within a light cone through the Universe. Understanding complex mass distributions like this is important for accurate time delay lens cosmography, and also for accurate lens magnification estimation. It aspires to use all available data in an attempt to make the best of all mass maps.
[ascl:2303.009]
Pandora: Fast exomoon transit detection algorithm
Pandora searches for exomoons by employing an analytical photodynamical model that includes stellar limb darkening, full and partial planet-moon eclipses, and barycentric motion of planet and moon. The code can be used with nested samplers such as UltraNest (ascl:1611.001) or dynesty (ascl:1809.013). Pandora is fast, calculating 10,000 models and log-likelihood evaluation per second (give or take an order of magnitude, depending on parameters and data); this means that a retrieval with 250 Mio. evaluations until convergence takes about 5 hours on a single core. For searches in large amounts of data, it is most efficient to assign one core per light curve.
[ascl:1906.016]
PandExo: Instrument simulations for exoplanet observation planning
Batalha, Natasha E.;
Mandell, Avi;
Pontoppidan, Klaus;
Stevenson, Kevin B.;
Lewis, Nikole K.;
Kalirai, Jason;
Earl, Nick;
Greene, Thomas;
Albert, Loïc;
Nielsen, Louise D.
PandExo generates instrument simulations of JWST’s NIRSpec, NIRCam, NIRISS and NIRCam and HST WFC3 for planning exoplanet observations. It uses throughput calculations from STScI’s Exposure Time Calculator, Pandeia, and offers both an online tool and a python package.
[ascl:2212.008]
panco2: Pressure profile measurements of galaxy clusters
panco2 extracts measurements of the pressure profile of the hot gas inside galaxy clusters from millimeter-wave observations. The extraction is performed using forward modeling the millimeter-wave signal of clusters and MCMC sampling of a posterior distribution for the parameters given the input data. Many characteristic features of millimeter-wave observations can be taken into account, such as filtering (both through PSF smearing and transfer functions), point source contamination, and correlated noise.
[ascl:2512.011]
PANCAKE: Color–magnitude diagram fitting for stellar populations
Zheng, Yun;
Yang, Yujiao;
Zhang, Yong-Kun;
Zheng, Zheng;
Wang, Jing;
Staveley-Smith, Lister;
Tsai, Chao-Wei;
Li, Di;
Liu, Chao;
Hu, Jingjing;
Chen, Huaxi;
Quan, Donghui;
Zheng, Yinghui;
Li, Hangyuan
PANCAKE (Python bAsed Numerical Color-magnitude-diagram Analysis pacKagE) analyzes stellar populations in nearby galaxies or star clusters by fitting observed color–magnitude diagrams (CMDs) with synthetic models using numerical methods. The package reads photometric observations, constructs template CMDs from theoretical isochrones, grids the CMD data, and executes model-free fitting to infer parameters such as star formation history and stellar population characteristics. It includes routines to preprocess input data, handle gridding and fitting workflows, and assess results such as residual maps and parameter estimates. PANCAKE supports multiple gridding strategies, integrates with Python scientific libraries for array handling and optimization, and can be applied to a variety of stellar population CMD datasets.
[ascl:1805.021]
PampelMuse: Crowded-field 3D spectroscopy
PampelMuse analyzes integral-field spectroscopic observations of crowded stellar fields and provides several subroutines to perform the individual steps of the data analysis. All analysis steps assume that the IFS data has been properly reduced and that all the instrumental artifacts have been removed. PampelMuse is designed to correctly handle IFS data regardless of which instrument was used to observe the data. In addition to the actual data, the software also requires an estimate of the variances for the analysis; optionally, it can use a bad pixel mask. The analysis relies on the presence of a reference catalogue, containing coordinates and magnitudes of the stars in and around the observed field.
[ascl:1406.002]
PAMELA: Optimal extraction code for long-slit CCD spectroscopy
PAMELA is an implementation of the optimal extraction algorithm for long-slit CCD spectroscopy and is well suited for time-series spectroscopy. It properly implements the optimal extraction algorithm for curved spectra, including on-the-fly cosmic ray rejection as well as proper calculation and propagation of the errors. The software is distributed as part of the Starlink software collection (ascl:1110.012).