|
7 | 7 | use PDL::DSP::Windows qw( window chebpoly ) ; |
8 | 8 |
|
9 | 9 | my $HAVE_LinearAlgebra = eval { require PDL::LinearAlgebra::Special }; |
10 | | -my $HAVE_BESSEL = eval { require PDL::GSLSF::BESSEL }; |
| 10 | +my $HAVE_BESSEL = eval { require PDL::GSL::SF }; |
11 | 11 |
|
12 | 12 | use lib 't/lib'; |
13 | 13 | use MyTest::Helper qw( dies is_approx ); |
@@ -67,7 +67,7 @@ subtest 'explict values of windows.' => sub { |
67 | 67 | 6; |
68 | 68 |
|
69 | 69 | SKIP: { |
70 | | - skip 'PDL::GSLSF::BESSEL not installed', 1 unless $HAVE_BESSEL; |
| 70 | + skip 'PDL::GSL::SF not installed', 1 unless $HAVE_BESSEL; |
71 | 71 | is_approx |
72 | 72 | window( 6, 'kaiser', 0.5 / 3.1415926 ), |
73 | 73 | [ 0.94030619, 0.97829624, 0.9975765, 0.9975765, 0.97829624, 0.94030619 ], |
@@ -151,7 +151,7 @@ subtest 'enbw of windows.' => sub { |
151 | 151 | } |
152 | 152 |
|
153 | 153 | SKIP: { |
154 | | - skip 'PDL::GSLSF::BESSEL not installed', 1 unless $HAVE_BESSEL; |
| 154 | + skip 'PDL::GSL::SF not installed', 1 unless $HAVE_BESSEL; |
155 | 155 | is_approx |
156 | 156 | $win->init( $Nbw, 'kaiser', 8.6 / 3.1415926 )->enbw, |
157 | 157 | 1.72147863, |
@@ -210,7 +210,7 @@ subtest 'scalloping loss of windows.' => sub { |
210 | 210 | } |
211 | 211 |
|
212 | 212 | SKIP: { |
213 | | - skip 'PDL::GSLSF::BESSEL not installed', 3 unless $HAVE_BESSEL; |
| 213 | + skip 'PDL::GSL::SF not installed', 3 unless $HAVE_BESSEL; |
214 | 214 | is_approx $win->init( 1000, 'kaiser', 0.5 )->scallop_loss, -3.31, 'kaiser 0.5', 3; |
215 | 215 | is_approx $win->init( 1000, 'kaiser', 1.0 )->scallop_loss, -2.42, 'kaiser 1.0', 3; |
216 | 216 | is_approx $win->init( 1000, 'kaiser', 5.0 )->scallop_loss, -1.05, 'kaiser 5.0', 3; |
@@ -263,7 +263,7 @@ subtest 'relation between periodic and symmetric.' => sub { |
263 | 263 |
|
264 | 264 | for my $name ( keys %tests ) { |
265 | 265 | SKIP: { |
266 | | - skip 'PDL::GSLSF::BESSEL not installed', 1 |
| 266 | + skip 'PDL::GSL::SF not installed', 1 |
267 | 267 | if $name eq 'kaiser' and not $HAVE_BESSEL; |
268 | 268 |
|
269 | 269 | skip 'PDL::LinearAlgebra::Special not installed', 1 |
|
0 commit comments