Skip to content

Major Changes

Jeremy Kubica edited this page Nov 7, 2022 · 5 revisions

Release Notes and Major Changes

Build System Redesign (Nov 3rd, 2022)

Pull request #169 redesigned the build system and code organization to make kbmod pip installable.

Encoded Images on GPU (Oct 12th, 2022)

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.

Per-Image PSFs (Sept 19th, 2022)

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)