def get_pixel_register_objects(self, do_sort=None, reverse=False, **kwargs):
<EOL>try:<EOL><INDENT>names = iterable(kwargs.pop('<STR_LIT:name>'))<EOL><DEDENT>except KeyError:<EOL><INDENT>register_objects = []<EOL><DEDENT>else:<EOL><INDENT>register_objects = [self.pixel_registers[reg] for reg in names]<EOL><DEDENT>for keyword in kwargs.iterkeys():<EOL><INDENT>allowed_values = iterable(kwargs[keyword])<EOL>register_objects.extend(filter(lambda pixel_register: pixel_register[keyword] in allowed_values, self.pixel_registers.itervalues()))<EOL><DEDENT>if not register_objects and filter(None, kwargs.itervalues()):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if do_sort:<EOL><INDENT>return sorted(register_objects, key=itemgetter(*do_sort), reverse=reverse)<EOL><DEDENT>else:<EOL><INDENT>return register_objects<EOL><DEDENT>
Generate register objects (list) from register name list

        Usage: get_pixel_register_objects(name = ["TDAC", "FDAC"])
        Receives: keyword lists of register names, addresses,...
        Returns: list of register objects