Hey Guys, Quick question on off-axis slices: is the normal vector pointed into the page as you look at the slice, or out of the page? thanks! Munier -- Munier A. Salem // 845.489.6450
On Fri, Jul 26, 2013 at 9:37 AM, Munier Azzam Salem <msalem@astro.columbia.edu> wrote:
Hey Guys,
Quick question on off-axis slices: is the normal vector pointed into the page as you look at the slice, or out of the page?
It's something of a free parameter, as unless you specify the "north" vector it is determines by taking two cross products. You can see how it's determined in the file yt/utilities/orientation.py . -Matt
thanks! Munier
-- Munier A. Salem // 845.489.6450
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Thanks Matt!
From the line:
*east_vector = np.cross(north_vector, normal_vector).ravel()* it seems the normal vector points out of the page (assuming East is to the right). On Fri, Jul 26, 2013 at 12:41 PM, Matthew Turk <matthewturk@gmail.com>wrote:
On Fri, Jul 26, 2013 at 9:37 AM, Munier Azzam Salem <msalem@astro.columbia.edu> wrote:
Hey Guys,
Quick question on off-axis slices: is the normal vector pointed into the page as you look at the slice, or out of the page?
It's something of a free parameter, as unless you specify the "north" vector it is determines by taking two cross products. You can see how it's determined in the file yt/utilities/orientation.py .
-Matt
thanks! Munier
-- Munier A. Salem // 845.489.6450
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Munier A. Salem // 845.489.6450
(also, assuming I specified the north vector) On Fri, Jul 26, 2013 at 12:48 PM, Munier Azzam Salem < msalem@astro.columbia.edu> wrote:
Thanks Matt!
From the line:
*east_vector = np.cross(north_vector, normal_vector).ravel()*
it seems the normal vector points out of the page (assuming East is to the right).
On Fri, Jul 26, 2013 at 12:41 PM, Matthew Turk <matthewturk@gmail.com>wrote:
On Fri, Jul 26, 2013 at 9:37 AM, Munier Azzam Salem <msalem@astro.columbia.edu> wrote:
Hey Guys,
Quick question on off-axis slices: is the normal vector pointed into the page as you look at the slice, or out of the page?
It's something of a free parameter, as unless you specify the "north" vector it is determines by taking two cross products. You can see how it's determined in the file yt/utilities/orientation.py .
-Matt
thanks! Munier
-- Munier A. Salem // 845.489.6450
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Munier A. Salem // 845.489.6450
-- Munier A. Salem // 845.489.6450
participants (2)
-
Matthew Turk
-
Munier Azzam Salem