isofit.configs.sections.inversion_config
Classes
Inversion configuration. |
|
MCMC inversion configuration. |
|
Least squares config parameters. |
Module Contents
- class InversionConfig(sub_configdic: dict = None)[source]
Bases:
isofit.configs.base_config.BaseConfigSectionInversion configuration.
- cressie_map_confidence = False[source]
N. Cressie [ASA 2018] suggests an alternate definition of S_hat for more statistically-consistent posterior confidence estimation, this flag runs in this mode
- Type:
- integration_grid[source]
Grid of inversion points to execute if mode=’grid’. Either fixed, or starting points, depending on self.fixed_inversion_grid
- priors_in_initial_guess = True[source]
Boolean to inidicate the use of surface priors outside of the inversion windows during the intial guess.
- inversion_grid_as_preseed = False[source]
Parameter indicating whether to treat the inversion grid as: (True) - a series of seeds for the optimization (variable by the optimization algorithm). (False) - a set of fixed points (not variable by the optimization algorithm)
- least_squares_params[source]
Least squares parameters for core inversion solve. See https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.least_squares.html for details.
- class McmcConfig(sub_configdic: dict = None)[source]
Bases:
isofit.configs.base_config.BaseConfigSectionMCMC inversion configuration.
- class LeastSquaresConfig(sub_configdic: dict = None)[source]
Bases:
isofit.configs.base_config.BaseConfigSectionLeast squares config parameters.
- max_nfev = 20[source]
Maximum number of function evaluations before the termination. If None (default), the value is chosen automatically. Default 20.
- Type:
- xtol = None[source]
Tolerance for termination by the change of the independent variables. Default is None, which disables termination from this criteria.
- Type:
- ftol = 0.01[source]
Tolerance for termination by the change of the cost function. Default is 0.01
- Type:
- gtol = None[source]
Tolerance for termination by the norm of the gradient. Default is None, which disables termination from this criteria.
- Type: