achael / eht-imaging

Imaging, analysis, and simulation software for radio interferometry
https://achael.github.io/eht-imaging/
GNU General Public License v3.0
5.29k stars 496 forks source link

Missing `*` in eht-imaging/ehtim /image.py #180

Closed gfparaschos closed 7 months ago

gfparaschos commented 8 months ago

In line 3503 of the file in the title an asterisk is missing. It should be: factor *= beamarea / (self.psize**2). Without the asterisk, setting cbar_unit equal to either ['mJy', 'beam'] or ['Jy', 'beam'] yields the same result.

achael commented 7 months ago

Thanks for catching this! This should be fixed now.