Jetdsp
JETDSP Homepage
Manual Homepage
Signal Processing Homepage
 
Signal processing
Basic guide
Advanced guide
IBM NEWDSP-syntax
Use your code
Signal slicing
Simple expressions
 
Tutorial
Introduction
Internals
IDL commands
Interpolation
Writing your own code
Adding functions to the Simple dialogue
 
How to...
Read data
Define structure
 
Functions
jetSmooth
jetint
jetsubset
jetmerge
fixgrid
jetwindowpoints
 
Signal Processing Main

Merging two signals.

Two signals can be combined to create a new signal in a variety of methods. The standard set subset_merge.jss demonstrates these.

The first part splits a signal into several parts using the jetsubset function. These are then recombined to give new signals.

The merge works by interpolating the signals before joining them together. For example two signals are defined on the grids shown on the left below. These could be merged along the time axis. The first stage is to interpolate the functions onto the grids shown in the middle below, and then these functions are joined together to give the picture on the right.

The IDL command for this is:-

NEW=JETMERGE(A_RAW,B_RAW,'T',A_TIME,B_TIME,A_X,B_X)

Similarly two signals can be merged along the x-axis. This time the command is NEW2=JETMERGE(C_RAW,D_RAW,'X',C_TIME,D_TIME,C_X,D_X) and this is shown pictorially below.

It is also possible to merge 2D signals. This can be done along the time axis. The command for this is

PROC/JETMERGE(N_RAW,O_RAW,'T',N_TIME,O_TIME)

All three of the above commands have shortcuts to them in the simple expressions dialogues. The top two are under f(t,x) whilst the third is under f(t).

It is possible to merge a 2D signal with a 3D signal, or merge two 2D signals as if they are 3D signals. To do this the shortcuts cannot be used, instead the command has to be typed. For examples of this see signals J,K,L,M in the example standard set subset_merge.jss.


Top  JETDSP Home Page  Manual  FAQ 
Please send comments to: data-and-coding-support@ccfe.ac.uk