Skip to content

Commit

Permalink
conflict with main was solved
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukeaso-astron committed Jan 10, 2025
1 parent 9cb2169 commit 9a8bd8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plotastrodata/fits_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def gen_grid(self, center: str | None = None, dist: float = 1.,
# spatial center
if center is not None:
c0 = xy2coord([h['CRVAL1'], h['CRVAL2']])
if 'RADESYS' in h:
radesys = h['RADESYS']
c0 = f'{radesys} {c0}'
cx, cy = coord2xy(center, c0)
else:
cx, cy = 0, 0
Expand Down

0 comments on commit 9a8bd8e

Please sign in to comment.