New Multiband classes

image
footprints
multiband
Tags: #<Tag:0x00007fd88becba10> #<Tag:0x00007fd88becb8d0> #<Tag:0x00007fd88becb718>

(Fred3m) #1

As of DM-13911 there are now multiband versions of the afw Image, Mask, MaskedImage, Exposure, and HeavyFootprint classes called MultibandImage, MultibandMask, MultibandMaskedImage, MultibandExposure, and MultibandFootprint respectively.

The behavior of the multiband classes is similar to their single band versions except that the first index is now in the filter dimension, so that slicing an image with filters (“G”, “R”, “I”, “Z”, “Y”) is performed using

image["G":"I", bbox]

For a more detailed description of the new functionality and behavior see the docs.