ezmsg-sigproc 1.3.1__py3-none-any.whl → 1.3.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.3.1'
16
- __version_tuple__ = version_tuple = (1, 3, 1)
15
+ __version__ = version = '1.3.3'
16
+ __version_tuple__ = version_tuple = (1, 3, 3)
@@ -76,16 +76,15 @@ def affine_transform(
76
76
  ):
77
77
  in_labels = msg_in.axes[axis].labels
78
78
  new_labels = []
79
- n_in = weights.shape[1 if right_multiply else 0]
80
- n_out = weights.shape[0 if right_multiply else 1]
79
+ n_in, n_out = weights.shape
81
80
  if len(in_labels) != n_in:
82
81
  # Something upstream did something it wasn't supposed to. We will drop the labels.
83
82
  ez.logger.warning(
84
83
  f"Received {len(in_labels)} for {n_in} inputs. Check upstream labels."
85
84
  )
86
85
  else:
87
- b_used_inputs = np.any(weights, axis=0 if right_multiply else 1)
88
- b_filled_outputs = np.any(weights, axis=1 if right_multiply else 0)
86
+ b_filled_outputs = np.any(weights, axis=0)
87
+ b_used_inputs = np.any(weights, axis=1)
89
88
  if np.all(b_used_inputs) and np.all(b_filled_outputs):
90
89
  # All inputs are used and all outputs are used, but n_in != n_out.
91
90
  # Mapping cannot be determined.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ezmsg-sigproc
3
- Version: 1.3.1
3
+ Version: 1.3.3
4
4
  Summary: Timeseries signal processing implementations in ezmsg
5
5
  Author-email: Griffin Milsap <griffin.milsap@gmail.com>, Preston Peranich <pperanich@gmail.com>, Chadwick Boulay <chadwick.boulay@gmail.com>
6
6
  License-Expression: MIT
7
7
  License-File: LICENSE.txt
8
8
  Requires-Python: >=3.9
9
9
  Requires-Dist: ezmsg>=3.5.0
10
- Requires-Dist: numpy>=2.0.2
10
+ Requires-Dist: numpy>=1.26.0
11
11
  Requires-Dist: pywavelets>=1.6.0
12
12
  Requires-Dist: scipy>=1.13.1
13
13
  Provides-Extra: test
@@ -1,7 +1,7 @@
1
1
  ezmsg/sigproc/__init__.py,sha256=8K4IcOA3-pfzadoM6s2Sfg5460KlJUocGgyTJTJl96U,52
2
- ezmsg/sigproc/__version__.py,sha256=cOVPCvD2h2G_2KB6G3ddreYkIQfAnS6WqgAkF_qgGOQ,411
2
+ ezmsg/sigproc/__version__.py,sha256=VriGPi1kVXIBM0YGAuhpE803XR-FNq1JvTW1Kz2us08,411
3
3
  ezmsg/sigproc/activation.py,sha256=-KgDSVmgYx8QhHM5UQHkMN6rHudeasuWOYhmM2_aWH0,2068
4
- ezmsg/sigproc/affinetransform.py,sha256=pJlg07sXf-o-Rv-pSD1_M_kH0xWBM9vYKGcJ7HCGndU,8938
4
+ ezmsg/sigproc/affinetransform.py,sha256=8glamFplQ0uwp-80U_StkF6a__tsh50JW7Tb77ZEQmw,8801
5
5
  ezmsg/sigproc/aggregate.py,sha256=8kVs2S2MUuTZkRwn-vh4utv8uoWwWrIkgalxcBdT39M,5490
6
6
  ezmsg/sigproc/bandpower.py,sha256=l_R_qcrRTLGYjg40VAinIHz24pdwET4AS4RXd2Ctcig,2126
7
7
  ezmsg/sigproc/base.py,sha256=VtlneWR0GAsWzAfqMzFy-WYPbeF8C3qVenqj7h_Cfek,1224
@@ -29,7 +29,7 @@ ezmsg/sigproc/math/difference.py,sha256=tacbt3KKQOhoYaFMlrASC2GhYQG1J6Hdaa9J1zg_
29
29
  ezmsg/sigproc/math/invert.py,sha256=X6Pp0oYg5A3tpDxfI513xjYg2yXjsosR048AxCWzIwI,667
30
30
  ezmsg/sigproc/math/log.py,sha256=T3DST5gpva3lTHmbJkDWVpJyqEVeydUuZSOQCThbvIg,757
31
31
  ezmsg/sigproc/math/scale.py,sha256=Ge99e43m1tYoxwQEZ2y-jPq6XQn_IvuKLPaTT2y5vPI,746
32
- ezmsg_sigproc-1.3.1.dist-info/METADATA,sha256=ptbJ2GJiM8MGM4HwszIg9_mQJLrJETbnmPT-7V6TD28,2375
33
- ezmsg_sigproc-1.3.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
34
- ezmsg_sigproc-1.3.1.dist-info/licenses/LICENSE.txt,sha256=seu0tKhhAMPCUgc1XpXGGaCxY1YaYvFJwqFuQZAl2go,1100
35
- ezmsg_sigproc-1.3.1.dist-info/RECORD,,
32
+ ezmsg_sigproc-1.3.3.dist-info/METADATA,sha256=05rs7K2AzE-kgy7eflcf_jywViILDF55qXn4JGaN2eg,2376
33
+ ezmsg_sigproc-1.3.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
34
+ ezmsg_sigproc-1.3.3.dist-info/licenses/LICENSE.txt,sha256=seu0tKhhAMPCUgc1XpXGGaCxY1YaYvFJwqFuQZAl2go,1100
35
+ ezmsg_sigproc-1.3.3.dist-info/RECORD,,