/dports/math/py-yt/yt-4.0.1/yt/utilities/ |
H A D | orientation.py | 16 if north_vector is not None: 17 north_vector = YTArray(north_vector, "", dtype="float64") 23 if north_vector is not None and _aligned(north_vector, normal_vector): 26 return normal_vector, north_vector 54 if north_vector is not None: 56 self.north_vector = north_vector 68 if north_vector is None: 79 north_vector = ( 80 north_vector - np.dot(north_vector, normal_vector) * normal_vector 83 north_vector /= np.sqrt(np.dot(north_vector, north_vector)) [all …]
|
/dports/math/py-yt/yt-4.0.1/doc/source/cookbook/ |
H A D | various_lens.py | 13 north_vector = [0.0, 0.0, 1.0] variable 31 cam.switch_orientation(normal_vector=normal_vector, north_vector=north_vector) 44 cam.switch_orientation(normal_vector=normal_vector, north_vector=north_vector) 58 cam.switch_orientation(normal_vector=normal_vector, north_vector=north_vector) 71 cam.switch_orientation(normal_vector=normal_vector, north_vector=north_vector) 86 cam.switch_orientation(normal_vector=normal_vector, north_vector=north_vector) 100 cam.switch_orientation(normal_vector=normal_vector, north_vector=north_vector)
|
H A D | vol-annotated.py | 15 sc.camera.north_vector = [0, 0, 1]
|
/dports/math/py-yt/yt-4.0.1/yt/visualization/volume_rendering/ |
H A D | camera.py | 125 self.north_vector = None 179 north_vector=self.north_vector, 397 if north_vector is not None: 398 self.north_vector = north_vector 437 if north_vector is None: 438 north_vector = self.north_vector 458 if north_vector is None: 459 north_vector = self.north_vector 462 self.switch_orientation(normal_vector=normal_vector, north_vector=north_vector) 502 rot_vector = self.north_vector [all …]
|
H A D | off_axis_projection.py | 29 north_vector=None, 134 if north_vector is not None: 135 north_vector = np.array(north_vector, dtype="float64") 188 if north_vector is None: 195 north = np.array(north_vector) 295 "north_vector": north_vector, 357 if north_vector is None: 364 north = np.array(north_vector)
|
H A D | old_camera.py | 156 north_vector=None, argument 192 normal_vector, north_vector=north_vector, steady_north=steady_north 585 normal_vector=normal_vector, north_vector=north_vector 604 north_vector = self.north_vector 638 north_vector = self.orienter.north_vector 1149 self.orienter.north_vector = np.dot(R, self.orienter.north_vector) 1832 self.north_vector = north_vector 1855 normal_vector, north_vector=north_vector, steady_north=steady_north 2096 north_vector=north_vector, 2467 north_vector=None, argument [all …]
|
/dports/math/py-yt/yt-4.0.1/yt/visualization/volume_rendering/tests/ |
H A D | test_off_axis_SPH.py | 61 north_vector = [0.0, 0.0, -1.0] 75 north_vector=north_vector, 100 north_vector = [0.0, 1.0, 0.0] 114 north_vector=north_vector, 170 north_vector = [0.0, 0.0, 1.0] 184 north_vector=north_vector,
|
H A D | test_camera_attributes.py | 147 north_vector = [0, 1, 0] 148 cam.set_position(cam_pos, north_vector) 150 north_vector = [0, 0, 1] 151 cam.set_position(cam_pos, north_vector)
|
H A D | test_mesh_render.py | 213 north_vector = ds.arr([0.0, -1.0, -1.0], "dimensionless") 214 cam.set_position(cam_pos, north_vector)
|
H A D | test_vr_orientation.py | 50 normal_vector=[1.0, 0.0, 0.0], north_vector=[0.0, 0.0, 1.0]
|
H A D | test_vr_cameras.py | 161 north_vector=[0.0, 0.0, 1.0],
|
/dports/math/py-yt/yt-4.0.1/doc/source/visualizing/ |
H A D | unstructured_mesh_rendering.rst | 97 north_vector = ds.arr([0.0, -1.0, -1.0], "dimensionless") 98 cam.set_position(cam_pos, north_vector) 126 cam.set_position(cam_pos, north_vector) 158 cam.set_position(cam_pos, north_vector) 188 north_vector = ds.arr([0.0, -1.0, 0.0], "dimensionless") 189 cam.set_position(camera_position, north_vector) 244 cam.set_position(camera_position, north_vector) 284 cam.set_position(camera_position, north_vector) 316 cam.set_position(cam_pos, north_vector) 433 cam.set_position(cam_pos, north_vector) [all …]
|
H A D | Volume_Rendering_Tutorial.ipynb | 263 "north_vector = [0., 0., 1.]\n", 265 " north_vector=north_vector)\n",
|
H A D | plots.rst | 282 north_vector = [-1, 1, 0] 283 cut = yt.SlicePlot(ds, L, ("gas", "density"), width=(25, "kpc"), north_vector=north_vector) 287 argument. Optionally, a ``north_vector`` can be specified to fix the orientation 409 north_vector = [-1, 1, 0] 431 north_vector = [-1, 1, 0] 433 ds, L, ("gas", "density"), width=(25, "kpc"), north_vector=north_vector 714 coordinate system with the ``normal`` and ``north_vector`` for the system, whether
|
H A D | volume_rendering.rst | 463 * ``north_vector`` - a vector defining the "up" direction in an image 480 …zation.volume_rendering.camera.Camera.yaw` - rotate about the vertical axis (i.e. ``north_vector``)
|
/dports/math/py-yt/yt-4.0.1/yt/data_objects/selection_objects/ |
H A D | slices.py | 203 north_vector=None, argument 210 if north_vector is not None: 211 validate_3d_array(north_vector) 220 self.orienter = Orientation(normal, north_vector=north_vector)
|
/dports/math/py-yt/yt-4.0.1/yt/visualization/ |
H A D | plot_window.py | 1958 north_vector=None, argument 1977 north_vector=north_vector, 2019 north_vector=None, argument 2042 self.north_vector = north_vector 2044 self.orienter = Orientation(normal_vector, north_vector=north_vector) 2158 north_vector=None, argument 2189 north_vector=north_vector,
|
H A D | fits_image.py | 1265 north_vector=None, argument 1270 cut = ds.cutting(normal, center, north_vector=north_vector) 1366 north_vector=None, argument 1391 north_vector=north_vector,
|
H A D | fixed_resolution.py | 613 north_vector=dd.north_vector,
|
/dports/math/py-yt/yt-4.0.1/yt/utilities/lib/ |
H A D | lenses.pyx | 65 cdef np.float64_t north_vector[3] 116 north_vector[i] = image.camera_data[3, i] 148 dy = dot(pos1, north_vector)
|
H A D | pixelization_routines.pyx | 1722 north_vector, argument 1741 transformed_north_vector = np.matmul(normal_rotation_matrix, north_vector)
|
/dports/math/py-yt/yt-4.0.1/yt/visualization/tests/ |
H A D | test_plotwindow.py | 466 north_vector = [0, 1, 0] 468 ds, L, ("gas", "density"), center=[0, 0, 0], north_vector=north_vector
|
H A D | test_callbacks.py | 401 p = SlicePlot(ds, [1, 1, 0], ("gas", "density"), north_vector=[0, 0, 1]) 470 p = SlicePlot(ds, [1, 1, 0], ("gas", "density"), north_vector=[0, 0, 1])
|
/dports/math/py-yt/yt-4.0.1/doc/source/examining/ |
H A D | Loading_Generic_Array_Data.ipynb | 393 "cam.north_vector = [0, 0, 1]"
|
/dports/math/py-yt/yt-4.0.1/doc/source/analyzing/ |
H A D | objects.rst | 373 …| Usage: ``cutting(normal, coord, north_vector=None, ds=None, field_parameters=None, data_source=N…
|