fit_data_subset_table#

View page source

The Model and Weighted Residuals Corresponding to a Fit#

Discussion#

The fit_data_subset table compares the model and data for the model_variables corresponding to a fit_command . A new fit_data_subset table is created each time the fit_command is executed.

fit_data_subset_id#

This column has type integer and is the primary key for this table. Its initial value is zero, and it increments by one for each row. The fit_data_subset_id column is also a foreign key for the data_subset_table ; i.e.,

data_subset_id = fit_data_subset_id

In addition, the size of both tables is the same.

avg_integrand#

This column type real and is the average integrand \(A_i(u, \theta)\). The model variables \((u, \theta)\) corresponding to the fit_var_table . The subscript \(i\) denotes the information in the data table for the data_id that corresponds to this data_subset_id .

weighted_residual#

The column has type real and contains the weighted_residuals that correspond to the model_variables obtained by the fit; see fit_var_value .

Example#

See the fit_command.py example and test.