#NEWLINE# @ property #NEWLINE# def _raw_itemsize( self ) : #NEWLINE# #INDENT# '\n        Returns the size of row items that would be written to the raw FITS\n        file, taking into account the possibility of unicode columns being\n        compactified.\n\n        Currently for internal use only.\n        ' #NEWLINE# if _has_unicode_fields ( self ) : #NEWLINE# #INDENT# total_itemsize = 0 #NEWLINE# for field in self . dtype . fields . values ( ) : #NEWLINE# #INDENT# itemsize = field [ 0 ] . itemsize #NEWLINE# if ( field [ 0 ] . kind == 'U' ) : #NEWLINE# #INDENT# itemsize = ( itemsize // 4 ) #NEWLINE# #UNINDENT# total_itemsize += itemsize #NEWLINE# #UNINDENT# return total_itemsize #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . itemsize