nobeam / latticejson

A JSON based lattice file format
https://nobeam.github.io/latticejson
GNU General Public License v3.0
12 stars 2 forks source link

arctan madx #78

Closed tomerten closed 3 years ago

tomerten commented 3 years ago

Math failure on arctan. Can we add arctan to the math expressions?

Problem: math package uses atan instead of arctan

Proposed solution by editing parse.py lines 44-45: add if statement: if function == arctan: function = atan ?