astromodule.legacy.LegacyService.batch_cutout#
- LegacyService.batch_cutout(ra: Sequence[float], dec: Sequence[float], save_path: Sequence[Path] = None, base_path: str | Path = '', mag_r: Sequence[float] = None) Tuple[List[Path], List[Path]] [source]#
Downloads a list of objects defined by RA and DEC coordinates.
The
ra
,dec
andsave_path
lists are mandatory and must have same length.- Parameters:
- ra: List[float]
The list of RA coordinates of the desired objects.
- dec: List[float]
The list of DEC coordinates of the desired objects.
- save_path: List[Path], optional
The list of path where files should be saved.
- base_path: str, Path, optional
The path that will be appended at beggining of every paths if
save_path
isNone
.