astromodule.splus.SplusService.download_lupton_rgb#
- SplusService.download_lupton_rgb(ra: float, dec: float, save_path: str | Path, replace: bool = False, size: int = 128, r_band: str = 'I', g_band: str = 'R', b_band: str = 'G', stretch: int | float = 3, Q: int | float = 8)[source]#
- Downloads a single Lupton RGB image based on object posistion, this method accepts arguments to customize Lupton’s 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_pathlocation before the download. If this parameters is- Trueand a file exists in- save_pathlocation, this method will ovewrite the existing file. If this parameter is- Falseand a file exists in- save_pathlocation, 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 
- stretch: int or float (optional)
- The - stretchparameter of Lupton’s formula
- Q: int or float (optional)
- The - Qparameter of Lupton’s formula
 
 
