correct axes orientation
This commit is contained in:
@@ -458,10 +458,13 @@ class SnapshotProcessor(HDF5Container):
|
||||
self._cam = {}
|
||||
for ax_los in self._ax_nb: # los = line of sight
|
||||
ax_v = self._axes_v[ax_los]
|
||||
real_ax = ax_los
|
||||
if real_ax == "y":
|
||||
real_ax = [0, -1, 0] # we look from -y to keep z upwards
|
||||
|
||||
self._cam[ax_los] = Camera(
|
||||
center=self.params.pymses.center,
|
||||
line_of_sight_axis=ax_los,
|
||||
line_of_sight_axis=real_ax,
|
||||
region_size=[im_extent[1] - im_extent[0], im_extent[3] - im_extent[2]],
|
||||
distance=distance,
|
||||
far_cut_depth=distance,
|
||||
|
||||
Reference in New Issue
Block a user