How can I extract a gaussian function out of a spectrum which has five gaussain functions....

I have a spectrum which has five gaussian functions. but I have to extract this Gaussian functions from the spectrum. There are diferent gaussian functions. What are the possible methods for extracting the gauss functions using labview. I have attached a picture to give you a picture. The solid line is the one I have and the dotted lines are the individual Gaussian function which will be extracted.
Note: the Gaussian function center number and width are known.
Attachments:
Picture1.png ‏27 KB

Let me get this straight.
You have:
   The experimental data set (spectrum)
   The number of Gaussian curves you want to use for your curve fit
   The center positions and variances for all of your Gaussians
You need:
   The height of the Gaussian curves
Is that it? If so, all you need to do is set up an optimizing routine, using some measure to optimize (i.e., sum of abs(residuals) or residuals squared for each data point) and the acceptable final error for your solution.
A modified Simplex routine should work well, there may be others which would be more efficient, but you're talking about a trivial amount of comkputer time unless you have a gazillion of these spectra to fit.
If that is not your problem, please describe exactly what data you have and what you need to calculate more fully.
LabVIEW can use essentially any method for solving this problem that any other computer language can, but it is not likely to be a simple canned plug-in (at least it won't be one which you get in the vanilla version of LabVIEW), you'll have to put it together yourself.
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ

Similar Messages

  • How can I extract a km-iView out the portal to redefine it?

    Hello folks,
    I want to redefine the com.sap.km.cm.navigation-iView to serve generic access to the users home drive by using the <User.UserID>-variable. Therefore I have to extract/download the iView out of the Portal. I wasn't able to find KM-Content in Systemadministration->Support->Portal Runtime->Browse Deployment. What do I have to do?
    How can I extract a km-iView out the portal to redefine it?
    Regards
    Steffen

    Just as an example:
    package com.btexx.proxy;
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.pom.IEvent;
    import com.sapportals.wcm.repository.ResourceException;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.service.IServiceTypesConst;
    import com.sapportals.wcm.service.urlgenerator.IURLGenerator;
    public class Example extends AbstractPortalComponent
         protected void doOnNodeReady(IPortalComponentRequest request, IEvent event){
              String uname = request.getUser().getLogonUid();
              String path = "/userhome/"+uname;
              String rndLayoutSet = "ConsumerExplorer";
              String explorerServletPath = "/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation";
                   try {
                        IURLGenerator ug = (IURLGenerator) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
                        explorerServletPath = ug.getExplorerServletPath();
                   } catch (ResourceException e) {
              request.redirect(explorerServletPath+path+"?rndLayoutSet="+rndLayoutSet);
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    + portalapp.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement"/>
      </application-config>
         <components>
              <component name="Example">
         <component-config>
              <property name="ClassName" value="com.btexx.proxy.Example"/>
              </component-config>
                   <component-profile>
                        <property name="com.sap.portal.reserved.iview.Redirect" value= "true"/>
                   </component-profile>
              </component>
         </components>
    <services/>
    </application>
    all the best,
    dimitry

  • How can we restrict the other user to change the record which has been entered by particular user in MDS

    I have created Product entity in MDS. It's having the following values:
    Name  Code  Owner
    Bike    1      ABC
    Car      2     XYZ
    Cycle   3     RRR
    owner XYZ can change the record of RRR. But if owner XYZ or any other owner in this entity tried to update the ABC's record, access should be denied. That means, no one should have the permission to change the records which are entered by ABC.
    For this i have executed this code
    CREATE TRIGGER mdm.party_trial_readonly ON mdm.tbl_1042_1278_EN AFTER UPDATE, DELETE AS
    IF EXISTS (SELECT * FROM deleted WHERE readonly = 1)
    BEGIN
       ROLLBACK TRANSACTION
       RAISERROR ('Attempt to change a read-only row', 16, 1)
       RETURN
    END;
    After executing this code i couldn't edit any of the records.
    Please help me out in this.

    I have created 2 entities called Party and Owner.  Party has following columns (name, Code, Owner (Domain Based Attribute)) Owner has following columns (name, Code) And I have Created one Derived Hierarchy.
    From user and Group Permision Section, Hierarchy Members tab I have given read only permision to me (administrator of the Model). When I gave the permision I have selected users and Inherited from group in permission tab. And I'm not the part of any group.
    Now I'm not able to see my model except the explorer area. And I'm not able to delete the permission from the user. As per the admin guide we need to delete permission from group.
    Though I'm not the part of any group, I'm not able to proceed further to delete the permission.
    Please help me out in this regard. Thanks!

  • How can I use an iTunes credit (from a gift  card which has been entered) for a book burchase?

    I have entered a $25 gift card and would like to use it for a book purchase. When I ordered a book it was charged to my credit card not the iTunes credit.

    iTunes Store: How to redeem a code - http://support.apple.com/kb/HT1574 - If you have an iTunes Gift Card or other code that you want to redeem in the iTunes Store. Includes hierarchy of how things are charged.

  • How can I extract a bent CD from an Apple Superdrive?

    A bent CD has jammed in my Apple Superdrive. How can I extract it?

    Here's a list of generally accepted approaches:
    http://www.macyourself.com/2009/05/01/the-ultimate-guide-to-ejecting-a-stuck-dis c-from-mac-superdrive/
    Depending on the Mac model you have, there may be other approaches, and there is always the Final Solution of cracking the case, pulling out the superdrive, and mucking with it directly. But don't go there unless you have to and/or are feeling a bit crazy.

  • How can I extract the data from Xstring .

    Hi Gurus ,
    How can I extract the data from a XSTRING  .
    I have to get the data which is filled in the survey form the data is getting saved in form of xstring .
    Someone told me that there is a standard FM for that . but I am not able to find .
    Please reply with the FM in case some one knows about it .
    Thanks in advance .

    The following code works as of 7.0 (in any SAP system):
    FORM XSTRING_TO_STRING USING input TYPE xstring CHANGING output TYPE string.
    TYPES : BEGIN OF ty_struc,
              line TYPE c LENGTH 100,
            END OF ty_struc.
    DATA lt_char TYPE TABLE OF ty_struc.
    DATA length TYPE i.
    length = xstrlen( input ) / cl_abap_char_utilities=>charsize.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer                = input
      tables
        binary_tab            = lt_char.
    CONCATENATE LINES OF lt_char INTO output RESPECTING BLANKS.
    output = output(length).
    ENDFORM.
    Edited by: Sandra Rossi on Mar 30, 2010 12:24 AM

  • How can I deploy only one package out of a big project?

    Does any one know how can I only deploy one package out of a big project?
    We have a project which includes about 12 differenct packages. Is there a way in Jdeveloper for me to create a deploy profile to only deploy one package to a *.jar file?
    Do I have to re-create a new project ( that's what I am doing currently) simply for deployment purpose?
    By the way, click and pick class from more than 100 classes is too much of work. In addition, you don't really know exactly which class you are picking if two classes (in different packages) have the same name.
    Thanks a lot.

    Rename your LCA file extention into .ZIP
    Open the ZIP file in any of the compressing utility (e.g. WinZip, WinRar etc.)
    Extract the desired process and deploy it manually to your server.
    Nith

  • I am using i 4 phone. recently I had a problem with my lap top and had formatted hard disk of it. Now I want to use sync data in my iphone back to itune n my lap top. how can I perform this task with out loosing data in my i phone.

    I am using i 4 phone. recently I had a problem with my lap top and had formatted hard disk of it. Now I want to sync data in my iphone back to itune on my lap top. how can I perform this task with out loosing data in my i phone.

    Hey floridiansue,
    Do you have an installed email program such as Microsoft Outlook?  If your email is through an online login, such as Gmail, etc, then one will have to create an email association with a program such as Microsoft Outlook on the PC for this Scan to Email system to function.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • How can I  extract non-cumulative cube data to another cubes ?

    Dear Expert,
             I copied inventory cube 0ic_c03 to  a new cube : ZIC_C03  , then I loaded the data of 0ic_c03 to the new cube ZIC_C03 . 
    the loading was sucessful, but  the result of  report of the ZIC_C03 was not correct. After looking into the problem, I found out
    the new cube can successfully extract data related with "Goods movement" & "Revaluation", yet the extract of "Open Balance" does not seems to work.
             I have read through Note:375098, in which I could not find (InfoObject 0RECORDTP) in my start routine as mentioned in the solution
    ,and the note was not mentioned valid for BW 3.5 release.
             How can I  extract non-cumulative cube data to another cubes correctly in BW3.5 release SP20? 
       Thanks !

    Hi,
    Check Routines in Update rules wether same code is wrriten in  new cube
    cheers,
    Satya

  • How can I extract ? Please help me.........

    First of all, I am very new user to XML and also Java. If my question is nonsense, forgive me, please.
    I would like to test that the string in the node are equal with some string that I want to search. I use DOM API.
    The following code are ok for the node is directly included text CDATA. The program gives the true value. In the following simple code, I tried to search the string "ACTI".
    for example; the node, <LABEL>Problem in Activity</LABEL> , I got "true".
    But I would like to match also the node ,
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Activity" >
    There is also "Activity" string value in class_constraint.
    So how can I extract and match that string data?
    Help me please!
    case Node.CDATA_SECTION_NODE:
    System.out.println(node.getNodeValue());
    if (node.getNodeValue() != null) {
         String aa = (node.getNodeValue().toUpperCase());
         if ( (aa.indexOf("ACTI") >= 0))
         System.out.println("true");
         else
         System.out.println("false");
    <CONCEPT>
    <LABEL>Problem in Activity</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Activity" >
    </SLOT>
    </SLOTS>
    </CONCEPT>

    Thank you very much for your help.
    I do appreciate your reply.
    As I gave my code example in my first post, I parse the XML document and I checked each node whether it is CDATA Node or Document Node, Element Node, and so on.. I used CASE statement.
    If it is CDATA node, I compare Node value and the string I want to search.
    At that time, I faced the problem that you solved already, I didn't know how to compare in attribute node.
    With your suggestion, I can compare now.
    But the problem now is that... when I extract element by tag name, it cannot test node by node.
    So, how can I combine these two code?
    Actually, what I am going to do is that if node is not match (in anywhere) with the string what I want to search starting from parent node to all child nodes, I want to delete that node starting from parent node and it's childs. And I want to create a new XML document by deleating unmatched nodes.
    For example, in the following XML, I would like to delete the second <CONCEPT> node while I search for "Acti" string. There is no "Acti" in the second.
    <CONCEPT>
    <LABEL>Problem in Activity</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Design" >
    <SUB_L label="" def="" role_name="" class_const="Activity" />
    </SLOT>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Const" >
    <SUB_L class_const="Activity" />
    </SLOT>
    </SLOTS>
    </CONCEPT>
    <CONCEPT>
    <LABEL>Problem in REQ</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Req" >
    <SUB_L class_const="Change" />
    </SLOT>
    </SLOTS>
    </CONCEPT>

  • How can I extract pictures from a backup

    I update an iPhone 4 to iOS 7 and it's 16gb The iPhone that was completely out dated running iOS 4 so I updated it and backed it up but now iOS 7 takes up more of the storage and now I can't restore the backup but it's only the pictures this guy wants for his iPhone so how can I extract them?

    Restore the device using the backup.  Backups are only designed for use in restoring a device.
    If used as designed, pictures would have regularly been copied off the device to the computer for safe keeping.

  • How can i extract system properties

    how can i extract OS properties like desktop resolution, type of internet connection, sound capability, browser character settings etc. ??

    type of internet connection,Not possible. You can detect the lack of an active
    internet connection though (figuring out how is left
    as homework for the reader;)),
    sound capability,Nope.
    browser character settings etc. ??Nope.
    Tuomas RintaThanx for replying..
    Are you serious ?? There is no way to check if the system is sound capable or not ? ok for the type of internet connection i thought that you couldn't so...
    as for the existence of an internet connectio....i am not that new...
    Nik

  • HOW CAN I EXTRACT THE SYSTEM DATE?

    HOW CAN I EXTRACT THE SYSTEM DATE?

    import java.util.*;
    import java.text.SimpleDateFormat;
    public class date2{
        public static void main(String[] args){
            Date today = new Date();
            SimpleDateFormat output = new SimpleDateFormat();
            String answer = output.format(today);
            System.out.println(answer);
    }If you want to make it prettier, you can look at using a locale, or a pattern string in the SimpleDateFormat constructor. Read the Documentation.
    Note that new Date(), constructs a Date with the current Time,
    you could also use: new Date(System.currentTimeMillis());
    Hope this helps
    -Philip.

  • How can I extract the native SQL generated by TopLink?

    How can I extract the native SQL generated by TopLink?
    This is useful for example to use pagination, or pass the SQL to a stored procedure that may do many things, like using a cursor, or apply security.
    Pagination example where the SQL inside the inner parentheses are generated from Toplink, and the outer SQL is generic:
    select *
    from
    (select xx.*, rownum as rn
    from
    (select o.order_id, r.name, ...
    from placed_order o, restaurant r
    where o.restaurant_id = r.restaurant_id
    order by o.order_ext_id
    ) xx
    where rownum < 21)
    where rn > 10

    Alternatively, you can open your sessions.xml in the Mapping Workbench and for a specific session, you can Click the Login Tab and then the Options tab. Then select "Native SQL" and it will be outputted to the console (assuming that is where you outputing it).
    zb

  • How can I extract certain pages from my document and save as another file?

    How can I extract certain pages from my document and save as another file?

    You would need Adobe Acrobat to do that, not Adobe Reader.

Maybe you are looking for

  • Macbook Pro to video components?

    I have a macbook pro and I want to hook it up to component video(yellow).  I bought the Apple Mini-dvi To Video Adapter but I know thats the wrong adapter and I already have the Mini DisplayPort to DVI Adapter. I also read somewhere that my computer

  • Family sharing not sharing payment information

    Family sharing not sharing payment information We have two iPhones on iOS 8. Previously my Apple ID was logged into my wife's phone for iTunes and app purchases to share purchases (she's had her own apple is for iCloud all along) . I set up family sh

  • Error while trying to create new assignment with supervisor through API

    Hi Experts, I'am trying to create new assignment with supervisor for employee, but i'am facing this error: ============================================================= ORA-20008: Error While Create new assignment..-20001 ORA-20001: The supervisor as

  • Is there a 64-bit version of Firefox for Windows 7 64-bit?

    I'm just a bit confused. I have Version 8.x of Firefox, which seems to be a 32-bit version. The help site seemed to say that there is a 64-bit version of Firefox, but when I went to download it, I got something called Nightly, which has now replaced

  • Reinstalling Solaris 8

    Dear Solaris Gurus, I have Sun Sparc machine with Solaris 9. I want reinstall Solaris 8. I am doing the follwing, I booted from the Cdrom and after 3 steps it throws an error "X Error of failed request: BadAlloc (insufficient resources for operation)