List of stencil sets.
517827
def stencil_sets(self):
        """"""
        if not self._stencil_sets:
            self._stencil_sets = self.manifest['stencil_sets']
        return self._stencil_sets
603207
def to_designspace_instances(self):
    """"""
    for instance in self.font.instances:
        if self.minimize_glyphs_diffs or (
            is_instance_active(instance)
            and _is_instance_included_in_family(self, instance)
        ):
            _to_designspace_instance(self, instance)
381988
def graphics(self) -> typing.List[Graphic]:
        
        return [Graphic(graphic) for graphic in self.__display_item.graphics]
1012458
def cartesian_lists(d):
    
    return [{k: v for k, v in zip(d.keys(), args)}
            for args in itertools.product(*d.values())]
1155785
def make_pattern_list(patterns):
    """"""
    pattstrs = []
    for desc, patts in patterns:
        # ";," not allowed in descriptions or patterns
        patts = [p.replace(";", "").replace(",", "") for p in patts]
        desc = desc.replace(";", "").replace(",", "")
        pattstrs.append("%s=%s" % (desc, ','.join(patts)))
    return ";".join(pattstrs)
785048
def print_collection(self, c, h, n):
        """"""
        if c in h:
            return "[]..."
        h.append(c)
        s = []
        for item in c:
            s.append("\n")
            s.append(self.indent(n))
            s.append(self.process(item, h, n - 2))
            s.append(",")
        h.pop()
        return "".join(s)
1237893
def image_sets(self):
        
        images = self._original_images()
        for image in images:
            yield ImageSubset(self, **image.identity_map)
1005763
def items(cls):
        
        return [
            cls.TRUE_COLOR,
            cls.FALSE_COLOR,
            cls.NDVI,
            cls.EVI
        ]
829889
def _images(self, sys_output):
    
        '''  '''

        import re
        gap_pattern = re.compile('\t|\s{2,}')
        image_list = []
        output_lines = sys_output.split('\n')
        column_headers = gap_pattern.split(output_lines[0])
        for i in range(1,len(output_lines)):
            columns = gap_pattern.split(output_lines[i])
            if len(columns) == len(column_headers):
                image_details = {}
                for j in range(len(columns)):
                    image_details[column_headers[j]] = columns[j]
                image_list.append(image_details)

        return image_list
959944
function getter_THREE_LineBasicMaterial(inst) {
	return [
		inst.name,
		inst.side,
		inst.opacity,
		inst.blending,
		inst.blendSrc,
		inst.blendDst,
		inst.blendEquation,
		inst.depthFunc,
		inst.polygonOffsetFactor,
		inst.polygonOffsetUnits,
		inst.alphaTest,
		inst.overdraw,
		inst.blendSrcAlpha,
		inst.blendDstAlpha,
		inst.blendEquationAlpha,
		inst.transparent,
		inst.depthTest,
		inst.depthWrite,
		inst.colorWrite,
		inst.polygonOffset,
		inst.visible,
		inst.precision,
		inst.color,
		inst.linewidth,
		inst.linecap,
		inst.linejoin,
		inst.vertexColors,
		inst.fog];
}
500369
def all_combinations(items):
    """"""
    return (set(compress(items,mask)) for mask in product(*[[0,1]]*len(items)))
636116
def cross_lists(*sets):
    """"""
    wheels = [iter(_) for _ in sets]
    digits = [next(it) for it in wheels]
    while True:
        yield digits[:]
        for i in range(len(digits)-1, -1, -1):
            try:
                digits[i] = next(wheels[i])
                break
            except StopIteration:
                wheels[i] = iter(sets[i])
                digits[i] = next(wheels[i])
        else:
            break
362599
def load_stencil_set(self, stencilset_name):
        """"""
        if stencilset_name not in self._stencil_sets:
            if stencilset_name not in self.manifest['stencil_sets'].keys():
                raise exc.FastfoodStencilSetNotListed(
                    "Stencil set '%s' not listed in %s under stencil_sets."
                    % (stencilset_name, self.manifest_path))
            stencil_path = os.path.join(
                self.path, 'stencils', stencilset_name)
            self._stencil_sets[stencilset_name] = (
                stencil_module.StencilSet(stencil_path))
        return self._stencil_sets[stencilset_name]
455570
def pixlen(text, widthlist, fontsize):
    """"""
    pl = 0.0
    for t in text:
        pl += widthlist[ord(t)]
    return pl * fontsize
614813
def generate_srcset(piece)
        piece.styles.map do |name, width|
          if piece.image.attachment.exists?(computed_style(piece, name).to_sym)
            "#{piece.image.attachment.url(computed_style(piece, name).to_sym)} #{width}w"
          else
            "#{piece.image.attachment.url(:original)} #{width}w"
          end
        end.join(', ')
      end
916413
def _generatePattern(self, numBits, totalSize):
    
    cellsIndices = range(totalSize)
    random.shuffle(cellsIndices)
    return set(cellsIndices[:numBits])
698959
def label_set(self):
        """"""
        label_set = list()
        for class_ in self.class_set:
            samples_in_class = self.sample_ids_in_class(class_)
            label_set.append(self.labels[samples_in_class[0]])

        return label_set