[daip] dftpl
Eric Greisen
egreisen at nrao.edu
Tue Dec 9 10:00:39 EST 2008
Andreas Brunthaler wrote:
>
> On Tue, Dec 9, 2008 at 12:55 AM, Eric Greisen <egreisen at nrao.edu
> <mailto:egreisen at nrao.edu>> wrote:
>
>
> This is a constant issue in all averaging tasks. In this case,
> DFTPL is attempting to make a regular grid in the time axis. If you
> ask for 10-sec averaging - the first bin is
> t1 + 0 -> t1 + 10
> second bin
> t1 + 10 -> t1 + 20
> etc. Whatever data fall in a bin are plotted at the average of the
> times that limit that bin. I could think of better algorithms that
> would make an irregular axis but that would involve a rewrite of the
> code which may or may not be justified.
>
>
> Thank you. And t1 is the start of a scan or the start of the whole
> experiment?
>
> Regards,
> Andreas
T1 is the first time in the data set.
The task could be overhauled to plot using the actual data times - which
I now prefer as an averaging method. Thus each average interval starts
with a data same at Ti and ends with the last sample at T < Ti+int. The
next average starts with the first Tj > ti+int and goes to < Tj+int.
That would force the task to be smarter in some ways and to keep an
array of the real average times for the X axis.
Eric Greisen
More information about the Daip
mailing list