

def _process(self, raster, key=None):
    specs = tuple((el.strip() for el in self.p.spec.split('*')))
    (ordering, strengths) = self._match_overlay(raster, ordering)
    if all(((el is None) for el in ordering)):
        raise Exception('The image_overlay operation requires at least one match')
    completed = []
    strongest = ordering[np.argmax(strengths)]
    for (el, spec) in zip(ordering, specs):
        if (el is None):
            spec_dict = dict(zip(['type', 'group', 'label'], spec.split('.')))
            el = Image((np.ones(strongest.data.shape) * self.p.fill), group=spec_dict.get('group', 'Image'), label=spec_dict.get('label', ''))
            el.vdims[0].range = self.p.default_range
        completed.append(el)
    return np.prod(completed)

dataset/ETHPy150Open ioam/holoviews/holoviews/operation/element.py image_overlay._process/VarMisuse@54/60 `specs`->`ordering`