def get_pixel_register_bitset(self, register_object, bit_no, dc_no):
if not <NUM_LIT:0> <= dc_no < <NUM_LIT>:<EOL><INDENT>raise ValueError("<STR_LIT>" % register_object['<STR_LIT:name>'])<EOL><DEDENT>if not <NUM_LIT:0> <= bit_no < register_object['<STR_LIT>']:<EOL><INDENT>raise ValueError("<STR_LIT>" % register_object['<STR_LIT:name>'])<EOL><DEDENT>col0 = register_object['<STR_LIT:value>'][dc_no * <NUM_LIT:2>, :]<EOL>sel0 = (<NUM_LIT:2> ** bit_no == (col0 & <NUM_LIT:2> ** bit_no))<EOL>bv0 = bitarray(sel0.tolist(), endian='<STR_LIT>')<EOL>col1 = register_object['<STR_LIT:value>'][dc_no * <NUM_LIT:2> + <NUM_LIT:1>, :]<EOL>sel1 = (<NUM_LIT:2> ** bit_no == (col1 & <NUM_LIT:2> ** bit_no))<EOL>bv1 = bitarray(sel1.tolist(), endian='<STR_LIT>')<EOL>bv1.reverse()  <EOL>return bv1 + bv0<EOL>
Calculating pixel register bitsets from pixel register addresses.

        Usage: get_pixel_register_bitset(object, bit_number, double_column_number)
        Receives: register object, bit number, double column number
        Returns: double column bitset