Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukeaso-astron committed Jan 9, 2025
1 parent c793c50 commit c864b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plotastrodata/fits_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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()
Expand Down

0 comments on commit c864b6c

Please sign in to comment.