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


emsaplib (emsaplib-2.33) [xmmsas_20230412_1735-21.0.0]

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 -- 2023-04-16