def get_qpimage(self, idx):
if self._bgdata:<EOL><INDENT>qpi = super(SeriesHdf5Qpimage, self).get_qpimage(idx)<EOL><DEDENT>else:<EOL><INDENT>with self._qpseries() as qps:<EOL><INDENT>qpi = qps.get_qpimage(index=idx).copy()<EOL><DEDENT>for key in self.meta_data:<EOL><INDENT>qpi[key] = self.meta_data[key]<EOL><DEDENT>qpi["<STR_LIT>"] = self.get_identifier(idx)<EOL><DEDENT>return qpi<EOL>
Return background-corrected QPImage of data at index `idx`