Rank: 429 based on 153 downloads (last 30 days) and 13 files submitted
photo

Marcel Leutenegger

E-mail
Company/University
Max Planck Institute for Biophysical Chemistry, NanoBiophotonics

Personal Profile:
Professional Interests:
Optical high-resolution fluorescence microscopy

 

Watch this Author's files

 

Files Posted by Marcel View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jun 2009 Screenshot Flex02-08D Correlator Interface A graphical user interface to the Flex02-08D hardware correlator accessing the Windows driver. Author: Marcel Leutenegger biotech, pharmaceutical, correlator, interface, gui, flex0208d 3 1
  • 4.0
4.0 | 1 rating
20 Jun 2009 Screenshot Flex02-01D Correlator Interface A graphical user interface to the Flex02-01D hardware correlator accessing the Windows driver. Author: Marcel Leutenegger biotech, pharmaceutical, correlator, interface, gui, flex0201d 3 1
  • 4.0
4.0 | 1 rating
22 Jul 2008 Screenshot Flex99OEM-12C Correlator Interface A graphical user interface to the Flex99OEM-12C hardware correlator accessing the Windows driver. Author: Marcel Leutenegger biotech, pharmaceutical, correlator, interface, gui, graphical user flex 7 0
12 May 2008 Extended class Class providing calculation with the native floating point format of the processor. Author: Marcel Leutenegger extended, precision, class, mathematics, general 5 3
  • 2.0
2.0 | 1 rating
14 Jan 2008 Error function of complex numbers Extend the error function to the complex plane. Author: Marcel Leutenegger error function, erf, numerical evaluation, mathematics 28 4
  • 4.5
4.5 | 4 ratings
Comments and Ratings by Marcel View all
Updated File Comments Rating
10 Dec 2008 Andor SIF image reader Read Andor SIF multi-channel image files. Author: Marcel Leutenegger

Dear all,

thanks for the comments. It seems the SIF reader is of interest to quite a number of people :-)

Meanwhile, I got a few more feedbacks concerning compatibility issues. The SIF format typically changes a bit with new Andor SOLIS releases. That is it would be more robust to check for the file version than the detector type. If none of the comments above helps, you may try the following:

After 129: info.shutterTime=fscanf(f,'%f',[1 2]);
130: skipLines(f,13);
131..133: comment out

147: for n=0:z % one more comment?

155: % skipBytes(f,2); % no time-stamp?

Otherwise, open a small SIF file with an ASCII/Hex editor and compare with the program.

10 Dec 2008 Extended class Class providing calculation with the native floating point format of the processor. Author: Marcel Leutenegger

Dear Zeyn Saigol,

thank you for your feedback. Indeed, I use in a few functions (size, rand, randn, ...) mathematical library functions mlfXxxx() by MATLAB. They were shipped as LIBMATLBMX.DLL up to R13. But since, the compiler was greatly improved (optimization and inlining of code), such that these functions are now compiled into the executable. So the library became obsolete and is no longer available. For size(), you can just use this m-function:

%Size of matrix.
%
function varargout=size(o,d)
if ~isa(o,'extended')
   [varargout{1:nargout}]=size(o,double(d));
elseif nargin > 1
   d=double(d);
   if d < 1
      error('Dimension number must be a non-negative integer.');
   end
   varargout{1}=size(o.extended,d+1);
elseif nargout > 1
   [o,varargout{1:nargout}]=size(o.extended);
else
   o=size(o.extended);
   o=o(2:end);
   if numel(o) < 2
      o(2)=1;
   end
   varargout{1}=o;
end

I am planing of updating the elementary calculation packages for newer MATLAB releases. As of R2008a, MATLAB benefits of multi-threaded calculations on multi-core CPUs. As of now, my functions achieve top performance per core but do not even try to use multi-threading... So long, if all calculations are to be performed many times independently, users can just start several MATLAB instances.

Comments and Ratings on Marcel's Files View all
Updated File Comment by Comments Rating
09 Feb 2012 Andor SIF image reader Read Andor SIF multi-channel image files. Author: Marcel Leutenegger Phillip

I am not having much luck with this stuff. Here are the things I have tried:

1) The folder in the Solis directory 'MatlabSIFReader' that came with my version of Solis (uses SDK version 2.92.32003.0)
2) The one pointed to by Phil from Andor above (SDK version 2.90.20000.2 - no idea why the version on the Andor site does not match the latest)
3) The really useful script put together here
4) The alteration to the script made by Uli Kleßinger above for the SCMOS, which is the camera I have.
5) The "Export As..." command to convert the .SIF file to an .AVI, which I could easily import into Matlab. When I try this, the Solis software crashes every time(!!).

This Andor camera is a nice piece of hardware, but the software is simply atrocious.

06 Feb 2012 Andor SIF image reader Read Andor SIF multi-channel image files. Author: Marcel Leutenegger Sven

Hello together,
I'm using this very handy script now for a few weeks without any problem. But today, for all my Andor files I measured today, I get this strange error:
Error using sifread>readString (line 136)
Inconsistent string.

Error in sifread>readSection (line 100)
info.dataType=readString(f);

Error in sifread (line 51)
[data,next]=readSection(f);

Error in nscs_01_sifread (line 13)
[data,back,ref]=sifread(filename)

Error in run (line 57)
          evalin('caller', [s ';']);

I think it's most likely an error of the Andor software, because I didn't change the matlab code at all. However, the Andor software didn't change as well! Did anyone had a similar problem or knows which function can influence the error? The sif-files have the correct size and can be reopenend by the Andor software.
Would be happy about any comment.
Cheers
Sven

25 Jan 2012 Hankel transform Efficient implementations of the Hankel transform and the inverse Hankel transform, respectively. Author: Marcel Leutenegger Grisouard, Nicolas
23 Nov 2011 Error function of complex numbers Extend the error function to the complex plane. Author: Marcel Leutenegger Felix

Works Great, Thank you

17 Jul 2011 Status / progress indicator A simple progress bar indicating the current status, the elapsed time and the remaining time. Author: Marcel Leutenegger Awalehh, Ali

Well It would be Nice to show how to use the status bar, than just watching it

Top Tags Applied by Marcel
mathematics, gui, biotech, correlator, interface
Files Tagged by Marcel View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jun 2009 Screenshot Flex02-08D Correlator Interface A graphical user interface to the Flex02-08D hardware correlator accessing the Windows driver. Author: Marcel Leutenegger biotech, pharmaceutical, correlator, interface, gui, flex0208d 3 1
  • 4.0
4.0 | 1 rating
20 Jun 2009 Screenshot Flex02-01D Correlator Interface A graphical user interface to the Flex02-01D hardware correlator accessing the Windows driver. Author: Marcel Leutenegger biotech, pharmaceutical, correlator, interface, gui, flex0201d 3 1
  • 4.0
4.0 | 1 rating
22 Jul 2008 Screenshot Flex99OEM-12C Correlator Interface A graphical user interface to the Flex99OEM-12C hardware correlator accessing the Windows driver. Author: Marcel Leutenegger biotech, pharmaceutical, correlator, interface, gui, graphical user flex 7 0
12 May 2008 Extended class Class providing calculation with the native floating point format of the processor. Author: Marcel Leutenegger extended, precision, class, mathematics, general 5 3
  • 2.0
2.0 | 1 rating
14 Jan 2008 Error function of complex numbers Extend the error function to the complex plane. Author: Marcel Leutenegger error function, erf, numerical evaluation, mathematics 28 4
  • 4.5
4.5 | 4 ratings

Contact us at files@mathworks.com