Mondaic

salvus.toolbox.ses3d

salvus.toolbox.ses3d salvus toolbox ses3d

SES3D utilities.

Functions

get_par_names()

def get_par_names(file: str) -> str: ...

Get the parameter name that a SES3D file is referring to.

Parameters
  • file str — Filename.
Returns str — Parameter name.

Classes

Ses3dModel

class 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
  • directory Path | str — Path to model and parameter files.
  • parameters list[Path] — A list of parameters to read.
Attributes
data xr.Dataset

The model’s data.