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 18 forks source link

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

Closed peterstangl closed 2 years ago

peterstangl commented 2 years 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 2 years ago

Makes sense