https://github.com/copick/DeepFindET/blob/15cef0e7a6000ea73df440042a8999812992e57d/deepfindET/entry_points/step4.py#L2C1-L2C41