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


ssclib (ssclib-4.28.1) [xmmsas_20141104_1833-14.0.0]

andRangePair Routines which act on valueIsWithinRange Home Index

Meta Index / Home Page / DSS utilities / Routines which act on

orRangePair

This subroutine takes two overlapping ranges and returns a single range which contains the sum of the two ranges.

Note that the function will not work UNLESS THE RANGES OVERLAP as tested by checkRangeOverlap() (see section 9.4.2).

  function orRangePair(rangeA, rangeB) result(oredRanges)
    type(RangeT), intent(in) :: rangeA, rangeB
    type(RangeT)             :: oredRanges
  end function orRangePair



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