-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Snakecase the workflows to avoid broken references
- Had to set `git config core.ignorecase false`
- Loading branch information
Showing
3 changed files
with
508 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<WorkflowBuilder Version="2.8.5" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:onix1="clr-namespace:OpenEphys.Onix1;assembly=OpenEphys.Onix1" | ||
xmlns:viz="clr-namespace:Bonsai.Design.Visualizers;assembly=Bonsai.Design.Visualizers" | ||
xmlns="https://bonsai-rx.org/2018/workflow"> | ||
<Workflow> | ||
<Nodes> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:CreateContext"> | ||
<onix1:Driver>riffa</onix1:Driver> | ||
<onix1:Index>0</onix1:Index> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:ConfigureHeadstage64"> | ||
<onix1:Name>Headstage64</onix1:Name> | ||
<onix1:Rhd2164> | ||
<onix1:DeviceName>Headstage64/Rhd2164</onix1:DeviceName> | ||
<onix1:DeviceAddress>256</onix1:DeviceAddress> | ||
<onix1:Enable>true</onix1:Enable> | ||
<onix1:DspCutoff>Dsp146mHz</onix1:DspCutoff> | ||
<onix1:AnalogLowCutoff>Low100mHz</onix1:AnalogLowCutoff> | ||
<onix1:AnalogHighCutoff>High10000Hz</onix1:AnalogHighCutoff> | ||
</onix1:Rhd2164> | ||
<onix1:Bno055> | ||
<onix1:DeviceName>Headstage64/Bno055</onix1:DeviceName> | ||
<onix1:DeviceAddress>257</onix1:DeviceAddress> | ||
<onix1:Enable>true</onix1:Enable> | ||
</onix1:Bno055> | ||
<onix1:TS4231> | ||
<onix1:DeviceName>Headstage64/TS4231</onix1:DeviceName> | ||
<onix1:DeviceAddress>258</onix1:DeviceAddress> | ||
<onix1:Enable>false</onix1:Enable> | ||
</onix1:TS4231> | ||
<onix1:ElectricalStimulator> | ||
<onix1:DeviceName>Headstage64/Headstage64ElectricalStimulator</onix1:DeviceName> | ||
<onix1:DeviceAddress>259</onix1:DeviceAddress> | ||
</onix1:ElectricalStimulator> | ||
<onix1:OpticalStimulator> | ||
<onix1:DeviceName>Headstage64/Headstage64OpticalStimulator</onix1:DeviceName> | ||
<onix1:DeviceAddress>260</onix1:DeviceAddress> | ||
</onix1:OpticalStimulator> | ||
<onix1:Port>PortA</onix1:Port> | ||
<onix1:PortVoltage xsi:nil="true" /> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:ConfigureBreakoutBoard"> | ||
<onix1:Name>BreakoutBoard</onix1:Name> | ||
<onix1:Heartbeat> | ||
<onix1:DeviceName>BreakoutBoard/Heartbeat</onix1:DeviceName> | ||
<onix1:DeviceAddress>0</onix1:DeviceAddress> | ||
<onix1:Enable>true</onix1:Enable> | ||
<onix1:BeatsPerSecond>10</onix1:BeatsPerSecond> | ||
</onix1:Heartbeat> | ||
<onix1:AnalogIO> | ||
<onix1:DeviceName>BreakoutBoard/AnalogIO</onix1:DeviceName> | ||
<onix1:DeviceAddress>6</onix1:DeviceAddress> | ||
<onix1:Enable>true</onix1:Enable> | ||
<onix1:InputRange0>TenVolts</onix1:InputRange0> | ||
<onix1:InputRange1>TenVolts</onix1:InputRange1> | ||
<onix1:InputRange2>TenVolts</onix1:InputRange2> | ||
<onix1:InputRange3>TenVolts</onix1:InputRange3> | ||
<onix1:InputRange4>TenVolts</onix1:InputRange4> | ||
<onix1:InputRange5>TenVolts</onix1:InputRange5> | ||
<onix1:InputRange6>TenVolts</onix1:InputRange6> | ||
<onix1:InputRange7>TenVolts</onix1:InputRange7> | ||
<onix1:InputRange8>TenVolts</onix1:InputRange8> | ||
<onix1:InputRange9>TenVolts</onix1:InputRange9> | ||
<onix1:InputRange10>TenVolts</onix1:InputRange10> | ||
<onix1:InputRange11>TenVolts</onix1:InputRange11> | ||
<onix1:Direction0>Input</onix1:Direction0> | ||
<onix1:Direction1>Input</onix1:Direction1> | ||
<onix1:Direction2>Input</onix1:Direction2> | ||
<onix1:Direction3>Input</onix1:Direction3> | ||
<onix1:Direction4>Input</onix1:Direction4> | ||
<onix1:Direction5>Input</onix1:Direction5> | ||
<onix1:Direction6>Input</onix1:Direction6> | ||
<onix1:Direction7>Input</onix1:Direction7> | ||
<onix1:Direction8>Input</onix1:Direction8> | ||
<onix1:Direction9>Input</onix1:Direction9> | ||
<onix1:Direction10>Input</onix1:Direction10> | ||
<onix1:Direction11>Input</onix1:Direction11> | ||
</onix1:AnalogIO> | ||
<onix1:DigitalIO> | ||
<onix1:DeviceName>BreakoutBoard/DigitalIO</onix1:DeviceName> | ||
<onix1:DeviceAddress>7</onix1:DeviceAddress> | ||
<onix1:Enable>true</onix1:Enable> | ||
</onix1:DigitalIO> | ||
<onix1:MemoryMonitor> | ||
<onix1:DeviceName>BreakoutBoard/MemoryMonitor</onix1:DeviceName> | ||
<onix1:DeviceAddress>10</onix1:DeviceAddress> | ||
<onix1:Enable>false</onix1:Enable> | ||
<onix1:SamplesPerSecond>10</onix1:SamplesPerSecond> | ||
</onix1:MemoryMonitor> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:StartAcquisition"> | ||
<onix1:ReadSize>2048</onix1:ReadSize> | ||
<onix1:WriteSize>2048</onix1:WriteSize> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:Rhd2164Data"> | ||
<onix1:DeviceName>Headstage64/Rhd2164</onix1:DeviceName> | ||
<onix1:BufferSize>30</onix1:BufferSize> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>AmplifierData</Selector> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>AuxData</Selector> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>Clock</Selector> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:TS4231V1Data"> | ||
<onix1:DeviceName>Headstage64/TS4231</onix1:DeviceName> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:Bno055Data"> | ||
<onix1:DeviceName>Headstage64/Bno055</onix1:DeviceName> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>Clock</Selector> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>Quaternion</Selector> | ||
</Expression> | ||
<Expression xsi:type="IncludeWorkflow" Path="Extensions\Commutator.bonsai"> | ||
<PortName>COM6</PortName> | ||
</Expression> | ||
<Expression xsi:type="viz:RollingGraphBuilder"> | ||
<viz:IndexSelector /> | ||
<viz:ValueSelector>X,Y,Z,W</viz:ValueSelector> | ||
<viz:SymbolType>None</viz:SymbolType> | ||
<viz:LineWidth>1</viz:LineWidth> | ||
<viz:Capacity>100</viz:Capacity> | ||
<viz:Min xsi:nil="true" /> | ||
<viz:Max xsi:nil="true" /> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:MemoryMonitorData" /> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>PercentUsed</Selector> | ||
</Expression> | ||
</Nodes> | ||
<Edges> | ||
<Edge From="0" To="1" Label="Source1" /> | ||
<Edge From="1" To="2" Label="Source1" /> | ||
<Edge From="2" To="3" Label="Source1" /> | ||
<Edge From="4" To="5" Label="Source1" /> | ||
<Edge From="4" To="6" Label="Source1" /> | ||
<Edge From="4" To="7" Label="Source1" /> | ||
<Edge From="9" To="10" Label="Source1" /> | ||
<Edge From="9" To="11" Label="Source1" /> | ||
<Edge From="11" To="12" Label="Source1" /> | ||
<Edge From="11" To="13" Label="Source1" /> | ||
<Edge From="14" To="15" Label="Source1" /> | ||
</Edges> | ||
</Workflow> | ||
</WorkflowBuilder> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<WorkflowBuilder Version="2.8.5" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:onix1="clr-namespace:OpenEphys.Onix1;assembly=OpenEphys.Onix1" | ||
xmlns:rx="clr-namespace:Bonsai.Reactive;assembly=Bonsai.Core" | ||
xmlns:io="clr-namespace:Bonsai.IO;assembly=Bonsai.System" | ||
xmlns:dsp="clr-namespace:Bonsai.Dsp;assembly=Bonsai.Dsp" | ||
xmlns="https://bonsai-rx.org/2018/workflow"> | ||
<Workflow> | ||
<Nodes> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:CreateContext"> | ||
<onix1:Driver>riffa</onix1:Driver> | ||
<onix1:Index>0</onix1:Index> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:ConfigureNeuropixelsV1eHeadstage"> | ||
<onix1:Name>NeuropixelsV1eHeadstage</onix1:Name> | ||
<onix1:NeuropixelsV1e> | ||
<onix1:DeviceName>NeuropixelsV1eHeadstage/NeuropixelsV1e</onix1:DeviceName> | ||
<onix1:DeviceAddress>256</onix1:DeviceAddress> | ||
<onix1:Enable>true</onix1:Enable> | ||
<onix1:EnableLed>true</onix1:EnableLed> | ||
<onix1:SpikeAmplifierGain>Gain1000</onix1:SpikeAmplifierGain> | ||
<onix1:LfpAmplifierGain>Gain50</onix1:LfpAmplifierGain> | ||
<onix1:Reference>External</onix1:Reference> | ||
<onix1:SpikeFilter>true</onix1:SpikeFilter> | ||
</onix1:NeuropixelsV1e> | ||
<onix1:Bno055> | ||
<onix1:DeviceName>NeuropixelsV1eHeadstage/NeuropixelsV1eBno055</onix1:DeviceName> | ||
<onix1:DeviceAddress>257</onix1:DeviceAddress> | ||
<onix1:Enable>true</onix1:Enable> | ||
</onix1:Bno055> | ||
<onix1:Port>PortA</onix1:Port> | ||
<onix1:PortVoltage xsi:nil="true" /> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:StartAcquisition"> | ||
<onix1:ReadSize>4096</onix1:ReadSize> | ||
<onix1:WriteSize>2048</onix1:WriteSize> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="rx:Timestamp" /> | ||
</Expression> | ||
<Expression xsi:type="io:CsvWriter"> | ||
<io:FileName>start-time_.csv</io:FileName> | ||
<io:Append>false</io:Append> | ||
<io:Overwrite>false</io:Overwrite> | ||
<io:Suffix>Timestamp</io:Suffix> | ||
<io:IncludeHeader>true</io:IncludeHeader> | ||
<io:Selector>Timestamp,Value.AcquisitionClockHz,Value.BlockReadSize,Value.BlockWriteSize</io:Selector> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:PortStatus"> | ||
<onix1:DeviceName>NeuropixelsV2eHeadstage/PortController</onix1:DeviceName> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="rx:Timestamp" /> | ||
</Expression> | ||
<Expression xsi:type="io:CsvWriter"> | ||
<io:FileName>port-status_.csv</io:FileName> | ||
<io:Append>false</io:Append> | ||
<io:Overwrite>false</io:Overwrite> | ||
<io:Suffix>Timestamp</io:Suffix> | ||
<io:IncludeHeader>false</io:IncludeHeader> | ||
<io:Selector>Timestamp,Value.Clock,Value.StatusCode,Value.SerdesLocked,Value.SerdesPass</io:Selector> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:NeuropixelsV1eData"> | ||
<onix1:BufferSize>36</onix1:BufferSize> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>Clock</Selector> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="dsp:MatrixWriter"> | ||
<dsp:Path>probe-a-clock_.raw</dsp:Path> | ||
<dsp:Suffix>Timestamp</dsp:Suffix> | ||
<dsp:Overwrite>false</dsp:Overwrite> | ||
<dsp:Layout>ColumnMajor</dsp:Layout> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>AmplifierData</Selector> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="dsp:MatrixWriter"> | ||
<dsp:Path>probe-a-ephys_.raw</dsp:Path> | ||
<dsp:Suffix>Timestamp</dsp:Suffix> | ||
<dsp:Overwrite>false</dsp:Overwrite> | ||
<dsp:Layout>ColumnMajor</dsp:Layout> | ||
</Combinator> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="onix1:NeuropixelsV1eBno055Data" /> | ||
</Expression> | ||
<Expression xsi:type="io:CsvWriter"> | ||
<io:FileName>bno055_.csv</io:FileName> | ||
<io:Append>false</io:Append> | ||
<io:Overwrite>false</io:Overwrite> | ||
<io:Suffix>Timestamp</io:Suffix> | ||
<io:IncludeHeader>false</io:IncludeHeader> | ||
<io:Selector>it</io:Selector> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>Clock</Selector> | ||
</Expression> | ||
<Expression xsi:type="MemberSelector"> | ||
<Selector>Quaternion</Selector> | ||
</Expression> | ||
<Expression xsi:type="IncludeWorkflow" Path="OpenEphys.Commutator:AutoCommutator.bonsai"> | ||
<RotationAxis> | ||
<X>0</X> | ||
<Y>-1</Y> | ||
<Z>0</Z> | ||
</RotationAxis> | ||
<LedEnable>true</LedEnable> | ||
<PortName>COM4</PortName> | ||
</Expression> | ||
</Nodes> | ||
<Edges> | ||
<Edge From="0" To="1" Label="Source1" /> | ||
<Edge From="1" To="2" Label="Source1" /> | ||
<Edge From="1" To="3" Label="Source1" /> | ||
<Edge From="3" To="4" Label="Source1" /> | ||
<Edge From="5" To="6" Label="Source1" /> | ||
<Edge From="6" To="7" Label="Source1" /> | ||
<Edge From="8" To="9" Label="Source1" /> | ||
<Edge From="8" To="11" Label="Source1" /> | ||
<Edge From="9" To="10" Label="Source1" /> | ||
<Edge From="11" To="12" Label="Source1" /> | ||
<Edge From="13" To="14" Label="Source1" /> | ||
<Edge From="14" To="15" Label="Source1" /> | ||
<Edge From="14" To="16" Label="Source1" /> | ||
<Edge From="16" To="17" Label="Source1" /> | ||
</Edges> | ||
</Workflow> | ||
</WorkflowBuilder> |
Large diffs are not rendered by default.
Oops, something went wrong.