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


ssclib (ssclib-4.36.1) [xmmsas_20230412_1735-21.0.0]

isWithinInterval

  logical(bool) function isWithinInterval(time, intervals, includeBoundary)
    real(double),    intent(in)           :: time
    type(IntervalT), intent(in)           :: intervals(:)
    logical(bool),   intent(in), optional :: includeBoundary
  end function isWithinInterval

The argument `time' is tested to see if it falls within any of the intervals. If optional argument `includeBoundary' is included and set to TRUE, interval boundaries are considered: that is, for example, if time=intervals(i)

NOTE! This function requires the intervals to be well-formed (see section 17.1).



XMM-Newton SOC -- 2023-04-16