Mondaic
This API reference is not for the latest stable Salvus version.

salvus.flow.simple_config.receiver

Receivers in various reference systems and dimensions.

Functions

from_dictionary()

def from_dictionary(
    d: Dict,
) -> salvus.flow.simple_config.receiver._BaseReceiver:
    ...

Create a receiver object from its dictionary representation.

Please note that this does not necessarily result in exactly the same object as some object do some transformations (e.g. the seismology receivers). If you need to round-trip to disc with the exact same objects, please use the .to_json() and .from_json() methods.

Parameters
  • d Dict — Dictionary.
Returns salvus.flow.simple_config.receiver._BaseReceiver

Submodules