salvus.toolbox.ses3d
salvus.toolbox.ses3d salvus toolbox ses3d SES3D utilities.
Functions
get_par_names()
get_par_names()def get_par_names(file: str) -> str: ...Get the parameter name that a SES3D file is referring to.
Parameters
filestr — Filename.
Returns str — Parameter name.
Classes
Ses3dModel
Ses3dModelclass Ses3dModel(builtins.object):
def __init__(self, directory: Path | str, parameters: list[Path]): ...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.
Parameters
directoryPath | str — Path to model and parameter files.parameterslist[Path] — A list of parameters to read.
Attributes
data xr.Dataset
data xr.DatasetThe model’s data.