This file summarises changes to Sunsort. More detailed documentation of new features is in the file NEWS for those features marked with (N). The NEWS file for changes in Sunsort 4.06 and 4.07 are in the files NEWS_4.06 and NEWS_4.07. Please refer also to the CHANGES in sort-subs directory. Changes from 4.07 to 4.08 ------------------------- Spectrum slicing and simple projection moved into 2d viewer - faster and allows slicing and projection of forked spectra. Last channel in slices and projections now displayed. Added new colour scheme (Cold And Hot) to 2d viewer. Added new 2d autoscale option - histogram equalisation. Fixed some bugs in makesort check. Megha format copes with missing dummy words. Upgraded to latest version of DEMON interface software. Altered window layouts to cope with different font sizes (tidied up too). Made "Window" window a parent of the "Spectrum" window. Merged window set, show and view options into one. Fixed file descriptor leak in 2d slicing. 2d viewer interrogates window manager to find good icon size. Added 48x48 icons and code to negotiate with window manager. Added grouplist to provide adclist type functionality for Eurogam groups. 2d viewer now supports static colour maps. 2d viewer redraw routine recoded to be faster and use less bandwidth. 2d viewer projection calculation delayed on spectrum load until needed. 2d viewer icon calculation performed in the background to improve load time. GUI list building code rewritten to improve sort code load time. Eurogam formats report repeated ADCs in events. Can profile sort codes (advanced users only). 2d spectra can be magnified larger than screen and scrolled. inc2d rewritten to be marginally faster. Routines inc2d_col, inc2d_tartan and inc2d_list added for internal use only. Demon and megha rdtape routines separated. Produced shared library versions to improve shareability. 2d viewer user defined palettes can be created much more easily. Many changes to sort-subs, see sort-subs/CHANGES. Bundled version of ftnchek updated to the latest version. 2d viewer can now render spectrum in 3d. 2d viewer draws crosshairs when simple slicing is on. 1d viewer now highlights currently selected graph. GUI clear selected 1d can now clear several spectra. GUI next 1d now works sensibly when several spectra are selected. More changes to the sort main window to get field inactivation correct. Write button in sort main window separated from option buttons. New sort media 'pipe' added to allow sunsort to read data from commands. Number of tape drives accessible from the gui upped to 16. Event length bug on filtering Megha data fixed. Keyboard accelerators added to main GUI. (N) Multi-process sorting added to really speed things. (N) Manual completely rewritten in HTML. (N) Changes from 4.06 to 4.07 ------------------------- s4418 format added (zero supressed using SUB and VSN, EOR = 0, EOB = ffff). Makefiles updated to work with GNU make. Fixed bug in sort_thread preventing formats names > 6 characters long. nscljtm format added for JTM's ANL run in Feb 1998. Sunsort C user functions lose trailing _. All user functions can return errors. (N) Adclist passed to user code (all formats). (N) Spectrum clearing sped up (still not as fast as reload). Added automatic matchstick and peakfind setting for spectra display. (N) More robust colourmap initialisation for X servers without RW colourmaps. Next-generation stuff revamped and is now mainstream, and tidied up. Now have so many data formats, we need three lines in sort_tool. Added user format to allow custom event generation (eg. from Monte-Carlo). (N) Test sort codes updated with new changes. In2p3 format makes run number available to user. (N) Output from fortran subroutines with C main sortfile now works. Keyboard input to sort processes handled intelligently. (N) Added interface to allow other programs to use the spectrum viewers. (N) Line numbers and file names for errors in sort codes reported correctly. 2d viewer printout now understands \h to mean hbar (*not* on 1d viewer). Can read spectra compressed with gzip or compress on the fly. (N) Bundled version of buffit upgraded to 4.8. New features: New background types: constant+exponentionals, constant+Wood-Saxons Other new features of buffit not linked to sunsort. Can have higher order buffit backgrounds. Can fit up to 10 peaks. Can fit spectra that have been moved or scaled (with evaluate expression). (N) Can fit spectra projected from 2d viewer. Slight cosmetic changes to the buffit windows. Patched bug in ANSI tape mounting (triggered with gcc). sort-install can be told to use gcc in preference to cc (not recommended). sort-install will fall back to gcc if it can't find cc. Most code has now been passed through lint and gcc to pick up errors. Can now use # to include comments in spectrum/variable definitions. (N) ANU format updated to work with last experiment at ANU (no filtering yet). Changes from 4.03 to 4.06 ------------------------- 2d spectrum viewer now does on the fly projection. (N) Many internal changes. Better error logging and recovery for Eurogam style data streams. Internal change to way spectra are stored in memory (X-Y swap). Can now cope with 2d spectra up to 512x512 (use with caution). Version string now only stored in one place (config.mk). 1D spectrum limit now 800. Maximum `shared memory' segment now 262144 (to cope with 512x512 spectra). LBL tape format code written but not linked in. Added reslice command to the 2d spectrum viewer to repeat the last slice. Merged SPGC changes as follows: Support for C sort codes. (N) Many changes to the organisation and look of the GUI. Addition of a sort-subs directory for common sort code routines. Automatic linking of any .o files in calib-inputs directory below where makesort is run. Can now include .sunsort_initadc.i to get common block declarations.(N) Verbosity turned down (less messages makes things faster). Can now separate spectrum and variable list from `bare' sort code. Added matchsticks routines to 1d spectrum viewer. Added next-generation directory for development stuff. Tidier interfaces to spectrum functions provided (finc1d etc.). (N) Now compiles under gcc. System for adding extra data formats rationalised and tidied. New shorthand for defining multiple spectra added. (N) In2p3 (GANIL) data format decoder added. (N) Eg data format decoder renamed to Megha as it is not true Eurogam format. DEMON data format decoder added (true Eurogam). (N) Now have so many data formats, we need two lines in sort_tool. Spectrum function interfaces expanded to include more options. (N) New command update added to show changes of variables in GUI. (N) Nsf2 data format decoder added for old style DA with new GEC software. Fsupc (PC based DA at FSU) data format decoder added. (N) egdata common block removed (useless). test_sort example sort codes completely rewritten. Common block variable delcaration changed for C sort codes. ftnchek (Fortran checker program similar to lint) now bundled. (N) makesort can now pass sort codes to ftnchek and lint as appropriate. (N) jyfl data format added for laser group at Birmingham. More palettes added to the 2d spectrum viewer. More robustness added about incorrect paths. wrtevt now set to false before entry to sort code. Simple projection spectra titles made more explicit. Now confirm whether spectra are erased or preserved on loadsort. Manuals updated (still not complete, but better).