add_spaces¶
-
zfit.dimension.
add_spaces
(*spaces, name=None)[source]¶ Add two spaces and merge their limits if possible or return False.
- Parameters
spaces (
Iterable
[ZfitSpace
]) –- Returns
- Return type
Union[None,
Space
, bool]- Raises
LimitsIncompatibleError – if limits of the spaces cannot be merged because they overlap