Skip to content

zhongrui7/GaussianBroadening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GaussianBroadening

Purpose : Perform a Gaussian broadening on a set of impulse signal data as input.

       You must input the range and the step of the output data in the proper order.
       No output file to be written, 
       since it is designed to output to the standard screen to work with gnuplot
       
       If you want an output file with final data, uncomment the related 2 lines.
       You would get 'g-broadened.dat'

Usage : ./command input_file min max step sigma

UsageEx : plot '< gbroad.x input.dat width Xmin Xmax Xstep < ' u 1:2 ...

       in which, sigma     : the standard deviation of the Gaussian distribution is ⁠σ⁠ (sigma)
                 Xmin, Xmax: the range of X in the output
                 Xstep     : the increment of X in the output

Version 2 usage

Version 2 of GaussianBroadening is designed for input files that are already sorted in ascending order, so there is no need to include Xmin and Xmax in the command line.

Compile the code in the command line: gfortran -o GB_v2.x GB_v2.f90

To run the code, type the following ./command input_file sigma

About

! ! Purpose : Perform a Gaussian broadening on a set of impulse signal ! data as input. ! Sigma will be calculated from the height of the impulses signal. ! You must input the range and the step of the output data in ! the proper order. ! No output file to be written, since it is designed to output ! to standard screen ! so as to work with gnupl…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors