-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Signal Offset correction – alignment
- This topic has 2 replies, 2 voices, and was last updated 17 years, 4 months ago by Frits van der Steege.
-
AuthorPosts
-
July 9, 2007 at 7:25 pm #12502Frits van der SteegeParticipant
Hello all,
If I have two signals (datasets) that are essentially the same data but recorded from two different devices, and are offset by a time difference, how can I align the two so that they are both ‘in phase’?
Regards
July 9, 2007 at 7:25 pm #8165Frits van der SteegeParticipantHello all,
If I have two signals (datasets) that are essentially the same data but recorded from two different devices, and are offset by a time difference, how can I align the two so that they are both ‘in phase’?
Regards
July 10, 2007 at 3:17 am #8799Bernhard KantzParticipantFor this purpose you can use the cursor environment in FlexPro.
– Create a 2D line diagram for the first signal. Select the first signal and use the diagram wizard.
– Add a new x-axis. Select an existing axis of the same type. Drag a copy of the axis with the mouse to the desired position.
– Insert the second signal.
– Assign the 2. x-axis to the 2. curve.
– Activate the cursor environment.
– Deactivate the “Bind cursor to curve” mode.
– Activate the “Hold cursor” mode.
– Use the Right-Key or the Left-Key to move the 1. curve.Alternatively you can create a new FPScript function to create a new signal with the offset correction. E.g., you can calculate the zero crossing with the LevelCrossing-function. The x-offset is the difference of the two zero crossings. Create a signal with the new x values:
Signal(data.Y, data.X + offset)
…or use XScale
XScale(data, offset)
If the two datsa sets have the same sampling rate an lenght, you could also just exchange the x component of the second one:
Signal(data2.Y, data1.X)
See also the FlexPro Online Help (F1)
-
AuthorPosts
- You must be logged in to reply to this topic.