(function from pyomo.contrib.mpc.data.convert)
pyomo.contrib.mpc.data.convert
data (TimeSeriesData) – Data that will be converted into an IntervalData object
use_left_endpoints (Bool (optional)) – Flag indicating whether values on intervals should come from the values at the left or right endpoints of the intervals
IntervalData