-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proper handling of units in the user interface #183
Comments
We should take a look at UnitfulRecipes.jl. |
Regarding the input and output units of the signal generation. I think we should return the signal in units of (induced) charge and not "energy" anymore. |
Sounds good. |
I encountered that some keyword arguments ( |
Adding UnitfulRecipes.jl as additional dependency fixes the plotting issue using Plots, Unitful, UnitfulRecipes
plot([1,2]u"m", [1,2]u"m", xlabel = "x", ylabel = "y", legend = false)
plot!([1200,1300]u"mm", [1000,1100]u"mm")
The question is how we want to deal with external units... Should we allow for a keyword argument in the plot recipe, something like |
It should be possible to handle units when it comes to |
It would be nice to allow for units in the user interface, especially for plotting, e.g.
This also comes with nice unit handling in configuration files (see #182).
The text was updated successfully, but these errors were encountered: