Required
name| Type: | str |
| Description: | Processing configuration name. |
class BasicBandpassProcessingConfiguration(
salvus.project.configuration.processing.seismology.SeismologyProcessingConfiguration
):
def __init__(
self,
name: str,
data_source_name: str,
bandpass_minimum_frequency: float,
bandpass_maximum_frequency: float,
bandpass_filter_corners: int = 0,
highpass_filter_corners: int = 4,
lowpass_filter_corners: int = 4,
taper_percentage: float = 0.05,
zerophase: bool = False,
): ...| Type: | str |
| Description: | Processing configuration name. |
| Type: | str |
| Description: | Name of the data source. |
| Type: | float |
| Description: | Minimum frequency of the bandpass filter. |
| Type: | float |
| Description: | Maximum frequency of the bandpass filter. |
| Type: | int |
| Default value: | 0 |
| Description: | Corners of the bandpass filter. |
| Type: | int |
| Default value: | 4 |
| Description: | Corners of the highass filter. |
| Type: | int |
| Default value: | 4 |
| Description: | Corners of the lowpass filter. |
| Type: | float |
| Default value: | 0.05 |
| Description: | Taper percentage. |
| Type: | bool |
| Default value: | False |
| Description: | Zerophase. |
def from_json(d: builtins.dict) -> Any: ...| Type: | builtins.dict |
| Description: | Dictionary containing its init parameters and a few other things. |
def to_json(
self,
external_file_hash: str | None = None,
timer: Timer | None = None,
log_to_logger: bool = False,
comm: int | None = None,
) -> dict: ...| Type: | str | None |
| Default value: | None |
| Description: | Hash of any external files associated with this object. Can be passed here in which case it will be stored in a centralized location in the JSON file. |
| Type: | Timer | None |
| Default value: | None |
| Description: | Execution timer. |
| Type: | bool |
| Default value: | False |
| Description: | Log timings to the logger. |
| Type: | int | None |
| Default value: | None |
| Description: | MPI communicator, if any. |
class BasicBandpassRemoveResponseProcessingConfiguration(
salvus.project.configuration.processing.seismology.SeismologyProcessingConfiguration
):
def __init__(
self,
name: str,
data_source_name: str,
bandpass_minimum_frequency: float,
bandpass_maximum_frequency: float,
units: str,
bandpass_filter_corners: int = 0,
highpass_filter_corners: int = 0,
lowpass_filter_corners: int = 0,
pre_filter: tuple[float, float, float, float],
water_level: int = 200,
taper_percentage: float = 0.05,
zerophase: bool = False,
): ...| Type: | str |
| Description: | Processing configuration name. |
| Type: | str |
| Description: | Name of the data source. |
| Type: | float |
| Description: | Minimum frequency of the bandpass filter. |
| Type: | float |
| Description: | Maximum frequency of the bandpass filter. |
| Type: | str |
| Description: | Desired output units. |
| Type: | int |
| Default value: | 0 |
| Description: | Corners of the bandpass filter. |
| Type: | int |
| Default value: | 0 |
| Description: | Corners of the highass filter. |
| Type: | int |
| Default value: | 0 |
| Description: | Corners of the lowpass filter. |
| Type: | tuple[float, float, float, float] |
| Description: | Pre-filter settings. |
| Type: | int |
| Default value: | 200 |
| Description: | Water level in dB. |
| Type: | float |
| Default value: | 0.05 |
| Description: | Taper percentage. |
| Type: | bool |
| Default value: | False |
| Description: | Zerophase. |
def from_json(d: builtins.dict) -> Any: ...| Type: | builtins.dict |
| Description: | Dictionary containing its init parameters and a few other things. |
def to_json(
self,
external_file_hash: str | None = None,
timer: Timer | None = None,
log_to_logger: bool = False,
comm: int | None = None,
) -> dict: ...| Type: | str | None |
| Default value: | None |
| Description: | Hash of any external files associated with this object. Can be passed here in which case it will be stored in a centralized location in the JSON file. |
| Type: | Timer | None |
| Default value: | None |
| Description: | Execution timer. |
| Type: | bool |
| Default value: | False |
| Description: | Log timings to the logger. |
| Type: | int | None |
| Default value: | None |
| Description: | MPI communicator, if any. |
st: An obspy.Stream object with the data.receiver: The receiver object for the receiver.sources: All sources for the event.inv: An obspy.Inventory object for the station in case it is
stored in an ASDF file. Might be None.obspy.Stream object which
must contain exactly the same number of traces.class CustomSeismologyProcessingConfiguration(
salvus.project.configuration.processing.seismology.SeismologyProcessingConfiguration
):
def __init__(
self,
name: str,
data_source_name: str,
processing_function: str | typing.Callable,
): ...| Type: | str |
| Description: | Name of the processing configuration. |
| Type: | str |
| Description: | Name of the original data source. |
| Type: | str | typing.Callable |
| Description: | The actual function. |
def from_json(d: builtins.dict) -> Any: ...| Type: | builtins.dict |
| Description: | Dictionary containing its init parameters and a few other things. |
def to_json(
self,
external_file_hash: str | None = None,
timer: Timer | None = None,
log_to_logger: bool = False,
comm: int | None = None,
) -> dict: ...| Type: | str | None |
| Default value: | None |
| Description: | Hash of any external files associated with this object. Can be passed here in which case it will be stored in a centralized location in the JSON file. |
| Type: | Timer | None |
| Default value: | None |
| Description: | Execution timer. |
| Type: | bool |
| Default value: | False |
| Description: | Log timings to the logger. |
| Type: | int | None |
| Default value: | None |
| Description: | MPI communicator, if any. |
data_array: An xarray.DataArray object with the data.event: The corresponding event.st: An obspy.Stream object with the data.receiver: The receiver object for the receiver.sources: All sources for the event.inv: An obspy.Inventory object for the station in case it is
stored in an ASDF file. Might be None.xarray.DataArray or
obspy.Stream object which must contain exactly the same number
of traces.class SeismologyProcessingConfiguration(
salvus.project.configuration.processing.ProcessingConfiguration
):
def __init__(
self,
name: str,
data_source_name: str,
processing_function: str | typing.Callable,
): ...| Type: | str |
| Description: | Name of the processing configuration. |
| Type: | str |
| Description: | Name of the original data source. |
| Type: | str | typing.Callable |
| Description: | The actual function. |
def from_json(d: builtins.dict) -> Any: ...| Type: | builtins.dict |
| Description: | Dictionary containing its init parameters and a few other things. |
def to_json(
self,
external_file_hash: str | None = None,
timer: Timer | None = None,
log_to_logger: bool = False,
comm: int | None = None,
) -> dict: ...| Type: | str | None |
| Default value: | None |
| Description: | Hash of any external files associated with this object. Can be passed here in which case it will be stored in a centralized location in the JSON file. |
| Type: | Timer | None |
| Default value: | None |
| Description: | Execution timer. |
| Type: | bool |
| Default value: | False |
| Description: | Log timings to the logger. |
| Type: | int | None |
| Default value: | None |
| Description: | MPI communicator, if any. |