Rank: 609 based on 203 downloads (last 30 days) and 13 files submitted
photo

Marcel Leutenegger

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Marcel Leutenegger 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 6 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 5 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 12 1
  • 5.0
5.0 | 1 rating
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 7 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, numerical evaluation, mathematics, erf 31 6
  • 4.6
4.6 | 5 ratings
Comments and Ratings by Marcel Leutenegger 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 Leutenegger's Files View all
Updated File Comment by Comments Rating
26 Jun 2014 Hankel transform Efficient implementations of the Hankel transform and the inverse Hankel transform, respectively. Author: Marcel Leutenegger Ruibin Liu

Hi, I used a=[1 0 0 0 0 0 0] as the signal vector and tested it with hat.m just as b=hat(a), and the result is b=[0.5554 0.5554 0.5554 0.5554 0.5554 0.5554 0.5554]. But the inverse transform c=ihat(b) gives out c=[0.3198 0.1040 -0.0382 0.0163 -0.0057 0.0006 0.0005]. Why is that? Why c is not equal to a?

15 May 2014 Hankel transform Efficient implementations of the Hankel transform and the inverse Hankel transform, respectively. Author: Marcel Leutenegger Spencer

Hi Xuesong. The "Undefined function" is because Matlab will not add folders titled "private" to the search path. Perhaps the name of that folder should be changed.

14 May 2014 Andor SIF image reader Read Andor SIF multi-channel image files. Author: Marcel Leutenegger Antonio Consoli

cannot paste the script here

14 May 2014 Andor SIF image reader Read Andor SIF multi-channel image files. Author: Marcel Leutenegger Antonio Consoli

I have changed the script for wavelength conversion from pixel number. the sif trace must be taken with wavelength calibatred horizontal axis. here the new version of the script :

13 May 2014 Andor SIF image reader Read Andor SIF multi-channel image files. Author: Marcel Leutenegger Antonio Consoli

i am using the script posted by Uli on 18 june 2012, it works great. Thank you a lot, Uli. To Deepak : if I understand , try typing func_ext_uli_sifread2('image1.sif', 1);

One question : is there a way to get the wavelength values ?? Thanks a lot to all contributors !

Contact us