def get_qpimage_raw(self, idx=<NUM_LIT:0>):
<EOL>with SingleTifPhasics._get_tif(self.path) as tf:<EOL><INDENT>inttags = tf.pages[<NUM_LIT:0>].tags<EOL>imin = inttags["<STR_LIT>"].value<EOL>imax = inttags["<STR_LIT>"].value<EOL>isamp = inttags["<STR_LIT>"].value<EOL>blc = INTENSITY_BASELINE_CLAMP<EOL>inten = tf.pages[<NUM_LIT:0>].asarray() * (imax - imin) / isamp + imin - blc<EOL>inten[inten < <NUM_LIT:0>] = <NUM_LIT:0><EOL>wl_phasics = self._get_wavelength(self.path)<EOL>if not np.isnan(wl_phasics):<EOL><INDENT>phaid = <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>phaid = <NUM_LIT:2><EOL><DEDENT>phatags = tf.pages[phaid].tags<EOL>pmin = phatags["<STR_LIT>"].value<EOL>pmax = phatags["<STR_LIT>"].value<EOL>psamp = phatags["<STR_LIT>"].value<EOL>if psamp == <NUM_LIT:0> or pmin == pmax:<EOL><INDENT>pha = np.zeros_like(inten)<EOL><DEDENT>else:<EOL><INDENT>opd = tf.pages[phaid].asarray() * (pmax - pmin) / psamp + pmin<EOL>if phaid == <NUM_LIT:1>:  <EOL><INDENT>assert not np.isnan(wl_phasics)<EOL>opd *= wl_phasics * <NUM_LIT><EOL><DEDENT>pha = opd / (self.meta_data["<STR_LIT>"] * <NUM_LIT>) * <NUM_LIT:2> * np.pi<EOL><DEDENT><DEDENT>meta_data = copy.copy(self.meta_data)<EOL>if "<STR_LIT:time>" not in meta_data:<EOL><INDENT>meta_data["<STR_LIT:time>"] = self.get_time()<EOL><DEDENT>qpi = qpimage.QPImage(data=(pha, inten),<EOL>which_data="<STR_LIT>",<EOL>meta_data=meta_data,<EOL>h5dtype=self.as_type)<EOL>qpi["<STR_LIT>"] = self.get_identifier()<EOL>return qpi<EOL>
Return QPImage without background correction