def ingest_dark(self):
self.dark = extract_dark(self.hdulist[<NUM_LIT:0>].header, self.hdulist[<NUM_LIT:1>])<EOL>if self.dark is None:<EOL><INDENT>self.dark = np.zeros_like(self.science)<EOL>return<EOL><DEDENT>if self.darkcorr != '<STR_LIT>':<EOL><INDENT>self.science = self.science - self.dark<EOL><DEDENT>
Process dark.