file_int - writes intensity distribution into a txt file.
file_int writes the intensity 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_int(F2,"file1"); file_int(F2,"file2",1); file_int(F2,"file3",-1,0); file_int(F2,"file4",-1,128); file_int(F2,"file5",-1,128,1); in = fscanfMat('file1.txt'); surf(in);
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)
dwf_fits , file_ps , file_pha , file_pgm , cros_out ,