dirac-institute / kbmod

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

add method to load a `WorkUnit` after being lazily initialized #679

Closed maxwest-uw closed 3 months ago

maxwest-uw commented 3 months ago

might help with workflow stuff and is generally good for testing.

use pattern

wu = kb.work_unit.WorkUnit.from_sharded_fits("filename", "directory", lazy=True)
...
# do some other stuff, like read manipulate metadata
...
# now I want to load in the `ImageStack`
wu.load_images()