ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

BHSKY: Visual distortions near a black hole

Discussion topics for individual codes
User avatar
owlice
Guardian of the Codes
Posts: 1049
Joined: Wed Aug 04, 2004 4:18 pm
Location: Washington, DC

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: Nemiroff, Robert J.

Site: http://asterisk.apod.com/library/ASCL/bhsky/bhsky.zip
http://adsabs.harvard.edu/abs/1993AmJPh..61..619N

Bibcode: 1999ascl.soft10006N

ID: ascl:9910.006
Last edited by Ada Coda on Sat Sep 03, 2016 10:04 pm, edited 1 time in total.
Reason: Updated code entry.
Code-seeking owl at your service

distefanom
Posts: 1
Joined: Wed Jun 16, 2010 6:19 am

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?

nealmcb
Posts: 1
Joined: Sat Sep 04, 2010 4:53 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? :)

User avatar
RJN
Posts: 14
Joined: Sat Jul 24, 2004 1:58 pm
Location: Michigan Tech

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


Return to “Astrophysics Source Code Library”

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron