astromodule.legacy.LegacyService.cutout#

LegacyService.cutout(ra: float, dec: float, save_path: Path = None, base_path: str | Path = '', mag_r: float = None) None[source]#

Downloads a single Legacy Survey object RGB stamp defined by RA and DEC.

Parameters:
ra: float

Right ascension of the object.

dec: float

Declination of the object.

save_path: pathlib.Path, optional

Path where downloaded file will be stored.

base_path: str, pathlib.Path, optional

The path that will be appended at beggining of every paths if save_path is None.