average calculate averages of an image series
USAGE: average .First input filename: image001 [Enter the name of the first image that will be averaged.] .Add to existing file Y/N: N [Specify if you are adding images to an already existing average.] If the answer to the question above was "Y" .Number of images already averaged: 127 [Enter the number of images that were used to calculate the existing average.] .Average offset from before: 0.23 [Enter the average offset that was determined by the previous averaging step.] .File numbers in document file? (D): D [Answer "D" if the file numbers should be read from a document file.] If "D" was answered: .Document file: Numdoc001 [Enter the name of the document file that contains the file numbers.] .Column containing file numbers: 3 [Enter the column that contains the file numbers. (key=0).] Otherwise: .File numbers: 1-250 [Enter the file numbers of the images that are averaged. Missing images allowed.] .Average all (def), split odd/even, (A/O): O [Enter if you want to average all images of split them into two sets and calculate two averages and veriances. Splitting the data set is intendend for resolution measurements.] If "A" was answered: .Average file name: average001 [Enter name of the average image.] .Variance file name: vari001 [Enter name of the variance image.] If "O" (split odd/even) was answered: .Odd vaverage file name: odaverage001 [Enter file name for the average of the odd particles.] .Odd variance file name: odvari001 [Enter file name for the variance image of the odd particles.] .Even average file name: evaverage001 [Enter file name for the average of the even particles.] .Even variance file name: evvari001 [Enter file name for the variance image of the even particles.] .Enter varaible of output odffset: v.off [Enter a variable that will receive the offset value of the average witbin a named tuple. The offset will be found in v.off.offset] Programs: adds_m.f, in /extras/fstandalone/applications. Program estracted /adapted from SPIDER. Author(s): M.Radermacher, others.