~ubuntu-branches/ubuntu/wily/octave-ltfat/wily-proposed

« back to all changes in this revision

Viewing changes to inst/wavelets/wfilt_dgrid.m

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot, Rafael Laboissiere
  • Date: 2015-07-18 23:36:41 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150718233641-jhuf3f551a3523qc
Tags: 2.1.0+dfsg-1
* Team upload.

[ Rafael Laboissiere ]
* Imported Upstream version 2.1.0+dfsg
* d/rules: Prevent unit testing on armhf and mips.
  This avoids FTBFS on theses architectures (see Bug#765545).
* Unit testing does not need X-window anymore
  + d/rules: Do not use xfvb-run to run the tests.
  + d/control: Drop xauth, xvfb, and gnuplot-nox from Build-Depends.
    Also, the versioned dependency on octave-pkg-dev is relaxed.
* Drop .jar file from upstream tarball, complying with the Debian Policy
  + d/copyright: Exclude file blockproc.jar
  + d/rules: Add get-orig-source target
  + d/watch: Mangle upstream version to cope with "+dfsg" tag
* Build blockproc.jar, which is deleted from the upstream tarball
  + d/rules: Add commands for building blockproc.jar
  + d/control: Build-depend on default-jdk
  + d/p/fix-path-of-included-makefile.patch: New patch
* Bump Standard-Versions to 3.9.6 (no changes needed)
* d/p/autoload-yes.patch: Remove patch (deprecated upstream)
* Bump Build-Depends on octave to >> 4.0.0~rc4-1 (for sndfile support)
* d/check.m: Avoid verbose output of unit tests
* d/watch: Add the repacksuffix option
* d/p/add-hardening-flags.patch: Drop patch (applied upstream)
* d/p/fix-path-of-included-makefile.patch: Drop patch (applied upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
%
23
23
%
24
24
%@end verbatim
25
 
%@strong{Url}: @url{http://ltfat.sourceforge.net/doc/wavelets/wfilt_dgrid.php}
 
25
%@strong{Url}: @url{http://ltfat.github.io/doc/wavelets/wfilt_dgrid.html}
26
26
%@end deftypefn
27
27
 
28
 
% Copyright (C) 2005-2014 Peter L. Soendergaard <soender@users.sourceforge.net>.
29
 
% This file is part of LTFAT version 2.0.1
 
28
% Copyright (C) 2005-2015 Peter L. Soendergaard <peter@sonderport.dk>.
 
29
% This file is part of LTFAT version 2.1.0
30
30
%
31
31
% This program is free software: you can redistribute it and/or modify
32
32
% it under the terms of the GNU General Public License as published by
57
57
  0              2*sqrt(2)/32    0.3731682798   -0.575618139
58
58
  -sqrt(2)/32    sqrt(2)/32      0              0.3731682798
59
59
];
60
 
offset = -4; 
 
60
offset = [-4,-4,-6,-6]; 
61
61
case 2
62
62
garr = [
63
63
  -5*sqrt(2)/256       -5*sqrt(2)/256     0.0422028267     0
69
69
  -7*sqrt(2)/256       -23*sqrt(2)/256    -0.1084675382    0.5488035631 
70
70
  -5*sqrt(2)/256       5*sqrt(2)/256      0                -0.1084675382
71
71
]; 
72
 
offset = -3; 
 
72
offset = [-4,-4,-4,-4]; 
73
73
case 3
74
74
garr = [
75
75
  -7*sqrt(2)/1024       -7*sqrt(2)/1024     0.0019452732     0
83
83
  -27*sqrt(2)/1024      -43*sqrt(2)/1024    -0.4804470835    0.6026545312
84
84
  -7*sqrt(2)/1024       7*sqrt(2)/1024      0                -0.4804470835
85
85
]; 
86
 
offset = -4; 
 
86
offset = [-5,-5,-7,-7]; 
87
87
    otherwise
88
88
        error('%s: No such Dense Grid Framelet filters.',upper(mfilename));
89
89
end;
90
90
 
91
91
g = mat2cell(garr,size(garr,1),ones(1,size(garr,2)));
92
 
g = cellfun(@(gEl) struct('h',gEl,'offset',offset),g,'UniformOutput',0);
 
92
g = cellfun(@(gEl,ofEl) struct('h',gEl,'offset',ofEl),g,num2cell(offset),...
 
93
            'UniformOutput',0);
93
94
h = g;
94
95
a = [2;2;2;2];
95
96
info.istight=1;