Repository: pnnl/neuromancer (language: python)

Issue:
Develop



Discussion / hints:

Fix patch:
diff --git a/src/neuromancer/psl/signals.py b/src/neuromancer/psl/signals.py
index e1c47490..4371c9c3 100644
--- a/src/neuromancer/psl/signals.py
+++ b/src/neuromancer/psl/signals.py
@@ -434,7 +434,7 @@ def nd_walk(nsim, d, min:_float_or_npd=0., max:_float_or_npd=1., x0:_float_or_np
 
 periodic_signals = {f'{stype}': functools.partial(periodic, form=stype) for stype in _periodic_functions}
 signals = {**periodic_signals, 'walk': walk, 'noise': noise, 'step': step, 'spline': spline,
-           'sines': sines,  'arma': arma, 'prbs': prbs}
+           'sines': sines,  'arma': arma, 'prbs': prbs, 'beta':beta, 'beta_walk_mean':beta_walk_mean, 'beta_walk_max_step':beta_walk_max_step}
 
 
 if __name__ == '__main__':


Test patch:
diff --git a/tests/psl/test_signals.py b/tests/psl/test_signals.py
index 1288903d..4bc12210 100644
--- a/tests/psl/test_signals.py
+++ b/tests/psl/test_signals.py
@@ -17,7 +17,7 @@ def test_signal_shape(signal, nsim, d):
     """
     out = signal(nsim, d)
     assert isinstance(out, np.ndarray)
-    assert np.issubdtype(out.dtype, np.float64)
+    assert np.issubdtype(out.dtype, np.floating)
     assert out.shape == (nsim, d)