|
Developer Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox make_gauss_data.pro
make_gauss_data |
Returns a gaussian, given coefficients and an x axis. Noise and offset can be added. Used in guide layer and in tests.
; create two gaussians a = [400000.,75.,15.] a = [a,[200000,35,5.]] x = indgen(150) y = make_gauss_data, x, a, 100. plot, x, y