In this DESI Legacy Imaging Surveys Point Source Catalog (LS-PSC), we provide a machine-learning score for the probability of a LS target being an unresolved, point source. This is a morphological classifier based on the LS photometry, and provide classification for
Scores can be queried from the database via API requests.
import requests
def get_sources(ra: float, dec: float, radius: float, mag_limit: float=None) -> dict:
"""
Cross match to the LS-PSC catalog and get score sources.
Parameters
----------
ra, dec : float
Coordinates in degrees.
radius: float
Search radius in arcseconds (limit = 300 arcsec).
mag_limit: float, optional
Magnitude limit for the search (in white_mag)
Returns
-------
dict
A dictionary containing the sources found within the searching radius.
"""
base_url = "https://ls-xgboost.lbl.gov/getsources"
url = f"{base_url}/{ra}/{dec}/{radius}"
if mag_limit is not None:
url += f"/{mag_limit}"
response = requests.get(url)
response.raise_for_status()
return response.json()If you use LS-PSC in your research, please cite the following publication:
- Liu et al. 2025, PASP 137 084501