How to remove spikes from a data channel

We wrote a module in DIAdem to look at each single point and used some logic to determine if it is a spike or not. If it is we replace it with the mean of neighbouring points.
BUT this takes a long time for big data channels
Is there a routine which does it faster/quicker

Hi,
A Formula using complete channels is much faster than a formula using a
loop over all values. Of course it depends on the logic you are using.
Here is an example for everything over 10 is a spike:
Call FormulaCalc("Ch('A'):= Ch('A') + (Ch('A')>10)*Novalue")
This Formula declares every value above 10 to Novalue. Using logical
coparissons in channel calculations can be a very helpfull in many
cases.
Now you can use the math function for novalue handling to replace every novalue thru interpolation.

Similar Messages

  • How to remove body from JMS data In OSB?

    Hi
    I am puttting xml type of data in a queue but the data is coming with body tag. My requirement is to place payload only in JSM queue without soap body.
    Steps i followed are;
    1. Created business service with
    Service Type      Messaging Service
    Request Message Type XML      
    2. Created proxy service with
         Replace [ entire node ] of [ . ] in [ body ] with [ $body ]
    How to do that?
    Thanks
    Vibhor

    Are you using the OSB test console to post the message?Have you ensured there is no <body> tag in the input?
    I have checked what I have pasted above and it is working fine!
    Thanks,
    Prabu

  • [DIAdem] How can I trace a data range from a data channel?

    Hello,
    I am looking for a way to trace a range of data from a data channel using DIAdem script.
    Right now, I can only trace an entire data channel.
    Is it possible? I do not want to split a data channel in order to trace a part of it...
    Thank you.
    Regards

    Hello Tenanio,
    I believe this will answer your question:
    I am assuming in my code that you have a VIEW layout with a sheet called "Sheet 0" which has a 2D-graph in the top area (as can be seen from the screenshot below):
    Copy this Code into SCRIPT and run it, it should display the data the way you had described:
    View.Sheets(1).Cursor.Type = "Band"
    View.CoordinateWnd.Visible = TRUE
    View.ActiveSheet.Cursor.X1 = ChD(305,"Date_Mesure")
    View.ActiveSheet.Cursor.X2 = ChD(320,"Date_Mesure")
    View.Sheets("Sheet 0").Areas("Area : 1").DisplayObj.XScalingMode = "RangeScroll"
    call wndshow("View")
     Please let me know if this works for you and if you have any additional question.
           Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Does anyone know how to remove images from google

    i had instagram and i didnt upload images of myself but i only used my own image in the display picture and some how it has gone on to the google image search yesterday i deleted my account but when i checked to see if my images do appear in the google images i had some really bad regrets !! i reallywant to know how i can remove pictures off the google image search  even doe this does not kind of relate thank you .

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?
    If you are talking about some "Karaoke" method using Logic I'll try to offer one. Before that I must say that most of the Karaoke methods are based on reversing the Phase of one of the stereo channel and bussing or merging the stereo into Mono. The result is: killing all Pan Centered in the mix - like Main Vocal, Bass, Kick, SN ect.
    The artifacts of the Stereo FX of the main vocal will stay in the Karaoke, cause the FX is stereo etc.
    Here is the Logic Setup I can offer to try some Karaoke trick using Logic.
    1. Import a Stereo mix into a Logic Stereo track.
    2. Create another stereo track and duplicate (copy) the Original Mix region to the duplicated track.
    3. Hard Pan L/R both stereo tracks.
    4. Insert an EQ and Gainer plugins into the duplicated track (R).
    5. Set the Output select of the both tracks to a Bus and assign the new Aux Track Switch mode to "Mono".
    6. Open the Gainer plugin and thick the "Phase Invert" Right button.
    7. To keep the "lowend" instruments like the bass and kick, open the EQ plugin and enable the Low Cut filter and try some Hz settings 80-115, or different Q which will sounds better for your Karaoke.
    P.S Click the image below to show its real resolution!
    Regards,
    A.G
    ======================================
    www.audiogrocery.com
    Author of: Logic GUI Deluxe(Free), Vox De Bulgaria s.a.g.e vocal pack for RMX, Logic Snapshot Console, RMX Power CTRL - Logic Environment Midi editor for Stylus etc.
    ======================================

  • How to remove character from cube

    Dear Friends,
    How to remove character from info cube.
    I have removed from info source and update rules.
    but unable to remove from cube.
    Regards
    Ramu

    Hi,
    If you are working in BI 7.0, then you can use remodelling to remove the characteristic from the cube without deleting the data.
    But, if you are working in BW3.x, then definately you need to first delete the data, then delete the characteristic and then again activate the cube and load the data.
    There is no other solution except the above one...

  • Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?  o mixdown ,

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ? What are some other editing allowed on a stereo import (polyphonic mix) Thanks, Sploink.

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?
    If you are talking about some "Karaoke" method using Logic I'll try to offer one. Before that I must say that most of the Karaoke methods are based on reversing the Phase of one of the stereo channel and bussing or merging the stereo into Mono. The result is: killing all Pan Centered in the mix - like Main Vocal, Bass, Kick, SN ect.
    The artifacts of the Stereo FX of the main vocal will stay in the Karaoke, cause the FX is stereo etc.
    Here is the Logic Setup I can offer to try some Karaoke trick using Logic.
    1. Import a Stereo mix into a Logic Stereo track.
    2. Create another stereo track and duplicate (copy) the Original Mix region to the duplicated track.
    3. Hard Pan L/R both stereo tracks.
    4. Insert an EQ and Gainer plugins into the duplicated track (R).
    5. Set the Output select of the both tracks to a Bus and assign the new Aux Track Switch mode to "Mono".
    6. Open the Gainer plugin and thick the "Phase Invert" Right button.
    7. To keep the "lowend" instruments like the bass and kick, open the EQ plugin and enable the Low Cut filter and try some Hz settings 80-115, or different Q which will sounds better for your Karaoke.
    P.S Click the image below to show its real resolution!
    Regards,
    A.G
    ======================================
    www.audiogrocery.com
    Author of: Logic GUI Deluxe(Free), Vox De Bulgaria s.a.g.e vocal pack for RMX, Logic Snapshot Console, RMX Power CTRL - Logic Environment Midi editor for Stylus etc.
    ======================================

  • HT1386 The first time I synced my iphone with my mac, I didn't realize that all of my photos from iphoto would transfer over to the phone.   Now, I need to remove some, as they are taking up too much space.  I cannot figure out how to remove them from the

    The first time I synced my iphone 4 with my mac, I didn't realize that all of my photos from the iphoto library would transfer over to the phone (more than 3,000).   Now, I need to remove some, as they are taking up too much space.  I cannot figure out how to remove them from the phone.  I tried to uncheck boxes and sync again, but I get a message that there is no room on the iphone.  I've read as many articles as I can find, but still cannot manage this.  Thanks for any help.

    Open itunes, connect iphone, select what you want, sync

  • How to remove pics from my 3GS...???

    How to remove pics from my 3GS..???

    Photos taken with the phone can be deleted by selecting them and hitting the little wastebasket icon in the right bottom corner.
    Photos you did sync to your phone, can only be removed by deselecting them in the photo pane in iTunes, the following sync will remove them from the phone.

  • How to remove Unicode from XML file

    I get following error when unmarshal xml:
    [java] org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x15) was found in the element content of the document.
    Anyone know how to remove Unicode from xml file? Can I remove the unicode by rebuild the file?
    Thanks

    These sort of error usually occur when you're using a different character encoding to read the file than the one you wrote it with. Perhaps if you were to post the problem section of the file and/or the code that created it in the first place.

  • How to remove iPhone from a certain computer

    How to remove iPhone from a certain computer along with it's ID to allow another phone to use the comp soley.

    You do not need to do anything.
    Simply stop syncing the iphone to the computer and begin syncing the new iphone to the computer.

  • How to remove Seperator from check-in and profile check in pages

    How to remove Seperator from check-in and profile check in pages
    The seperator is included on the checkin pages, which is present in the std_page with name "std_namevalue_separator", this is called by td_document_checkin_fields and std_document_file_fields.
    Defination of include:
    <@dynamichtml std_namevalue_separator@>
    <$if not isUploadFieldScript$>
    <tr>
         <td width="<$captionFieldWidth$>"><hr /></td>
         <td width="<$captionEntryWidth$>"><hr /></td>
    </tr>
    <$endif$>
    <@end@>
    I have to remove the following include from some of the profile check in page.
    Please suggest if anyone have some idea, how to proceed.
    Thanks,
    Sumit

    791848 wrote:I have to remove the following include from some of the profile check in page.The key here is that you want to do this in some profiles, not all profiles or globally, if I'm reading this right.
    Without writing a component, you can put this code in the "side effects" box in the desired profile(s). This code removes the horizontal rule, and inserts a non breaking space in its place.
    <$setResourceInclude("std_namevalue_separator","<$if not isUploadFieldScript$>
    <tr>
    <td width=\"<$captionFieldWidth$>\"> </td>
    <td width=\"<$captionEntryWidth$>\"> </td>
    </tr>
    <$endif$>")$>YMMV. The non-breaking space may get stripped out in the forum.

  • How to remove text from .swf animation?

    how to remove text from .swf animation? Can no find this text
    in fla file. Flash 8.

    exactly what 'text' are you referring to? text that you typed
    on the Stage using the 'textTool'? simply select the text with the
    'arrowTool' and hit delete.
    If you are referring to a textField that you want to
    eliminate after a certain amount of time, within your animation
    sequence. first copy the text, create a new layer, paste the text
    in place, then where you want to have the text 'disappear' insert a
    'blank keyframe' at that point in the text layer.
    OR place the textfield within a MC and remove it with code.
    OR if the text is dynamic and you wish to use the position at a
    later time, pass a value of null or and empty string to the field
    at the point you wish. And there are other ways still. :) hope one
    of these works for you.

  • How to remove passcode from ipod touch 3g  if power botton is not working?

    how to remove passcode from ipod touch 3g  if power botton is not working?

    Use this program to place the iPod in recovery mode so that you then can restore the iPod via iTunes.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

  • How to remove myself from/leave a team?

    Hi
    I'm using Visual Studio Online in my software development classes. The problem is that the "Accounts list" on my Visual Studio Online portal is crowded with projects from past years. A clean-up is needed.
    I found this solution (https://social.msdn.microsoft.com/Forums/vstudio/en-US/80057697-38d7-4161-8564-13c630943484/vs-tfs-online-how-to-remove-myself-from-a-team-?forum=TFService), but the problem in order to apply it is that I have no more contact with
    a lot of those students + most of their accounts are expired.
    How can I solve this?
    Thanks in advance!
    Evert
    PS: my apologies for any linguistic mistakes... English isn't my mother tongue.

    Hi Evert,
    Based on your description, seems you're the owner of the Visual Studio Online account. If you want to remove your account from the teams that expired, then you can delete the teams directly in team project administrative page of team web access.
    If you only want to remove your account from the teams, then you can click the team and remove your account in administrative page.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT4859 kindle fire how to remove items from icloud

    kindle fire how to remove items from icloud

    Kindle Fire's don't work with iCloud, your question makes no sense.

Maybe you are looking for