dirac-institute / kbmod

KBMOD (Kernel-Based Moving Object Detection)
BSD 2-Clause "Simplified" License
45 stars 14 forks source link

Add more debugging information and productionization checks #638

Closed jeremykubica closed 4 months ago

jeremykubica commented 4 months ago

Add a variety of checks, more meaningful error information, and use of unsigned integers. This PR is aimed at future proofing larger runs of KBMOD and avoiding potential future errors.

The largest change is the creation of a simple wrapper function assert_sizes_equal() that handles both a test and throwing a meaningful error. This replaces a lot of individual tests with text formatting.