Skip to content

Update example code for brightness_temperature in equivalencies.py - #4762

Closed
adeleplunkett wants to merge 1 commit into
astropy:v1.1.xfrom
adeleplunkett:patch-1
Closed

adeleplunkett wants to merge 1 commit into
astropy:v1.1.xfrom
adeleplunkett:patch-1

Conversation

@adeleplunkett

Copy link
Copy Markdown

Multiply instead of divide in the equation for beam area (beam_area = 2.np.pi(bmaj_bmin_fwhm_to_sigma**2)), because of the way fwhm_to_sigma is defined with (8*np.log(2))**0.5 already in the denominator.

I think this is consistent with the equations shown on this page: https://www.cv.nrao.edu/course/astr534/Interferometers2.html But, you can ignore this if I have made a mistake or wrong assumption.

Multiply instead of divide in the equation for beam area (beam_area = 2.*np.pi*(bmaj*bmin*fwhm_to_sigma**2)), because of the way fwhm_to_sigma is defined with (8*np.log(2))**0.5 already in the denominator.  

I think this is consistent with the equations shown on this page: https://www.cv.nrao.edu/course/astr534/Interferometers2.html  But, you can ignore this if I have made a mistake or wrong assumption.
@pllim

pllim commented Apr 7, 2016

Copy link
Copy Markdown
Member

This needs to be rebased to master, not v1.1.x branch.

@eteq

eteq commented Apr 7, 2016

Copy link
Copy Markdown
Member

I'm not 100% sure, but I think this requires actually closing this and creating a new PR, @adeleplunkett (the thing @pllim said about it being supposed to be against master) - it can be the exact same head branch, though - only the base needs to change.

@adeleplunkett

Copy link
Copy Markdown
Author

Ok I will close this, and make a comment in master. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants