Required
project| Type: | Project |
| Description: | Project to be registered. |
class ValidationActionComponent(builtins.object):
def __init__(self, project: Project): ...| Type: | Project |
| Description: | Project to be registered. |
def validate_data_processing(
self,
data_name: str,
receiver_field: str,
events: (
str
| typing.Sequence[str]
| typing.Sequence[Event]
| EventCollection
| None
) = None,
time_axis: TimeAxis | None = None,
) -> None: ...| Type: | str |
| Description: | Name of the data to validate. |
| Type: | str |
| Description: | Receiver field to validate (e.g., "displacement"). |
| Type: | str | typing.Sequence[str] | typing.Sequence[Event] | EventCollection | None |
| Default value: | None |
| Description: | List of events to validate. If None, it will validate all events in the project. |
| Type: | TimeAxis | None |
| Default value: | None |
| Description: | Try to retrieve the data on a prescribed time axis. If no time axis is provided, the data is retrieved on its native time axis. |
def validate_model_gradients(
self,
simulation_configuration: str,
misfit_configuration: str,
wavefield_compression: WavefieldCompression,
events: str | list[str] | Event | list[Event] | EventCollection,
parameters: str | list[str],
h: list[salvus._core.types.float_],
site_name: str,
ranks_per_job: int,
wall_time_in_seconds_per_job: salvus._core.types.int_ | None = None,
sleep_interval: salvus._core.types.float_ = 1.0,
) -> dict: ...| Type: | str |
| Description: | Simulation configuration to test. |
| Type: | str |
| Description: | Misfit configuration to test. |
| Type: | WavefieldCompression |
| Description: | Wavefield compression settings. |
| Type: | str | list[str] | Event | list[Event] | EventCollection |
| Description: | Events to test. |
| Type: | str | list[str] |
| Description: | Model parameters to test. |
| Type: | list[salvus._core.types.float_] |
| Description: | An array of relative model perturbations. |
| Type: | str |
| Description: | Site on which to run the tests. |
| Type: | int |
| Description: | Number of ranks on which to run the tests. |
| Type: | salvus._core.types.int_ | None |
| Default value: | None |
| Description: | Wall time per test job. Defaults to None. |
| Type: | salvus._core.types.float_ |
| Default value: | 1.0 |
| Description: | Sleep interval between querying job status. Defaults to 1.0. |