isofit.configs.sections.inversion_config
- class InversionConfig(sub_configdic=None)[source]
Bases:
BaseConfigSection
Inversion configuration.
- cressie_map_confidence
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:
- mcmc
MCMC parameters, only used if mode = mcmc.
- integration_grid
Grid of inversion points to execute if mode=’grid’. Either fixed, or starting points, depending on self.fixed_inversion_grid
- priors_in_initial_guess
Boolean to inidicate the use of surface priors outside of the inversion windows during the intial guess.
- inversion_grid_as_preseed
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
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=None)[source]
Bases:
BaseConfigSection
MCMC inversion configuration.
- class LeastSquaresConfig(sub_configdic=None)[source]
Bases:
BaseConfigSection
Least squares config parameters.
- max_nfev
Maximum number of function evaluations before the termination. If None (default), the value is chosen automatically. Default 20.
- Type:
- xtol
Tolerance for termination by the change of the independent variables. Default is None, which disables termination from this criteria.
- Type:
- gtol
Tolerance for termination by the norm of the gradient. Default is None, which disables termination from this criteria.
- Type: