Skip to content

Commit 29c47db

Browse files
committed
com
1 parent e6ad195 commit 29c47db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gallery/ex03.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ for short wavelengths and that the coherency between the two signals improves dr
1818

1919
\begin{examplefig}{}
2020
```julia
21-
using GMT, Printf
21+
using GMT
2222
GMT.resetGMT() # hide
2323

2424
# First, we use "fitcircle" to find the parameters of a great circle
@@ -43,7 +43,7 @@ samp_sat_pg = sample1d(sat_pg, range=samp_x)
4343
# For reasons above, we use filter1d to pre-treat the ship data. We also need to sample
4444
# it because of the gaps > 1 km we found. So we use filter1d | sample1d. We also
4545
# use the "ends" on filter1d to use the data all the way out to bounds :
46-
D = filter1d(ship_pg, filter=:m1, range=@sprintf("%g/%g/1", bounds...), ends=true)
46+
D = filter1d(ship_pg, filter=:m1, range=(bounds[1], bounds[2], 1), ends=true)
4747
samp_ship_pg = sample1d(D, range=samp_x)
4848

4949
# Now to do the cross-spectra, assuming that the ship is the input and the sat is the output

0 commit comments

Comments
 (0)