Required
euler_angles_in_degrees| Type: | typing.Sequence[float] | npt.NDArray |
| Description: | Euler angles to use for rotation of the chunk consecutively around z, y and z axis in degrees. |
def cubed_sphere_chunk_on_unit_sphere(
euler_angles_in_degrees: typing.Sequence[float] | npt.NDArray,
chunk_dim_1: EquiAzimuthalGrid | AzimuthalGrid,
chunk_dim_2: EquiAzimuthalGrid | AzimuthalGrid | None = None,
) -> tuple[npt.NDArray, npt.NDArray, npt.NDArray]: ...| Type: | typing.Sequence[float] | npt.NDArray |
| Description: | Euler angles to use for rotation of the chunk consecutively around z, y and z axis in degrees. |
| Type: | EquiAzimuthalGrid | AzimuthalGrid |
| Description: | Dimensions of the spherical chunk along the first axis. |
| Type: | EquiAzimuthalGrid | AzimuthalGrid | None |
| Default value: | None |
| Description: | Dimensions of the spherical chunk along the second axis. If not provided, the values of the first dimension will be copied. |
tuple[npt.NDArray, npt.NDArray, npt.NDArray]def euler_angles_from_chunk_id(
chunk_id: salvus._core.types.int_,
) -> npt.NDArray: ...| Type: | salvus._core.types.int_ |
| Description: | Number of the chunk following the numbering convention of Ronchi et al. |
npt.NDArraydef map_cartesian_grid_to_sphere(
spherical_chunk_grid: SphericalChunkGrid,
euler_angles_in_degrees: (
typing.Sequence[salvus._core.types.float_] | npt.NDArray | None
) = None,
) -> tuple[npt.NDArray, npt.NDArray, npt.NDArray]: ...| Type: | SphericalChunkGrid |
| Description: | Dimensions and discretization of the grid. |
| Type: | typing.Sequence[salvus._core.types.float_] | npt.NDArray | None |
| Default value: | None |
| Description: | Euler angles to use for rotation of the chunk consecutively around z, y and z axis in degrees. |
tuple[npt.NDArray, npt.NDArray, npt.NDArray]class AzimuthalGrid(salvus.mesh.algorithms.spherical._AzimuthalGridBase):
def __init__(
self,
min_angle_in_degrees: salvus._core.types.float_ | None = None,
max_angle_in_degrees: salvus._core.types.float_ | None = None,
grid_points: npt.NDArray,
) -> None: ...| Type: | salvus._core.types.float_ | None |
| Default value: | None |
| Description: | Lower bound of the angular range. Defaults to the negative maximum angle if not provided. |
| Type: | salvus._core.types.float_ | None |
| Default value: | None |
| Description: | Upper bound of the angular range. Defaults to 45 degress if not provided. |
| Type: | npt.NDArray |
| Description: | Array of grid points to be projected onto the azimuthal arc. |
def get_grid_points_on_arc(self) -> npt.NDArray: ...def max_angle_in_radians(self) -> float: ...def min_angle_in_radians(self) -> float: ...def number_of_grid_points(self) -> int: ...class EquiAzimuthalGrid(salvus.mesh.algorithms.spherical._AzimuthalGridBase):
def __init__(
self,
min_angle_in_degrees: salvus._core.types.float_ | None = None,
max_angle_in_degrees: salvus._core.types.float_ | None = None,
number_of_elements: salvus._core.types.int_,
) -> None: ...| Type: | salvus._core.types.float_ | None |
| Default value: | None |
| Description: | Lower bound of the angular range. Defaults to the negative maximum angle if not provided. |
| Type: | salvus._core.types.float_ | None |
| Default value: | None |
| Description: | Upper bound of the angular range. Defaults to 45 degress if not provided. |
| Type: | salvus._core.types.int_ |
| Description: | The number of elements per dimension. |
def get_grid_points_on_arc(self) -> npt.NDArray: ...def max_angle_in_radians(self) -> float: ...def min_angle_in_radians(self) -> float: ...def number_of_grid_points(self) -> salvus._core.types.int_: ...def to_azimuthal_grid(self, grid_points: npt.NDArray) -> AzimuthalGrid: ...| Type: | npt.NDArray |
| Description: | Array of grid points to be projected onto the azimuthal arc. |
class EquidistantRadialGrid(builtins.object):
def __init__(
self,
min_radius: float,
max_radius: float,
number_of_elements: salvus._core.types.int_ | npt.NDArray,
) -> None: ...| Type: | float |
| Description: | Lower bound of the radial range. |
| Type: | float |
| Description: | Upper bound of the radial range. |
| Type: | salvus._core.types.int_ | npt.NDArray |
| Description: | Number of elements in radial direction. |
npt.NDArray)-Array of grid points to be projected onto the spherical chunk in the
radial dimension.class RadialGrid(builtins.object):
def __init__(self, grid_points: npt.NDArray) -> None: ...| Type: | npt.NDArray |
| Description: | Array of grid points to be projected onto the spherical chunk in the radial dimension. |
float)-Upper bound of the radial range.float)-Lower bound of the radial range.salvus._core.types.int_)-Number of elements in radial direction.class SphericalChunkDimensions(builtins.object):
def __init__(
self,
radial_grid: RadialGrid | EquidistantRadialGrid,
chunk_dim_1: EquiAzimuthalGrid,
chunk_dim_2: EquiAzimuthalGrid | None = None,
) -> None: ...| Type: | RadialGrid | EquidistantRadialGrid |
| Description: | Discretization of the spherical chunk in radial direction. |
| Type: | EquiAzimuthalGrid |
| Description: | Discretization of the spherical chunk in the first azimuthal dimension. |
| Type: | EquiAzimuthalGrid | None |
| Default value: | None |
| Description: | Discretization of the spherical chunk in the second azimuthal dimension. |
class SphericalChunkGrid(builtins.object):
def __init__(
self,
grid_points_radius: npt.NDArray,
min_radius_in_meters: float = 0.5,
max_radius_in_meters: float = 1.0,
chunk_dim_1: AzimuthalGrid,
chunk_dim_2: AzimuthalGrid,
) -> None: ...| Type: | npt.NDArray |
| Description: | Array of grid points to be projected onto the spherical chunk in the radial dimension. |
| Type: | float |
| Default value: | 0.5 |
| Description: | Lower bound of the radial range. Defaults to 0.5 if not provided. |
| Type: | float |
| Default value: | 1.0 |
| Description: | Upper bound of the radial range. Defaults to 1.0 if not provided. |
| Type: | AzimuthalGrid |
| Description: | Discretization of the spherical chunk in the first azimuthal dimension. |
| Type: | AzimuthalGrid |
| Description: | Discretization of the spherical chunk in the second azimuthal dimension. |
def get_radial_grid_points(self) -> npt.NDArray: ...def get_shape(self) -> tuple: ...