|
|
- You can now create data files with up to 100 channels. You can sample with as many data channels as your hardware can cope with. For example, a Power1401 with 32 waveform inputs could sample 32 analogue channels as waveforms, 16 channels as WaveMark, 8 channels as events, a digital marker channel plus a keyboard marker and a text marker channel. Files with more than 32 channels cannot be read by versions of Spike2 before 4.02.
- The FileNew() script command can create files with more than 32 channels.
- The Sampling Configuration dialog is now larger and has a new button to set the maximum channels in the file. The new SampleChannels() command does the same for script users.
- There is a new waveform channel type, RealWave. This data is stored as 32-bit floating point in user units. In version 4.03, RealWave channels can be created as memory channels. They have the benefit that they can hold a very wide range of values, but they occupy double the memory and disk space of the equivalent waveform channel. You cannot sample data in this format, but we plan to use it to store the results of cross-channel calculations. You cannot calibrate or digitally filter RealWave data yet, but all other waveform features work.
- If sampling ends unexpectedly, for example due to power loss, you are prompted to save the data the next time you run Spike2. You always could do this, but many users did not know where to look for the temporary files that held the sampled data.
- There is now a limit to the size of a Spike2 data file of 2 GB. In previous versions of the library, if you wrote past this size you would make the file unusable (and difficult to recover).
- The File Export dialog has a new control to set the number of channels in a created data file and you can now export memory channels to free channels in the output file. FileSaveAs() has been modified for script users.
- The File Export dialog has a new check box to force RealWave channels to be written as waveform channels for backwards compatibility with previous versions of Spike2. ExportChanList() has been modified to support this.
- You can now obtain much slower waveform sampling rates than in previous versions of Spike2: previously the ratio of fastest to slowest channel sample rate was about 30,000. It can now be as high as 2,000,000,000. Files that use this feature cannot be read by old versions of Spike2. You can disable this by setting version 3 compatibility in the Resolution tab of the Sampling configuration.
- The Sampling menu has a new option to Clear the sampling configuration. This kills off all duplicate time windows and result view windows associated with sampling and clears any memory of sampling windows positions, drawing modes, spike templates and x axis view triggering.
- To see if there is more recent firmware available for your 1401, use the Help menu About Spike2 command with your 1401 connected and powered and check for warning messages. Most firmware updates are not essential. However, if your 1401 requires a firmware update to sample properly a dialog box will open to warn you each time you run Spike2.
- The sample frequency of channels created with the MemChan() and EventToWaveform() script commands can be set to a higher precision.
- DlgChan() now supports RealWave channels and allows "Visible" and "Selected" as options in result views.
- The Type of 1401 field in the Resolution tab of the Sampling Configuration allows you to optimise for more 1401 types. SampleOptimise() is extended to match.
- Waveform power spectrum and cross-correlation analysis are significantly faster.
- Waveform power spectrum now allows transform sizes up to 16384 points.
- The ToolbarSet() and Interact() script commands now support keyboard commands. Buttons can be linked to specific keys with & in the button title or you can specify other key codes, for example function keys. You can now specify a toolbar Escape key as previously documented but not implemented.
- The time view channel information dialog now displays the range of waveform channels and has a new Rescale button to optimise the scale and offset values of RealWave channels.
- There are new import filters for European Data Format (.edf) and BIOPAC (.acq) files.
- The documentation for the SON filing system (as used by Spike2) is included as a PDF file. Select "Additional documentation" in Custom install to extract it to the ExtraDoc folder. There is also a TechNote.pdf file with more information on the FFT and waveform correlations.
- There is a new Help menu option that runs a Getting started tutorial script to familiarise new users with basic Spike2 features.
Fixes
- The Play offline dialog now has Sound as an option on the first output button only. Previously you could select a DAC on the first button and Sound on the second.
- The Play offline dialog Stop button is now always enabled when playing. Moving cursors during data output no longer changes the start time field to Cursor(0).
- Power spectrum result views linked to sampling windows are now remembered correctly in the sampling configuration.
- In version 4.02, it was possible to set a combination of waveform channels that the 1401 could not sample (this usually needed more than 28 waveform channels). The symptoms were all channels displayed data from channel 0 and sampling could time out. This effect is removed for all except a 1401plus with an old analogue card, and you are no longer allowed to sample with an impossible configuration.
- A cursor 0 search that finds a feature at time 0.0 is no longer treated as a failed search. This was fixed in 4.02a.
- It is no longer possible to crash Spike2 by redefining a field with a different data type in a dialog created with DlgCreate().
- MarkMask(chan%,1) now sets the filter mode when the filter is set to accept all codes. Previously, it had no effect. However, setting mode 1 and accepting all codes is inefficient as every item is filtered, even though the end effect is to accept all items.
- SampleWaveform() did not let you set a channel as waveform if it was already set as WaveMark.
- Script commands SampleEvent(), SampleWavemark(), SampleTitle$(), SampleComment$(), SampleWaveform(), SampleCalibrate() did not allow channel numbers greater than 16 or waveform ports above 15. Spike2 now allows waveform ports up to 31 and channels up to the number set for the file by SampleChannels().
- The Points active cursor search mode now skips gaps in waveform and RealWave data. This was fixed in version 4.02a.
- Spike2 version 4.02 changed the date and time of data files to the current date and time. This no longer happens unless the file has been changed.
- You can no longer hang up Spike2 by exporting a data file with event channels with the "time zero shift" option and large zero shifts.
- The waveform correlation with the remove DC option now deals correctly with waveform data with a non-zero offset. Previously it assumed that the offset was zero when remove DC was selected. See the Changes section, below.
- Power spectrum analysis now deals correctly with a waveform channel with a non-zero offset. Previously the value returned for the DC component did not allow for the offset in the data. Sampled data normally has a zero offset.
- Process and Process Settings dialogs now close when the result view closes.
- Cursor 0 now moves to the time view trigger position when enabled in the View Trigger dialog.
- You cannot open the Trend Plot creation dialog unless the current view is a time view or an XY view attached to a time view.
- It is no longer possible to crash Spike2 by using the Process Settings dialog to change the number of channels in a result view.
- If you select Black and White displays and use Print Screen, the view titles print as black text on a white background, not as black text on a black background.
- The Optimise() script command now works on a channel drawn in WaveMark Overdraw mode.
- The output sequencer Format buttons don't report spurious errors when you edit the name of a variable.
- The documentation for the output sequencer TICKS command now describes the optional expr argument.
Changes
- In a dialog created with DlgCreate(), the default width of the edit field for integer data has been increased to match the field width for a real number.
- The Waveform cross-correlation time axis now runs in the opposite direction from all previous versions; this is to make multi-channel correlations make sense. If you previously correlated single channels, swap the channels over to restore the old direction. If you used version 4.00 through 4.02 scripts for correlations of multiple channels, you will need to modify your script.
- The correlation has been recoded to match the results of correlations performed using FFT methods. The difference is small when the number of bins in the result is small compared to the number of data points in the correlation. The changes are described in more detail in ExtraDoc\TechNote.pdf; select Custom Install and then "Additional documentation" to extract this documentation from the installation disk. There is a new example, FFTCrl.s2s, in the Scripts folder that demonstrates how to perform waveform correlations using the ArrFFT() command.
|