The epoch class bundles data and kdtree. In many use cases, kdtree building can already been done in preprocessing and not just before change analysis. To enable a user-friendly loading and saving/loading of epochs, the implementation of load/save on top of the pickle of the epoch objects is needed.
Be aware that it might be good to store the kdtree type/class in the epoch object, in case in the future, the kdtree might be replaceable. Further storing the version of pytreedb in the epoch class might be good in case of load/save in order to synchronize stored data (of older software versions) with newer software versions.
The epoch class bundles data and kdtree. In many use cases, kdtree building can already been done in preprocessing and not just before change analysis. To enable a user-friendly loading and saving/loading of epochs, the implementation of load/save on top of the pickle of the epoch objects is needed.
Be aware that it might be good to store the kdtree type/class in the epoch object, in case in the future, the kdtree might be replaceable. Further storing the version of pytreedb in the epoch class might be good in case of load/save in order to synchronize stored data (of older software versions) with newer software versions.