Wavelet scale error.

Hi all
I am trying to denoise an ECG signal using discrete wavelet transform. i have done a VI for this purpose . but when wiring the ECG signal to the input of the attached VI it gives an error ( the wavelet scale must be greater than zero ).
can you guys have a look at my VI and see what is wrong with it ?
thank you .
Bill David
Attachments:
ECG Data Denoise.vi ‏217 KB
ECG Data Denoise.vi ‏217 KB

Dear Bill!
 That is quite a loaded question. Filter design is a whole science by itself, and I don't believe that a non-trivial solution exists in your case.
What is my desired noise-to signal ratio? What manner of noise do I have? What is an acceptable degradation of signal accuracy (peaks and transients)? 
These are all questions that you most consider, and then shoot for an optimal compromise.
I would say the easiest solution would be to try and set different thresholds, manual settings and constants, and check the output signal to see what works best for you. Also, keep in mind that the main advantage of wavelet filters is that the can keep sharp edges and transitions while maintaining good noise reduction. Because of this special treatment of meaningful edges, noise that is next to an edge will not be filtered well.
You can even use more then one filter to target specific frequency areas and problems.
Please check this whitepaper for more details of ECG signal filtering. There is also quite exellent academic literature on tre subject, for instance here or here.
Kind regards:
Andrew Valko
National Instruments AE
Andrew Valko
National Instruments Hungary

Similar Messages

  • Database scale error

    When trying to change the scale of our SQL database from S1 to S2 in the new portal I get the following error:
    Database scale error
    Database scale operation from S1 Standard to S2 Standard failed for <DBNAME>. ErrorCode: BadRequest ErrorMessage: The operation is not supported for your subscription offer type.
    Tried again on the old portal and get a similar message:
    The operation is not supported for your subscription offer type.
    This is a pay as you go subscription. Are those not compatible with anything above S1?

    Hi Alex,
    This should not be the case for Pay-as-you go subscription. We might have to verify you subscription details and so request you to raise a technical support request via
    http://azure.microsoft.com/en-us/support/options/ along with the screen shot of the issue.
    Regards,
    Shirisha Paderu

  • Chart scale error

    I am coding a logging system in labview 7.1
    On the front panel I have several charts. If I try to change the x-scale by typing new end of scale value while running - labview crashes (LV7.1 has encountered an error, please tell Microsoft...)
    If I change the x-scale when the program is not running - labview sometimes crashes.
    The graphs are indicators OWGraph, Wave Height, Temperatures, Flow and in the lower loop, pressure difference.
    The data comes from on demand aquiring from a pci6120 card which runs in one loop - the displaying is handled in another loop (on top in posted code image) except from one chart which needs quicker updates.
    Attachments:
    code1.gif ‏158 KB
    code2.gif ‏51 KB

    I found the sinner, it cant handle the offset. I use an offset of the number of seconds since 1904... to display the current time on the x-axis. If I plot two or more plots in the chart and use property node-> x-axis.offset it crashes every time I try to manually change the x-axis. I used most of the day figuring this out and the rest of the day to find a workaround. Since I dont use the date - I ended up calculating the smallest number of seconds to put into offset so that the time got right. Because if you wire a constant (any size) into the property node it is no problem - if you wire a time stamp converted to double - it crashes. When I use a probe on the value, it displays it in scientific mode (3,2 e+9) I wouldnt think this is any different than a constant written 3200000000 - but it is the only explanation I have right now - and I am not using one more second to find out - cause my workaround works...
    In the code attached - the timestamp is input to a chart with a single plot, that however causes no problems...
    Attachments:
    code3.gif ‏19 KB

  • Vendor interest scale error !!!!

    Dear Experts
    At the time of executing the report through F.44 ( Vendor Interest Scale ) getting the error "Error table for
    vendor interest scale from 01.11.2011 No List Generated.
    Immediate feedback is needed.
    Regards,
    Raziq

    Dear Raziq Fareed
    please check once again in OB81 (Term : Debit interest arrears int. cal. / credit int. arrears int.cal.)
    also check in OB82 & check in vendor master were maintain interest ind.or not (By mistaken any one changed)
    Regards
    shankar

  • Canon i560 printing scale error

    Help I have a MacBook that prints perfectly when I plug in usb directly to the printer. However whenever I try to use across my MS network at home it scales the printing down to 1/4 page? I have tried everything and am at a loss. I have reinstalled the printer driver (which the Mac still does not recognize), from both disc and from Canon website. Neither way appears to work. When printing from a Windows laptop connected to home network, printing is flawless as it is from the desktop. Problem is obviously in the networking (MS router). Any suggestions or help would be greatly appreciated.
    John

    You cannot use the UFR2 driver via a Windows queue. The UFR2 queue need to be configured so that it is connecting directly to the Canon machine. If the iR1025 has an Ethernet port then I suggest you have it connected directly to the network hub rather than to the Windows computer. If the iR1025 only has a USB port then you would have to look at using the following procedure to print via the Windows queue.
    http://iharder.sourceforge.net/current/macosx/winmacprinter/

  • Database scale error for [DB] from Business to Basic

    I can't change one of our Business DBs to Basic because I get the error in the title, no more detailed message. The DB is 166MB so should fit into Basic.
    What can I do?

    I'd tell more but as it is with the new dumbed down Microsoft error messages (cough :-)) I can't tell more. This is coming from the new Azure Portal when I try to change the tier. Here's a screenshot:

  • Volume scale error

    Very often my MB's volume goes down and even when it's on maximum it's not loud enough. It returns to normal when i restart the computer. Is there a way to return the volume without restarting the computer?

    Actually, I did have intermittent volume problems with the headset and speakers. Now, I seem to have a non-intermittent volume problem. It was working okay. I am not sure when it changed exactly, but I can not turn up the volume on the headphone out high enough. Even late at night when it is quiet, it is to low to hear properly with both the main volume control and the application volume controls at maximum. The built in speakers work fine at the moment. I tried a friends USB based headset, and it works fine; plenty loud enough. I tried both reset directions to reset the Pram and SMC, but neither corrected the problem although I am not totally sure the SMC reset went properly; it made a strange beeping noise rather than just rebooting.
    I am using a large "studio" type headset, so I am wondering if apple put an update through that limits the volume for hearing protection based on using ear buds that do not require much power compared to larger, over the ears headphones. If this is the case, then they need to add an option to chose what type of headphones you are using and allow full output amplification for larger headsets. I can no longer use my headset at all, and I was using it for listening to music on youtube, and more importantly, for making calls with skype for my work. I have yet to find any earbuds that will stay in my ears even when just sitting at my desk, so I have to use an over the ear type headset.

  • To bring BACK the ability to print over 400%!!!!!

    Hello,
    In the previous versions of Acrobat, I could go into page set set up and print a pdf over 400% which i need to do often.... Now, you cannot!! In either reader or acrobat anything over 400% gives you an Invalid scale error.....Please bring it back!!!
    thanks!!!!!!
    barbara

    You are not communicating with Apple when you post here. With a few exceptions we are all just fellow users. If you want to comment to Apple, use their feedback page:
    http://www.apple.com/feedback/iphone.html
    Regards.

  • Why can not login?

    I install a large sun vdi environment, have about 200 vm. But I found some vm have a login problem.
    This vdi environment is sun ray 2+ sun ray server 4.1 + vdc 2.0 + vc + ESX 3.5CSmart Card static point to a vm, not use vm pool.
    If user remove them smart card a long time, when insert card they can get the windows xp vm login screen, but input username and password can't into windows xp, the login screen show again.
    We must login the vm at console in vmware vc, the user's login operate ok.
    This problem not a large-scale error, only some smart card have.
    Why? Can you help me?
    Thank you.

    I install the the latest svdc patches but this problem is also. I change the kiosk mode from use vdc to CDE add a application (script) yet, because it's can simplify the infrastructural. Now, my VDI is only use SRSS and kiosk, but have this error also.
    I try in SRSS solaris from Sun Ray and use uttsc command to connect a VM, but the uttsc command give me a error message as following: uttsc Segmentation Fault.
    I try to use microsoft rdp client on Windows XP to connect the same VM, it's right, why? It's the uttsc command on Solaris has difference of the MS RDP Client?
    Because not all of the VMs has this error, and use uttsc command can connect to the correct VM, I think this error is cause for VM, or some application installed on VM. The uttsc command error report is cause the VM disconnect the RDP from uttsc.
    By the way, I think when I see the windows login windows, the RDP already connect to the VM, does that mean VM's RDP can connected(this VM's RDP was opened) but this error is disconnect by some application or windows setting. it's right?
    I search the uttsc error report use google, found have another one have this problem, link is: http://www.filibeto.org/pipermail/sunray-users/2008-July/009957.html
    Thank you.

  • Modal Identification SSI method

    Dear all,
    I am working in labview 8.0. I am developing a tool to evaluate the dynamic response of civil structures using the stochastic subspace identification method based in output only tests (I acquire accelerations due by ambient loads).
    I have two problems:
    a) The first one is that when I run the labview example "Modal Analysis of a plate.vi" the results of damping factors are negative! as you can know it is impossible.
    b) The second one is that I adapted this example to my requirements but the results of frequency estimation vary in order of 10% in each run of the same point which as you can imagine is too much (The damping factors are negative again). I think I am doing something wrong could anybody help me? I am attaching the vi.
    Thank you very much
    Rafo
    Attachments:
    SSI labview.vi ‏250 KB

    Hi Rafo,
    If you think the example doesn't give coherent results, why do you are trying to adapt it for your application? I'm not a specialist of this kind of analysis, but you should start on a base you trust.
    About 10% variation, this may be explain acquisition scale. If you acquire very small signal with +-10v scale, errors of this kind may appear. What are the settings of your task?
    Cordially,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • Smooth image saling

    Hi,
    Iam developing an Image Viewer application using ImageIO package(as I have to handle Tiff files).
    Iam trying to scale a b&w tif file which is scanned with 300 dpi(2400X3162) using Graphics2D.scale() method and the quality is really bad for any scale factor below 0.5.
    I tried setting anti-aliasing to true and there is no change in appearence.
    Is there any better way to do this? Like implementing any better algorithms etc.
    I tried JTiffy viewer(http://www.tiffy.de) and the quality is excellent for the same file.
    Any suggestions please?
    varma

    Thanks a lot DrLaszloJamf for you quick response.
    It works perfect for scaleFactor <=1 and I am amazed by the qualty of the image.
    But throws OutOfMemory error for scaleFactor > 1 (1.1 to 2..). Here is my code.
    BufferedImage image = null;                         
    int w=0;
    int h=0;
    try
         ImageInputStream in = ImageIO.createImageInputStream(new FileInputStream(path));
         String ext = path.substring(path.lastIndexOf(".") + 1);
         ext = ext.trim();
         Iterator readers = ImageIO.getImageReadersBySuffix(ext);
         if (!readers.hasNext())
         throw new IOException("no readers");
         ImageReader reader = (ImageReader) readers.next();
         reader.setInput(in);
         ImageReadParam param = reader.getDefaultReadParam();
         int total = reader.getNumImages(true);
         System.out.println("Total Pages= " + total);
         System.out.println("Loading...");
         try
              int num = Integer.parseInt(pageNum);
              w = reader.getWidth(num);
              h = reader.getHeight(num);
              image = reader.read(num);
              MediaTracker tracker = new MediaTracker(new JFrame());
              tracker.addImage(image, 0);
              tracker.waitForID(0);
              System.out.println("Successfully Loaded");
         catch(Exception e)
              System.out.println("Load Error: " + e);
         reader.abort();
         reader.dispose();
         image.flush();
         ColorModel cm = null;
         try {
              PixelGrabber grabby = new PixelGrabber(image, 0, 0, 1, 1, false);
              if (!grabby.grabPixels())
                   throw new RuntimeException("pixel grab fails");
              cm = grabby.getColorModel();
         catch (InterruptedException e) {
              throw new RuntimeException("interrupted", e);
         double scaleFactor = 1;
         try
              scaleFactor = Double.parseDouble(scale);
         catch(Exception se)
              System.out.println("scale Error: " + se);
         int reqWidth = (int)(w*scaleFactor);
         int reqHeight = (int)(h*scaleFactor);
         Image target = null;
         if(scaleFactor < 1)
         target = image.getScaledInstance(reqWidth, reqHeight, Image.SCALE_AREA_AVERAGING);
         else
              int transparency = cm.getTransparency();
              GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
              GraphicsDevice gd = ge.getDefaultScreenDevice();
              GraphicsConfiguration gc = gd.getDefaultConfiguration();
              BufferedImage target2 = gc.createCompatibleImage(reqWidth, reqHeight);
              Graphics2D g = target2.createGraphics();
              double scalex = (double) target2.getWidth() / w;
              double scaley = (double) target2.getHeight() / h;
              AffineTransform at = AffineTransform.getScaleInstance(scalex, scaley);
              g.drawRenderedImage(image, at);
              g.dispose();
              target = target2;
    Then, Iam using the target image to be rendered in JPanel.
    I also used createVolatileImage method of GraphicsConfiguration. But ended up with the same OutOfMemory error.
    Is there any way that I can get arround this error?
    Thank you.
    varma

  • Adobe software license agreement keeps popping up after installing CC 2014 apps

    After updating to the 2014 apps, I cannot get any to open. The license agreement pops up and I click accept and it pops up again.
    Anyone know how to fix this?

    This is a wide scale error I think. We have been in the same boat. There many who are facing this. We have two on a team here who have lost two days of work because of it. We have called twice and they log in our macs check every thing (that was right already) and no one know what it is. And we keep getting answers like some one has to fix it on the "back end". There is no fixing on your end. you will need to call and get inline and get a case number and start waiting. I have been searching through the forums and there are many who are having the same errors under different names. I tell that was one question I wish the new reporter should have asked. So what happens if Adobe clouds fails or clichés will people be unable to work. Answer yes and the customers will lose more then just their rights to the programs they will locked out of the programs and lose work time.
    Our case number is 185638354

  • "Error establishing a database connection" after scale database

    Hello, i have a wordpress website hosted at my azure account (www.timothy-k.com). I was trying to scale my sql database and i have changed it from standard to basic. Then, I cant connect to my site, because i have this error.
    I scale the database again from basic to standard but the issue persists.
    In the website dashboard I can see an another mysql db as a linked resource.I check the credentials for wp-config and they are ok.
    Can you help me?

    Hi DigitalJo,
    Are you moving between the service tiers using the Azure Management Portal? Can we have the error which you get?
    Connections to the database may be temporarily dropped when a performance level change or upgrade/downgrade completes, and a few seconds may elapse before connections can be re-established. SQL Database applications should be coded to be resilient to dropped
    connections as this can occur anytime in SQL Database when a computer fails in the data center and the SQL Database service fails over the database.
    Reference :
    https://msdn.microsoft.com/en-us/library/azure/dn369872.aspx
    Regards,
    Mekh.

  • I use to be able to scale down objects highlted in box by clicking any corner holding down mouse and scaling down, that option is gone, is it an error on my settings or has that option been removed I now have to go to menu option click edit, then scale, a

    i use to be able to scale down objects highlted in box by clicking any corner holding down mouse and scaling down, that option is gone, is it an error on my settings or has that option been removed I now have to go to menu option click edit, then scale, and then manually have to scale down a percentage.

    Copy cat.

  • Extending planning calendar SCAL due to Error in PO delivery date

    Hi  ,
    When i am trying to create a PO the following error is received if we put delivery date of 2010.
    The message is "Deliv. date outside period covered by factory calendar 7A '  message no ME078".
    I have checked that this is due to the validity period of calendar 7A being valid till 2009.
    So i am trying to change it through SCAL. But when i extend validity to 2010 i get the following message "
    "Please enter validity area between years 1997 - 2009
    Message no. FK444
    Diagnosis
    The validity period specified for the factory calendar exceeds that of the selected public holiday calendar.
    Procedure
    Specify a validity period for the factory calendar that is within the validity period of the public holiday calendar.
    Kindly guide me how can this be corrected.
    Thanks,
    Vinayak

    do SCAL
    select plant calendar 7A and click display and find the name of the holiday calendar assigned to this plant calendar
    go back to the first screen, set the radio button to holiday calendar and click maintain.
    select calendar id and click maintain.
    change the validity period of the public holidays as well as the valid to date on top
    save.
    now go back, putthe radio button into plant calendar and maintain the validity of you 7A calendar

Maybe you are looking for

  • Iphone real instruments internal mic

    I still use GB in my powerbook. I have not uses the sampled instruments yet. But in iphone am enjoying the ability to quickly use the internal mic for real instrument ideas. saves time the way cassette players used to for easy access when inspiration

  • Loading New Easy Setups in Final Cut Pro 5

    I want to load the extra easy setups for the sequences in Final Cut Pro. Specifically I need to 24p presets. I have located the files but can anyone help me with a tip on how to get these .fcpre files into the program? Thanks for any reply! G G5   Ma

  • Create VI Reference from VI Reference

    Given a VI reference that is valid, is there an easier way to create a new VI reference, other than by using a property node, pulling the VI name, and using Open VI reference? I've never needed to do this before but I assumed there would be some invo

  • Websheet page sectiontype datagrid  rows per page

    I have a datagrid and can set rows per page using the action menu. If I create a page section type datagrid, this property will not being used. the section shows ALL rows, but I would like browse page by page. Any idea?

  • SUBCONTRACTING(BY-PRODUCT)

    HI, I wnt to map following scenario :- We are having a bar of length of 5000mm(A) We want to cut it in two bar 3000mm(B) and 2000mm(C) Material master for all 3 material were created. I am creating a PO for 3000mm (B) with item cat L In component I a