How can I measure the full width half max pulse-width of a gaussian function?

Hi I am measuring a laser pulse using a Tektronix scope and feeding that data into my labview (v 7.1) based data system on a Mac OS X computer. I want to measure the full width pulse at half the maximum peak. The included measurement VIs that come with labview and the tek scope dont seem to do the job (even though the scope itself can do the measurement). I've attached my example VI. If anyone has any suggestions that would be great.
Thanks,
Paul
Attachments:
test scope.vi ‏255 KB

If you can display a trace on the screen, you can get the full width at half maximum. LabVIEW gives you several options:
Use the Pulse Parameters VI to determine the width directly. This will be a width based solely on the data with no assumption as to an underlying model.
Use the Levenberg Marquardt VI to fit a gaussian to your curve, then calculate the full width at half maximum from the coefficients. Levenberg Marquardt is a least-squares/gaussian algorithm, so is somewhat noise sensitive.
Use one of the minimizer functions (e.g. Downhill Simplex) to construct your own fit using a different assumed error distribution. If you are unsure how to do this, check out a copy of Numerical Recipes in C by Press et. al. and read the section on data fitting.
Do your own data based calculation. Find the peak with Peak Detector. This will give you the magnitude, but you may want to verify it with a polynomial fit (parabola is usually good enough) across the top of the peak to avoid noise problems. Then find the positions of the half-maxima on either side of the peak. The Interpolate 1D Array will probably prove useful for this.
Choose your method depending on your pain threshold and how accurate and robust you need the result to be. Good luck!
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • How can I measure the hertz in a wave form?

    How can I measure the hertz in a wave form?

    As an example, this is from BBC Technical Requirements for HD material:
    3.1.1 Stereo line-up tones
    All stereo tracks must use EBU 1KHz tone (left ident). All tones must be sinusoidal, free of distortion and phase coherent between channels.
    Digital Audio Reference level is defined as 18dB below the maximum coding value (-18dBFS) as per EBU recommended practice R68.
    See also:
    http://www.bbc.co.uk/guidelines/dq/pdf/tv/tv_delivery_to_network_programmes_v1.2-2011.pdf
    for full document.
    And for BBC Radio:
    Not every Network requires tone. Check the delivery requirements with the commissioning network or click here.
    Reference tone, where used, should be at -18dBFS or PPM 4 on A, B and/or M.
    If submitting material with reference tone, tone and programme material must be have been monitored and measured through the same technical chain. The level of the tone must be equivalent to 0dBu and no less than 8dB below peak audio level for the programme material.
    THE LEVEL OF TONE MUST HAVE A KNOWN RELATIONSHIP WITH THE LEVEL OF THE PROGRAMME MATERIAL AND THIS MUST BE STATED; for example: “Tone at 8dB below peak programme level”.
    As a newcomer to digital sound (my background is camera) I confess to being somewhat confused. We are normally told to record at the highest level possible. So for voice podcasts I tend to record at about -6dB below peak for maximum volume, distributeds on MP3 files.
    But I can underatand that televison and radio especially for analogue transmission) may have limited headroom, hence the requirement for -18dB peak = 0dBM.
    I remember when we first rented out Digital Betacam cameras, some recordists were recording almost everything OVER -18dBM.
    I suspect that until we have an all-digital world, these requiremnents will still be in place.
    Many thanks to all. It's a ghreat community!
    Brian Rose

  • In iPhoto most of my photos appear to have been replaced by much smaller versions. What has happened and how can I get the full size photos back?

    In iPhoto most of my photos appear to have been replaced by much smaller versions. What has happened and how can I get the full size photos back?

    That is either a bug in Firefox 5 or the script has a problem with Firefox 5.<br />
    It works in all other Firefox versions like Firefox 3 and 4 and 6 (Aurora) and 7 (Nightly).

  • How can i change the full download and install path because my C: ist full and it automaticly downloads it on C: i allready changed in on adobe creative cloud but it dont work

    How can i change the full download and install path because my C: ist full and it automaticly downloads it on C: i allready changed in on adobe creative cloud but it dont work

    Read the part about SSDs. Otehrwise there is nothing you can do. Certain components wil lalways install on your system root drive.
    Mylenium

  • If I let my battery die on my mac bookpro on accident, how can I get the full charge back?, If I let my battery die on my mac bookpro on accident, how can I get the full charge back?

    If I let my battery die on my mac bookpro on accident, how can I get the full charge back?, If I let my battery die on my mac bookpro on accident, how can I get the full charge back?

    Connect the AC charge to the system. Battery will charge to 100%.
    But it is very bad to drain the battery to Zero. So don't make a habit of doing that.

  • A downloaded song cuts off at the end - how can i get the full song

    I recently downloaded a new song, but the song cuts off at the end.  How can I get the full song?

    Try update your iTunes to the latest 10.6.3 version and see if it rectifies the issue.

  • How can I measure the Graphics Card usage? I.e. percent load

    Hello,
    How can I measure the Graphics Card usage, like with the processor in Task Manager, but instead giving a percentage usage for the graphics card instead? Is there an easy way to do this, or would it require a lot of code? Is it even possible?

    Ah, so It's unlikely that Java3D will include anything for reading this data then? I was really aiming at measuring the GPU usage under this API which although i have limited knowledge using, I do at least have some knowledge - I wouldn't have a clue how to access any other API's!
    I'm using an NVidia TNT2 card at the moment, which is quite old.

  • How can I extract the full SQL script for a schema?

    Hi,
    How can I extract the full SQL script for a schema?
    I am looking for some method that needs jus SQL*Plus and preferably doesn’t need any extra tool.
    Thank you,
    Alan

    How can I extract the full SQL script for a schema?What are you looking for? PL/SQL code? DDL for objects?

  • How can i measure the speed of the fan in sound and vibration signal simulator box

    how can i measure the speed of the fan in sound and vibration signal simulator box
    provided the values  tach out:2 pulses/revolution and  maximum speed = 6000rpm

    Hi. I tried your suggestion and I could not get it to work well. In
    fact it worked better without the running average (which suprised me).
    I also played with the number of data points but still could not get it
    to work well.
    Do you have any other suggestions on how I could sort this problem out?
    I
    have attached a screen shot of the signal. To recap, I'm trying to
    measure the'y' position of the flat regions of the signal. The signal
    does not have a constant level, so this 'y' position varies with time
    in a non-unform manner.
    I am currently differentiating
    the signal and selecting the y position when the differential is equal
    to zero (within a tolerance band).
    In the screenshot, the
    signal has been zeroed using the method I have described above.
    However, it occasionally has glitches which may be caused when the code
    picks up a zero gradient at a peak or valley in the signal.
    I therefore need some kind of algorithm that only measures the position of the flat regions.
    Many thanks
     John
    Attachments:
    screenshot.gif ‏121 KB

  • How can I measure the copy speed of my compact flashcard to folder?

    how can I measure the copy speed of my compact flashcard to folder?
    I dont have a stop watch.

    Hi Steve Zavodny;
    Generally compact flash cards or basically slow because of them being flash memory and USB. What are you after here?
    Allan

  • How can I download the full source code for the Java 3D package

    how can I download the full source code for javax.media.j3d
    especially I need the Transform3D.java class.
    thanks a lot
    Meir

    thank you guys I'll try to do so, I suggest you to
    join me.From the one of the (ex-!)Java3D team:
    "I'm glad to see that Sun has decided to officially support an
    open source Java/OpenGL binding, JOGL. Perhaps they will
    eventually decide to make Java 3D open source. However, be
    careful what you wish for. The Java 3D source is huge and
    complex. There are native sections for Solaris, Windows/OpenGL,
    and Windows/Direct3D, plus common code. I don't know how you'd
    open source a build process that requires different pieces of
    the code be built on different machines running different
    operating systems."
    Sounds scary - I hope we're ready for it :)

  • How can I paste the full path name into the find file dialog?

    I've copied a full path name using CMD-C.
    Now I click on a link in some web page (does not matter which one) which lets me upload a file.
    The standard apple file selector dialog pops up (sorry don't know the official apple name for this dialog), to let me navigate and select the file.
    How can I paste the file name?  Or how can I tell the dialog popup to navigate to the file whose full path name is in the clipboard?

    Here is an image showing the file browser dialog I'm referring to.

  • How can i view the full text of a query??

    I must view the full text of several queries. I use the v$sqltext and v$sql, but i can´t view the full text.
    Do you know any method to do this??
    Thanks a lot!

    set serveroutput on size 50000
    set linesize 1000
    set echo off feed off veri off
    accept 1 prompt 'Enter Sql ID: '
    set serverout on size 1000000
    declare
    my_var long;
    begin
    for x in ( select sql_fulltext from v$sqlarea where sql_id = '&1')
    loop
    my_var := dbms_lob.substr( x.sql_fulltext, 32000, 1 );
    dbms_output.put_line(my_var);
    end loop;
    end;
    /

  • There are so many add-ons now that do the same thing, how can I tell the full features of an add-on compared to the others. I know I have way to many of the same and need to get rid of the unwanted ones?

    can we get a side by side comparison of the add-ons. How can I tell Ive got 2 or even 3 add-ons that do the same thing? and how can I pick the best one for my needs so I can uninstall all the others?

    I mutled through best I could but I know I still have duplicate apps, different names, but same functions. One last thing is why do I keep getting 2-3 times a day that firefox needs a major update? I let it go through its motions but then that same msg pops up again a few hours later

  • How can I find the full width at half-maximum?

    Hello,
    I have run into a problem that I hope you can help me with: I need to find the Full Width at Half-Maximum.
    I have an array of pixel intensities and have found the peaks and valleys using Peak Detector.vi, but I can not figure out a way to find the full width at half-maximum (the width of the 'hill' at one-half of its maximum point).
    Any help you may provide would be greatly appreciated.
    Jared Leisner
    - Using LabVIEW 6.1/Vision 6.0

    Jared,
    I had the same problem. One of the solutions I used was to use the was to
    use "threshold 1D array.vi" from the array palette. You can use this to
    iteratively get the uphill edge of the peak. To get the down hill edge, you
    have to invert the array and then use the same VI. Then subract the uphil
    position from the down hill position and your done.
    You do however need to be careful depending on your image content. If the
    image is noisy, then the "Peak Detector.vi" will have problems finding the
    "real peak".
    Steven Bloomberg
    CISTech
    "Jared Leisner" wrote in message
    news:[email protected]..
    > Hello,
    >
    > I have run into a problem that I hope you can help me with: I need
    > to find the Full Width at
    Half-Maximum.
    > I have an array of pixel intensities and have found the peaks and
    > valleys using Peak Detector.vi, but I can not figure out a way to find
    > the full width at half-maximum (the width of the 'hill' at one-half of
    > its maximum point).
    > Any help you may provide would be greatly appreciated.
    >
    > Jared Leisner
    > - Using LabVIEW 6.1/Vision 6.0

Maybe you are looking for

  • Streaming app does not work, no cellular excuse given.

    I have an app that promises live rugby league games in Australia, the app is called " NRL 2014 " . It has various features that work very well including replays of games however when I tried to view a live game I received pop up banners about locatio

  • Problem with built in Sound

    I have this simple PE NEO-2 motherboard .. and i use the built in sound of the board... the problem i m having is that the sound suddenly disappears during the game.. or other music application... sometime it disappear after 2 min or some time after

  • How to stop Time Machine backing up on a specific external hard drive?

    I work on a iMac 2.66 Ghz Intel Core 2 Duo, with Mac OS X 10.6.8. I use two external hard drives that are the exact same model, 2 TB WD My Book 1110 Media: one is intended for back-up, the other for storing video editing files. They're both connected

  • CS4 .html files made from .dwt lose all formatting in broswer

    Hello all, I've been working to customize a template I found online, then create a site based on that template.  I've got the template visually worked to where I want it.  However, any page that I create using the .dwt file is broken (loses all forma

  • Signature field NOT working since upgrade to Adobe Pro X

    Hi Forum, Form stop working since upgraded to Pro X (ver 10) in Adobe.  Getting this message: IntegriSign This plug-in is intended for validating signatuers signed using earlier versions of Acrobat.  To sign using this version of Acrobat use "Integri