Dear spm'ers We are using the code nmh_acqcorrect.m and have experienced some problems with the maximum number of file descriptors, as Darren mentioned. To enlarge the number on Solaris platforms see http://www.mailbase.ac.uk/lists/spm/1998-11/0003.html http://www.mailbase.ac.uk/lists/spm/1998-11/0024.html Another way would be to open files for reading and after having read it one could close the files again, so that the descriptor is freed. If anyone encounters problems with raising the MAXFILEDESCRIPTORS (this could be the case for other applications on Solaris) I might be able to give some more hints on that. Another thing: Beware that the scale factors in the files should be equal across the files you want to reaquire. If this is not the case you would need to make slight adaptations to the program. If you get the program working, it really works well. So many thanks to the makers of the code as it stands (Algorithm was originally developed by Eric Zarahn, I believe). Regards from Zurich Bruno -- Bruno Weber Neurologische Klinik Abt. Neuropsychologie Abt. EEG & Epileptologie UniversitaetsSpital Zuerich Frauenklinikstrasse 26 CH-8091 Zuerich Tel.: ++41 1 255 55 79 Fax.: ++41 1 255 44 29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%