hyperion-rt / hyperion

Hyperion Radiative Transfer Code
http://www.hyperion-rt.org
BSD 2-Clause "Simplified" License
52 stars 26 forks source link

Viewing angle #28

Closed hyissue closed 11 years ago

hyissue commented 11 years ago

What does the viewing angle of a image/SED mean?

astrofrog commented 11 years ago

It is the 3-d angle (theta, phi) at which you are viewing the density grid. So (0,0) corresponds to pole-on, (90, 0) corresponds to one of the edge-on angles, etc. Does this make sense?

hyissue commented 11 years ago

Dose the observer located at [0,0,0]? Does (theta, phi) indicate the center of image?

astrofrog commented 11 years ago

By default, the observer is located outside the grid, basically on a sphere at infinity, and looking towards (0,0,0). If you set the viewing angle to e.g. (0,0) this means you are looking down the z-axis.

If you want to place an observer at (0,0,0) you can make use of the 'inside observer' concept explained here:

http://docs.hyperion-rt.org/en/latest/advanced/peeloff.html#image-depth