XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


emsaplib (emsaplib-2.29.1) [xmmsas_20141104_1833-14.0.0]

cumulativePoisson badpixutils_mod module quantilePoisson Home Index

Meta Index / Home Page / Description / badpixutils_mod module

compCumulPoisson

Aim: Compute complementary cumulative Poisson distribution over some range. compCumulPoisson(k) = Sum(k to infinity) P(k)

The routine declaration is:

  subroutine compCumulPoisson(mu, kmin, kmax, cvf)

! Input:
! mu      : average value
! kmin    : minimum number of counts
! kmax    : maximum number of counts
! Output:
! cvf(1:kmax-kmin+1) : complementary cumulative Poisson distribution
!                      from kmin to kmax

    real(double), intent(in) :: mu
    integer,      intent(in) :: kmin, kmax
    real(double), dimension(:), intent(out) :: cvf



XMM-Newton SOC/SSC -- 2014-11-04