You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Res object to give our results: numerical value, error, unit,
Output customizable via global options (no TOML file instead global export config)
Multiple error values: systematic, statistical, and further
unit in siunitx
significant digits: if multiple errors are present: take the biggest error, let this one determine the number of digits of the main result, and display the other errors according to their own precision
manually specify number of significant digits (sigfigs), this overrides the logic of the program: usually it determines the number of decimal places based on the "error value", but with sigfigs specified, it will base this decision off the "main value"
globally import just like plt interface from matplotlib
allow pm in qty and arbitrary string such that we can do things like (1.0 +- 0.1) \cdot 10^2 -> outsource as much as possible to siunitx, use \num{..}; if we have to implement this on our own: allow internationalization for the $\cdot$ sign, e.g. use $\times$ in AE
Allow easy disabling of rounding for one variable #7 turn rounding off for a variable -> current problem with this: we pass in values as floats and don't know how many digits they have; workaround: if user specifies number as string, then don't round that number, also for any number, e.g. errors
What we wish to have as features:
Resobject to give our results: numerical value, error, unit,sigfigs), this overrides the logic of the program: usually it determines the number of decimal places based on the "error value", but withsigfigsspecified, it will base this decision off the "main value"pltinterface frommatplotlibpminqtyand arbitrary string such that we can do things like(1.0 +- 0.1) \cdot 10^2-> outsource as much as possible tosiunitx, use\num{..}; if we have to implement this on our own: allow internationalization for theresint, e.g. wiz.resint("i", i)wizLaengeValueOnly, see Add option to additionally export variable without unit #11wiz.printByDefault()orwiz.res("laenge", 5, 0.01).print()get_latex()value onlywiz.export()wiz.clear()as workaround for Cached globals in Jupyter notebook [low prio] #6Edit:
\qtyvs.\SI, especially assert compatibility with thephysicspackagerescall. AND: option to automatically recreate theresults.texupon everyrescall.TODO