From 5dee3c685aba3e8306357b14f6737652af7c79cd Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 3 Dec 2026 12:05:51 +0100 Subject: [PATCH] tests/fixtures/spectre_truth.json, test_reference.py, docs/reference.md: the rendered roof's accuracy read from takes searched off the answer (72, six families of seed), stated as what holds: worst corner within 1.18 x the worst traced point x the coarser view's pixel, the test at 1.42; the rms-noise bound dropped; START pinned between a plate that blocks (0.831, 16.5 degrees) and one refused (1.241, 11 degrees) and its comment corrected; FAIR's table with its refused draws (cut trace-block, Soul s2) bound-premise-seeded-by-truth: the fixture keeps the truth-seeded strokes for the fairness readings and says what they are; takes are the same search from a seed moved 0.5 to 1.5 px as one or 1 to 3 px a vertex. 62 of 72 block, no family stands out of the bound: the draws Soul's probe read at 3.5 to 6.5 had grown a side, and the probe read the vertex after a grown side's inner point as the next corner; by the crown's chains they stand at 0.40 to 0.75 (135 blocked draws of his 168: 1.19 at most). start-unpinned-and-comment-stale: START 0.6 and 0.8 refuse the 16.5 degree plate, 2.0, 2.6 and 3.3 block the 11. fair-table-drops-refusals: 19 to 27 of 168 refused, rising with FAIR; Soul's seeds named. Co-Authored-By: Claude Fable 5.2 --- surfaces/blender/brokkr_reference/core.py | 2 +- surfaces/blender/docs/reference.md | 76 +++++++---- .../blender/tests/fixtures/spectre_truth.json | 2 +- surfaces/blender/tests/test_reference.py | 118 +++++++++++------- 4 files changed, 130 insertions(+), 68 deletions(-) diff --git a/surfaces/blender/brokkr_reference/core.py b/surfaces/blender/brokkr_reference/core.py index f34c73d..18af047 100644 --- a/surfaces/blender/brokkr_reference/core.py +++ b/surfaces/blender/brokkr_reference/core.py @@ -748,7 +748,7 @@ def fit_sheet(document, cage, frame, traces, cams, share=0.1, tol=TOL): FAIR = 0.2 # a side's second differences of this share of its chord cost what one pixel of miss does (0.02 held a bowed side straight; docs/reference.md) K_MAX = 6 # points a side grows to before its trace is refused as fit_runs refuses it SQUARE = 0.4 # the cosine between a plane's normal and a sight line under which a trace is not lifted onto it: past 66 degrees the lift stretches over 2.5 times -START = 1.0 # a corner's views start it where one pixel moves their meeting point less than this x share x the plate's extent, the prior's own scale: past it the views alone hold the corner looser than the plane would (tests/test_reference.py BlockTests reads 0.50 at 19 degrees and 1.90 at 5, Paladin's lens and range) +START = 1.0 # a corner's views start it where one pixel moves their meeting point less than this x share x the plate's extent, the prior's own scale: past it the views alone hold the corner looser than the plane would. 1 is the prior's own unit, not a derived value: tests/test_reference.py BlockTests pins it between a plate that must block (its third corner starts at 0.831, views 16.5 degrees apart at Paladin's lens and range) and one that must be refused (1.241, 11 degrees) VIEWS = 0.2 # a prior_share under this: the views decide the point (fit_shell's line) FLARE, DROP, DOME = 0.05, 0.06, 0.017 # of the crown's extent (its two furthest points): a plate's skirt out from and back of its crown, and its centre's rise. A template's proportions, not readings: the crown is what is solved TRACE_KEYS = ("camera", "box", "frame", "from", "to", "side", "line") diff --git a/surfaces/blender/docs/reference.md b/surfaces/blender/docs/reference.md index eed579d..8fc71b9 100644 --- a/surfaces/blender/docs/reference.md +++ b/surfaces/blender/docs/reference.md @@ -294,9 +294,13 @@ Where a corner's depth comes from, in this order: - **the views**, where two or more see it and one pixel moves the point their sight lines meet at less than `share` x the plate's extent, the prior's own scale. Past that the views alone hold the corner looser than the - plane would and are not used as its start. The line is metres a pixel, so it moves with lens and range: a - 1.2 m plate 17.6 m off at 663 px reads 0.74 of the scale at 19 degrees and 2.77 at 5, where its corners landed - 0.25 to 1.5 m off; through a lens three times as long it reads 0.66 at 7 degrees and blocks. + plane would and are not used as its start. That factor of 1 is the prior's own unit, not a derived value; the + tests pin it between a plate that blocks and one that is refused. The line is metres a pixel, so it moves + with lens and range: a 1.2 m plate 17.6 m off at 663 px has three corners started at 0.72 of the scale with + its views 19 degrees apart, 0.83 at 16.5, 1.24 at 11 and 2.73 at 5. With no plane given it blocks down to + 16.5 degrees (73 mm from the truth) and is refused at 11, where it would have stood 104 mm off: the line + switches blocking and refusal, it is no cliff in accuracy. At 5 degrees its corners landed 0.25 to 1.5 m off; + through a lens three times as long it starts at 0.65 at 7 degrees and blocks. - **the mirror plane**, for a seam corner whose sight line crosses x = 0 at 24 degrees or more. - **a plane**, for the rest: `plane` (`x,y,z; nx,ny,nz`, a point and the normal, in the frame), or with none given the plane through the corners the views and the seam decide, three or more. A corner one view sees is lifted @@ -342,36 +346,62 @@ from the others (name it in `seam`, or trace it where the views agree), a side n sheet the cage's parser does not take, and a result that could pass the 16000 characters a receipt carries. Measured against a known truth (`tests/test_reference.py` BlockTests, Python 3.13 on Starfire; -`tests/fixtures/spectre_truth.json`). SPECTRE's pass-3 roof, a hard mirrored cage of 11 vertices, was built by -`brokkr_kitbash.shell`, rendered in Blender 5.3 through SPECTRE's two solved cameras at the sheet's pixel size, -and its edges traced off the renders: the ridge in the side view, the lip, outer edge and rear edge in the -hero's mirrored half and the side view, 62 degrees apart. The side view's pixel is 27.6 mm across at the plate. +`tests/fixtures/spectre_truth.json`), on one plate through one pair of views. SPECTRE's pass-3 roof, a hard +mirrored cage of 11 vertices, was built by `brokkr_kitbash.shell` and rendered in Blender 5.3 through SPECTRE's +two solved cameras at the sheet's pixel size. Its edges were traced off the renders: the ridge in the side +view, the lip, outer edge and rear edge in the hero's mirrored half and the side view, 62 degrees apart. The +side view's pixel is 27.6 mm across at the plate. -| traces | worst corner from the truth | -| --- | --- | -| as taken off the renders (up to 2.5 px from the truth's projection) | 39 mm | -| every point 1 px off, 12 draws | 69 mm median, 96 mm at most | -| every point 2 px off, 12 draws | 125 mm median, 190 mm at most | +How the traces were taken. No hand drew them. A search follows a seed polyline, takes the strongest brightness +step within a window across each edge, lays a straight stroke through the steps found on each segment, and ends +each stroke where it crosses its neighbours. The seed is the truth's projection moved off the answer, twelve +draws a family: the whole seed by 0.5, 1 or 1.5 px in a drawn direction (a 2.5 px window), or each of its +vertices by a normal draw of 1 or 2 px (3.5 px) or 3 px (6 px). The takes' points end up 2.1 to 30.7 px from the +truth's projection, 6.8 at the median: two strokes that run nearly along each other cross far from the corner. +Every corner is named. -With every corner named, the worst corner of a blocked plate stood within 3.5 x the noise x the coarser view's -pixel, on a floor of 1.4 of that pixel from the render itself. That is one plate through one pair of views, not -a law. It is not a multiple of `m_per_px`: the same readings are 4.6 to 7.5 x noise x a view-decided corner's -`m_per_px`, and a seam corner 98 mm off reports 0.0008 m a pixel, because `m_per_px` is depth along the sight -line and most of this error lies across it. With only four corners named, the roof's ridge and outer edge are -one side each and are built as smooth runs through their hard knees: explained within `tol`, 196 mm from the -true edges (5.2 px is 144 mm there). Name a hard corner as a corner. +| seed | window | blocked of 12 | worst traced point, px: median, most | worst corner, mm: median, most | worst corner over worst point x 27.6 mm, at most | +| --- | --- | --- | --- | --- | --- | +| moved 0.5 px as one | 2.5 px | 12 | 6.5, 30.7 | 173, 929 | 1.12 | +| moved 1 px as one | 2.5 px | 12 | 7.1, 30.4 | 225, 916 | 1.16 | +| moved 1.5 px as one | 2.5 px | 11 | 6.6, 16.5 | 148, 450 | 1.18 | +| each vertex 1 px | 3.5 px | 10 | 4.8, 15.9 | 79, 458 | 1.04 | +| each vertex 2 px | 3.5 px | 10 | 5.3, 17.6 | 131, 342 | 1.06 | +| each vertex 3 px | 6 px | 7 | 10.2, 20.1 | 215, 436 | 1.11 | + +What holds: the worst corner of a blocked plate stood within about 1.2 x the furthest any traced point stood +from the truth's projection x the coarser view's pixel (1.18 over the 62 that blocked, which the test holds to +1.42). No family stands out of it, and the three draws that grew a side read 0.51, 0.75 and 1.08. It is a +reading on one plate and one pair of views, not a law, and it says a plate is as good as its worst traced +point: one stroke end 30 px off puts a corner 0.9 m off, and nothing in the report says so, because that trace +is explained. The ten not blocked were refused, nine at a side not explained at six points and one at the +cage's parser. No bound is given in the traces' rms: against it the same readings run 0.57 to 5.3. The same +search seeded on the truth's projection itself, with a 2.5 px window, reads 39 mm; that is the window ending +every stroke within 2.5 px of the answer, and it is not an accuracy. + +The error is not a multiple of `m_per_px` either: a seam corner 98 mm off reports 0.0008 m a pixel, because +`m_per_px` is depth along the sight line and most of this error lies across it. With only four corners named, +the roof's ridge and outer edge are one side each and are built as smooth runs through their hard knees: +explained within `tol`, 196 mm from the true edges (5.2 px is 144 mm there). Name a hard corner as a corner. Fairness, 0.2 x a side's chord, is set by known truth at traced noise. Over ten cells at 1 and 2 px (the rendered -roof with four corners named, with and without closing strokes moved 3 px, and a bowed pentagon at 60 and 30 -degrees and in one view), the mean of the cells' 90th percentiles and the worst draw, in mm: +roof with four corners named, its strokes those of the search seeded on the truth with the noise added, with +and without closing strokes moved 3 px, and a bowed pentagon at 60 and 30 degrees and in one view), 168 draws: +the mean of the cells' 90th percentiles and the worst draw, in mm, over the draws that blocked, and the draws +refused, which no percentile counts: | FAIR | 0.1 | 0.15 | 0.2 | 0.25 | 0.3 | 0.4 | 0.5 | 1 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | mean 90th percentile | 194 | 184 | 178 | 178 | 179 | 186 | 193 | 196 | | worst draw | 301 | 275 | 273 | 272 | 312 | 382 | 494 | 577 | +| refused of 168 | 19 | 20 | 23 | 24 | 24 | 25 | 26 | 27 | -From exact traces weaker fairness is nearer the truth (a pentagon bowed 35% of its sides: 42 mm at 0.2, 16 at -0.5, 12 with none). +A higher FAIR, which is weaker fairness, refuses more draws, so each column's percentiles are +over a different set. On other seeds (Soul's probe, verdict cut-trace-block.s2, FAIR 0.1, 0.2, 0.3, 0.5) the +mean 90th percentile read 216, 188, 216, 250, the worst draw 542, 855, 679, 807 and the refused 18, 21, 26, +27: 0.2 is lowest by the 90th percentile on both sets of seeds and not by the worst draw on the second. From +exact traces weaker fairness is nearer the truth (a pentagon bowed 35% of its sides: 42 mm at 0.2, 16 at 0.5, +12 with none). Agreement with other fits, which is not accuracy. SPECTRE's second-pass roof from its hand traces: the ridge 7.3 mm at most and the brow a median of 8.4 mm from the cage `fit_shell` had fitted to the same pixels; with diff --git a/surfaces/blender/tests/fixtures/spectre_truth.json b/surfaces/blender/tests/fixtures/spectre_truth.json index 1597893..dcd97e4 100644 --- a/surfaces/blender/tests/fixtures/spectre_truth.json +++ b/surfaces/blender/tests/fixtures/spectre_truth.json @@ -1 +1 @@ -{"note":"SPECTRE's roof (spectre_cages.roof at nibu/fable-spectre-3 14d834c: a hard mirrored cage of 11 vertices) built by brokkr_kitbash.shell at one level with the hull's jaw, flank and cheeks (thickness 0.1, bevel 0.016), rendered by Blender 5.3's Workbench through spectre_skel.cameras() at the sheet's own pixel size (hero 756 x 706, side 264 x 348), the hull posed per view by frames. truth is the cage: Blender built each of its vertices within built_off_m of it (the bevel). strokes are the roof's edges traced from the two renders, not projected: along each edge the drawn edge is the strongest brightness step within 2.5 px across it, a straight stroke is laid through the steps found on each segment, and strokes meet where they cross. drawn is the least share of a segment's length where a step was found, off_projection_px how far the stroke's points stand from the truth's projection. The ridge is traced in the side view only: the hero draws no step along it (its two facets shade alike). closing marks the strokes an agent closes the outline with (the rear edge, and the lip in the side view, half drawn).","cameras":{"hero":{"C":[-9.721115556958573,18.859090658741355,5.242272804029844],"R":[[-0.862189601405842,-0.5065857195259607,0.0],[0.034125232508362004,-0.05807984607580026,0.9977285201827507],[-0.5054350202883507,0.8602311551276064,0.06736319480204615]],"f":1785.0,"c":[378.0,353.0]},"side":{"C":[60.84416742645475,1.422308134553987,3.13474760877321],"R":[[3.061616997868383e-16,1.0,0.0],[0.011634411213376642,-3.5620111131064444e-18,0.9999323179474289],[0.9999323179474289,-3.0614097813457806e-16,-0.011634411213376642]],"f":2200.0,"c":[892.0,532.0]}},"frames":{"hero":[[1.0,0.0,0.0,0.0],[0.0,0.9986295347545738,0.052335956242943835,-0.2773805680876023],[0.0,-0.052335956242943835,0.9986295347545738,0.007263465800758873],[0.0,0.0,0.0,1.0]],"side":[[1.0,0.0,0.0,0.0],[0.0,1.0,0.0,0.0],[0.0,-0.0,1.0,0.0],[0.0,0.0,0.0,1.0]]},"plates":{"roof":{"loop":["ridge_rear","r4","r3","r2","r1","nose","a","b","c","d","e"],"seam":["ridge_rear","r4","r3","r2","r1","nose"],"truth":{"nose":[0.0,3.33,6.34],"r1":[0.0,2.82,6.735],"r2":[0.0,1.76,7.05],"r3":[0.0,1.0,7.5],"r4":[0.0,-0.8,7.8],"ridge_rear":[0.0,-1.9,7.95],"a":[0.77,2.57,6.475],"b":[0.6,1.9,6.83],"c":[0.69,1.0,7.34],"d":[0.64,-0.8,7.65],"e":[0.62,-1.9,7.8]},"built_off_m":0.0151,"strokes":[{"view":"side","side":1,"through":["ridge_rear","r4","r3","r2","r1","nose"],"line":[[772.01,383.39],[811.74,388.89],[876.96,399.88],[904.51,416.13],[941.84,427.31],[961.08,441.58]],"closing":false,"drawn":1.0,"off_projection_px":0.69},{"view":"hero","side":-1,"through":["nose","a"],"line":[[325.08,142.53],[427.02,126.4]],"closing":false,"drawn":1.0,"off_projection_px":0.86},{"view":"side","side":1,"through":["nose","a"],"line":[[961.51,439.35],[933.43,437.76]],"closing":true,"drawn":0.53,"off_projection_px":2.49},{"view":"hero","side":-1,"through":["a","b","c","d","e"],"line":[[426.46,125.71],[442.01,93.62],[487.59,47.65],[551.9,26.85],[587.64,18.75]],"closing":false,"drawn":0.71,"off_projection_px":0.98},{"view":"side","side":1,"through":["a","b","c","d","e"],"line":[[933.68,435.98],[908.72,424.05],[876.26,405.25],[810.61,394.34],[770.7,387.55]],"closing":false,"drawn":0.76,"off_projection_px":1.64},{"view":"hero","side":-1,"through":["e","ridge_rear"],"line":[[587.54,18.26],[541.95,9.26]],"closing":true,"drawn":1.0,"off_projection_px":0.09},{"view":"side","side":1,"through":["e","ridge_rear"],"line":[[769.96,387.04],[772.42,383.77]],"closing":true,"drawn":1.0,"off_projection_px":0.82}]}}} \ No newline at end of file +{"note":"SPECTRE's roof (spectre_cages.roof at nibu/fable-spectre-3 14d834c: a hard mirrored cage of 11 vertices) built by brokkr_kitbash.shell at one level with the hull's jaw, flank and cheeks (thickness 0.1, bevel 0.016), rendered by Blender 5.3's Workbench through spectre_skel.cameras() at the sheet's own pixel size (hero 756 x 706, side 264 x 348), the hull posed per view by frames. truth is the cage: Blender built each of its vertices within built_off_m of it (the bevel). One plate, one pair of views. A stroke is an edge of the roof traced from a render by a search, not projected: along a seed polyline the drawn edge is the strongest brightness step within reach px across it, a straight stroke is laid through the steps found on each segment, and strokes meet where they cross. Every seed here is made from the truth's projection, so no trace here is a hand's. takes are that search from a seed that is not on the answer, twelve draws a family (families): offset_px moves the whole seed that far in a drawn direction, jitter_px moves each seed vertex by a normal draw of that many px, reach_px is the window. A take's lines are its strokes in the order of strokes. How far a take's points stand from the truth's projection is not stored: read it from truth and cameras. The accuracy readings are taken from takes. strokes[].line is the same search seeded on the truth's projection itself with a 2.5 px window: every point stands within 2.5 px of the answer because the window ends there (off_projection_px), so it measures no accuracy; it is the base the fairness readings add noise to. drawn is the least share of a segment's length where a step was found. The ridge is traced in the side view only: the hero draws no step along it (its two facets shade alike). closing marks the strokes an agent closes the outline with (the rear edge, and the lip in the side view, half drawn).","cameras":{"hero":{"C":[-9.721115556958573,18.859090658741355,5.242272804029844],"R":[[-0.862189601405842,-0.5065857195259607,0.0],[0.034125232508362004,-0.05807984607580026,0.9977285201827507],[-0.5054350202883507,0.8602311551276064,0.06736319480204615]],"f":1785.0,"c":[378.0,353.0]},"side":{"C":[60.84416742645475,1.422308134553987,3.13474760877321],"R":[[3.061616997868383e-16,1.0,0.0],[0.011634411213376642,-3.5620111131064444e-18,0.9999323179474289],[0.9999323179474289,-3.0614097813457806e-16,-0.011634411213376642]],"f":2200.0,"c":[892.0,532.0]}},"frames":{"hero":[[1.0,0.0,0.0,0.0],[0.0,0.9986295347545738,0.052335956242943835,-0.2773805680876023],[0.0,-0.052335956242943835,0.9986295347545738,0.007263465800758873],[0.0,0.0,0.0,1.0]],"side":[[1.0,0.0,0.0,0.0],[0.0,1.0,0.0,0.0],[0.0,-0.0,1.0,0.0],[0.0,0.0,0.0,1.0]]},"plates":{"roof":{"loop":["ridge_rear","r4","r3","r2","r1","nose","a","b","c","d","e"],"seam":["ridge_rear","r4","r3","r2","r1","nose"],"truth":{"nose":[0.0,3.33,6.34],"r1":[0.0,2.82,6.735],"r2":[0.0,1.76,7.05],"r3":[0.0,1.0,7.5],"r4":[0.0,-0.8,7.8],"ridge_rear":[0.0,-1.9,7.95],"a":[0.77,2.57,6.475],"b":[0.6,1.9,6.83],"c":[0.69,1.0,7.34],"d":[0.64,-0.8,7.65],"e":[0.62,-1.9,7.8]},"built_off_m":0.0151,"strokes":[{"view":"side","side":1,"through":["ridge_rear","r4","r3","r2","r1","nose"],"line":[[772.01,383.39],[811.74,388.89],[876.96,399.88],[904.51,416.13],[941.84,427.31],[961.08,441.58]],"closing":false,"drawn":1.0,"off_projection_px":0.69},{"view":"hero","side":-1,"through":["nose","a"],"line":[[325.08,142.53],[427.02,126.4]],"closing":false,"drawn":1.0,"off_projection_px":0.86},{"view":"side","side":1,"through":["nose","a"],"line":[[961.51,439.35],[933.43,437.76]],"closing":true,"drawn":0.53,"off_projection_px":2.49},{"view":"hero","side":-1,"through":["a","b","c","d","e"],"line":[[426.46,125.71],[442.01,93.62],[487.59,47.65],[551.9,26.85],[587.64,18.75]],"closing":false,"drawn":0.71,"off_projection_px":0.98},{"view":"side","side":1,"through":["a","b","c","d","e"],"line":[[933.68,435.98],[908.72,424.05],[876.26,405.25],[810.61,394.34],[770.7,387.55]],"closing":false,"drawn":0.76,"off_projection_px":1.64},{"view":"hero","side":-1,"through":["e","ridge_rear"],"line":[[587.54,18.26],[541.95,9.26]],"closing":true,"drawn":1.0,"off_projection_px":0.09},{"view":"side","side":1,"through":["e","ridge_rear"],"line":[[769.96,387.04],[772.42,383.77]],"closing":true,"drawn":1.0,"off_projection_px":0.82}],"families":{"offset 0.5":{"offset_px":0.5,"jitter_px":0.0,"reach_px":2.5},"offset 1":{"offset_px":1.0,"jitter_px":0.0,"reach_px":2.5},"offset 1.5":{"offset_px":1.5,"jitter_px":0.0,"reach_px":2.5},"jitter 1":{"offset_px":0.0,"jitter_px":1.0,"reach_px":3.5},"jitter 2":{"offset_px":0.0,"jitter_px":2.0,"reach_px":3.5},"jitter 3":{"offset_px":0.0,"jitter_px":3.0,"reach_px":6.0}},"takes":[{"family":"offset 0.5","lines":[[[772.2,383.42],[811.92,388.9],[876.83,399.81],[904.5,416.12],[941.9,427.27],[961.01,441.57]],[[325.38,142.38],[427.34,126.41]],[[961.4,440.48],[933.67,437.39]],[[427.13,125.47],[441.7,94.0],[487.6,47.66],[552.26,26.84],[587.98,18.69]],[[933.75,435.9],[907.77,423.92],[886.76,406.74],[810.85,394.02],[770.76,388.61]],[[587.72,18.19],[542.1,9.36]],[[769.97,386.53],[772.44,383.26]]]},{"family":"offset 0.5","lines":[[[772.44,383.47],[812.17,388.91],[876.72,399.75],[904.86,416.32],[941.65,427.12],[961.25,441.79]],[[325.56,142.4],[427.51,126.37]],[[961.82,439.84],[933.81,437.93]],[[427.74,125.91],[442.92,92.86],[487.36,47.76],[552.41,26.85],[588.09,18.5]],[[934.12,435.85],[909.12,424.03],[846.1,400.04],[811.15,393.65],[771.07,388.12]],[[587.95,18.37],[542.38,9.29]],[[769.95,386.71],[772.42,383.44]]]},{"family":"offset 0.5","lines":[[[772.32,383.47],[812.07,388.87],[876.79,399.78],[904.63,416.24],[942.07,427.3],[961.38,441.96]],[[325.27,142.42],[427.22,126.4]],[[960.78,443.98],[934.02,436.83]],[[427.91,126.68],[443.16,92.38],[487.75,47.59],[552.04,26.8],[587.79,18.66]],[[934.41,435.5],[908.74,424.97],[876.48,405.41],[811.05,393.6],[771.07,387.23]],[[587.88,18.31],[542.29,9.34]],[[770.14,387.44],[771.99,383.96]]]},{"family":"offset 0.5","lines":[[[771.89,383.3],[811.61,388.91],[876.95,399.87],[904.42,416.1],[942.18,427.41],[961.12,441.73]],[[324.82,142.53],[426.77,126.48]],[[961.4,439.48],[933.35,437.72]],[[426.07,126.07],[442.1,93.47],[487.78,47.57],[551.62,27.02],[587.32,18.64]],[[933.81,435.81],[908.63,424.33],[876.73,405.49],[810.58,393.7],[770.64,387.08]],[[587.45,18.21],[541.85,9.28]],[[770.15,387.64],[772.01,384.16]]]},{"family":"offset 0.5","lines":[[[772.21,383.42],[811.93,388.9],[876.98,399.83],[904.42,416.1],[941.91,427.28],[961.02,441.57]],[[325.39,142.37],[427.35,126.43]],[[961.41,440.49],[933.68,437.39]],[[426.58,125.21],[441.98,93.74],[487.53,47.69],[552.27,26.85],[587.99,18.69]],[[933.76,435.91],[907.78,423.92],[886.77,406.75],[810.86,394.02],[770.77,388.62]],[[587.73,18.21],[542.12,9.34]],[[769.98,386.54],[772.45,383.27]]]},{"family":"offset 0.5","lines":[[[771.65,383.25],[811.36,388.87],[876.64,399.62],[904.14,415.98],[942.73,427.49],[960.43,441.62]],[[324.82,142.51],[426.77,126.49]],[[960.88,440.26],[933.14,437.24]],[[426.31,125.41],[442.09,93.58],[487.52,47.7],[551.72,27.03],[587.38,18.65]],[[932.92,436.43],[908.62,423.23],[876.42,405.26],[810.29,393.97],[770.2,388.47]],[[587.15,18.2],[541.58,9.14]],[[769.87,386.74],[772.33,383.47]]]},{"family":"offset 0.5","lines":[[[772.49,383.45],[812.22,388.9],[876.83,399.77],[904.9,416.37],[942.01,427.24],[961.3,441.88]],[[325.57,142.42],[427.52,126.36]],[[961.99,439.4],[933.83,438.1]],[[427.84,126.06],[443.72,92.04],[487.52,47.65],[552.38,26.76],[588.13,18.66]],[[934.21,435.86],[909.1,424.23],[865.97,403.51],[811.19,393.71],[771.19,387.54]],[[588.0,18.41],[542.43,9.29]],[[769.98,386.83],[772.44,383.56]]]},{"family":"offset 0.5","lines":[[[771.68,383.23],[811.38,388.85],[876.76,399.69],[903.91,415.88],[942.71,427.54],[960.46,441.6]],[[324.84,142.49],[426.8,126.51]],[[960.91,440.24],[933.16,437.22]],[[426.38,125.4],[442.02,93.67],[487.56,47.66],[551.75,27.01],[587.42,18.7]],[[932.95,436.41],[908.63,423.23],[876.12,405.13],[810.32,393.9],[770.22,388.5]],[[587.17,18.19],[541.59,9.18]],[[769.9,386.72],[772.36,383.45]]]},{"family":"offset 0.5","lines":[[[772.25,383.46],[811.98,388.92],[876.91,399.83],[904.47,416.14],[941.69,427.2],[961.08,441.58]],[[325.43,142.4],[427.39,126.39]],[[961.41,440.69],[933.75,437.32]],[[428.93,126.33],[440.99,94.8],[487.38,47.73],[552.32,26.89],[587.99,18.52]],[[933.56,436.42],[901.54,418.82],[886.96,406.9],[810.91,394.03],[770.82,388.56]],[[587.76,18.29],[542.17,9.3]],[[770.03,386.57],[772.49,383.3]]]},{"family":"offset 0.5","lines":[[[771.53,383.24],[811.24,388.84],[876.58,399.58],[904.17,416.02],[942.85,427.52],[960.44,441.65]],[[324.62,142.52],[426.58,126.51]],[[960.9,439.76],[932.95,437.6]],[[426.45,125.79],[441.79,93.8],[487.6,47.65],[551.53,27.17],[587.16,18.59]],[[932.88,436.46],[908.59,423.25],[875.88,405.1],[810.15,394.08],[770.1,388.35]],[[587.06,18.11],[541.47,9.15]],[[769.95,387.07],[772.41,383.8]]]},{"family":"offset 0.5","lines":[[[772.42,383.43],[812.16,388.89],[876.93,399.84],[904.27,416.12],[942.08,427.28],[961.16,441.84]],[[325.55,142.39],[427.5,126.39]],[[961.81,439.81],[933.8,437.89]],[[427.99,126.0],[443.14,92.61],[487.44,47.72],[552.39,26.8],[588.14,18.74]],[[934.1,435.81],[909.17,423.85],[846.58,400.19],[811.09,393.93],[771.07,387.95]],[[587.93,18.35],[542.35,9.31]],[[769.94,386.67],[772.4,383.4]]]},{"family":"offset 0.5","lines":[[[772.33,383.51],[812.08,388.88],[876.82,399.78],[904.64,416.23],[942.09,427.29],[961.32,442.05]],[[325.28,142.4],[427.24,126.39]],[[960.8,443.97],[934.04,436.82]],[[427.93,126.67],[443.15,92.44],[487.67,47.63],[552.06,26.82],[587.8,18.6]],[[934.42,435.49],[908.75,424.96],[876.43,405.39],[811.06,393.59],[771.09,387.21]],[[587.89,18.32],[542.3,9.33]],[[770.16,387.43],[772.01,383.95]]]},{"family":"offset 1","lines":[[[772.38,383.52],[812.11,388.89],[876.84,399.81],[904.83,416.31],[942.18,427.33],[960.91,441.6]],[[325.71,142.43],[427.64,126.27]],[[961.44,440.94],[933.91,436.99]],[[428.47,125.55],[441.32,94.29],[487.61,47.67],[552.65,26.96],[588.05,17.44]],[[933.56,436.34],[910.35,421.18],[883.52,404.14],[811.37,391.86],[771.25,386.44]],[[587.86,18.35],[542.28,9.3]],[[770.86,386.31],[772.71,382.84]]]},{"family":"offset 1","lines":[[[772.88,383.51],[812.61,388.99],[876.65,399.68],[904.32,416.04],[942.18,427.32],[961.32,442.13]],[[326.04,142.31],[427.99,126.28]],[[962.04,440.73],[934.48,436.94]],[[428.18,125.72],[444.66,90.92],[487.59,47.69],[552.89,26.74],[588.51,18.1]],[[934.37,436.1],[907.56,423.63],[893.73,408.05],[811.51,394.23],[771.43,388.8]],[[588.36,18.49],[542.8,9.39]],[[770.34,386.51],[772.19,383.03]]]},{"family":"offset 1","lines":[[[772.65,383.46],[812.39,388.94],[876.82,399.73],[904.34,416.05],[942.59,427.45],[961.6,442.44]],[[325.47,142.41],[427.42,126.35]],[[961.0,444.6],[934.13,437.91]],[[427.59,126.83],[445.86,89.66],[487.8,47.56],[552.21,26.89],[587.94,18.52]],[[934.72,435.82],[909.21,425.01],[876.03,405.2],[811.39,393.52],[771.33,387.7]],[[588.2,18.5],[542.65,9.31]],[[769.78,387.65],[772.25,384.38]]]},{"family":"offset 1","lines":[[[771.77,383.24],[811.49,388.88],[876.89,399.84],[904.68,416.21],[942.07,427.36],[961.19,441.87]],[[324.56,142.56],[426.51,126.49]],[[959.98,445.09],[933.45,436.97]],[[426.3,126.73],[441.67,94.0],[487.55,47.72],[551.34,27.15],[587.03,18.65]],[[933.85,435.82],[908.65,424.4],[876.74,405.47],[810.48,393.57],[770.52,386.97]],[[587.34,18.23],[541.76,9.21]],[[770.27,388.2],[770.89,384.31]]]},{"family":"offset 1","lines":[[[772.4,383.5],[812.13,388.9],[876.76,399.76],[904.85,416.33],[942.01,427.29],[960.92,441.62]],[[325.72,142.4],[427.66,126.28]],[[961.46,440.95],[933.93,437.01]],[[428.01,125.33],[442.44,93.14],[487.66,47.67],[552.66,26.92],[588.11,17.62]],[[933.58,436.35],[910.33,421.26],[883.76,404.19],[811.39,391.87],[771.26,386.46]],[[587.88,18.34],[542.3,9.3]],[[770.87,386.32],[772.73,382.85]]]},{"family":"offset 1","lines":[[[771.27,383.3],[811.0,388.69],[876.81,399.69],[904.09,415.97],[942.56,427.46],[960.12,441.21]],[[324.56,142.57],[426.51,126.52]],[[960.58,439.78],[932.8,436.92]],[[426.52,125.27],[441.98,93.72],[487.52,47.66],[551.5,27.03],[587.16,18.71]],[[932.95,435.37],[907.74,423.91],[875.71,405.13],[810.04,392.94],[770.09,386.54]],[[586.76,18.15],[541.19,9.06]],[[770.02,386.52],[772.49,383.25]]]},{"family":"offset 1","lines":[[[772.97,383.51],[812.69,389.02],[876.68,399.67],[904.44,416.06],[942.77,427.5],[961.42,442.31]],[[326.06,142.3],[428.01,126.29]],[[962.46,439.42],[934.42,437.65]],[[428.37,126.02],[444.86,90.74],[487.7,47.65],[552.88,26.74],[588.51,18.09]],[[934.28,436.62],[909.84,423.7],[865.62,403.38],[811.61,394.21],[771.51,388.82]],[[588.46,18.51],[542.9,9.39]],[[770.0,386.61],[772.47,383.35]]]},{"family":"offset 1","lines":[[[771.32,383.28],[811.04,388.72],[876.68,399.65],[904.47,416.1],[942.73,427.49],[960.11,441.26]],[[324.61,142.54],[426.56,126.51]],[[960.5,440.31],[932.82,436.99]],[[426.55,125.22],[442.02,93.68],[487.58,47.65],[551.59,27.15],[587.15,18.42]],[[932.67,435.98],[908.29,422.93],[846.42,400.1],[810.09,392.9],[770.14,386.5]],[[586.81,18.11],[541.22,9.13]],[[770.07,386.48],[772.54,383.21]]]},{"family":"offset 1","lines":[[[772.51,383.46],[812.23,388.91],[876.74,399.77],[904.73,416.26],[941.61,427.14],[961.08,441.58]],[[325.8,142.4],[427.74,126.26]],[[961.72,440.29],[933.92,437.49]],[[428.2,125.45],[442.54,93.09],[487.55,47.71],[552.68,26.71],[588.39,18.56]],[[933.79,436.17],[910.34,421.48],[884.05,404.29],[811.47,391.93],[771.35,386.52]],[[587.97,18.39],[542.4,9.31]],[[770.96,386.39],[772.82,382.91]]]},{"family":"offset 1","lines":[[[771.02,383.27],[810.76,388.68],[876.86,399.74],[904.4,416.13],[942.65,427.42],[960.08,441.36]],[[324.18,142.65],[426.12,126.55]],[[960.37,439.85],[932.44,437.61]],[[426.31,125.81],[441.98,93.65],[487.56,47.71],[551.09,27.16],[586.76,18.83]],[[933.06,435.03],[907.48,424.33],[876.4,405.34],[809.73,393.46],[769.76,387.12]],[[586.56,18.08],[540.99,9.0]],[[769.94,387.09],[772.41,383.82]]]},{"family":"offset 1","lines":[[[772.84,383.49],[812.57,388.93],[876.79,399.72],[904.29,416.07],[942.26,427.34],[961.29,442.06]],[[326.02,142.33],[427.97,126.29]],[[961.99,440.73],[934.44,436.9]],[[428.18,125.66],[444.73,90.87],[487.62,47.63],[552.91,26.88],[588.47,17.98]],[[934.34,436.02],[907.53,423.56],[893.85,408.15],[811.5,394.0],[771.41,388.62]],[[588.32,18.48],[542.75,9.4]],[[770.54,386.51],[772.39,383.04]]]},{"family":"offset 1","lines":[[[772.68,383.48],[812.42,388.91],[876.78,399.73],[904.17,415.97],[942.84,427.54],[961.58,442.49]],[[325.51,142.42],[427.45,126.36]],[[961.07,444.43],[934.13,438.01]],[[427.49,126.74],[446.69,88.83],[487.73,47.61],[552.24,26.89],[587.99,18.58]],[[934.77,435.77],[909.21,425.05],[875.82,405.12],[811.44,393.35],[771.35,387.83]],[[588.22,18.51],[542.67,9.34]],[[769.81,387.63],[772.28,384.36]]]},{"family":"offset 1.5","lines":[[[772.59,383.45],[812.3,388.9],[876.74,399.75],[904.64,416.2],[942.2,427.33],[960.82,441.61]],[[326.01,142.31],[427.96,126.27]],[[962.0,439.23],[933.97,437.4]],[[427.07,124.34],[441.96,93.73],[487.53,47.7],[552.97,26.75],[588.54,18.06]],[[933.73,436.07],[910.55,420.86],[883.11,403.6],[811.77,390.32],[771.8,383.78]],[[588.01,18.42],[542.45,9.3]],[[770.96,385.83],[773.42,382.56]]]},{"family":"offset 1.5","lines":[[[773.33,383.49],[813.03,389.11],[876.97,399.84],[904.66,416.2],[942.31,427.31],[961.51,442.32]],[[326.53,142.28],[428.47,126.17]],[[962.46,440.77],[934.8,437.37]],[[428.39,125.43],[447.02,88.59],[487.6,47.66],[553.35,26.52],[589.05,18.22]],[[934.53,436.54],[911.04,421.91],[889.4,407.36],[812.1,393.19],[772.14,386.78]],[[588.76,18.65],[543.23,9.4]],[[770.8,386.33],[772.66,382.86]]]},{"family":"offset 1.5","lines":[[[772.97,383.5],[812.71,389.0],[876.73,399.67],[904.28,416.09],[942.16,427.27],[962.07,442.61]],[[325.67,142.41],[427.61,126.31]],[[961.31,444.86],[934.5,437.91]],[[427.38,127.02],[454.3,81.22],[487.71,47.61],[552.35,26.85],[588.14,18.66]],[[935.06,436.12],[909.68,425.04],[875.86,405.06],[811.7,393.66],[771.61,388.05]],[[588.54,18.55],[542.98,9.4]],[[770.27,388.15],[770.9,384.26]]]},{"family":"offset 1.5","lines":[[[771.63,383.3],[811.37,388.86],[876.51,399.68],[904.66,416.18],[941.93,427.28],[961.35,441.87]],[[324.31,142.65],[426.24,126.48]],[[959.87,445.24],[933.24,437.5]],[[425.74,127.02],[442.09,93.56],[487.6,47.67],[551.05,27.26],[586.78,18.87]],[[933.87,435.86],[908.75,424.32],[876.43,405.31],[810.3,394.0],[770.17,388.62]],[[587.25,18.2],[541.66,9.21]],[[770.47,388.79],[770.48,384.7]]]},{"family":"offset 1.5","lines":[[[772.61,383.47],[812.33,388.92],[876.75,399.76],[904.85,416.33],[942.11,427.26],[960.85,441.63]],[[326.04,142.32],[427.99,126.26]],[[961.99,439.39],[934.01,437.36]],[[427.11,124.36],[441.9,93.83],[487.44,47.73],[552.99,26.75],[588.56,18.02]],[[933.76,436.09],[910.56,420.9],[883.16,403.62],[811.8,390.33],[771.83,383.8]],[[588.04,18.42],[542.48,9.31]],[[770.59,385.72],[773.67,382.66]]]},{"family":"offset 1.5","lines":[[[770.9,383.26],[810.62,388.7],[876.71,399.71],[904.73,416.23],[941.66,427.18],[959.91,440.69]],[[324.3,142.61],[426.25,126.53]],[[960.31,439.19],[932.23,437.57]],[[426.48,125.02],[442.21,93.48],[487.53,47.69],[551.31,27.12],[586.96,18.88]],[[932.22,435.78],[908.35,421.82],[875.6,402.76],[809.89,391.58],[769.77,386.16]],[[586.39,18.01],[540.81,9.0]],[[770.56,386.43],[772.41,382.95]]]},{"family":"offset 1.5","lines":[[[773.45,383.55],[813.16,389.14],[877.01,399.88],[904.47,416.16],[942.92,427.55],[961.64,442.62]],[[326.56,142.29],[428.5,126.17]],[[962.73,440.33],[934.88,437.75]],[[426.47,124.84],[445.79,93.32],[487.63,47.63],[553.33,26.48],[589.02,18.1]],[[934.76,436.61],[905.93,422.03],[891.61,407.68],[812.1,394.21],[772.01,388.73]],[[588.92,18.65],[543.38,9.42]],[[770.42,386.53],[772.27,383.06]]]},{"family":"offset 1.5","lines":[[[770.96,383.31],[810.7,388.65],[876.9,399.77],[904.54,416.19],[941.96,427.26],[959.9,440.75]],[[324.38,142.52],[426.34,126.56]],[[960.48,438.72],[932.22,437.88]],[[426.54,124.96],[442.16,93.59],[487.56,47.63],[551.44,27.32],[586.77,17.63]],[[932.25,435.81],[908.44,421.72],[875.67,402.7],[809.96,391.52],[769.84,386.1]],[[586.45,18.02],[540.87,8.99]],[[771.03,386.5],[772.27,382.82]]]},{"family":"offset 1.5","lines":[[[772.76,383.46],[812.48,388.91],[876.73,399.75],[904.85,416.32],[941.56,427.1],[961.09,441.59]],[[326.15,142.28],[428.11,126.27]],[[962.11,439.54],[934.17,437.34]],[[427.21,124.44],[441.83,93.91],[487.53,47.7],[553.11,26.79],[588.64,17.91]],[[933.85,436.26],[910.69,421.0],[878.05,400.54],[812.12,389.32],[771.96,383.9]],[[588.18,18.49],[542.63,9.32]],[[770.88,385.86],[773.35,382.6]]]},{"family":"offset 1.5","lines":[[[770.54,383.13],[810.25,388.72],[876.65,399.75],[904.84,416.23],[942.11,427.34],[959.96,440.76]],[[323.74,142.75],[425.66,126.57]],[[960.12,438.76],[931.82,438.03]],[[426.23,125.87],[441.87,93.85],[487.61,47.62],[550.67,27.23],[586.36,19.05]],[[932.24,435.55],[907.49,423.24],[876.19,405.23],[809.18,393.83],[769.09,388.4]],[[586.06,18.0],[540.49,8.96]],[[769.93,387.11],[772.4,383.85]]]},{"family":"offset 1.5","lines":[[[773.27,383.46],[812.97,389.09],[877.14,399.86],[904.47,416.16],[942.4,427.35],[961.41,442.28]],[[326.5,142.25],[428.45,126.21]],[[962.4,440.72],[934.75,437.28]],[[428.19,125.24],[446.87,88.77],[487.56,47.65],[553.32,26.48],[589.0,18.11]],[[934.58,436.23],[910.75,422.28],[884.29,404.35],[812.22,392.09],[772.1,386.67]],[[588.7,18.61],[543.15,9.42]],[[770.99,386.3],[772.85,382.83]]]},{"family":"offset 1.5","lines":[[[773.01,383.49],[812.75,389.03],[876.71,399.68],[904.43,416.13],[942.34,427.39],[962.07,442.64]],[[325.73,142.43],[427.66,126.27]],[[961.35,444.86],[934.48,438.14]],[[425.82,126.24],[463.98,71.46],[487.68,47.63],[552.4,26.8],[588.22,18.74]],[[935.05,436.2],[909.79,424.89],[876.13,405.22],[811.71,393.9],[771.74,387.46]],[[588.58,18.56],[543.03,9.38]],[[770.17,388.06],[771.41,384.38]]]},{"family":"jitter 1","lines":[[[772.12,383.36],[812.38,388.95],[876.64,399.72],[904.88,416.31],[941.79,427.17],[960.67,441.38]],[[322.85,142.87],[425.92,126.58]],[[959.74,444.8],[934.1,438.03]],[[425.54,126.74],[461.82,73.68],[487.52,47.72],[551.49,27.31],[586.89,17.54]],[[933.07,434.97],[908.5,424.76],[876.66,405.06],[810.0,394.04],[771.52,388.76]],[[586.68,18.04],[543.4,9.59]],[[771.0,386.99],[773.43,385.58]]]},{"family":"jitter 1","lines":[[[772.4,383.5],[811.89,388.85],[877.17,399.89],[903.95,415.96],[942.28,427.37],[961.26,441.95]],[[324.38,142.63],[426.45,126.46]],[[961.25,440.31],[932.58,437.89]],[[425.77,125.03],[444.91,94.21],[487.53,47.7],[551.82,26.91],[587.78,18.62]],[[935.34,436.46],[909.28,424.33],[873.98,403.97],[810.81,388.11],[771.26,383.55]],[[586.22,18.0],[541.69,9.22]],[[769.81,387.13],[772.6,383.31]]]},{"family":"jitter 1","lines":[[[772.14,383.41],[810.97,388.79],[876.72,399.66],[904.18,416.03],[942.62,427.52],[961.38,442.16]],[[324.86,142.52],[427.48,126.37]],[[961.93,439.36],[933.26,438.01]],[[425.78,125.2],[445.07,94.15],[487.62,47.64],[554.44,26.95],[585.42,15.2]],[[934.72,435.73],[907.97,425.3],[892.02,407.68],[810.6,394.1],[769.39,388.19]],[[588.19,18.49],[540.98,8.97]],[[770.59,388.47],[770.49,384.36]]]},{"family":"jitter 1","lines":[[[773.53,383.55],[812.05,388.92],[877.11,399.85],[904.01,415.96],[943.04,427.59],[960.8,442.08]],[[324.9,142.53],[426.05,126.56]],[[960.69,444.57],[934.41,437.42]],[[425.84,126.96],[460.45,75.05],[487.63,47.61],[553.77,26.38],[587.21,18.87]],[[933.13,435.03],[906.32,424.87],[900.15,409.21],[808.47,391.64],[770.34,382.96]],[[587.95,18.41],[541.3,9.05]],[[769.84,386.41],[772.46,383.53]]]},{"family":"jitter 1","lines":[[[771.35,383.29],[813.47,389.1],[876.84,399.78],[904.57,416.14],[942.22,427.34],[961.92,442.37]],[[325.3,142.42],[425.24,126.69]],[[958.23,445.25],[932.92,436.75]],[[425.81,125.02],[445.39,93.95],[487.56,47.68],[552.2,27.06],[588.54,17.07]],[[933.69,435.48],[907.66,424.37],[879.64,407.18],[812.35,388.44],[770.32,383.68]],[[588.41,18.58],[541.16,9.01]],[[770.02,386.77],[772.36,383.84]]]},{"family":"jitter 1","lines":[[[771.0,383.3],[811.57,388.82],[877.26,399.89],[903.83,415.9],[941.6,427.14],[960.73,441.29]],[[323.88,142.64],[427.55,126.38]],[[961.4,438.02],[932.61,438.53]],[[427.66,127.16],[444.46,91.3],[487.38,47.77],[550.45,27.25],[586.72,18.86]],[[932.98,434.89],[909.33,422.55],[876.01,399.99],[810.2,388.64],[771.36,383.21]],[[588.78,18.61],[540.1,8.81]],[[769.7,387.37],[773.51,382.26]]]},{"family":"jitter 1","lines":[[[773.21,383.5],[809.22,388.45],[876.87,399.78],[904.24,416.06],[942.28,427.33],[960.57,441.47]],[[324.19,142.65],[426.27,126.51]],[[961.76,445.52],[933.49,438.74]],[[427.35,125.79],[446.24,89.36],[487.56,47.7],[552.42,26.76],[588.72,18.56]],[[934.36,435.46],[910.15,423.01],[877.33,400.12],[811.09,388.89],[771.72,384.11]],[[587.2,18.17],[541.58,9.18]],[[770.59,388.97],[770.49,384.13]]]},{"family":"jitter 1","lines":[[[772.04,383.34],[811.34,388.87],[876.73,399.66],[904.72,416.38],[942.56,427.22],[961.26,442.33]],[[325.29,142.41],[426.89,126.44]],[[959.01,443.53],[931.63,435.84]],[[425.93,126.1],[442.08,93.63],[487.53,47.65],[549.7,27.54],[587.54,18.64]],[[932.17,435.43],[908.81,421.43],[876.17,399.37],[810.68,394.6],[769.9,388.78]],[[587.65,18.31],[540.79,8.99]],[[772.1,385.76],[772.83,383.74]]]},{"family":"jitter 1","lines":[[[770.11,383.06],[810.35,388.69],[876.85,399.77],[904.0,415.92],[941.8,427.18],[961.53,441.96]],[[325.69,142.43],[426.28,126.47]],[[960.17,445.68],[932.68,436.68]],[[427.32,126.19],[443.61,92.07],[487.58,47.61],[551.72,27.04],[585.57,19.06]],[[932.38,435.14],[909.14,424.73],[881.48,408.27],[812.99,388.6],[768.67,383.05]],[[588.52,18.48],[540.26,8.84]],[[769.95,386.66],[772.06,383.99]]]},{"family":"jitter 1","lines":[[[771.26,383.25],[810.21,388.63],[876.87,399.85],[904.86,416.34],[942.57,427.36],[960.48,441.57]],[[324.61,142.51],[427.79,126.31]],[[959.87,444.94],[933.02,438.97]],[[427.23,126.44],[447.59,88.03],[487.54,47.67],[552.98,26.98],[588.33,17.23]],[[933.74,436.09],[907.13,423.09],[876.42,405.32],[810.81,393.6],[770.83,386.95]],[[587.8,18.34],[541.61,9.14]],[[769.77,387.08],[771.22,385.51]]]},{"family":"jitter 1","lines":[[[770.81,383.25],[811.02,388.74],[876.73,399.71],[904.47,416.12],[941.58,427.12],[960.24,440.88]],[[324.76,142.51],[426.27,126.58]],[[961.62,437.4],[933.39,438.69]],[[427.97,125.83],[443.16,92.64],[487.48,47.66],[551.28,27.16],[588.41,18.41]],[[933.06,435.04],[908.57,424.73],[876.26,405.37],[810.94,393.52],[771.34,387.05]],[[586.77,18.13],[542.78,9.42]],[[769.83,388.33],[772.77,382.47]]]},{"family":"jitter 1","lines":[[[772.14,383.44],[812.87,389.03],[876.8,399.68],[903.84,415.87],[942.52,427.37],[961.73,442.59]],[[325.76,142.4],[426.57,126.45]],[[961.16,444.61],[933.48,437.89]],[[428.02,125.43],[443.38,92.34],[487.45,47.74],[551.75,26.99],[586.17,18.97]],[[934.44,436.1],[907.18,423.82],[887.59,406.88],[811.3,394.38],[771.18,382.81]],[[587.92,18.35],[542.72,9.38]],[[770.07,386.47],[770.24,383.75]]]},{"family":"jitter 2","lines":[[[772.22,383.42],[813.02,389.08],[877.05,399.84],[904.59,416.26],[942.16,427.27],[960.3,441.17]],[[320.62,143.24],[424.82,126.72]],[[959.31,444.76],[934.64,438.68]],[[426.47,128.58],[445.5,90.14],[487.52,47.67],[550.97,27.19],[586.62,18.71]],[[931.81,435.27],[909.03,423.97],[873.61,404.68],[809.39,393.84],[772.46,387.55]],[[585.88,18.0],[544.92,9.76]],[[771.27,386.68],[774.89,387.54]]]},{"family":"jitter 2","lines":[[[772.72,383.37],[812.07,388.94],[877.14,399.89],[904.05,415.94],[942.85,427.53],[961.36,442.41]],[[323.68,142.77],[425.9,126.54]],[[961.86,437.41],[931.81,437.68]],[[426.35,125.02],[463.47,72.1],[488.69,46.85],[551.76,27.09],[587.92,18.48]],[[937.39,437.12],[909.61,424.84],[873.93,403.92],[810.16,387.65],[771.27,383.47]],[[584.89,17.78],[541.42,9.12]],[[769.89,387.3],[773.03,382.91]]]},{"family":"jitter 2","lines":[[[772.31,383.54],[810.24,388.48],[877.01,399.81],[904.31,416.06],[942.28,427.38],[961.88,442.5]],[[324.64,142.57],[427.93,126.25]],[[962.58,438.38],[933.2,437.76]],[[426.71,125.46],[460.97,74.53],[487.55,47.71],[556.85,26.25],[583.7,13.9]],[[935.48,436.03],[908.63,425.74],[895.16,408.38],[810.65,393.7],[767.91,389.45]],[[589.01,18.7],[539.9,8.76]],[[770.53,389.83],[770.44,385.59]]]},{"family":"jitter 2","lines":[[[774.77,383.51],[812.31,388.96],[877.02,399.78],[901.34,413.41],[942.05,437.68],[962.28,438.4]],[[324.71,142.49],[425.08,126.77]],[[962.98,436.86],[934.82,439.43]],[[426.15,128.65],[455.08,80.49],[487.61,47.64],[555.65,25.99],[586.77,18.7]],[[932.23,434.75],[910.29,425.63],[876.12,405.29],[805.46,393.48],[769.56,381.46]],[[588.39,18.55],[540.58,8.87]],[[770.27,386.2],[773.57,382.79]]]},{"family":"jitter 2","lines":[[[770.68,383.19],[815.2,389.36],[876.91,399.81],[904.7,416.23],[942.88,427.61],[962.59,443.37]],[[325.55,142.39],[423.53,127.01]],[[956.5,445.36],[932.21,436.18]],[[428.2,126.0],[452.64,82.95],[487.62,47.57],[552.56,27.33],[589.15,14.26]],[[933.16,436.14],[907.37,422.9],[880.16,407.51],[813.21,388.35],[769.47,383.23]],[[589.34,18.74],[540.34,8.82]],[[769.9,386.78],[772.26,384.01]]]},{"family":"jitter 2","lines":[[[769.91,383.09],[811.41,388.82],[876.96,399.75],[904.05,416.01],[941.79,427.22],[960.61,441.09]],[[322.61,142.91],[428.15,126.19]],[[960.99,438.23],[932.09,438.01]],[[425.78,127.16],[441.92,93.81],[487.64,47.62],[549.02,27.66],[585.82,19.09]],[[931.92,434.56],[909.13,422.39],[875.75,399.77],[808.94,388.44],[771.43,383.27]],[[590.05,18.79],[538.21,8.49]],[[769.15,387.65],[774.61,380.81]]]},{"family":"jitter 2","lines":[[[774.25,383.74],[806.7,388.03],[877.08,399.74],[903.84,415.85],[942.88,427.62],[960.24,441.35]],[[323.3,142.75],[425.54,126.67]],[[963.41,445.83],[933.72,439.06]],[[426.45,125.05],[441.76,93.76],[488.48,46.97],[552.92,26.83],[589.76,17.79]],[[934.72,435.58],[910.76,423.29],[876.55,399.7],[810.78,388.65],[772.3,383.83]],[[587.01,18.28],[541.21,9.04]],[[770.53,390.77],[770.68,385.0]]]},{"family":"jitter 2","lines":[[[772.04,383.35],[810.99,388.76],[876.67,399.69],[904.27,416.04],[942.07,427.31],[961.93,442.45]],[[325.48,142.42],[426.79,126.5]],[[958.02,441.66],[929.53,435.11]],[[425.72,126.74],[442.17,93.54],[487.53,47.71],[547.49,28.16],[587.48,18.74]],[[930.64,434.91],[907.72,420.86],[874.99,398.69],[810.91,393.88],[769.3,388.59]],[[587.77,18.31],[539.62,8.78]],[[773.45,384.21],[773.69,383.86]]]},{"family":"jitter 2","lines":[[[768.15,382.85],[808.98,388.41],[876.69,399.8],[904.71,416.2],[941.72,427.2],[962.03,442.35]],[[326.24,142.25],[425.56,126.69]],[[960.32,446.17],[931.69,436.58]],[[426.11,125.9],[442.3,93.29],[487.69,47.6],[551.52,27.14],[583.6,19.56]],[[931.32,435.1],[909.68,424.59],[883.45,409.45],[814.46,388.63],[766.09,382.63]],[[589.49,18.74],[538.56,8.47]],[[770.15,386.19],[772.58,383.54]]]},{"family":"jitter 2","lines":[[[770.52,383.19],[808.68,388.4],[877.07,399.89],[904.05,415.88],[942.03,427.3],[960.77,441.44]],[[324.08,142.73],[428.53,126.12]],[[959.55,444.87],[932.91,438.85]],[[427.32,126.84],[444.7,91.11],[487.49,47.63],[553.94,26.59],[589.34,17.06]],[[933.98,436.05],[905.41,422.34],[876.53,405.42],[810.8,394.29],[771.62,382.7]],[[588.12,18.47],[541.22,9.02]],[[768.8,386.86],[770.48,387.39]]]},{"family":"jitter 2","lines":[[[769.62,383.0],[810.3,388.67],[876.94,399.84],[904.47,416.13],[941.53,427.09],[959.33,440.25]],[[324.45,142.6],[425.53,126.64]],[[961.58,437.66],[933.45,439.23]],[[426.83,124.71],[441.87,93.83],[487.56,47.62],[550.65,27.23],[589.22,18.29]],[[932.17,435.12],[909.07,424.02],[876.09,405.26],[811.14,393.67],[771.95,386.79]],[[586.02,18.03],[543.61,9.53]],[[768.83,389.33],[773.87,381.4]]]},{"family":"jitter 2","lines":[[[772.16,383.35],[814.04,389.19],[876.79,399.72],[904.99,416.37],[941.48,427.02],[962.78,443.02]],[[326.44,142.28],[426.14,126.54]],[[962.08,444.53],[933.49,438.01]],[[427.13,124.01],[442.1,93.45],[488.28,47.22],[551.55,27.04],[584.71,19.31]],[[935.11,436.57],[903.98,421.78],[887.88,406.88],[811.89,394.99],[771.11,382.08]],[[588.3,18.5],[543.37,9.49]],[[769.41,385.63],[768.51,383.88]]]},{"family":"jitter 3","lines":[[[772.31,383.49],[813.67,389.13],[876.81,399.74],[904.94,416.36],[942.35,427.42],[959.91,441.02]],[[318.41,143.66],[423.72,126.86]],[[958.86,445.41],[935.2,438.92]],[[425.56,129.65],[444.03,98.8],[488.4,53.87],[550.24,27.28],[585.5,13.71]],[[930.85,434.97],[910.37,422.01],[876.12,399.69],[809.28,388.33],[773.2,384.35]],[[585.27,17.76],[546.41,10.16]],[[773.33,383.61],[780.24,383.54]]]},{"family":"jitter 3","lines":[[[772.95,383.45],[812.3,388.98],[877.36,399.89],[904.38,416.15],[945.16,428.12],[960.17,444.39]],[[322.96,142.82],[425.36,126.68]],[[959.95,446.06],[931.38,435.86]],[[427.94,125.75],[447.08,96.2],[481.18,49.65],[551.69,27.53],[587.39,14.17]],[[939.54,440.33],[900.17,418.37],[881.11,400.55],[809.23,388.5],[771.26,383.28]],[[583.58,17.4],[541.11,9.08]],[[769.75,387.38],[773.21,382.44]]]},{"family":"jitter 3","lines":[[[772.55,383.47],[809.52,388.44],[877.24,399.98],[904.14,416.03],[942.73,427.48],[962.27,443.03]],[[324.4,142.62],[428.38,126.18]],[[962.19,441.42],[934.64,431.68]],[[426.23,125.09],[446.62,96.02],[488.37,53.83],[558.24,22.24],[582.07,12.88]],[[936.24,436.35],[913.23,424.12],[875.44,399.4],[811.46,389.08],[768.07,382.68]],[[590.04,18.83],[538.72,8.56]],[[770.24,391.23],[770.72,387.13]]]},{"family":"jitter 3","lines":[[[775.58,383.68],[812.53,389.01],[876.51,399.61],[899.98,412.31],[942.17,441.76],[961.03,444.66]],[[324.54,142.58],[424.1,126.88]],[[961.94,442.84],[936.82,434.97]],[[423.84,129.18],[446.09,96.76],[489.62,52.55],[558.79,31.29],[586.41,18.58]],[[931.37,434.41],[912.33,424.01],[890.19,407.71],[804.05,390.46],[767.77,382.53]],[[588.88,18.66],[539.78,8.76]],[[770.34,385.16],[775.29,382.09]]]},{"family":"jitter 3","lines":[[[770.02,383.1],[816.92,389.68],[876.39,399.65],[904.85,416.22],[944.56,428.1],[958.57,450.52]],[[325.82,142.46],[421.86,127.14]],[[954.99,445.43],[931.2,435.94]],[[427.97,125.69],[444.15,98.81],[497.33,44.53],[552.89,27.42],[589.7,11.38]],[[933.08,435.69],[906.38,423.02],[863.44,397.56],[813.84,389.14],[768.6,382.91]],[[590.3,18.92],[539.47,8.73]],[[770.04,387.68],[771.79,383.89]]]},{"family":"jitter 3","lines":[[[768.75,382.84],[811.26,388.8],[876.91,399.72],[904.46,416.15],[942.91,427.51],[960.65,441.39]],[[321.36,143.53],[428.83,125.94]],[[960.87,437.12],[931.73,436.42]],[[426.49,128.4],[444.65,97.92],[486.8,55.51],[547.51,28.18],[584.03,15.02]],[[930.88,434.26],[908.84,422.34],[876.91,399.9],[807.66,388.22],[771.5,383.29]],[[591.32,19.0],[536.32,8.2]],[[768.81,388.07],[775.92,379.49]]]},{"family":"jitter 3","lines":[[[775.08,383.84],[804.15,387.73],[877.15,399.87],[904.49,416.14],[941.04,427.02],[960.32,440.76]],[[322.43,142.96],[424.82,126.72]],[[964.57,448.15],[934.39,437.63]],[[427.96,125.8],[445.87,95.78],[482.99,48.91],[553.36,26.84],[590.74,15.65]],[[932.76,439.56],[923.51,426.67],[876.24,399.74],[810.44,388.66],[772.87,383.48]],[[587.09,18.19],[540.82,8.99]],[[770.32,392.64],[770.5,385.79]]]},{"family":"jitter 3","lines":[[[772.03,383.41],[810.65,388.71],[876.89,399.76],[904.1,415.98],[942.77,427.47],[962.18,443.12]],[[325.65,142.41],[426.69,126.47]],[[955.4,445.22],[927.74,433.26]],[[425.49,127.45],[442.05,93.5],[487.75,47.61],[545.36,29.39],[586.77,14.23]],[[928.03,436.24],[917.62,423.8],[876.87,399.81],[811.68,388.97],[769.8,382.94]],[[587.89,18.34],[538.45,8.53]],[[774.81,382.66],[774.55,383.98]]]},{"family":"jitter 3","lines":[[[766.17,382.52],[807.57,388.26],[876.46,399.76],[904.94,416.19],[942.02,427.28],[962.54,442.86]],[[326.77,142.18],[424.8,126.76]],[[960.32,447.33],[931.05,435.56]],[[426.64,126.3],[448.42,87.22],[488.14,47.05],[552.57,32.63],[582.36,25.03]],[[931.95,420.86],[914.61,427.44],[874.37,404.19],[815.97,388.49],[763.51,382.27]],[[590.49,18.9],[536.82,8.27]],[[770.41,385.24],[773.95,382.68]]]},{"family":"jitter 3","lines":[[[769.78,383.13],[807.15,388.12],[876.86,399.84],[904.93,416.35],[942.52,427.42],[960.97,442.06]],[[323.39,142.65],[429.3,126.17]],[[958.78,446.76],[933.26,436.55]],[[425.52,126.39],[441.89,102.24],[497.39,44.48],[554.99,26.5],[589.53,13.53]],[[937.62,426.62],[906.11,415.8],[873.1,401.87],[811.96,388.86],[771.59,383.35]],[[588.54,18.5],[540.77,8.94]],[[771.29,384.14],[772.31,387.4]]]},{"family":"jitter 3","lines":[[[768.34,383.02],[809.62,388.44],[876.6,399.66],[904.61,416.22],[941.65,427.14],[958.44,439.58]],[[324.14,142.7],[424.82,126.71]],[[961.88,437.84],[933.52,440.08]],[[428.45,125.19],[453.91,81.73],[490.19,45.06],[551.18,32.7],[590.87,21.85]],[[934.82,425.1],[907.11,417.06],[899.61,413.06],[812.48,388.4],[773.09,383.53]],[[585.32,17.79],[544.4,9.73]],[[768.9,390.66],[774.21,380.09]]]},{"family":"jitter 3","lines":[[[772.06,383.54],[815.22,389.34],[876.79,399.75],[904.5,416.18],[942.54,427.38],[963.4,443.87]],[[327.12,142.16],[425.71,126.65]],[[962.85,445.63],[933.36,438.91]],[[428.59,124.08],[456.81,78.68],[487.74,47.67],[551.44,28.06],[582.39,13.41]],[[936.05,436.4],[908.73,421.99],[876.18,399.62],[813.71,389.19],[770.56,383.14]],[[588.7,18.64],[543.93,9.54]],[[768.75,384.79],[766.77,384.0]]]}]}}} \ No newline at end of file diff --git a/surfaces/blender/tests/test_reference.py b/surfaces/blender/tests/test_reference.py index c79085c..a5bd8f6 100644 --- a/surfaces/blender/tests/test_reference.py +++ b/surfaces/blender/tests/test_reference.py @@ -778,14 +778,16 @@ def blocked_plate(views, traces, **more): return core.block_plate(views, {"corners": PLATE}, traces, kit.sheet, **more) -def rendered(name, corners, sigma=0.0, close=0.0, seed=0): +def rendered(name, corners, sigma=0.0, close=0.0, seed=0, take=None): """(views, plate, traces, the true sides, the fixture's plate) of a plate of tests/fixtures/spectre_truth.json with `corners` of its loop named: each stroke traced from the renders is cut at the named corners it passes - through, every point `sigma` px off, a closing stroke moved `close` px as one.""" + through, every point `sigma` px off, a closing stroke moved `close` px as one. The strokes are the fixture's + own, searched from the truth's projection, or those of its `take`, searched from a seed off it.""" fixture = json.loads((Path(__file__).resolve().parent / "fixtures" / "spectre_truth.json").read_text(encoding="utf-8")) plate, rng, views, traces = fixture["plates"][name], np.random.default_rng(seed), [], [] - for stroke in plate["strokes"]: - line = np.array(stroke["line"]) + (rng.normal(0, sigma, (len(stroke["line"]), 2)) if sigma else 0.0) + for k, stroke in enumerate(plate["strokes"]): + line = np.array(stroke["line"] if take is None else plate["takes"][take]["lines"][k]) + line = line + (rng.normal(0, sigma, line.shape) if sigma else 0.0) if stroke["closing"] and close: turn = rng.uniform(0, 2 * math.pi) line = line + close * np.array([math.cos(turn), math.sin(turn)]) @@ -802,6 +804,15 @@ def rendered(name, corners, sigma=0.0, close=0.0, seed=0): return views, {"corners": named, "mirror": True, "seam": [corner for corner in plate["seam"] if corner in corners]}, traces, sides, (fixture, plate) +def off_projection(fixture, plate, take): + """The furthest a point of a take's strokes stands from the truth's projection, px.""" + worst = 0.0 + for stroke, line in zip(plate["strokes"], plate["takes"][take]["lines"]): + drawn = core.seen(fixture["cameras"][stroke["view"]], fixture["frames"][stroke["view"]], np.array([plate["truth"][corner] for corner in stroke["through"]]) * [stroke["side"], 1, 1]) + worst = max(worst, float(np.linalg.norm(np.array(line) - drawn, axis=1).max())) + return worst + + def off_rendered(out, sides): """(the furthest a blocked corner stands from its own, the furthest a side as built and its true edge, a polyline through the truth's corners, stand apart either way), metres.""" @@ -828,7 +839,7 @@ class BlockTests(unittest.TestCase): S1 a seam point labelled mirror whatever its share test_a_seam_corner_says_what_decided_it S2 a seam corner never sent to the plane's guard test_a_seam_corner_says_what_decided_it I1 a side's label from its first point only, never plane test_a_side_says_what_decided_its_inner_points - T06 START 0.6, T3 START 3.3 test_views_5_degrees_apart_take_their_depth_from_a_plane_or_are_refused + T06, T08, T2, T26, T3 START 0.6, 0.8, 2.0, 2.6, 3.3 test_views_5_degrees_apart_take_their_depth_from_a_plane_or_are_refused K1 a skirt of fixed metres test_a_plate_keeps_its_proportions_at_any_size What the blocking is worth against a known truth is test_the_rendered_roof_blocks_from_traces_of_its_renders: @@ -854,14 +865,23 @@ class BlockTests(unittest.TestCase): kit.sheet(out["sheet"]) def test_views_5_degrees_apart_take_their_depth_from_a_plane_or_are_refused(self): - """block-low-parallax, T06, T3. The views start a corner where one pixel moves their meeting point less than - core.START x share x the plate's extent, the prior's own scale. At Paladin's lens and range that reads 0.74 - of the scale at 19 degrees (test_a_twisted_bowed_plate_blocks_from_two_views blocks there; T06 refuses it) - and 2.77 at 5, where the corners triangulate 0.25 to 1.5 m off: no corner is started. With a plane every - corner is decided by it (prior_share 0.795 to 0.838); with none the plate is refused naming the corners (T3 - blocks it). The line is metres a pixel, not degrees: through a lens three times as long the same plate 7 - degrees apart reads 0.66 and blocks from its views, 60.5 mm from the truth (65.0 at 19 degrees through the - short lens).""" + """block-low-parallax, T06, T3, T08, T2, T26 (Soul s2, start-unpinned-and-comment-stale). The views start a + corner where one pixel moves their meeting point less than core.START x share x the plate's extent, the + prior's own scale; with no plane a plate blocks when three corners start. START is 1, the prior's own + unit: it is not derived from a measurement, it is pinned between two. At Paladin's lens and range the + pentagon's third corner starts at START 0.724 with the views 19 degrees apart, 0.831 at 16.5, 1.241 at 11 + and 2.729 at 5. So at 16.5 degrees it blocks with no plane (73.0 mm from the truth) and at 11 it is + refused naming its corners: 1 stands 1.20 over the one reading and 1.24 under the other, the two's + geometric mean within 2%. START 0.6 and 0.8 refuse the 16.5 degrees; 2.0, 2.6 and 3.3 block the 11 (104.4 + mm off; the line switches blocking and refusal and is no cliff in accuracy). At 5 degrees the corners + triangulate 0.25 to 1.5 m off: with a plane every corner is decided by it (prior_share 0.795 to 0.838), + with none the plate is refused. The line is metres a pixel, not degrees: through a lens three times as + long the same plate 7 degrees apart starts at 0.648 and blocks from its views, 60.5 mm from the truth + (65.0 at 19 degrees through the short lens).""" + sides = pentagon(0.08) + self.assertEqual(blocked_plate(*plate_traces([plate_camera(0), plate_camera(16.5)], sides, 0.5))["plane"]["from"], "corners") + with self.assertRaisesRegex(core.ReferenceFitError, r"^plane: none was given, and 'c0', 'c1', 'c2', 'c3', 'c4' are decided by no view"): + blocked_plate(*plate_traces([plate_camera(0), plate_camera(11)], sides, 0.5)) views, traces = plate_traces([plate_camera(0), plate_camera(5)], pentagon(0.08), 0.5) out = blocked_plate(views, traces, plane=ON_Y) self.assertEqual([corner["decided_by"] for corner in out["corners"]], ["plane"] * 5) @@ -1008,41 +1028,50 @@ class BlockTests(unittest.TestCase): self.assertEqual(out["sheet"]["poles"], [seam[0], seam[1], len(out["sheet"]["verts"]) - 1]) def test_the_rendered_roof_blocks_from_traces_of_its_renders(self): - """block-truth (Soul s1, real-readings-not-accuracy), M3. SPECTRE's pass-3 roof, a hard mirrored cage of 11 - known vertices, built by brokkr_kitbash.shell, rendered through SPECTRE's two solved cameras at the - sheet's pixel size and its edges traced off the renders (tests/fixtures/spectre_truth.json says how). The - ridge is traced in the side view alone, the lip, the outer edge and the rear edge in the hero's mirrored - half and in the side view, 62 degrees apart; the side view's pixel is 27.6 mm across at the plate, the - hero's 11.6. + """block-truth (Soul s1, real-readings-not-accuracy; Soul s2, bound-premise-seeded-by-truth), M3. SPECTRE's + pass-3 roof, a hard mirrored cage of 11 known vertices, built by brokkr_kitbash.shell, rendered through + SPECTRE's two solved cameras at the sheet's pixel size and its edges traced off the renders: one plate, + one pair of views. The ridge is traced in the side view alone, the lip, the outer edge and the rear edge + in the hero's mirrored half and in the side view, 62 degrees apart; the side view's pixel is 27.6 mm + across at the plate, the hero's 11.6. - Every corner named: the ridge's six are decided by the mirror plane, the outer edge's five by the views - (prior_share 0.038 at most). From the traces as taken the worst corner stands 39.1 mm from the truth, 1.42 - of the side view's pixels (Blender builds the cage's vertices up to 15.1 mm inside it, the bevel; a - stroke stands up to 2.5 px from the truth's projection). With every traced point 1 px off, twelve draws: - 68.6 mm at the median, 96.1 at most; 2 px: 125.1 and 190.1. That is 3.5 x the noise x the coarser view's - pixel, and the bounds are tolerances 1.2 over it: no mutant is claimed by a margin here (M1 reads 49.3, - 116.6 and 206.5, under 1.3 away). M3 lands the ridge off x = 0 and is refused. The same readings are 4.6 - to 7.5 x noise x a view-decided corner's m_per_px, and a seam corner's m_per_px (0.0008) says nothing of - its 98 mm: m_per_px is a depth sensitivity, and most of this error lies across the sight line.""" + The traces are the fixture's takes (tests/fixtures/spectre_truth.json says how): a search for the + strongest brightness step across each edge, from a seed that is not on the answer. Six families of twelve + draws: the truth's projection moved as one by 0.5, 1 and 1.5 px in a drawn direction (a 2.5 px window), + and each of its vertices moved by a normal draw of 1 and 2 px (3.5 px) and of 3 px (6 px). Such a take's + points stand 2.1 to 30.7 px from the truth's projection, 6.8 at the median: a stroke ends where it + crosses its neighbours, and two that run nearly along each other cross far off. 62 of the 72 block (12, + 12, 11, 10, 10, 7 by family; nine are refused at a side not explained at six points, one at the cage's + parser), every one with the ridge's six corners decided by the mirror plane and the outer edge's five by + the views (prior_share 0.037 at most). + + What holds: a blocked plate's worst corner stands within 1.18 x its take's worst point x the coarser + view's pixel (1.12, 1.16, 1.18, 1.04, 1.06, 1.11 by family), 33 to 929 mm, 142 at the median; the bound is + a tolerance 1.2 over that, and no mutant is claimed by a margin (M1 reads 1.31). No family stands out of + it: the three draws that grow a side stand at 0.51, 0.75 and 1.08. M3 lands the ridge off x = 0 and every + take is refused. No bound is stated in the takes' rms: a take's worst corner follows its worst point, + and against the rms the same readings reach 5.3. A search seeded on the truth's projection itself is no + reading: its 2.5 px window ends its strokes 2.5 px off and its plate 39 mm off.""" corners = ["ridge_rear", "r4", "r3", "r2", "r1", "nose", "a", "b", "c", "d", "e"] views, plate, traces, sides, (fixture, record) = rendered("roof", corners) middle = np.mean(list(record["truth"].values()), axis=0) pixel = max(float(np.linalg.norm(np.array(cam["C"]) - middle)) / cam["f"] for cam in fixture["cameras"].values()) self.assertAlmostEqual(pixel, 0.0276, places=4) - out = core.block_plate(views, plate, traces, kit.sheet) - self.assertEqual([corner["decided_by"] for corner in out["corners"]], ["mirror"] * 6 + ["views"] * 5) - self.assertLess(max(corner["prior_share"] for corner in out["corners"]), core.VIEWS / 1.2) - self.assertGreater(min(corner["parallax_deg"] for corner in out["corners"][6:]), 59) - self.assertEqual([side["points"] for side in out["sides"]], [2] * 11) - self.assertEqual(float(np.abs(np.array(out["sheet"]["verts"])[:6, 0]).max()), 0.0) - self.assertLess(off_rendered(out, sides)[0], 1.7 * pixel) - for sigma in (1.0, 2.0): - worst = [] - for seed in range(12): - views, plate, traces, sides, _ = rendered("roof", corners, sigma, seed=seed) - worst.append(off_rendered(core.block_plate(views, plate, traces, kit.sheet), sides)[0]) - self.assertLess(max(worst), 4.2 * sigma * pixel, sigma) - self.assertLess(float(np.median(worst)), 2.8 * sigma * pixel, sigma) + self.assertEqual(len(record["takes"]), 72) + blocked = 0 + for take in range(len(record["takes"])): + views, plate, traces, sides, _ = rendered("roof", corners, take=take) + try: + out = core.block_plate(views, plate, traces, kit.sheet) + except core.ReferenceFitError: + continue + blocked += 1 + self.assertEqual([corner["decided_by"] for corner in out["corners"]], ["mirror"] * 6 + ["views"] * 5, take) + self.assertLess(max(corner["prior_share"] for corner in out["corners"]), core.VIEWS / 1.2, take) + self.assertGreater(min(corner["parallax_deg"] for corner in out["corners"][6:]), 59, take) + self.assertEqual(max(abs(float(np.array(out["sheet"]["verts"])[chain[0], 0])) for chain in crown_chains(out)[:6]), 0.0, take) + self.assertLess(off_rendered(out, sides)[0], 1.42 * off_projection(fixture, record, take) * pixel, take) + self.assertGreaterEqual(blocked, 52) def test_fairness_is_set_by_the_rendered_roof(self): """fair (Soul s1, fair-default-tuned-to-a-fit), F5, M4, M2. The rendered roof with four corners named @@ -1054,7 +1083,10 @@ class BlockTests(unittest.TestCase): of 196.9 and 369.5, separation 1.37 each side. Over ten cells of known truth at 1 and 2 px (this roof four ways, and the bowed pentagon at 60 and 30 degrees and in one view) the mean of the cells' 90th percentiles reads 194, 184, 178, 178, 179, 186, 193, 196 mm at FAIR 0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 1 and the - worst draw 301, 275, 273, 272, 312, 382, 494, 577: 0.2 stands at the low of both. From exact traces weaker + worst draw 301, 275, 273, 272, 312, 382, 494, 577, over the draws that blocked: 19, 20, 23, 24, 24, 25, + 26, 27 of the 168 are refused and counted in neither. On Soul's seeds (verdict cut-trace-block.s2) 0.2 is + again lowest by the 90th percentile and not by the worst draw. The roof's strokes here are the fixture's + own, searched from the truth's projection, with the noise added on top. From exact traces weaker fairness is nearer the truth (the bowed pentagon: 41.6 mm at 0.2, 16.2 at 0.5, 12.1 with none); nobody traces exactly, and at 1 px the difference is 16 mm at 60 degrees and the other way at 30.""" corners = ["ridge_rear", "nose", "a", "e"]