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


ssclib (ssclib-4.36.1) [xmmsas_20230412_1735-21.0.0]


andRangesPair

This function takes as input two sequences of ranges and returns a sequence which contains all overlaps between the input ranges.

Points to note:

%  function andRangesPair(rangesA, rangesB, doChecks) result(andedRanges)
  function andRangesPair(rangesA, rangesB) result(andedRanges)
    type(RangeT),  intent(in) :: rangesA(:), rangesB(:)
    type(RangeT),  pointer    :: andedRanges(:)
%    logical(bool), intent(in), optional :: doChecks
  end function andRangesPair



XMM-Newton SOC -- 2023-04-16