file_pha - writes phase of the field into a txt file.
file_pha is similar to file_int , it writes wrapped phase distribution into a txt file which may be processed or plotted with Scilab graphical functions. One argument is necessary: the output filename. Default grid size is 64x64, you may change the default dimension with the imax argument. Files saved with file_pha and file_int (set the gnuplot paramter to 1) can also be imported with fil_ter , which automatically recognizes pgm and gnuplot formats.
F1=begin(0.01,1e-6); F2=gauss(F1,0.004); file_pha(F2,"file1"); file_pha(F2,"file2",1); file_pha(F2,"file3",-1,0); file_pha(F2,"file4",-1,128); file_pha(F2,"file5",-1,128,1); int = fscanfMat('file1.txt'); surf(int);
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)
dwf_fits , file_ps , file_int , file_pgm , cros_out ,