merge_patches
Merge all compatible patches in spool or patch list together.
Parameters
| Parameter | Description | 
|---|---|
| patches | A sequence of patches to merge (if compatible) | 
| dim | The dimension along which to merge | 
| check_history | 
If True, only merge patches with common history. This will, for example, prevent merging filtered and unfiltered data together.  | 
| tolerance | 
The upper limit of a gap to tolerate in terms of the sampling along the desired dimension. e.g., the default value means any patches with gaps <= 1.5 * dt will be merged.  |