How can I take an asymmetric wave and measure peak distribution?

Using a profilometer the surface topology of a deposited material can be measured. I want to design a program to read in the raw data files of these profiles and then perform some analysis which will extract the distribution in peak/trough heights and in the distances between peaks. Reading in data, manipulating arrays and producing output files/plots I'm fine with but the problem I'm having is as to what analytical tools can be used on such asymmetric waveforms. I was thinking some form of signal processing technique but I'm not sure. I've attached an example profile for one of my samples to give an idea of what I'm working with...
Solved!
Go to Solution.
Attachments:
S22b.txt ‏149 KB

camerond wrote:
If this is fairly representative of your data, I'd first take a stab at it using the LabVIEW Peak Detector VI (Signal Processing -> Signal Operation). There's not much noise at all compared to the size of your peaks (if we're just talking about the visible ones here), so you might just smooth your data with a Savitsky-Golay function (or such) to take out the little random noise jiggles, offset all your points to make them positive, set a reasonable threshold value and peak width and go to it.
Now, if you have one huge trough like in the file you sent, you might miss a lot of peaks (again, I don't know what your criteria for a "peak" are). If that happens, I'd suggest looking at the data upside down to find your valleys as inverted "peaks". At this point, you could go back to right-side up, connect the valleys with lines and subtract these points from your data for a pseudo-baseline and run the Peak Detector VI again (you can probably go much more sensitive with your threshold setting because you have taken out most of the very long-term drift). You should have now identified all of your peak and valley points on the X axis. Return to the original data to determine peak heights with whatever baseline algorithm you want to use (linear between valleys, Bezier curves, etc.).
That's how I'd attack it generically. But this is a very common situation in probably all sciences and engineering fields. Isn't there some standard geological data-crunching method with generally agreed-upon criteria for your problem?
Cameron
Thanks for this help; I've used a smoothing filter followed by two peak detectors (one for valleys and one for peaks) and then return the results with good matches to all peaks/valleys, irrelavent of their size. There is still a few "false" peaks that get found, due to residual noise after smoothing, which I'm having to remove manually from the results but even so this has improved my efficiency. Quite simple but I'm new to signal processing!
I attach my VI for anyone who's interested...
Attachments:
DekTakProfileProcessor.vi ‏70 KB

Similar Messages

  • How can I take my pdf book and revert it to indesign so I can make a few changes on it?

    How can I take my pdf book and revert it to indesign so I can make a few changes on it?

    Kasyan Servetsky wrote:
    As far as I know, the best approach is to place pdf-file into a new InDesign document with “Multi Page Importer” script. Then create a new layer above the layer with PDFs and make small edits there creating new objects – text frames, etc – and hiding the original parts in the PDF below.
    That isn't an option - the obscured content will often still export and it'll completely mess up accessibility and compliance.
    The only true option would be to export a Word file from the PDF (using Acrobat Pro), import the text into a brand new INDD document using the usual style-mapping workflows, then export the images from the PDF separately and place them all back into the layout. Quicker than typing it all in again, but only just. Consider it a learning curve.

  • Help 'How can i take off iDVD 08 and reinstall iDVD 05'

    Hi all,
    I tried to install iDVD 08 on my little old G4 (1Ghz) with a ATi Rage Pro (16Mb) Graphics card. And well to my disappointment iDVD 08 does not support it ;( So now i want to take iDVD 08 off, and delete it and reinstall iDVD 05 from install DVD...
    How can i do this i have tried numerous of times to install iDVD 05 and now it keeps crashing - well it just does not even load!! :(( Help!!

    I gotta be fair that's so weird and so helpful to - like you i set up another user and by amazement it worked - sir you are amazing good hack - just wondering if i copied the pref's over would it also work as default ?? Surely those wonderful people at Apple could do a quick fix for us old iLife 05 users who have G4 and G5 macs with small graphic cards... we need our old iLife (iDVD 05) back just a quick fix - pretty please lol

  • HT4968 How can I take a shared calendar and recreate it using my personal ical rather than having to share?

    Here's the deal.  I stepped into an administrative position last fall and began building an entire calender schedule for our summer 2014 program.  I put a lot of work into building two months, however I have only just realized that the apple ID is for the former person who had my job (she left herself logged in on the mac I am now using).  My fault for assuming the apple id and login would be the same as the email account I am responsible for.
    I did manage to share one of the calendars I created using her apple ID, so I still have access, however, I'd feel better if I could somehow take this "shared" calendar and keep it as my own using the apple ID for the email account I'm responsible for.  In other words, is there a way to take a calendar that was shared with you by someone else and save it under my apple ID as MY primary calendar? I'm paranoid that this former employee will delete said shared calendar and I will have to start from scratch...

    Before you start see if you can export the calendar to a .ics file via the File ➙ Export menu option.  In your own account import the .ics file and that, hopefully, will bring in all the work you've done so far.
    OT

  • How can I take a text message and either print it out or forward it to my email address

    I need to save the text message for proof of conversation in the future

    shaun2178 wrote:
    Thank you for the responses. I am not sure if I optimized the video, but I'm not quite sure how to do that. Maybe that would fix my problem. I shot in 4k, but Divinci Resolve light only allows you to export in 1080p. The full version allows for 4k.
    If it has gone down to 15 fps, I don't know how or why. I want the final product to be 24 fps.
    The question I think that would fix my issue is, How do I make my 4k, 2k, and 1080p, mixed project and make the entire thing 1080p? I hope someone will be able to answer this. I'm sure it's a simple fix. I'm just ignorant of how to make this possible.
    I have to dash out now... Deviance Resolve Lite allows for 4k output...
    XML from FCP X:
    XML output from Resolve:

  • How can I take my ipod music and put on my ipad do not have the computer that the ipod was downloaded on.

    I have an ipod full of music but do not have the computer is was loaded on.   Can I get that ipod loaded on my new ipad 2.

    Welcome to the Apple Community.
    Unfortunately not without a computer, unless you are signed up for music match. You can redownload purchased content but not the rest of your library.

  • I accidently click on ''Import the list'' but now all the music have  an exclamation point I think they are all in Musique.txt on the desk... How can i take back these music on my library? I tried : Import the list and take Music.txt , but it do not work

    I accidently click on ''Import the list'' but now all the music have  an exclamation point I think they are all in Musique.txt on the desk... How can i take back these music on my library? I tried : Import the list and take Music.txt , but it do not work

    Ok, I had a glitch, forced to restart, and lost my train of thought.
    Reinstalling iTunes should fix the major issue that might have gone wrong, perhaps your explaination points will disappear and everything will be peachy again.
    But if they don't, you can open the XML file in iTunes Folder using a Text edit program to see what the common pathname is to the iTunes Music folder or where your content is located.
    If you moved the itunes folder, it needs to go back.
    I can't  download iTunes to my Vista virtual machine to test it out right now because iTunes is down, so I can't verify the pathname, perhaps your issue and the iTunes being down are related somehow?
    You don't want to import all your music again, but it's a option, but you lose all your playlists, that's what I'm trying to recover.
    If oyu don't have a whole lot of playlists, then simply select all the explaimation point music and delete, select File from the menu and import your itunes folder again.

  • How can I take lion off of my MacBook Pro and go back to using Snow Leopard

    How can I take lion off of my MacBook Pro because it has too much problems with the new operating system, I have talked to Apple support for both computers and still nothing happens I think they know that there's something wrong and they don't know how to fix it are there working on fixing it. So how can I put snow leopard Mac on my computer so that it works every time, there's a lot of good features in Lion but there's a lot of bad features and especially when it comes to turning on your computer and the memory that it has held so if one item is missing then it doesn't work and you have to reboot the computer to get it to work but I still like my Mac.

    Take a look at this:
    http://www.thesafemac.com/how-to-prepare-your-mac-for-sale/
    Ciao.

  • HT4796 How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users?

    How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users? Having to log out just to sign in on a different user to access the files is absurd.
    Do I make all the files sharable to all the NOW users on the mac then just delete the files? Or can i erase my account that I made when starting up my new mac and then just use the one with the transferred files?
    I just dont want to have to og in and out of 2 different accounts .. Help please.         
    -Nina

    Sorry. /Users is a folder path. It would be similar to C:\Users (if that exists on Windows).
    So, in the Finder, select Computer from the Go menu.
    You'll see Macintosh HD, double-click that to open it.
    In there you'll see several folders. One is Users. That is where all the user Home folders exist. Select the other account's home folder and go to step 3.
    If you have any more confusion, please stop and ask. We'll get there.
    If you feel more comfortable, you can just log into that other account and move the files into /Users/Shared.
    Then, log into the account you wish to use and copy the files from the Shared folder and paste them into your Home folder, wherever they belong, Documents, Music, Pictures, etc.  That just takes a little more work. Transferring them into Shared, and then copying into your home sets the permissions on the files so that you won't have a problem accessing them later. The steps I provided just prevent you from having to do the double move, since you are not going to use the old account once you are done.
    Quick unix shorthand. If someone gives you a file path that begins with a /, that means the root of the hard drive, ie Macintosh HD (if you haven't renamed it). The path separator in unix is /, not \.
    A path that starts with ~/ means your Home folder, the one inside /Users named with your account name.

  • How can i take the pictures from my old ipod and transfer them onto my computer without deleting anything

    How can I take the pics from my old ipod and transfer them onto my computer without deleting anything?

    Pictures on an iPod are stored in a special format, optimized for the iPod's small lower resolution screen, to save storage space.  iTunes puts them into that format when syncing.  There is setting in iTunes, on the iPod's Photos screen (where you set up syncing of photos) for Include full resolution photos.  If that checkbox was checked when you synced the photos to the iPod, THEN you can Enable disk use and find those photo files on the iPod in the Photos folder. 
    Otherwise, you cannot get your photos back, using iTunes.  There may be third-party utilities that can extract individual photos from the iPod, but they will still be lower-resolution versions of the original photo.

  • Lost home PC with my iTunes account on it in a home fire.  How can I take everything from my iPhone 4 and put it on my new PC?

    Lost home PC with my iTunes account on it in a small home fire.  How can I take everything from my iPhone 4 and put it on my new PC?  Is this even possible?  iPhone 4 / new PC running Win XP Pro.  I have backed up to iCloud recently so the info is out there, just need to bring it down onto my PC....
    Need HELP.............

    Copy from iPod to computer
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    The sync to iPhone
    iTunes: Syncing media content to iOS devices and iPod

  • I'm new to Mac, have had for approx.  I put my iPhone and iPad and my wifes in iTunes and now when i start my system on.  I now have a Guest user show up at the log on screen.  Is this normal.  And how can I take it off.   Tried the help and no luck

    I'm new to Mac, have had for approx.  I put my iPhone and iPad and my wifes in iTunes and now when i start my system on.  I now have a Guest user show up at the log on screen.  Is this normal.  And how can I take it off.   Tried the help and no luck

    Tatanka11 wrote:
    I'm new to Mac,...
    Then...  You may find these Links of Interest and Value...
    Show me how to set up my Mac.
    http://www.apple.com/support/mac101/
    http://www.apple.com/support/switch101/     Switching from PC
    http://www.apple.com/findouthow/mac/
    Enjoy your Mac...

  • I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.

    I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.
    Also, does reinstallation takes the back up automatically or the files will be lost. Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • Screen damage and forgot the login password,how can i take out the photos

    my screen damage , totally lost , this iPhone5 is broken 1 year ago,  it has login password and i already forgot the password.i didn't open the icould and backup.  how can i take out my photos from my phone?  the photos is REALLY important for me. and i don't want to replace or fixes it anymore.

    Output of Invoice:
    Billing document (Change Mode) : VF02 --> Enter (takes to main screen) --> on the top line Goto --> Header --> Output  --> maintain output type --> Enter --> back --> Enter printer (in most cases LOCL) --> Enter & SAVE.
    Move out of billing document & revisit Billing Document in change mode(VF02) --> In the initial screen itself, on the top line o to Billing Document --> Output --> Screen / preview > Enter> a screen will pop-up on which printer name is mentioned --> Enter & you will get the preview of Invoice.
    To Configure printer, take assistance from basis consultant.
    Regards,
    Rajesh Banka

  • I have photos on my iphone 4 that i'm trying to transfer to iphoto.  The problem is when I plug the phone in, it only wants to transfer the new photos, not all.  How can I take all the photos off my phone and put them into iphoto?

    I have photos on my iphone 4 that i'm trying to transfer to iphoto.  The problem is when I plug the phone in, it only wants to transfer the new photos, not all.  How can I take all the photos off my phone and put them into iphoto? Even if there are duplicates, I'd like to make sure I get all the photos from my phone into iphoto.  Thanks

    To see all the photos on the phone, including photos that have already been imported into iPhoto, deselect the "Hide Photos Already Imported" checkbox. If the camera contains photos that have already been imported into iPhoto, those photos are hidden by default.

Maybe you are looking for

  • No customer found with customer number

    hello experts, In R/3 e-commerece when we try to create a order, we are not able to create the order, we get a message as No customer found with customer number Even the images are displayed. Please Help................... Thanks & Regards namitha

  • Lost folder when recovering from photoshop elements 5

    I was using the XP version of photoshop elements 5 when my PC crashed but I had a full (recent) backup on my external hard drive. My new ;laptop is running the 64 bit version of Windows 7 home premium .  I installed my XP version on the new laptop an

  • Nano isnt recognized by iTunes or iHome

    I just went to the apple store and the guru erased everything off my nano and guaranteed this would fix the problem. I came back, re-downloaded iTunes and plugged by nano in. Still NOTHING! And now I have no music on there to listen to. Please help!

  • Page scaling at different resolutions

    Hi everyone. I made a web page using Adobe Flash and Dreamweaver, but I have a problem, the web page fits perfect on my monitor (of course) but if the web browser is not maximized or the screen resolution is less than mine it looks ugly.How can i mak

  • Software update kill x11

    I run many software packages that require X11.  After running the latest software update package today X11 fails to launch and applications that rely on it will no longer run.  Reinstalling X11 from the system disk did not help nor did reinstalling X