| 1 |
4.5-1 Fixed memory leak in av_basis which is called by AvBasis.wst |
| 2 |
|
| 3 |
4.6 Changed PsiJ. Added new option verbose, so that the information messages |
| 4 |
that previously were always printed out can now be suppressed. |
| 5 |
Also, changed default value of OPLENGTH to be 100000 |
| 6 |
|
| 7 |
Changed wvrelease. Changed the previous two uses of "cat" to now use "message", which can be suppressed. This helps the package knitr |
| 8 |
|
| 9 |
Changed draw.default. Added a type argument. |
| 10 |
|
| 11 |
Changed nlevels to nlevelsWT. This was because nlevels clashed with |
| 12 |
a function of the same name in another package to do with factor |
| 13 |
levels. |
| 14 |
|
| 15 |
4.6.1 Merged the contents of the cthresh package into wavethresh. Keeping |
| 16 |
the two as separate packages was causing big problems. |
| 17 |
|
| 18 |
4.6.2 Minor bugfixes. |
| 19 |
|
| 20 |
In CWCV... |
| 21 |
|
| 22 |
Changed the argument "interptype" in "CWCV" to "noise". Sometimes |
| 23 |
the "normal" argument causes the routine not to terminate. |
| 24 |
|
| 25 |
|
| 26 |
In WaveletCV... |
| 27 |
|
| 28 |
Two function calls to "threshold" needed the argument |
| 29 |
policy="universal" added. This is because they were using |
| 30 |
the "sure" policy by default and the routine required a |
| 31 |
universal threshold. Note, people would have probably been |
| 32 |
using CWCV so this error would not have been noticed much. |
| 33 |
The bug comes to the fore when one changes the threshold type |
| 34 |
from the default "soft" to "hard", as SURE thresholding |
| 35 |
can't be computed with the latter. |
| 36 |
|
| 37 |
In rsswav... |
| 38 |
|
| 39 |
Function was returning a multi-argument, which is no longer |
| 40 |
allowed, changed so that a list is returned. |
| 41 |
|
| 42 |
In PsiJ and PsiJmati... |
| 43 |
|
| 44 |
The default value of the OPLENGTH argument has been increased to 10^7 |
| 45 |
|
| 46 |
In PsiJ,ipndacw,rmget... |
| 47 |
|
| 48 |
Various matrices and objects get stored in an environment (WTEnv) |
| 49 |
now. So, invocation of one of these functions *the first time* |
| 50 |
will result in the object being computed from scratch and stored. |
| 51 |
Repeat invocation will used the stored objects saving computing time. |
| 52 |
This is different to previous versions of WaveThresh. In previous |
| 53 |
versions the stored objects got stored in your home R directory |
| 54 |
(ok .GlobalEnv) without your permission and without your knowledge |
| 55 |
(unless you looked) - but they were useful. The previous version |
| 56 |
though did have the advantage that the stored objects persisted across |
| 57 |
different sessions of R, or could be used if you attached another |
| 58 |
directory which had the stored objects in. |
| 59 |
|
| 60 |
I'd like to see how things go with the current version. If |
| 61 |
continued recomputing is a pain then let me know and I'll think |
| 62 |
up some different model. |
| 63 |
|
| 64 |
4.6.3 Make some corrections after running valgrind. See comments in code |
| 65 |
for details - search on Valgrind |
| 66 |
|
| 67 |
In function evalF, SFDE6, SFDE5, PLDE2 (these latter functions |
| 68 |
were also modified to catch and report on failures of memory |
| 69 |
allocation and also to properly free memory once it had been used). |
| 70 |
|
| 71 |
4.6.4 The h_n quadrature mirror file coefficients for the (little-used) |
| 72 |
Littlewood-Paley wavelet have been changed so that they |
| 73 |
sum to \sqrt(2) and their sum of squares is 1. This is to bring |
| 74 |
them in line with the Daubechies compactly supported wavelets |
| 75 |
|
| 76 |
4.6.5 Changed CWaveletCV to count the number of iterations in the |
| 77 |
main iterative process (using the counter iterations) and to |
| 78 |
check that it is always less than the supplied argument |
| 79 |
maxits. This is so that calls to this routine (e.g. from the |
| 80 |
much used threshold.wd using the "cv" policy do not run on without |
| 81 |
limit). The R code CWCV and threshold.wd have also been changed |
| 82 |
to take account of new maxits and cvmaxits arguments and associated |
| 83 |
help pages changed. |
| 84 |
|
| 85 |
4.6.6 Bugfix in plot.mwd found by Sebastian Muller. This was caused |
| 86 |
by a reference to nlevels() which is not a WaveThresh function |
| 87 |
anymore (its name got changed to nlevelsWT() in version 4.6) |
| 88 |
This call was accidentally left over. |
| 89 |
Also took opportunity to bring the DESCRIPTION file up to date. |
| 90 |
|
| 91 |
4.6.7 Remove all references to the tsp function. This was a compatibility |
| 92 |
fix in R to relate to S, but now causes problems. |
| 93 |
|
| 94 |
4.6.8 Added Coiflets to the filter.select function and updated help |
| 95 |
file (thanks to Anestis Antoniadis. I could have sworn I |
| 96 |
put these in before, but apparently not). |
| 97 |
|
| 98 |
Fixed bug. This bug only manifested itself in Windows code. |
| 99 |
In Best1D cols an operation occurs which compares all wavelet |
| 100 |
packets to the groups vector, to identify which packets are |
| 101 |
similar enough to the groups vector for further consideration. |
| 102 |
The first wavelet packet, though, is always a constant vector |
| 103 |
and hence the correlation is always zero (unless the groups |
| 104 |
vector was itself constant, but then this is not an interesting |
| 105 |
case). Now, we set this first value equal to zero. Previously, |
| 106 |
the correlation was computed but the denominator involves calculating |
| 107 |
the standard deviation of the constant vector, which is zero, and |
| 108 |
this causes a division by zero warning and returns and NA which |
| 109 |
can't then be handled. Now setting the correlation for this entry |
| 110 |
to be zero is correct and bypasses the problem. |
| 111 |
|
| 112 |
4.6.9 Added sanity checks to the arguments of makegrid. The length of the |
| 113 |
vector arguments t and y should be the same. However, the function |
| 114 |
did not check this and erroneous NA values appear when the function |
| 115 |
was called on vectors of different lengths. The function now checks |
| 116 |
and stops if the vectors are of different lengths. Additionally, |
| 117 |
checking on the length of the gridn number, which should be dyadic |
| 118 |
is also performed, stopping the function if it is not. |
| 119 |
|
| 120 |
Changed maintainer email address to [email protected] |
| 121 |
|
| 122 |
Added routines to register routines (src/wavethresh_init.c) |
| 123 |
|
| 124 |
Bugfix on line 5494 of functions.c. Line band1- changed to band1--, |
| 125 |
as band1 needs to be successively decrememented (as with band2++ later). |
| 126 |
This is in the computec C function which gets called by irregwd |
| 127 |
|
| 128 |
4.7.0 Changed the few references from Sfloat to double and Sint to int |
| 129 |
|
| 130 |
Changed lines in function.r that were comparing the output of class() |
| 131 |
to string to make use of the inherit function instead. |
| 132 |
|
| 133 |
4.7.1 Inserted C prototypes (in response to package update request from R |
| 134 |
team) |
| 135 |
|
| 136 |
4.7.2 Corrected typing of wpCmnv function which was wrong in |
| 137 |
wavethresh_init.c |
| 138 |
|
| 139 |
4.7.3 Edited accessC.wst.rd, griddata.rd, makegrid, makewpstDO, wd.object |
| 140 |
as there were some minor typos in the help files, mostly to do with |
| 141 |
braces. Also changed Free to R_Free and Calloc to R_Calloc |