def ingest_flatfield(self):
self.invflat = extract_flatfield(<EOL>self.hdulist[<NUM_LIT:0>].header, self.hdulist[<NUM_LIT:1>])<EOL>if self.invflat is None:<EOL><INDENT>self.invflat = np.ones_like(self.science)<EOL>return<EOL><DEDENT>if self.flatcorr != '<STR_LIT>':<EOL><INDENT>self.science = self.science * self.invflat<EOL>self.err = self.err * self.invflat<EOL><DEDENT>
Process flatfield.