Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted

11-23-2012 04:23 AM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi

I am using the Gaussian Peak Fit Vi and I want to calculate the FWHM of the fitted curve. What is the best way to do this. Thanks

Highlighted
Options

11-26-2012 09:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi Zepp

I'm not too familiar with the Gaussian function, however after some quick research I've seen that the:

FWHM = 2 * (sqrt (2*ln 2)) * C

Where I believe C is the centre.

To build this you can either use a math script node or build it using the correct function blocks. I've attached a VI and VI snippet that uses both of these methods. I haven’t wired up the inputs of the Gaussian Function as I am quite unfamiliar with it.

Let me know if this is what you were looking for.

Many thanks.

Dan

Daniel Harryman MEng

CLA, CPI

CLA, CPI

Download All

Virus scan in progress. Please wait to download attachments.

Highlighted
Options

04-05-2016 08:13 AM - edited 04-05-2016 08:14 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

C here is the standard deviation

Highlighted
Options

04-05-2016 09:15 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Almost correct: C is not the center, it is standard deviation.

PS. for single variable, single line formulas it is better to use expression node.

Highlighted
Options

04-05-2016 09:20 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

If you search for FWHM Gaussian, you can find that the Full Width at Half Maximum (which "answer analysis" should tell you will be related to the Standard Deviation, usually expressed as a lower-case sigma, σ, is

Bob Schor

Highlighted
Options

04-05-2016 09:43 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi Alexander,

I appreciate the feedback. Silly mistake on my part. Kind of makes me want to go back and check a few of my older forum posts and see if I'm any wiser now or just older haha.

Thanks,

Daniel

*Daniel Harryman *

*Certified LabVIEW Devloper*

*Electronics Engineer*

*ISIS Neutron & Muon Source*

*Accelerator Diagnostics Development*

*Science & Technology Facilities Council*

*Rutherford Appleton Laboratory*

Daniel Harryman MEng

CLA, CPI

CLA, CPI