Skip to content

Averaging distributions #19628

Discussion options

You must be logged in to vote

@filippov1 the integer arguments you pass for start, stop and stride are state-index terms, not in the data producer's cycle or time terms.

So, for example, if you have a data producer (evaluating some PDE) producing 20 output files every 0.1 seconds (in simulation time) starting at time 1.5 seconds (in simulation time) and ending at 3.5 seconds (in simulation time), and you want to average only the stuff in the second half of the run, you would do average_over_time(P, 10,20,1) and NOT average_over_time(P, 2.5,3.5,0.1).

That is, start, stop and stride are an index over the set of available timestates that VisIt can actually read.

Does that make sense?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by markcmiller86
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #19627 on July 01, 2024 00:11.