SloanService#

class mergernet.services.sdss.SloanService[source]#

Bases: object

batch_download_fits(run: List[int], rerun: List[int], camcol: List[int], field: List[int], bands: str | List[str], save_path: List[str | Path], ra: List[float] | None = None, dec: List[float] | None = None, workers: int | None = None, replace: bool = False)[source]#
batch_download_rgb(ra: List[float], dec: List[float], save_path: List[str | Path], workers: int | None = None, replace: bool = False, **kwargs)[source]#
crossmatch(ra: Sequence[float], dec: Sequence[float], fields: Dict[str, Sequence[str]] = {}, search_type: str = 'photo', search_radius: float = 0.02, save_path: str | Path | None = None, chunk_size: int = 500, workers: int = 4) DataFrame[source]#
cutout(file, ra, dec, radius)[source]#
download_fits(run: int, rerun: int, camcol: int, field: int, band: str, save_path: str | Path)[source]#
download_rgb(ra: float, dec: float, save_path: Path, width: int = 256, height: int = 256, scale: float = 0.55, opt: str = '')[source]#
get_image_filename(dr8objid: ndarray, dr7objid: ndarray, extension: str = '.jpg', basepath: str | Path | None = None) Tuple[list, bool][source]#