def __getitem__(self, indx):
<EOL>dout = self.view(np.ndarray)[indx]<EOL>try:<EOL><INDENT>dout = dout.view(type(self))<EOL>dout.domain = self.domain[indx]<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>dout.interfaces = self.interfaces<EOL><DEDENT><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>return dout<EOL>
x.__getitem__(y) <==> x[y]
Return the item described by i, as a Field.