astromodule.splus.SplusService.download_trilogy_rgb#
- SplusService.download_trilogy_rgb(ra: float, dec: float, save_path: str | Path, replace: bool = False, size: int = 128, r_band: List[str] = ['R', 'I', 'F861', 'Z'], g_band: List[str] = ['G', 'F515', 'F660'], b_band: List[str] = ['U', 'F378', 'F395', 'F410', 'F430'], noise: float = 0.15, saturation: float = 0.15)[source]#
Downloads a single Trilogy RGB image based on object posistion, this method accepts arguments to customize Trilogy parameters
- Parameters:
- ra: float
The right ascension in degrees
- dec: float
The declination in degrees
- save_path: str or Path
The path where the file will be saved
- replace: bool (optional)
This method checks if a file exists in
save_path
location before the download. If this parameters isTrue
and a file exists insave_path
location, this method will ovewrite the existing file. If this parameter isFalse
and a file exists insave_path
location, this method will skip the download- size: int (optional)
The image size in pixels
- r_band: str (optional)
The S-PLUS band that will be mapped as R channel of the RGB image
- g_band: str (optional)
The S-PLUS band that will be mapped as G channel of the RGB image
- b_band: str (optional)
The S-PLUS band that will be mapped as B channel of the RGB image
- noise: int or float (optional)
The
noise
parameter of Trilogy algorithm- saturation: int or float (optional)
The
saturation
parameter of Trilogy algorithm