File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ lint = [
2626 " ruff>=0.12.9" ,
2727]
2828test = [
29+ " ezmsg-simbiophys>=1.0.0" ,
2930 " hmmlearn>=0.3.3" ,
3031 " pytest>=8.4.1" ,
3132]
Original file line number Diff line number Diff line change 33from pathlib import Path
44
55import ezmsg .core as ez
6- from ezmsg .sigproc . synth import Counter , CounterSettings
6+ from ezmsg .simbiophys . counter import Counter , CounterSettings
77from ezmsg .util .messagecodec import message_log
88from ezmsg .util .messagelogger import MessageLogger , MessageLoggerSettings
99from ezmsg .util .messages .axisarray import AxisArray
@@ -44,9 +44,7 @@ def test_torch_model_unit_system():
4444 device = "cpu" ,
4545 ),
4646 "LOG" : MessageLogger (MessageLoggerSettings (output = test_filename )),
47- "TERM" : TerminateOnTotal (
48- TerminateOnTotalSettings (total = int (duration * fs / block_size ))
49- ),
47+ "TERM" : TerminateOnTotal (TerminateOnTotalSettings (total = int (duration * fs / block_size ))),
5048 }
5149
5250 conns = (
Original file line number Diff line number Diff line change 55
66import ezmsg .core as ez
77import numpy as np
8- from ezmsg .sigproc . synth import Counter , CounterSettings
8+ from ezmsg .simbiophys . counter import Counter , CounterSettings
99from ezmsg .util .messagecodec import message_log
1010from ezmsg .util .messagelogger import MessageLogger , MessageLoggerSettings
1111from ezmsg .util .messages .axisarray import AxisArray
Original file line number Diff line number Diff line change 33from pathlib import Path
44
55import ezmsg .core as ez
6- from ezmsg .sigproc . synth import Counter , CounterSettings
6+ from ezmsg .simbiophys . counter import Counter , CounterSettings
77from ezmsg .util .messagecodec import message_log
88from ezmsg .util .messagelogger import MessageLogger , MessageLoggerSettings
99from ezmsg .util .messages .axisarray import AxisArray
@@ -51,9 +51,7 @@ def test_torch_model_unit_system():
5151 },
5252 ),
5353 "LOG" : MessageLogger (MessageLoggerSettings (output = test_filename )),
54- "TERM" : TerminateOnTotal (
55- TerminateOnTotalSettings (total = int (duration * fs / block_size ))
56- ),
54+ "TERM" : TerminateOnTotal (TerminateOnTotalSettings (total = int (duration * fs / block_size ))),
5755 }
5856
5957 conns = (
Original file line number Diff line number Diff line change 66import ezmsg .core as ez
77import numpy as np
88import pandas as pd
9- from ezmsg .sigproc . synth import Counter
9+ from ezmsg .simbiophys . counter import Counter
1010from ezmsg .util .messagecodec import message_log
1111from ezmsg .util .messagelogger import MessageLogger
1212from ezmsg .util .messages .axisarray import AxisArray
Original file line number Diff line number Diff line change 33from pathlib import Path
44
55import ezmsg .core as ez
6- from ezmsg .sigproc . synth import Counter , CounterSettings
6+ from ezmsg .simbiophys . counter import Counter , CounterSettings
77from ezmsg .util .messagecodec import message_log
88from ezmsg .util .messagelogger import MessageLogger , MessageLoggerSettings
99from ezmsg .util .messages .axisarray import AxisArray
@@ -44,9 +44,7 @@ def test_torch_model_unit_system():
4444 device = "cpu" ,
4545 ),
4646 "LOG" : MessageLogger (MessageLoggerSettings (output = test_filename )),
47- "TERM" : TerminateOnTotal (
48- TerminateOnTotalSettings (total = int (duration * fs / block_size ))
49- ),
47+ "TERM" : TerminateOnTotal (TerminateOnTotalSettings (total = int (duration * fs / block_size ))),
5048 }
5149
5250 conns = (
Original file line number Diff line number Diff line change 33from pathlib import Path
44
55import ezmsg .core as ez
6- from ezmsg .sigproc . synth import Counter , CounterSettings
6+ from ezmsg .simbiophys . counter import Counter , CounterSettings
77from ezmsg .util .messagecodec import message_log
88from ezmsg .util .messagelogger import MessageLogger , MessageLoggerSettings
99from ezmsg .util .messages .axisarray import AxisArray
@@ -53,9 +53,7 @@ def test_torch_model_unit_system():
5353 },
5454 ),
5555 "LOG" : MessageLogger (MessageLoggerSettings (output = test_filename )),
56- "TERM" : TerminateOnTotal (
57- TerminateOnTotalSettings (total = int (duration * fs / block_size ))
58- ),
56+ "TERM" : TerminateOnTotal (TerminateOnTotalSettings (total = int (duration * fs / block_size ))),
5957 }
6058
6159 conns = (
You can’t perform that action at this time.
0 commit comments