phoebe_fitting

phoebe_fitting

Synopsis

#define             wd_dc                               (atmtab,pltab,l3perc,knobs,indeps,fluxes,weights,corrs,errors,chi2s,cormat,cfval)
double              phoebe_chi2_cost_function           (PHOEBE_vector *adjpars,
                                                         PHOEBE_nms_parameters *params);
int                 phoebe_minimize_using_dc            (FILE *dc_output,
                                                         PHOEBE_minimizer_feedback *feedback);
int                 phoebe_minimize_using_nms           (FILE *nms_output,
                                                         PHOEBE_minimizer_feedback *feedback);

Description

Details

wd_dc()

#define wd_dc(atmtab,pltab,l3perc,knobs,indeps,fluxes,weights,corrs,errors,chi2s,cormat,cfval) dc_(atmtab,pltab,l3perc,knobs,indeps,fluxes,weights,corrs,errors,chi2s,cormat,cfval,strlen(atmtab),strlen(pltab))

atmtab :

pltab :

l3perc :

knobs :

indeps :

fluxes :

weights :

corrs :

errors :

chi2s :

cormat :

cfval :


phoebe_chi2_cost_function ()

double              phoebe_chi2_cost_function           (PHOEBE_vector *adjpars,
                                                         PHOEBE_nms_parameters *params);

adjpars :

params :

Returns :


phoebe_minimize_using_dc ()

int                 phoebe_minimize_using_dc            (FILE *dc_output,
                                                         PHOEBE_minimizer_feedback *feedback);

Emloys WD's DC to compute the corrections to parameters marked for adjustment. Note that this function does not compute the resulting model, it only predicts the corrections to parameter values. DC is known to diverge if the starting point in the parameter space is too far from observations.

dc_output :

output file descriptor (where DC output goes to)

feedback :

a placeholder for the minimization result

Returns :

PHOEBE_error_code.

phoebe_minimize_using_nms ()

int                 phoebe_minimize_using_nms           (FILE *nms_output,
                                                         PHOEBE_minimizer_feedback *feedback);

nms_output :

feedback :

Returns :