|
From: | PattiMichelle |
Subject: | Re: Easy Wavelet capability added to Octave core software |
Date: | Mon, 11 Aug 2008 20:09:57 -0700 |
User-agent: | Thunderbird 2.0.0.12 (X11/20071114) |
Thank You, Mark!!! I'm not really sure what you mean about "running
waveleb.m from the wavelab850 directory" - where did you stick wavelab
(or does that really matter)? Is these the results you got? I'm using
QtOctave (on Windows) which is a front end for Octave 3.0.0. When I
loaded wavepath.m and ran it, it didn't throw an error, but it didn't
report a success either. When I tried to "run a matlab script" I got
the error at the bottom. Next I will try Octave 3.0.1, and Octave on
openSuSE 11.0 and see if they give the same result. Patti Starting Octave... GNU Octave, version 3.0.0 Copyright (C) 2007 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "i686-pc-msdosmsvc". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to <address@hidden> (but first, please read http://www.octave.org/bugs.html to learn how to write a helpful report). For information about changes from previous versions, type `news'. cd "C:/Program Files (x86)/Octave-Qt" - Use `pkg list' to see a list of installed packages. - MSYS shell available (C:\Program Files (x86)\Octave-Qt\Octave\msys). - Graphics backend: gnuplot. octave:1>octave:2>octave:3> cd "C:/Program Files (x86)/Octave-Qt/octave" octave:4> cd "C:/Program Files (x86)/Octave-Qt/octave/Wavelab850" cd "C:/Program Files (x86)/Octave-Qt/octave/Wavelab850/Biorthogonal" octave:5>octave:6> cd "C:/Program Files (x86)/Octave-Qt/octave/Wavelab850" octave:7> WavePath octave:8> pkg list Package Name | Version | Installation directory -------------------+---------+----------------------- arpack *| 1.0.3 | ...\octave\share\octave\packages\arpack-1.0.3 audio *| 1.0.3 | ...\octave\share\octave\packages\audio-1.0.3 combinatorics *| 1.0.4 | ...\share\octave\packages\combinatorics-1.0.4 communications *| 1.0.4 | ...\share\octave\packages\communications-1.0.4 control *| 1.0.4 | ...\octave\share\octave\packages\control-1.0.4 econometrics *| 1.0.4 | ...\share\octave\packages\econometrics-1.0.4 fixed *| 0.7.4 | ...\octave\share\octave\packages\fixed-0.7.4 general *| 1.0.4 | ...\octave\share\octave\packages\general-1.0.4 gsl *| 1.0.3 | ...\octave\share\octave\packages\gsl-1.0.3 ident *| 1.0.3 | ...\octave\share\octave\packages\ident-1.0.3 image *| 1.0.4 | ...\octave\share\octave\packages\image-1.0.4 informationtheory *| 0.1.3 | ...\octave\packages\informationtheory-0.1.3 io *| 1.0.4 | ...\octave\share\octave\packages\io-1.0.4 irsa *| 1.0.3 | ...\octave\share\octave\packages\irsa-1.0.3 linear-algebra *| 1.0.3 | ...\share\octave\packages\linear-algebra-1.0.3 miscellaneous *| 1.0.4 | ...\share\octave\packages\miscellaneous-1.0.4 octcdf *| 1.0.7 | ...\octave\share\octave\packages\octcdf-1.0.7 odebvp *| 1.0.2 | ...\octave\share\octave\packages\odebvp-1.0.2 odepkg *| 0.3.6 | ...\octave\share\octave\packages\odepkg-0.3.6 optim *| 1.0.0 | ...\octave\share\octave\packages\optim-1.0.0 outliers *| 0.13.5 | ...\octave\share\octave\packages\outliers-0.13.5 physicalconstants *| 0.1.3 | ...\octave\packages\physicalconstants-0.1.3 plot *| 1.0.3 | ...\octave\share\octave\packages\plot-1.0.3 signal *| 1.0.5 | ...\octave\share\octave\packages\signal-1.0.5 sockets *| 1.0.2 | ...\octave\share\octave\packages\sockets-1.0.2 specfun *| 1.0.4 | ...\octave\share\octave\packages\specfun-1.0.4 special-matrix *| 1.0.3 | ...\share\octave\packages\special-matrix-1.0.3 splines *| 1.0.3 | ...\octave\share\octave\packages\splines-1.0.3 statistics *| 1.0.4 | ...\share\octave\packages\statistics-1.0.4 strings *| 1.0.3 | ...\octave\share\octave\packages\strings-1.0.3 struct *| 1.0.3 | ...\octave\share\octave\packages\struct-1.0.3 symbolic *| 1.0.4 | ...\octave\share\octave\packages\symbolic-1.0.4 time *| 1.0.3 | ...\octave\share\octave\packages\time-1.0.3 windows *| 1.0.3 | ...\octave\share\octave\packages\windows-1.0.3 octave:9> toolbox octave:9>error: `toolbox' undefined near line 9 column 1 cd C:/Program Files (x86)/Octave-Qt/octave/Wavelab850 WavePath octave:9>octave:10>error: C:/Program: No such file or directory cd "C:/Program Files (x86)/Octave-Qt/octave/Wavelab850/FastAlgorithms" octave:11> Marc Normandin wrote: PattiMichelle wrote:Marc Normandin wrote:PattiMichelle wrote:I'm trying to begin to use Octave - I'm definitely a newbie - but it's lacking wavelet capability. WaveLab is available for MatLab and I've hear Octave is very close syntactically, so I'm hoping that adding WaveLab to Octave can be added to the todo list. (It's difficult for an Octave newbie to navigate getting a Matlab toolkit to work with Octave.) Wavelets really are becoming important tools to have available and WaveLab appears to be written/used by some of the heavyweights in the wavelet biz. http://www-stat.stanford.edu/~wavelab/ Thank You, Patti SheafferNot to split hairs, but it appears that WaveLab is written to work in Matlab, but is not part of it. Inclusion of WaveLab (or some other wavelet functionality) in Octave proper would offer additional utility to the base system, but would come at some cost (size of the base package, maintenance and support of WaveLab code, etc.). Is WaveLab important enough to include in the core program? The commercial alternative appears to think not... This page is a bit dated, but may offer some helpful information. http://wiki.octave.org/wiki.pl?WavelabOnOctave Does that help any? Are there specific errors that you're encountering while installing/using WaveLab in Octave? Please note that I haven't used WaveLab, so I can't vouch for it's Octave compatibility.Thank you very much for the reply, Mark. You're right about WaveLab - and it not being part of Matlab is why I thought adding it to Octave would be almost a no-braner (i.e., free, high quality, and Matlab compatable) way to add wavelets to Octave. Matlab has written its own wavelet tool box and which couldn't be easily added to Octave. The folks who wrote WaveLab are some of the heavyweights in the wavelet biz so it's not inconsequential code. I'm a working scientist (The Aerospace Corporation) and my reading of the literature shows wavelets over the last decade have become at least as important as Fourier spectral analysis. I think it's important to get some wavelets onto Octave as soon as possible. (Even Scilab has a wavelet toolkit, but I'm attracted to Octave because of the Matlab syntax compatibility.) I guess if it could be got running (with online help?) I could contribute to a wiki or help somehow in maintaining/publishing? I currently contrib on a few packages for SourceForge (bacula and apcupsd) and the sbarnin openSuSE repo.I don't dispute the importance of wavelets, the quality of the WaveLab code, or the reputation of its authors. I think all of these points have significant merit: wavelets have garnered significant attention across many disciples, WaveLab was developed and is still used despite the existence of Matlab's wavelet toolbox, and the WaveLab developers are prominent and highly respected in their field. However, one must keep in mind that these are not sufficient reasons for inclusion in Octave. Wavelets may be used often and by many, but WaveLab is a large body of code to take on for functionality that many (probably most) Octave users won't use. IMHO, it would be better suited as an add-on package from Octave-Forge. Licensing is a separate but perhaps more important issue. WaveLab is released as "freeware", but I couldn't to find any license for the release. The items I could find appear to have some elements of concern: To paraphrase Wavelab850/Documentation/COPYING.m, redistribution is permitted but the original work must be included in its entirety and the original authors retain copyright on all redistributions, whether verbatim or modified works. And from the Introduction section of documentation available at http://www-stat.stanford.edu/~wavelab/Wavelab_850/AboutWaveLab.pdf, "The library is available free of charge over the Internet by WWW access; instructions are given below. The material is, however, copyrighted, so that advance permission is required for any commercial use." I am not a lawyer, but these terms seem to conflict with Octave's license, the GNU GPL. Perhaps a "non-free" Octave-Forge package (like Arpack and spline-gcvspl) would be be a possibility.I've been trying to muck through WaveLabOnOctave, but I'm such an Octave noob - sometimes an Octave guru can do in 5 minutes what would take a noob a month (or more) to understand and implement.I tinkered a bit with WavePath.m, the file that adds the WaveLab code to your [Octave] path. I made two changes: (1) eliminated the dependence on the "matlabroot" variable by simply requiring that you run the script from the WaveLab directory, and (2) removed some strange markup that existed in the original file. The modified WavePath.m is attached. Executing this file seems to successfully add all of the WaveLab stuff to the Octave path on my machine. I didn't try to compile the mex files, but the documentation indicates that the functions should still work, albeit more slowly. An attempt to run one of the demos failed, it seems that the demo is graphically based and incompatible with Octave graphics (at least with the gnuplot backend that I'm using). So the demos may be unavailable to you, but the functions that actually perform various analyses should be accessible. Does this help any? |
[Prev in Thread] | Current Thread | [Next in Thread] |