Required
lat_center| Type: | float |
| Description: | Latitude center of the receiver grid. |
class SideSetGridPoint3D(
salvus.flow.simple_config.receiver._ReceiverCollection
):
def __init__(
self,
lat_center: float,
lat_extent: float,
lon_center: float,
lon_extent: float,
fields: list[str],
n_lat: int,
n_lon: int,
depth_in_m: float = 0.0,
network_code: str = "XX",
station_code_pattern: str = "A{:04}",
location_code: str = "",
) -> None: ...| Type: | float |
| Description: | Latitude center of the receiver grid. |
| Type: | float |
| Description: | Latitude extent of the receiver grid. |
| Type: | float |
| Description: | Longitude center of the receiver grid. |
| Type: | float |
| Description: | Longitude extent of the receiver grid. |
| Type: | list[str] |
| Description: | Which fields to save for the receivers. |
| Type: | int |
| Description: | Number of receivers along the latitude side of the grid. |
| Type: | int |
| Description: | Number of receivers along the longitude side of the grid. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Depth of the receivers below Earth's surface. |
| Type: | str |
| Default value: | 'XX' |
| Description: | Station code for all the receivers. |
| Type: | str |
| Default value: | 'A{:04}' |
| Description: | Station code pattern. Will be called with str.format() and the receiver index as the sole argument. |
| Type: | str |
| Default value: | '' |
| Description: | Location code for all receivers. |
def to_list(self) -> list[_Base]: ...SideSetSphericalPoint3D, this collection returns
receivers which are equidistantly spaced in spherical coordinates.class SideSetSphericalGridPoint3D(
salvus.flow.simple_config.receiver._ReceiverCollection
):
def __init__(
self,
lat_center: float,
lat_extent: float,
lon_center: float,
lon_extent: float,
fields: list[str],
n_lat: int,
n_lon: int,
depth_in_m: float = 0.0,
network_code: str = "XX",
station_code_pattern: str = "A{:04}",
location_code: str = "",
use_side_set_receivers: bool = True,
) -> None: ...| Type: | float |
| Description: | Latitude center of the receiver grid. |
| Type: | float |
| Description: | Latitude extent of the receiver grid. |
| Type: | float |
| Description: | Longitude center of the receiver grid. |
| Type: | float |
| Description: | Longitude extent of the receiver grid. |
| Type: | list[str] |
| Description: | Which fields to save for the receivers. |
| Type: | int |
| Description: | Number of receivers along the latitude side of the grid. |
| Type: | int |
| Description: | Number of receivers along the longitude side of the grid. |
| Type: | float |
| Default value: | 0.0 |
| Description: | Depth of the receivers below Earth's surface. |
| Type: | str |
| Default value: | 'XX' |
| Description: | Station code for all the receivers. |
| Type: | str |
| Default value: | 'A{:04}' |
| Description: | Station code pattern. Will be called with str.format() and the receiver index as the sole argument. |
| Type: | str |
| Default value: | '' |
| Description: | Location code for all receivers. |
| Type: | bool |
| Default value: | True |
| Description: | In certain cases it is advantageous to specify receivers in absolute lat/lon/rad, rather than a relative depth below the mesh surface. Setting this parameter to False allows this method of operation. |
def to_list(self) -> list[_Base]: ...class SpherePoint3D(salvus.flow.simple_config.receiver._ReceiverCollection):
def __init__(
self,
x: float,
y: float,
z: float,
radius: float,
count: int,
fields: list[str],
network_code: str = "XX",
station_code_pattern: str = "A{:04}",
location_code: str = "",
) -> None: ...| Type: | float |
| Description: | x-coordinate of the center. |
| Type: | float |
| Description: | y-coordinate of the center. |
| Type: | float |
| Description: | z-coordinate of the center. |
| Type: | float |
| Description: | Radius of the sphere. |
| Type: | int |
| Description: | Number or receivers to create. |
| Type: | list[str] |
| Description: | Which fields to save for the receivers. |
| Type: | str |
| Default value: | 'XX' |
| Description: | Station code for all the receivers. |
| Type: | str |
| Default value: | 'A{:04}' |
| Description: | Station code pattern. Will be called with str.format() and the receiver index as the sole argument. |
| Type: | str |
| Default value: | '' |
| Description: | Location code for all receivers. |
def to_list(self) -> list[_Base]: ...