← Back to team overview

yade-users team mailing list archive

Re: [Question #702411]: Calculation of a time averaging of a physical quantity

 

Question #702411 on Yade changed:
https://answers.launchpad.net/yade/+question/702411

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,

Something like this?

timeSeries = []

while totalRotation<something:
    O.run(someSteps)
    for im in listcase:
              [your averaging like above]
    timeSeries.append(velmoy)

timeAverage = np.average(timeSeries)

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.