ykwang1/DP1_Xray_public: Optical Counterparts to X-ray sources in LSST DP1 (rev. 1)
Abstract
This code reproduces the analysis and figures for "Optical Counterparts to X-ray sources in LSST DP1" after the first revision. This repository is for the paper "Optical Counterparts to X-ray sources in LSST DP1" by David Wang (0000-0001-5538-0395). It is associated with manuscript number AAS67341. Description The Rubin data preview 1 (DP1) data for this analysis can be found on the Rubin Science Platform (RSP at data.lsst.cloud). To comply with the Rubin data rights policy, we have not posted the full crossmatched catalogs, which include more than 100 objectIds. We do include a catalog of all the X-ray sources in the DP1 fields, with the objectIds removed at data/final_data_products/xray_in_DP1.csv. The notebooks point at the location on the RSP where the DP1 data is located. You can run the analysis by cloning the repository into the RSP and dowloading the X-ray catalogs into the data/raw_data folder (see below for more information). After downloading the X-ray data, run the notebooks in the notebooks/data_processing folder in the following order: xray_catalogs_preprocess.ipynb, xmatch_to_parquet.ipynb, xmatch_add_features.ipynb. These notebooks will create the combined X-ray catalog, crossmatch the catalog to the DP1 object and diaObject catalogs and the resulting matches to a variety of other catalogs (e.g. the milliquas, SIMBAD, etc), and calculate the stetson Js and reliabilities, respectively. Running these notebooks will populate the data/intermediate_data_products and data/final_data_products with the files needed for the analysis. After running these notebooks, the figures in the paper can be reproduced by running make_plots.ipynb in the notebooks/analysis folder. If you would like to do your own analysis with the crossmatched data, an example notebook is provided at notebooks/Example.ipynb. X-ray data to download: CSC2.1 This was downloaed with the CSCview application: https://cxc.cfa.harvard.edu/csc/download/ as cscresults.2.tsv 4XMMDR14 Reduced binary catalog from: http://xmmssc.irap.omp.eu/Catalogue/4XMM-DR14/4XMM_DR14.html as 4XMM_slim_DR14cat_v1.0.fits.gz 2SXPS Clean subset: https://www.swift.ac.uk/2SXPS/ as 2SXPS_Sources_clean.csv.gz XMMSL3 http://xmmssc.irap.omp.eu/Catalogue/XMMSL3/XMMSL3.html as xmmsl3_v1.0.csv eRASS DE DR1 eRASS1 main catalog: https://erosita.mpe.mpg.de/dr1/AllSkySurveyData_dr1/Catalogues_dr1/ as eRASS1_Main.v1.1.fits
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 16 February 2026