Home > brede > brede_exp_query.m

brede_exp_query

PURPOSE ^

brede_exp_query - Query after 'exp' structures

SYNOPSIS ^

function [Eout, dist] = brede_exp_query(q, varargin)

DESCRIPTION ^

 brede_exp_query      - Query after 'exp' structures

       function [E, dist] = brede_exp_query(q, varargin)

       Input:    q      Query, either loc or exp structure

       Property: Bib    'Bib' structure that is used for searching 
                 Sigma  [ {0.01} | a value ] Width of voxelization
                        kernel 

       Output:   E      Sorted 'exp' structures'
                 dist   Sorted distances

       Persistent: BIB  'Bib' structure
                   EXP  'Exp' structure

       Find related experiments by their similiarity in Talairach
       space. The query might either be a loc or an exp structure.

       If no 'Bib' is given as a property the data from the
       xml/wobibs.xml file is read and used.

       Example:
         f = fullfile(fileparts(which('brede')), 'xml', 'wobibs.xml');
         B = brede_read_xml(f, 'output', 'collapsesecond');

         X = [ -46 -74 34 ; -30 -82 38 ] / 1000;
         L = brede_loc_mat2loc(X);
         L = brede_loc_xform(L, 'type', 'Brett');
         E1 = brede_exp_query(L, 'bib', B);       

         E = brede_loc_loc2exp(L);
         E2 = brede_exp_query(E);

       See also BREDE, BREDE_EXP, BREDE_LOC_QUERY, BREDE_LOC_LOC2EXP,
                BREDE_LOC_MAT2LOC, BREDE_LOC_SELECT, BREDE_LOC_XFORM.

 $Id: brede_exp_query.m,v 1.3 2003/05/15 14:16:33 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005