LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting errors in Guassian Peak fitting

Hi all,

I am trying to fit Guassian curve on following data

 Index Value
12 237
13 214
14 214
15 218
16 254
17 236
18 271
19 243
20 278
21 282
22 272
23 296
24 309
25 312
26 337
27 342
28 344
29 344
30 358
31 373
32 425
33 432
34 436
35 466
36 508
37 553
38 596
39 613
40 663
41 701
42 744
43 808
44 859
45 924
46 988
47 1059
48 1188
49 1299
50 1415
51 1542
52 1631
53 1775
54 1929
55 2018
56 2225
57 2458
58 2679
59 2956
60 3229
61 3408
62 3666
105 3546
106 3286
107 3023
108 2789
109 2598
110 2385
111 2187
112 1986
113 1841
114 1701
115 1616
116 1485
117 1356
118 1271
119 1165
120 1084
121 1013
122 945
123 884
124 827
125 785
126 721
127 660
128 620
129 606
130 581
131 535
132 519
133 500
134 462
135 438
136 449
137 426
138 381
139 375
140 366
141 338
142 342
143 335
144 302
145 313
146 293
147 291
148 282
149 276
150 275
151 280
152 269
153 255
154 250
155 252
156 248
157 252
158 255
159 242

 

But Guassian peak fit vi is fitting curve only for one side lobe. result is attached. Can anyone tell me how to avoid this problem

Labview user
Download All
0 Kudos
Message 1 of 3
(2,540 Views)

Try specifying an initial guess.  I used:

initial amplitude = 6000

initial center = 80

initial standard deviation = 10

initial offset = 200

 

-Jim

0 Kudos
Message 2 of 3
(2,509 Views)

HI DSPGuy,

Thanks for the suggestion. will try this.

Labview user
0 Kudos
Message 3 of 3
(2,499 Views)