Skip to content

Commit

Permalink
Merge pull request #182 from achael/dev
Browse files Browse the repository at this point in the history
fixed minor issue in image.display()
  • Loading branch information
achael authored Apr 19, 2024
2 parents 1d542ce + 2138da0 commit 09b014c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ehtim/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -3485,7 +3485,7 @@ def display(self, pol=None, cfun=False, interp='gaussian',
else:
areaunit = 'beam'
beamarea = (2.0 * np.pi * beamparams[0] * beamparams[1] / (8.0 * np.log(2)))
factor = beamarea / (self.psize**2)
factor *= beamarea / (self.psize**2)
if power != 0:
areaunit = areaunit + (r' ($10^{{' + str(power) + '}}$ K)')

Expand Down

0 comments on commit 09b014c

Please sign in to comment.