diff --git a/plotastrodata/fits_utils.py b/plotastrodata/fits_utils.py index 406124a..8c13797 100644 --- a/plotastrodata/fits_utils.py +++ b/plotastrodata/fits_utils.py @@ -53,7 +53,7 @@ def __init__(self, fitsimage: str): self.fitsimage = fitsimage def gen_hdu(self) -> None: - """Generate self.hdu.fits.open()[0]. + """Generate self.hdu, which is astropy,io.fits.open()[0]. """ hdu = fits.open(self.fitsimage) self.hdu = hdu[0] @@ -65,7 +65,7 @@ def gen_hdu(self) -> None: self.hdubeam = b['BMAJ'][imed], b['BMIN'][imed], b['BPA'][imed] def gen_header(self) -> None: - """Generate self.header. fits.open()[0].header. + """Generate self.header., which is astropy.io.fits.open()[0].header. """ if not hasattr(self, 'hdu'): self.gen_hdu()