FindField - Find field in a map, e.g. firing field in a firing map. Find field in a map, i.e. the connex area around the peak, where the values are above a given threshold. Note: This function should not be called directly. Use <a href="matlab:help FiringMap">FiringMap</a>, <a href="matlab:help FiringCurve">FiringCurve</a> or <a href="matlab:help MapStats">MapStats</a> instead. USAGE field = FindField(map,x,y,threshold,circX,circY) map firing map x abscissa (column) of the peak y ordinate (row) of the peak threshold min firing rate within the field circX true if x coordinate is circular circY true if y coordinate is circular SEE See also DefineField, MapStats, FiringMap, FiringCurve, IsInZone, PlotColorMap.
0001 %FindField - Find field in a map, e.g. firing field in a firing map. 0002 % 0003 % Find field in a map, i.e. the connex area around the peak, where the values 0004 % are above a given threshold. 0005 % 0006 % Note: This function should not be called directly. Use <a href="matlab:help FiringMap">FiringMap</a>, <a href="matlab:help FiringCurve">FiringCurve</a> 0007 % or <a href="matlab:help MapStats">MapStats</a> instead. 0008 % 0009 % USAGE 0010 % 0011 % field = FindField(map,x,y,threshold,circX,circY) 0012 % 0013 % map firing map 0014 % x abscissa (column) of the peak 0015 % y ordinate (row) of the peak 0016 % threshold min firing rate within the field 0017 % circX true if x coordinate is circular 0018 % circY true if y coordinate is circular 0019 % 0020 % SEE 0021 % 0022 % See also DefineField, MapStats, FiringMap, FiringCurve, IsInZone, 0023 % PlotColorMap. 0024 0025 % Copyright (C) 2004-2012 by Michaƫl Zugaro