Adding functions to the Simple Expression dialogue.If is possible to add extra functions to any of the four lists of operations in the simple expression dialogue. Each of these lists consists of two parts, the first is defined within jetdsp whilst the second is read from a file. There is one file for each list and these are stored in the base directory. The names of the files all have the format'procSignal*.dat' and the data within them is in ASCII format.
To add a new function two changes need to be made to a file. Firstly the number of functions to read needs to be changed. This is on the first line not starting with a ';'. Following this are lines defining each function. The format of these differs slightly between the files. Each contains fields separated by one or more spaces.
For example add the following lines to the following files, remembering to change the function counts.
'.sav' files described previously. Note that in the two functions with parameters that these are enclosed in brackets. These are always required, and should always be included.
The next time you open the 'create processed signal' dialogue these functions will be included automatically.
If you have created 'my_truncate.pro' then delete all signals, load 46000/LIDR/NE and set up the following dialog.
Create the new signal and plot both to show the truncation. |