def _read_coil_def(fid):
 coildef = {'position': read_double_matrix(fid, 1, 3), 'orientation': read_double_matrix(fid, 1, 3), 'radius': read_double(fid), 'wire_radius': read_double(fid), 'turns': read_int16(fid)}
 fid.seek(fid, 2, 1)
 coildef['checksum'] = read_int32(fid)
 coildef['reserved'] = read_str(fid, 32)

def _read_coil_def ( fid ) : coildef = { 'position' : read_double_matrix ( fid , 1 , 3 ) , 'orientation' : read_double_matrix ( fid , 1 , 3 ) , 'radius' : read_double ( fid ) , 'wire_radius' : read_double ( fid ) , 'turns' : read_int16 ( fid ) } fid . seek ( fid , 2 , 1 ) coildef [ 'checksum' ] = read_int32 ( fid ) coildef [ 'reserved' ] = read_str ( fid , 32 )
read coil definition .