Version:

salvus.toolbox.ses3d

salvus.toolbox.ses3d salvus toolbox ses3d
SES3D utilities.

Functions

get_par_names()

Get the parameter name that a SES3D file is referring to.
SIGNATURE
def get_par_names(file: str) -> str: ...
ARGUMENTS
Required
file
Type:str
Description:
Filename.
RETURNS
Return type: str
Parameter name.

Classes

Ses3dModel

A class to handle instances of SES3D models.
Read and store a SES3D model in spherical coordinates. Models and parameters will be automatically detected given a base directory.
SIGNATURE
class Ses3dModel(builtins.object):
    def __init__(self, directory: Path | str, parameters: list[Path]): ...
ARGUMENTS
Required
directory
Type:Path | str
Description:
Path to model and parameter files.
Required
parameters
Type:list[Path]
Description:
A list of parameters to read.

Properties

  • data(xr.Dataset)-The model's data.
PAGE CONTENTS