k-wave-python
k-wave-python copied to clipboard
[ENHANCE] Improve structure in transducer related classes
Description of the Enhancement
Two classes for representing and working with transducer, kWaveTransducerSimple and NotATransducer, can be improved in terms of code structure and clarity.
Justification for the Enhancement
- Currently, the boundary between the transducer and it's usage is not clear.
- Naming of the classes are not the best. We chose these names back then for the sake of time efficieny but it is time to improve this.
- Clear separation will help with writing tests and overall code quality.
Impact of Changes
Better naming, clear ownership of the properties and separation between definition and usage of the transducer.