Subscribe to
Posts
Comments

S2kit MEX file for Matlab

Fast Spherical Harmonic Transform Fast Spherical Harmonic Transform – Perform fast spherical harmonic transform and inverse transform using S2kit C code.

Fast Spherical Harmonic Transform – Perform fast spherical harmonic transform and inverse transform using S2kit C code. A MATLAB interface to S2kit, with routines for spherical harmonic decompositions of spherical data. Computes the fast spherical harmonic transform and its inverse. See README.MEX for more details. See Test.m and TestInv.m for example scripts. Requirements: MATLAB Release: R14SP1 on Linux. Probably works on later versions. Some users have reported success from Windows too.

This file was previously hosted at http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=8427&objectType=FILE until Mathworks decided to delete all code licenced under the GPL from their site!

Download S2kit MEX source code package here.

[Optionally: download the original S2kit archive here.]

7 Responses to “S2kit MEX file for Matlab”

  1. on 11 May 2010 at 6:02 pmJerry J

    Chris,
    I was interested in your MEX interface to S2Kit10 but unfortunately, when I followed your “Download S2kit MEX here” link I ended up with another copy of the original S2kit10 release from Peter Kostelec’s site on Dartmouth. Can you provide an alternate link to obtain your MEX interface? Many thanks!

    Jerry Jorgensen
    Sr. System Engineer
    SAIC San Diego

  2. on 02 Aug 2010 at 1:26 pmKatja

    I wish to install the MATLAB interface to S2kit. The readme files in the s2kit directory do not provide any information about that. Can anyone help? I did this about 3 years ago, but just can’t remember the steps.

  3. on 29 Mar 2011 at 1:44 pmEnrico Onofri

    I have a directory with mexs2kit working. I can compress in a tar and put on my dropbox/public. However, beware: I compiled it under matlab v.2007 but it doen’t work with recent releases. Is Chris listening? Could he find a patch?

    Best,

    Enrico

  4. on 29 Mar 2011 at 10:14 pmEnrico Onofri

    I saved the original files and they can be recovered in

    http://www.fis.unipr.it/~enrico.onofri/MMF/matlab/

    The problem now is that there is some detail which makes the code incompatible with recent versions of matlab. I can compile under R2007 but with R2008 on I get a crash with little diagnostic information. Can Chris possibly help? Enrico

  5. on 17 Jun 2011 at 2:11 pmPatrick Fischer

    Yes, Enrico is right. I’m using Matlab R2010, and I cannot compile it (mex …).
    Any idea about how to solve this problem ?

  6. on 20 Jun 2011 at 2:57 pmPatrick Fischer

    Now, I can compile it, but not run it. I obtain a segmentation error.

  7. on 24 Jun 2011 at 9:17 amPatrick Fischer

    Hi Chris,

    any idea to solve the problem ?

    Patrick

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word