shapelets.sandbox#

shapelets.sandbox(file: Optional[str] = None) SandBox#

Factory method for SandBox instances.

It validates parameters and ensures a local catalogue of SandBoxes and connections per thread are kept to minimise the likelihood of threading issues.

Parameters:
file: str, optional; defaults to None

When set, this parameter should point to a file where the SandBox may store its data. When left unset (default behaviour) the SandBox will operate in memory.