@@ -484,9 +484,9 @@ def run_node_pipeline(
484484 skip_after_n_peaks = None ,
485485):
486486 """
487- Machinery to compute in paralell operations on peaks and traces.
487+ Machinery to compute in parallel operations on peaks and traces.
488488
489- This usefull in several use cases:
489+ This useful in several use cases:
490490 * in sortingcomponents : detect peaks and make some computation on then (localize, pca, ...)
491491 * in sortingcomponents : replay some peaks and make some computation on then (localize, pca, ...)
492492 * postprocessing : replay some spikes and make some computation on then (localize, pca, ...)
@@ -498,13 +498,13 @@ def run_node_pipeline(
498498 Every node is doing a computaion of some peaks and related traces.
499499 The first node is PeakSource so either a peak detector PeakDetector or peak/spike replay (PeakRetriever/SpikeRetriever)
500500
501- Every can have one or several output that can be directed to other nodes (aka nodes have parents).
501+ Every node can have one or several output that can be directed to other nodes (aka nodes have parents).
502502
503- Every node can optionaly have an global output that will be globaly gather by the main process.
503+ Every node can optionally have a global output that will be gathered by the main process.
504504 This is controlled by return_output = True.
505505
506506 The gather consists of concatenating features related to peaks (localization, pca, scaling, ...) into a single big vector.
507- Theses vector can be in "memory" or in file ("npy")
507+ These vectors can be in "memory" or in files ("npy")
508508
509509
510510 Parameters
@@ -523,15 +523,15 @@ def run_node_pipeline(
523523 gather_kwargs : dict
524524 OPtions to control the "gather engine". See GatherToMemory or GatherToNpy.
525525 squeeze_output : bool, default True
526- If only one output node, the, squeeze the tuple
526+ If only one output node then squeeze the tuple
527527 folder : str | Path | None
528528 Used for gather_mode="npz"
529529 names : list of str
530530 Names of outputs.
531531 verbose : bool, default False
532532 Verbosity.
533533 skip_after_n_peaks : None | int
534- Skip the computaion after n_peaks.
534+ Skip the computation after n_peaks.
535535 This is not an exact because internally this skip is done per worker in average.
536536
537537 Returns
0 commit comments