How to Match Data Length of Different XY Channels Using DIAdem

Updated Feb 6, 2024

Environment

Software

  • DIAdem

You can analyze data using DIAdem. However, the data you have can be in different data lengths. This article will introduce how to match the data length of different XY channels using DIAdem with NoValue data.

Assuming ChannelA has its own TimeA channel and ChannelB has its own TimeB channel as shown below:
08.PNG
then you can reuse those channels following the below steps to match the data length:   

1. Go to the ANALYSIS panel in DIAdem
2. Select Channel Functions >> Linear Mapping
3. Interpolate channels {TimeB, ChannelB, TimeA} to create a new Linear Mapped ChannelAB, which will be the same length as ChannelA but will have the ChannelB values matching with the timestamp.  If you wish to not affect the original channel data, use NOVALUE as the replacement value.

01.PNG

4. After you click the Calculate, there should be a new channel called LinearMapped_ChannelB created in the data portal.

Additional Information:

If ChannelA and ChannelB are waveform channels, then you can create the TimeA and TimeB channels by
1. Navigate to ANALYSIS panel >> Channel Functions >> Numeric Channels <-> Waveform Channels 
2. Select Waveform channels -> Numeric channels in conversion mode
3. Select Generate numeric channel (relative time reference) in X-part.
4. Select calculate and you should get the numeric channel of time data and XY-channel of the data channel you wish to convert.
Otherwise, you will need to create TimeA and TimeB separately for your data from scratch by using the ANALYSIS >> Channel Functions >> Generate Numeric Channel.

Taking the data and steps shown above, this will be the result after performing the linear mapping. You will have a new LinearMapped_ChannelB which maintains the data of ChannelB with a total data length the same as ChannelA.
03.PNG