# combine_spaces¶

zfit.dimension.combine_spaces(*spaces)[source]

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

Parameters

spaces (Iterable[Space]) –

Returns

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.

Raises