mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2026-10-10 00:38:05 +01:00
FitInterface (new): covariance matrix interface & layout
This commit is contained in:
1 parent
624fb36957
commit
a4b1584645
3 files changed
+261
-9
No files matched your search
+8
-7
@@ -21,14 +21,15 @@ int main(void)
|
||||
f.registerDataPoint(f.dataIndex(1,1,1), 1);
|
||||
f.registerDataPoint(f.dataIndex(2,2,3), 1);
|
||||
f.fitPoint(false, f.dataIndex(1,1,1), 1);
|
||||
f.assumeXXCorrelated(true, 0, 0, 0, 1);
|
||||
f.assumeXXCorrelated(true, 1, 1, 0, 1);
|
||||
f.assumeXXCorrelated(true, 2, 2, 0, 1);
|
||||
f.assumeYYCorrelated(true, 0, 0, f.dataIndex(0,0,0), f.dataIndex(1,1,1));
|
||||
f.assumeYYCorrelated(true, 1, 1, f.dataIndex(0,0,0), f.dataIndex(2,2,3));
|
||||
f.assumeXYCorrelated(true, 0, 0, 0, f.dataIndex(1,1,1));
|
||||
cout << f << endl;
|
||||
DEBUG_VAR(f.getYFitSize());
|
||||
DEBUG_VAR(f.getYFitSize(0));
|
||||
DEBUG_VAR(f.getYFitSize(1));
|
||||
DEBUG_VAR(f.getXFitSize());
|
||||
DEBUG_VAR(f.getXFitSize(0));
|
||||
DEBUG_VAR(f.getXFitSize(1));
|
||||
DEBUG_VAR(f.getXFitSize(2));
|
||||
f.updateLayout();
|
||||
DEBUG_MAT(f.makeCorrFilter());
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in new issue
Block a user