driptorch.Pattern.merge#
- Pattern.merge(pattern: driptorch.pattern.Pattern, time_offset: float = 0, inplace: bool = False) driptorch.pattern.Pattern #
Merge an input pattern with self
- Parameters
- patternPattern
Input pattern to be merged into self
- time_offsetfloat
Time offset between patterns (seconds)
- inplacebool, optional
Overwrites Pattern object if true, otherwise return new Pattern object. Defaults to True.
- Returns
- Pattern
Merged pattern object
- Raises
- EPSGError.non_equivalent: EPSG code for input pattern does not match self.epsg