| layout | page |
|---|---|
| title | Command line |
| navigation | 5 |
The WCxf command line tool requires Python version 3.5 or above. It can be installed with the command
pip3 install wcxfIt can be used for conversion, validation, translation, and matching of WCxf files. You can display all options by running
wcxf -hin the terminal.
To convert a WCxf file in YAML format to JSON, run
wcxf convert json my_file.ymlTo validate a basis file, run
wcxf validate basis my_basis.ymland for a Wilson coefficient file
wcxf validate wc my_coeffs.ymlIt accepts input files in YAML or JSON format.
To translate a Wilson coefficient file to a different basis of the same EFT (e.g. the flavio basis), run
wcxf translate flavio my_wet_jms_coeffs.ymlNote that basis names are case sensitive; check the list of existing bases to find the correct spelling.
To match Wilson coefficients from a UV to an IR EFT, e.g. from SMEFT to WET, run
wcxf match WET JMS my_smeft_warsaw_coeffs.ymlNote that EFT and basis names are case sensitive; check the list of existing EFTs and bases to find the correct spelling.
The source code can be found on Github.