pyacs.gts.Sgts_methods.gts_mp module
- pyacs.gts.Sgts_methods.gts_mp.gts_mp(self, method, *args, **kwargs)[source]
Apply a Gts method to each series in parallel (ProcessPoolExecutor).
- Parameters:
method (str) – Gts method name (e.g. ‘detrend’).
*args (tuple) – Positional arguments for the method.
**kwargs (dict) – Keyword arguments; ncpu (int) sets number of CPUs (default 4).
- Returns:
New Sgts with processed Gts instances.
- Return type: