def get_qpimage_raw(self, idx=<NUM_LIT:0>):
name = self._get_experiments()[idx]<EOL>with h5py.File(name=self.path, mode="<STR_LIT:r>") as h5:<EOL><INDENT>exp = h5["<STR_LIT>"][name]<EOL>data = exp["<STR_LIT:data>"][:]<EOL>rx = exp["<STR_LIT>"].attrs["<STR_LIT>"]<EOL>ry = exp["<STR_LIT>"].attrs["<STR_LIT>"]<EOL>if rx != ry:<EOL><INDENT>raise NotImplementedError("<STR_LIT>")<EOL><DEDENT>runit = exp["<STR_LIT>"].attrs["<STR_LIT>"]<EOL>if runit == "<STR_LIT>":<EOL><INDENT>pixel_size = rx * <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>raise NotImplementedError("<STR_LIT>")<EOL><DEDENT><DEDENT>meta_data = {"<STR_LIT>": pixel_size}<EOL>meta_data.update(self.meta_data)<EOL>qpi = qpimage.QPImage(data=data,<EOL>which_data="<STR_LIT>",<EOL>meta_data=meta_data,<EOL>holo_kw=self.holo_kw,<EOL>h5dtype=self.as_type)<EOL>qpi["<STR_LIT>"] = self.get_identifier(idx)<EOL>return qpi<EOL>
Return QPImage without background correction