ezmsg-org / ezmsg

Pure-Python DAG-based high-performance SHM-backed pub-sub and multi-processing pattern
https://ezmsg.readthedocs.io/en/latest/
MIT License
9 stars 4 forks source link

sigproc - All AxisArray in-out functions and Units should keep input msg data type #118

Closed cboulay closed 2 months ago

cboulay commented 2 months ago

I would like to do a pass on all the sigproc functions and Units to make sure they are using dataclasses.replace to produce the output, instead of creating an AxisArray from scratch. The goal of this effort is to allow new AxisArray subclasses to be used in the processing chain.

cboulay commented 2 months ago

I just looked through all the sigproc modules and all the functions that expect AxisArray-like both for input and output all use replace. This is a non-issue.