new_fit: Create a new fit

Description Usage Arguments Value Examples

View source: R/FIT-fit_object.R

Description

This function creates a fit that can contain models.

Usage

1
2
3
4
new_fit(integration_range = c(-Inf, Inf), noise_height = 0,
  maxEvaluations = 10000, maxIterations = 1000,
  use_previous_as_guess = TRUE, brute_force = FALSE,
  brute_force_method = "short", brute_force_grid_size = 10)

Arguments

integration_range

The range over which to perform the integration c(min,max)

noise_height

Approximate magnitude of the noise in the spectrum (probably best as 0)

maxEvaluations

Max number of calls to model function

maxIterations

Max number of iterations during fitting

use_previous_as_guess

Uses the previous fit as a guess for the next fit (rather than initial guess)

brute_force

Attempt to brute force the starting parameters

brute_force_method

'short' or 'full'. Short only tries to fit using all of the models, full will also try every combination of models.

brute_force_grid_size

Number of parameters to try for every constraint during the brute force.

Value

A fit object

Examples

1

jmstrat/NMR.Utils documentation built on July 14, 2019, 11:35 p.m.