-
Notifications
You must be signed in to change notification settings - Fork 14
Major Changes
Pull request #169 redesigned the build system and code organization to make kbmod pip installable.
Pull request #152 enabled the algorithm to compress images before sending them to the GPU in order to save GPU memory. The compression is enabled by two parameters: encode_psi_bytes
and encode_phi_bytes
.
Pull request #137 changed how PSFs are passed into the kbmod code. Instead of passing PSFs in where they are used (e.g. addObject
and maskObject
) the code takes in a per-image PSF during the creation of each LayeredImage
. This allows users to specify PSFs for different times and spatial regions (one per image). For example, the creation of new LayeredImages should be changed from:
im = kb.layered_image(\"image2\", 100, 100, 5.0, 25.0, 0.0)
to:
im = kb.layered_image(\"image2\", 100, 100, 5.0, 25.0, 0.0, p)