gibuu is hosted by Hepforge, IPPP Durham
GiBUU

TABLE OF CONTENTS


/Averager [ Modules ]

[ Top ] [ Modules ]

NAME

module Averager

PURPOSE

Encapsulate all routines and datas for a statistical 'averager'

Calculates mean, deviation etc of a statistical variable

INPUTS

...(This module needs no input)


Averager/tAverager [ Types ]

[ Top ] [ Averager ] [ Types ]

NAME

type Averager

PURPOSE

Type definition to store all information of an averager

SOURCE

  type, public :: tAverager
     integer :: count = 0 ! number of entries counted
     real,dimension(0:4) :: sum = 0.0 ! sum of entries to different powers
  end type tAverager

Averager/AveragerClear [ Subroutines ]

[ Top ] [ Averager ] [ Subroutines ]

PURPOSE

reset the given Averager

INPUTS

OUTPUT


Averager/AveragerAdd [ Subroutines ]

[ Top ] [ Averager ] [ Subroutines ]

PURPOSE

add a value with some weight to the averager

INPUTS

  • type(tAverager) :: A --- the Averager to use
  • real :: val --- the value to add
  • real, OPTIONAL :: weight --- te weight of the value

OUTPUT


Averager/AveragerCount [ Functions ]

[ Top ] [ Averager ] [ Functions ]

PURPOSE

return the count of the given Averager

INPUTS


Averager/AveragerNorm [ Functions ]

[ Top ] [ Averager ] [ Functions ]

PURPOSE

return the normalization (i.e. sum of weights) of the given Averager

INPUTS


Averager/AveragerMean [ Functions ]

[ Top ] [ Averager ] [ Functions ]

PURPOSE

return the average value of the given Averager

INPUTS


Averager/AveragerVariance [ Functions ]

[ Top ] [ Averager ] [ Functions ]

PURPOSE

return the variance (i.e. the second central moment) of the given Averager

INPUTS

NOTES


Averager/AveragerStdDev [ Functions ]

[ Top ] [ Averager ] [ Functions ]

PURPOSE

return the standard deviation (i.e. the square root of the variance) of the given Averager

INPUTS

NOTES


Averager/AveragerStdErr [ Functions ]

[ Top ] [ Averager ] [ Functions ]

PURPOSE

return the standard error of the given Averager

The standard error of the arithmetic average is given by the standard deviation, divided by the square root of the nomber of entries

INPUTS


Averager/AveragerCentralMom [ Functions ]

[ Top ] [ Averager ] [ Functions ]

PURPOSE

return the ith central moment of the given Averager

INPUTS


Averager/AveragerWrite [ Subroutines ]

[ Top ] [ Averager ] [ Subroutines ]

PURPOSE

write the given Averager to some file

INPUTS