wilson-eft / wilson

A Python package for the running and matching of Wilson coefficients above and below the electroweak scale
https://wilson-eft.github.io
MIT License
26 stars 19 forks source link

make `flavor_rotation` a static method of the `SMEFT` class #106

Closed peterstangl closed 1 year ago

peterstangl commented 1 year ago

The function flavor_rotation is the only function defined in wilson/run/smeft/definitions.py and is only used in the _rotate_defaultbasis method of the SMEFT class. This PR turns flavor_rotation into the static method SMEFT._flavor_rotation and removes wilson/run/smeft/definitions.py.

DavidMStraub commented 1 year ago

Makes sense