isofit.utils.surface_model

Functions

next_diag_val(C, starting_index, direction)

surface_model(→ None)

The surface model tool contains everything you need to build basic

cli(**kwargs)

Build a new surface model to a block of data

Module Contents

next_diag_val(C: numpy.ndarray, starting_index, direction)[source]
surface_model(config_path: str, wavelength_path: str = None, output_path: str = None, seed: int = 13, multisurface: bool = False) None[source]

The surface model tool contains everything you need to build basic multicomponent (i.e. colleciton of Gaussian) surface priors for the multicomponent surface model.

Parameters:
  • config_path – path to a JSON formatted surface model configuration

  • wavelength_path – optional path to a three-column wavelength file, overriding the configuration file settings

  • output_path – optional path to the destination .mat file, overriding the configuration file settings

  • seed – seed used for clustering

Returns:

None

cli(**kwargs)[source]

Build a new surface model to a block of data