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


ssclib (ssclib-4.36.1) [xmmsas_20230412_1735-21.0.0]

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