This release of CARA adds the following new features:
- Macintosh-Compatibility: CARA now also runs natively on Macintosh OS X as an X11 application. All CARA features are supported. There are still some glitches caused by the current Darwin implementation (This will change with next Darwin release, e.g. window sizes, hidden slice, wrong fonts and cut off menus). Try to work in Darwins full screen mode, where some problems seem not to occur. Since Macintosh mouses don't have enough buttons, you have to press the command key during mouse click to simulate a right mouse click (i.e. to open a popup menu).
- CARA/Lua:
- New class Printer and function gui.createPrinter. Call the method Printer:setup() to open a print dialog box and to print to the selected printer (pass a printing-function as an argument to setup which has the same signature as the gui.events.Paint handler of MyWidget). Notice that there is still a scaling problem on windows printers which can be circumvented by increasing the scale percentage of the windows printer driver.
- New methods Canvas:setWindowSize, Canvas:showNormal, Canvas:showFullScreen, Canvas:showMinimized and Canvas:showMaximized, which have the same effect as in MyWidget.
- New methods Spectrum:getHisto (which returns a separate histogram table for the positive and negative side of the spectrum) and Spectrum:getLevels (returning the positive and negative amplitude maxima and noise floors).
- Mapper-export now shows a dialog where the user can enter the labels of CA and CB he wants to use.
- CARA Exlorer now offers a menu Tools/Open spectrum rotated
- New key commands for HomoScope and PolyScope to pick/move spins and peaks.
- PrintPreview?: now supports a plot title which defaults to the spectrum name. It can be shown/hidden and its font and color can be adjusted.
- CARA now offers a new, very efficient spectrum format. In the CARA explorer you can convert a spectrum (of any supported format) into a CARA spectrum (file extension "*.nmr"). The user can choose among four coding versions: 32 bit floating point (full size like Bruker spectra), 16 bit integer (still full size since spectrometers only use 16 bit A/D converters), 8 bit lossy with and without compression. The funny thing is that you cannot tell the difference between the 32 bit floating and 8 bit compressed version for most common spectra. But try yourself to get a feel which quality you need. Surely there is no need to use a 32 bit format, so you should be completely happy with the uncompressed, lossless 16bit format in every case (with the same file size as XEASY spectra, but without their eccentric compression technique).
- See the issue tracker for other changes.
Cheers
Rochus