Combine spaces with different obs and limits to one space.

Checks if the limits in each obs coincide exactly. If this is not the case, the combination is not unambiguous and False is returned


spaces (Iterable[Space])


Returns False if the limits don’t coincide in one or more obs. Otherwise

return the Space with all obs from spaces sorted by the order of spaces and with the combined limits.

  • ValueError – if only one space is given

  • LimitsIncompatibleError – If the limits of one or more spaces (or within a space) overlap

  • LimitsNotSpecifiedError – If the limits for one or more obs but not all are None or False.