Index: /trunk/src/get_field/FFT.m
===================================================================
--- /trunk/src/get_field/FFT.m	(revision 169)
+++ /trunk/src/get_field/FFT.m	(revision 170)
@@ -1,2 +1,12 @@
+% 'FFT': calculate and display spectrum of the field selected in the GUI  get_field 
+%  GUI_input=FFT(hget_field)
+%
+% OUTPUT: 
+% GUI_input: option for display in the GUI get_field
+%
+%INPUT:
+% hget_field: handles of the GUI get_field
+%
+
 function GUI_input=FFT(hget_field)
 global spec x_vec
@@ -9,5 +19,4 @@
 %initiation
 hhget_field=guidata(hget_field);
-% testinterp=0;
 abscissa_list=get(hhget_field.abscissa,'String');
 val=get(hhget_field.abscissa,'Value');
@@ -18,5 +27,4 @@
 val=val(1); %take only the first variable in the list
 
-%ordinate_name=Field.ListVarName{val};
 ordinate_name=ordinate_list{val};
 
@@ -29,5 +37,5 @@
 % get variable
 eval(['Var= Field.' ordinate_name ';']);
-np=size(Var)
+np=size(Var);
 np_freq=floor(np(1)/2);
 dx=1;%default
@@ -59,5 +67,5 @@
 list_fig=get(hhget_field.list_fig,'String');
 val=get(hhget_field.list_fig,'Value');
-hfig=str2num(list_fig{val})% chosen figure number from tyhe GUI
+hfig=str2num(list_fig{val});% chosen figure number from tyhe GUI
 if isempty(hfig)
     hfig=figure;
Index: /trunk/src/get_field/PLOT.m
===================================================================
--- /trunk/src/get_field/PLOT.m	(revision 169)
+++ /trunk/src/get_field/PLOT.m	(revision 170)
@@ -1,2 +1,12 @@
+% 'PLOT.m': standar  display function for the the GUI  get_field 
+%  GUI_input=PLOT(hget_field)
+%
+% OUTPUT: 
+% GUI_input: option for display in the GUI get_field
+%
+%INPUT:
+% hget_field: handles of the GUI get_field
+%
+
 %---------------------------------------------------------
 % --- Executes on button press in RUN.
@@ -8,12 +18,4 @@
 end
 [SubField,errormsg]=read_get_field(hget_field);
-% SubField.VarAttribute{1}
-% SubField.VarAttribute{2}
-% SubField.VarAttribute{3}
-% 
-% SubField.VarDimName{1}
-% SubField.VarDimName{2}
-% SubField.VarDimName{3}
-
 if ~isempty(errormsg)
     msgbox_uvmat('ERROR',['error in read_get_field/PLOT input:' errormsg])
Index: /trunk/src/get_field/filter_band.m
===================================================================
--- /trunk/src/get_field/filter_band.m	(revision 169)
+++ /trunk/src/get_field/filter_band.m	(revision 170)
@@ -1,2 +1,11 @@
+% 'filter_band.m': plot a field after band filtering in the GUI get_field 
+%  GUI_input=filter_band(hget_field)
+%
+% OUTPUT: 
+% GUI_input: option for display in the GUI get_field
+%
+%INPUT:
+% hget_field: handles of the GUI get_field
+%
 function filter_band(Field,hget_field)
 
@@ -10,7 +19,7 @@
    lineNo=1;
    answer=inputdlg(prompt,dlgTitle,lineNo,def);
-period=round(str2num(answer{1}))
+period=round(str2num(answer{1}));
 filt_vector=ones(1,period)/period;% averaging vector
-VarName_y=Field.ListVarName(VarIndex.y)
+VarName_y=Field.ListVarName(VarIndex.y);
 % hfig
 if isempty(str2num(hfig))
