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
Hopefully this isn't noise, but after reading the documentation, I didn't see a natural way to create a progress bar which displays progress to exceed a real-valued parameter.
For example, what I would like is something like:
julia>using Unitful
julia>using ProgressMeter
julia> tf =2.0u"s"
julia> p =ProgressTo(tf, 1)
julia> t =0.0u"s"
julia>while t < tf
t +=randn()
update!(p, t)
end
The closest thing I found was the ProgressThresh, but this displays progress to going below a certain real value.
Note: I have the following workaround:
julia> n =Int64(round(ustrip(tf)*1000000000000)) # hope this is an integer!
julia> p =Progress(n, 1)
and then make the same conversion with the time.
The text was updated successfully, but these errors were encountered:
NAThompson
changed the title
Progress to a real-valued threshold?
Progress to exceed real-valued threshold?
Nov 7, 2021
Hopefully this isn't noise, but after reading the documentation, I didn't see a natural way to create a progress bar which displays progress to exceed a real-valued parameter.
For example, what I would like is something like:
The closest thing I found was the
ProgressThresh
, but this displays progress to going below a certain real value.Note: I have the following workaround:
and then make the same conversion with the time.
The text was updated successfully, but these errors were encountered: