#NEWLINE# def _pack_xfms( h5 , xfms ) : #NEWLINE# #INDENT# for ( subj , xfmname ) in xfms : #NEWLINE# #INDENT# xfm = surfs . getXfm ( subj , xfmname , 'coord' ) #NEWLINE# group = ( '/subjects/%s/transforms/%s' % ( subj , xfmname ) ) #NEWLINE# node = _hdf_write ( h5 , np . array ( xfm . xfm ) , 'xfm' , group ) #NEWLINE# node . attrs . shape = xfm . shape