#NEWLINE# def __getitem__( self , masktype ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# mask = db . get_mask ( mask . dv . subject , self . dv . xfmname , masktype ) #NEWLINE# return self . dv . copy ( self . dv . volume [ : , mask ] . squeeze ( ) ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# self . dv . copy ( self . dv . volume [ : , mask ] . squeeze ( ) )