expand_interval¶
- expand_interval(interval, calto_args, calto_fn)[source]¶
Convert an Interval into the equivalent list of (CalTo, [CalFrom..]) 2-tuples.
This function is the partner function to expand_intervaltree. See the documention for expand_intervaltree for more details on the argument format for this function.
- Parameters:
interval -- the Interval to convert
calto_args -- the list of (argument name, conversion function) 2-tuples for the remaining dimensions
calto_fn -- the partial CalToArgs application
- Returns:
a list of (CalTo, [CalFrom..]) tuples