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


ssclib (ssclib-4.33) [xmmsas_20190531_1155-18.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/SSC -- 2019-06-02