astromodule.splus.SplusService.download_fits#
- SplusService.download_fits(ra: float, dec: float, save_path: str | Path, replace: bool = False, size: int = 128, band: str = 'R')[source]#
- Downloads a single FITS image based on object posistion - 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 
- band: str (optional)
- The S-PLUS band of the fits file 
 
 
