1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <WorkflowBuilder Version =" 2.8.5"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xmlns : cv =" clr-namespace:Bonsai.Vision;assembly=Bonsai.Vision"
5+ xmlns : rx =" clr-namespace:Bonsai.Reactive;assembly=Bonsai.Core"
6+ xmlns : p1 =" clr-namespace:;assembly=Extensions"
7+ xmlns =" https://bonsai-rx.org/2018/workflow" >
8+ <Description >Calculate DFF</Description >
9+ <Workflow >
10+ <Nodes >
11+ <Expression xsi : type =" WorkflowInput" >
12+ <Name >Source1</Name >
13+ </Expression >
14+ <Expression xsi : type =" Combinator" >
15+ <Combinator xsi : type =" cv:Grayscale" />
16+ </Expression >
17+ <Expression xsi : type =" Combinator" >
18+ <Combinator xsi : type =" rx:Timer" >
19+ <rx : DueTime >PT0S</rx : DueTime >
20+ <rx : Period >PT0.5S</rx : Period >
21+ </Combinator >
22+ </Expression >
23+ <Expression xsi : type =" Combinator" >
24+ <Combinator xsi : type =" rx:Sample" />
25+ </Expression >
26+ <Expression xsi : type =" Combinator" >
27+ <Combinator xsi : type =" p1:Ave" />
28+ </Expression >
29+ <Expression xsi : type =" Combinator" >
30+ <Combinator xsi : type =" rx:CombineLatest" />
31+ </Expression >
32+ <Expression xsi : type =" Combinator" >
33+ <Combinator xsi : type =" p1:Div" >
34+ <p1 : scale >10</p1 : scale >
35+ <p1 : shift >0</p1 : shift >
36+ </Combinator >
37+ </Expression >
38+ <Expression xsi : type =" WorkflowOutput" />
39+ </Nodes >
40+ <Edges >
41+ <Edge From =" 0" To =" 1" Label =" Source1" />
42+ <Edge From =" 1" To =" 3" Label =" Source1" />
43+ <Edge From =" 1" To =" 5" Label =" Source2" />
44+ <Edge From =" 2" To =" 3" Label =" Source2" />
45+ <Edge From =" 3" To =" 4" Label =" Source1" />
46+ <Edge From =" 4" To =" 5" Label =" Source1" />
47+ <Edge From =" 5" To =" 6" Label =" Source1" />
48+ <Edge From =" 6" To =" 7" Label =" Source1" />
49+ </Edges >
50+ </Workflow >
51+ </WorkflowBuilder >
0 commit comments