mfileave.zip
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.
crossavg.zip
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.
SigSearch.zip
This script allows you to search all of the Signal scripts or output sequences in a directory for a chosen text string.
The script generates a list of all the files containing your search term in the log window. You can click on an item in this list
to open the file and inspect it.
This script is useful for finding examples of how to use of script commands that you may be unfamiliar with.
The script requires Signal 4.11 or higher.
MergeFilesW.zip
Within this zip there are two scripts.
The script MergeFiles.sgs creates a new data file by copying frames from existing files. All types of data channel are handled as are the frame variables. All frames can be copied or only frames with a specific state value. You can open files and select the state number to use from the script toolbar. Files must have the same channel arrangements to be included in the new file, the script does its best to cope with minor variations in channel numbers but obviously will work better with files that are very similar.
The script MergeFiles requires Signal v6.03 or higher.
The other script, MergeFilesW.sgs is similar, but it is limited to waveform data channels and some frame variables only.
MergeFilesW requires Signal version 4.00 or higher.