Commit 1474aba1 authored by Giorgio Calderone's avatar Giorgio Calderone
Browse files

Updated

parent c6bf1d99
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@ function multi_fit(source::QSO{TRecipe}; ref_id=1) where TRecipe <: q1927p654

    elapsed = time()
    mzer = GFit.cmpfit()
    mzer.config.ftol = mzer.config.gtol = mzer.config.xtol = 1.e-6
    mzer.config.ftol = 1.e-6
    mzer.config.maxiter = 1e6

    # Initialize components and guess initial values
    println(logio(source), "\nFit continuum components...")
+2 −1
Original line number Diff line number Diff line
function fit(source::QSO{TRecipe}; id=1) where TRecipe <: q1927p654
    elapsed = time()
    mzer = GFit.cmpfit()
    mzer.config.ftol = mzer.config.gtol = mzer.config.xtol = 1.e-6
    mzer.config.ftol = 1.e-6
    mzer.config.maxiter = 1e6

    # Initialize components and guess initial values
    println(logio(source), "\nFit continuum components...")