| Editing |
Zero the visible waveform
| zerovis.zip 780 |
This script zeroes all the visible waveform data in a Signal data view, while leaving the rest of the data unchanged.
It operates on the currently active view at the time when the script is run - the simplest way to use it is to load it into Signal, open your data file, arrange the display to show only the channel and time range to be zeroed and then to run the script using the script menu Run script command. You can put it into the script bar to make it more easily accessible.
Be careful! It will quite happily trash all of the data in a frame. But if you have the data update mode set to the default of 'ask user' the changes will not be written back to disk unless you allow this. So you have some protection.
| reorder.zip 1,420 |
This script shows you how to reorder the channels in any Signal data file.
It asks you for a data file to process, and allows you to choose which input channels the output channels get their data from. It creates a new data file with the same number of channels as the original file had and copies the data from one file to the other.
Input : a valid data file (cfs) with waveform channels.
Output: a data file with the waveform channels in a different order. All the frames are copied.
Problems:
No test is made to get sure that we are copying waveforms.
Needs modifications to include other types of channels.
Some parameters may be missing.
| mfileave.zip 4,956 |
This script shows you how to take an average from a file or files manually, without using SetAverage(), which only lets you average from one file.
It asks you for a data file to process, and allows you to choose which channels to average, which will be the same in all files you process. It creates a new data file with the appropriate number of channels, and allows you to take averages from the source file. You can then change to a different source file (using a button provided by the Toolbar() ), and add to your original average.
You can have multiple output averages within a single output source file (although the number of averages defaults to one), and these can be easily traversed through, as well as added or removed.
| multiave.zip 861 |
The script generates multiple averages from a source file, in the same manner as the Auto Average mechanism provided since Signal version 1.8. A dialog is provided to allow entry of the number of frames per average, the averages are generated in a multi-frame memory view.
| crossavg.zip 2,379 |
The script creates an average where frame 1 is the average of all the source file frame 1s, frame 2 the average of the source frame 2s and so on. All files averaged must, of course, have the same number of waveform channels, each with the same sample rate and length, and must have at least the same number of frames.
| subframe.zip 409 |
The script creates a memory view, holding a data that is the difference between two frames in the source view.
| rectify.zip 899 |
This script makes a memory view containing a copy of a waveform channel and then rectifies the channel data. Very similar to CopyDif.
| signal\scripts\copydif.sgs |
This script opens a data file, makes a memory view containing all of the data from one frame and then differentiates the waveform in one channel of the memory view.
| framecols.zip 1,001 |
This script generates a text dump of a single channel of data to the log window. Data from each frame is put into a separate column of text within the overall grid of values, rather than the normal Signal text output format with each channel forming a separate column.
| signal\scripts\showcfs.sgs |
This script generates information about a CFS data file and places it into a new text document or into the log window. This script demonstrates the use of functions that read back variable data from a CFS file and is also a useful tool for finding out what exactly is in a CFS file.
| signal\scripts\fixcfs.sgs |
This script reads through a damaged or faulty CFS file and attempts to determine what needs to be done in order to fix it, and carries out these changes. The current version of this script will fix most forms of damage, but use it with care!
These scripts are stored as WinZip files, myscript.zip, except where they are shown as signal\scripts\myscript.sgs. Those files were installed with Signal. See the summaries by clicking on the description line, below. Then you can down-load them by clicking on the filename; please check the size received.
![]()