- Seis.jl now supports Julia v1.6 (long-term support release) upwards. Versions older than this are not supported.
rotate_through[!]
now explicitly implements the partial de-facto previous behaviour: that the direction of the rotation is defined by the order of the traces. Versions of this function prior to this change may have got the sense of the rotation wrong and defined the trace azimuths wrong depending on the trace input order, and so this is technically a breaking change. However the new behaviour is correct, so can now be relied upon.read_mseed
:- no longer supports the
maximum_offset
keyword argument; - moves the positional argument
T
specifying the trace type to the end to better match up withBase.read
; and - now returns a
Trace{Float64, Vector{Float32}, Seis.Geographic{Float64}}
by default.
- no longer supports the
plot
: The deprecatedpicks
keyword argument has been removed in favour ofshow_picks
.
- There is a new
FourierTrace
type, which contains trace data in the frequency domain. Most operations work on this type as for time-seriesTrace
data. Get aFourierTrace
from aTrace
by callingfft
on it, and go back withifft
.
- You can now write miniSEED files with
write_mseed
. read_sac
andwrite_sac
will accept anIO
object (like anIOBuffer
) to read and write to.- The
echo
keyword argument toread_sac(glob, dir)
now defaults tofalse
, meaning matching files are no longer written to stdout unless specifically requested. write_sac_header
will write just the header part of aTrace
to a SAC file. This is useful when reading just the headers to update header information on disk without reading and writing the whole trace data.
- Traces with the same channel code can be merged with
merge
andmerge!
. resample[!]
can resample traces to arbitrary sampling intervals.rotate_through[!]
can rotate arbitrary pairs of orthogonal traces, not just horizontal ones.rotate_to_enz[!]
rotates triplets of orthogonal components to ENZ orientationrotate_to_lqt[!]
rotates triplets of orthogonal components to LQT orientation.rotate_to_azimuth_incidence[!]
rotates triplets of orthogonal components to arbitrary orientations.- Spectrograms can be calculated with
spectrogram
, and can be plotted withSeis.Plot.plot_spectrogram
.
add_picks!
now accepts an absolute time (aDateTime
) at which to record a pick
- The new single-argument
origin_time
method returns the origin time of the trace (like.evt.time
but nicer-looking). taper[!]
optionally takes a taper length in absolute time (i.e., in seconds) via the newtime
keyword argument.- A one-sided (or no-sided) taper can be applied using the new keywords
arguments to
taper[!]
left
andright
. - One-sided tapers can be applied to up to 100% of the trace length.
traces_are_orthogonal
will be removed in v0.5. It has been replaced byare_orthogonal
which works for non-horizontal pairs as well.
rotate_through[!]
behaved in an inconsistent way and has been fixed (see 'Breaking changes'), but its new behaviour is different.