Skip to content

Decorator for planar analysis modules

Philip Loche requested to merge (removed):17-base_classes into develop

Partly closes #17 (closed) 😉

This MR adds the decorator @planar_base() useful for planar analysis modules. It covers recurrent code blocks for centering, the center of mass shifting, the bin width, and the dimension of analysis.

The MR is still WIP since documentation and all tests are missing. But I want to hear your opinion on the design. I also thought about adding another new class but a decorator seems more flexible.

Edited by Philip Loche

Merge request reports