#NEWLINE# def get_frame_2D( self , **ind ) : #NEWLINE# #INDENT# if self . is_rgb : #NEWLINE# #INDENT# c = ind [ 'c' ] #NEWLINE# row = [ ind [ name ] for name in ind . axes_identifiers if ( name != 'c' ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# row = [ ind [ name ] for name in self . axes_identifiers ] #NEWLINE# #UNINDENT# i = np . argwhere ( np . all ( ( self . _toc == row ) , 1 ) ) [ ( 0 , 0 ) ] #NEWLINE# res = self . imread ( self . _filepaths [ i ] , ** self . kwargs ) #NEWLINE# if ( res . dtype != self . _dtype ) : #NEWLINE# #INDENT# res = res . astype ( self . _dtype ) #NEWLINE# #UNINDENT# return res