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


emsaplib (emsaplib-2.33.1) [22.0.0-9173c7d25-20250127]

localMedian

Aim: Compute median of an array (either integer or real).

The routine declaration is:

  function localMedian(toto,nval)

! toto: 1-D input array of integer or real values
! nval: number of values in toto to consider (optional)

    integer or real, dimension(:), intent(in)  :: toto
    integer, optional,     intent(in)  :: nval



XMM-Newton SOC -- 2025-01-27