BHSKY: Visual distortions near a black hole

The largest collection of astrophysics codes anywhere
Forum rules
The ASCL code entries have moved to ascl.net; this forum is now read-only.

BHSKY: Visual distortions near a black hole

Postby owlice » Tue Jul 27, 2010 1:52 pm

BHSKY: Visual distortions near a black hole

Abstract: BHSKY (copyright 1999 by Robert J. Nemiroff) computes the visual distortion effects visible to an observer traveling around and descending near a non-rotating black hole. The codes are general relativistically accurate and incorporate concepts such as large-angle deflections, image magnifications, multiple imaging, blue-shifting, and the location of the photon sphere. Once star.dat is edited to define the position and orientation of the observer relative to the black hole, bhsky_table should be run to create a table of photon deflection angles. Next bhsky_image reads this table and recomputes the perceived positions of stars in star.num, the Yale Bright Star Catalog. Lastly, bhsky_camera plots these results. The code currently tracks only the two brightest images of each star, and hence becomes noticeably incomplete within 1.1 times the Schwarzschild radius.

Credit: Robert J. Nemiroff

Site: http://antwrp.gsfc.nasa.gov/htmltest/rjn_bht.html
Source Code:
bhsky.zip

ID: ascl:9910.006
You do not have the required permissions to view the files attached to this post.
A closed mouth gathers no foot.
User avatar
owlice
Guardian of the Codes
 
Posts: 8060
Joined: Wed Aug 04, 2004 4:18 pm
Location: Washington, DC

Re: BHSKY: Visual distortions near a black hole

Postby distefanom » Tue Dec 07, 2010 4:08 pm

If one could *REALLY* see the scene at the shown distance. I think could barely say "OMG" ! ! ! Since he/she would have NO time to say more, NOR could escape in any direction...
simply terrific... isn't IT?
distefanom
Asternaut
 
Posts: 7
Joined: Wed Jun 16, 2010 6:19 am

Re: BHSKY: Visual distortions near a black hole

Postby deserto » Thu Apr 25, 2013 5:31 pm

i'll be speechless if i see the scene, coz it's really a great thing
deserto
Asternaut
 
Posts: 6
Joined: Thu Apr 25, 2013 4:47 pm

Re: BHSKY: Visual distortions near a black hole

Postby nealmcb » Mon Jul 01, 2013 5:16 pm

Thank you!!

Most of the code seems to be in fortran. What version?

What language is the code in the ".pro" file written in?

Is there a makefile or set of instructions anywhere for compiling and running it? (E.g. on Ubuntu Linux? :)
nealmcb
Ensign
 
Posts: 10
Joined: Sat Sep 04, 2010 4:53 pm

Re: BHSKY: Visual distortions near a black hole

Postby RJN » Mon Jul 01, 2013 6:09 pm

nealmcb wrote:Thank you!!

Most of the code seems to be in fortran. What version?

What language is the code in the ".pro" file written in?

Is there a makefile or set of instructions anywhere for compiling and running it? (E.g. on Ubuntu Linux? :)


FORTRAN 77. The .pro files are in Interactive Data Language (IDL: http://en.wikipedia.org/wiki/IDL_%28programming_language%29)
There is no makefile. I hope this is a help! If you want to work with the code I would be grateful to know about your project and offer what advice I could.

- RJN
User avatar
RJN
Baffled Boffin
 
Posts: 1266
Joined: Sat Jul 24, 2004 1:58 pm
Location: Michigan Tech


Return to The Engineering Deck: Astrophysics Source Code Library

Who is online

Users browsing this forum: CommonCrawl [Bot] and 1 guest