Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

popclass: A Python Package for Classifying Microlensing Events

Journal Article · · Journal of Open Source Software
DOI:https://doi.org/10.21105/joss.07769· OSTI ID:2575231
popclass is a Python package that provides a flexible, probabilistic framework for classifying the lens of a gravitational microlensing event. Gravitational microlensing occurs when a massive foreground object (e.g., a star, white dwarf or black hole) passes in front of and lenses the light from a distant background source. This causes an apparent brightening, and shift in position, of the background source. In most cases, characteristics of the microlensing signal do not contain enough information to definitively identify the lens type. Different lens types lie in different but overlapping regions of the characteristics of the microlensing signal. For example, black holes tend to be more massive than stars and therefore cause microlensing signals that are longer. Current Galactic simulations enable us to predict where different lens types lie in the observational space and can therefore be used to classify events (e.g., Lam et al., 2020). popclass allows the user to match the characteristics of a microlensing signal with a simulation of the Galaxy to calculate lens type probabilities for the event (see Figure 1). Constraints on any microlensing signal properties and any Galactic model can be used. popclass comes with an interface to ArviZ (Kumar et al., 2019) and PyMultiNest (Buchner et al., 2014) for microlensing signal constraints, as well as pre-loaded Galactic models, plotting functionality, and methods to quantify the classification uncertainty. The probabilistic framework for popclass was developed in Perkins et al. (2024), used in Fardeen et al. (2024) and has been applied to classifying events in Kaczmarek et al. (2025).
Research Organization:
Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)
Sponsoring Organization:
USDOE Laboratory Directed Research and Development (LDRD) Program; USDOE National Nuclear Security Administration (NNSA)
Grant/Contract Number:
AC52-07NA27344
Other Award/Contract Number:
22-ERD-037
OSTI ID:
2575231
Report Number(s):
LLNL--JRNL-870290
Journal Information:
Journal of Open Source Software, Journal Name: Journal of Open Source Software Journal Issue: 109 Vol. 10; ISSN 2475-9066
Publisher:
Open Source Initiative - NumFOCUSCopyright Statement
Country of Publication:
United States
Language:
English

References (20)

ASDF: A new data format for astronomy journal September 2015
Array programming with NumPy journal September 2020
SciPy 1.0: fundamental algorithms for scientific computing in Python journal February 2020
X-ray spectral modelling of the AGN obscuring region in the CDFS: Bayesian model selection and catalogue journal April 2014
Uncovering the invisible: A study of Gaia18ajz, a candidate black hole revealed by microlensing journal February 2025
Inferring the Eccentricity Distribution journal December 2010
Matplotlib: A 2D Graphics Environment journal January 2007
ArviZ a unified library for exploratory analysis of Bayesian models in Python journal January 2019
Adaptive Optics Imaging Can Break the Central Caustic Cusp Approach Degeneracy in High-magnification Microlensing Events journal October 2022
Estimating Microlensing Parameters from Observables and Stellar Isochrones with pyLIMASS journal June 2024
LSST: From Science Drivers to Reference Design and Anticipated Data Products journal March 2019
PopSyCLE: A New Population Synthesis Code for Compact Object Microlensing Events journal January 2020
An Isolated Stellar-mass Black Hole Detected through Astrometric Microlensing* journal July 2022
Disentangling the Black Hole Mass Spectrum with Photometric Microlensing Surveys journal January 2024
Astrometric Microlensing by Primordial Black Holes with the Roman Space Telescope journal April 2024
On Finding Black Holes in Photometric Microlensing Surveys journal March 2025
Predictions of the WFIRST Microlensing Survey. I. Bound Planet Detection Rates journal February 2019
Microlensing Discovery and Characterization Efficiency in the Vera C. Rubin Legacy Survey of Space and Time journal December 2024
An Isolated Mass-gap Black Hole or Neutron Star Detected with Astrometric Microlensing journal July 2022
Wide-Field InfrarRed Survey Telescope-Astrophysics Focused Telescope Assets WFIRST-AFTA 2015 Report preprint January 2015

Similar Records

On Finding Black Holes in Photometric Microlensing Surveys
Journal Article · Thu Mar 06 19:00:00 EST 2025 · The Astrophysical Journal · OSTI ID:2563331

popclass
Software · Tue Aug 13 20:00:00 EDT 2024 · OSTI ID:code-143766

BINARY ASTROMETRIC MICROLENSING WITH GAIA
Journal Article · Wed Apr 15 00:00:00 EDT 2015 · Astronomical Journal (Online) · OSTI ID:22520201