finesse.symbols.finesse2sympy

finesse.symbols.finesse2sympy(expr, iter_num=0)[source]

Notes

It might be common for this this function to throw a NotImplementedError. This function maps, by hand, various operator and numpy functions to sympy. If you come across this error, you’ll need to update the if-statement to include the missing operations. Over time this should get fixed for most use cases.