astromodule.splus.SplusService#
- class SplusService[source]#
This service class interacts with splus.cloud server over https
- Parameters:
- username: str (optional)
The username used in splus.cloud authentication, defaults to
SPLUS_USERenvironment variable- password: str (optional)
The password used in splus.cloud authentication, defaults to
SPLUS_PASSenvironment variable
Methods
batch_image_download(ra, dec, save_path[, ...])Downloads a single Lupton RGB image based on object posistion, this method accepts arguments to customize Lupton's parameters
batch_query(sql, save_path[, join, replace, ...])Sends a batch of queries to splus.cloud database
download_field(field, output[, band, ...])download_fits(ra, dec, save_path[, replace, ...])Downloads a single FITS image based on object posistion
download_lupton_rgb(ra, dec, save_path[, ...])Downloads a single Lupton RGB image based on object posistion, this method accepts arguments to customize Lupton's parameters
download_trilogy_rgb(ra, dec, save_path[, ...])Downloads a single Trilogy RGB image based on object posistion, this method accepts arguments to customize Trilogy parameters
query(sql, save_path[, replace, scope, ...])Sends a single query to splus.cloud database
Updates splus.cloud authorization token
- classmethod __new__(*args, **kwargs)#