3.3.9. Wave File

The wave file defines the time-dependent current in the transmitter during both the on-time and off-time, as well as the time-stepping that is used to solve the time-dependent Maxwell system.

Important

  • You want to discretize in time appropriately while keeping the number of unique step lengths as small as possible. Every different step length used will result in the code needing store the factorization of another linear system.

  • The latest time defining the transmitter waveform (\(t_f\)) must be after the latest time channel in the survey file

  • The earliest time defining the transmitter waveform (\(t_0\)) must be before the earliest time channel in the survey file

  • The first column in the wave file must have increasing values

3.3.9.1. Basic Format

The basic format for a wave file is a two column format:


\(t_0 \;\;\; I_0\)
\(t_1 \;\;\; I_1\)
\(t_2 \;\;\; I_2\)
\(\;\;\;\, \vdots\)
\(t_f \;\;\; I_f\)


where

  • \(t_i\) is the time in seconds

  • \(I_i\) is the current in the transmitter time \(t_i\)

Please be aware that you are defining the transmitter current during both the on-times and off times. The code will assume a steady-state transmitter current of \(I_0\) for \(t \leq t_0\).

Step-Off Example:

Here, we have provided an example file for a stepoff waveform . This wave file is designed to model data at logarithmically spaced time channels between t = 0.0001 s and t = 0.01 s. We have a least 20 steps from t = 0 s to t = 1e-4 s in order to accurately model data at the first time channel. And the final time in the wave file is after t = 0.01 s. Notice that because there are only 3 distinct time step lengths (5e-6 s, 5e-5 s and 5e-4 s), the code only needs to store the factorizations of 3 linear systems.

Arbitrary Waveform Example:

We have also provided an example file for an arbitrary waveform . The waveform is a half-sine function whose on-time is from -20 ms to 0 ms. This wave file is designed to model data at logarithmically spaced time channels between t = 0.0001 s and t = 0.01 s. In this case, we must define the waveform at \(t \; < \; 0\) s. Notice that once againg there are only 3 distinct time step lengths (5e-6 s, 5e-5 s and 5e-4 s) and the code only needs to store the factorizations of 3 linear systems.

3.3.9.2. Compact Format

The compact format for the wave file better demonstrates groups of time invervals that use the same step length. This format is as follows:


\(t_0 \;\;\; I_0\)
\(t_1 \;\;\; I_1 \;\;\; n_1\)
\(t_2 \;\;\; I_2 \;\;\; n_2\)
\(\;\;\;\;\;\;\, \vdots\)
\(t_f \;\;\; I_f \;\;\; n_f\)


where

  • \(t_i\) is a particular time in seconds

  • \(I_i\) is the current in the transmitter at all times within interval \(i\); i.e. for \(t_{i-1} < t \leq t_i\)

  • \(n_i\) is the number of linear time steps between times \(t_{i-1}\) and \(t_i\)

The first line of the wave file defines the initial time \(t_0\) and current \(I_0\). The time-step length \(\Delta t_i\) used within interval \(i\) is given by:

\[\Delta t_i = \frac{t_i- t_{i-1}}{n_i}\]

Step-Off Example:

For a unit step-off waveform, we have provided an example wave file is shown below. This waveform is IDENTICAL to the stepoff waveform shown in the basic format section . We simply used the compact format.

../../_images/wave_stepoff.png

Fig. 3.7 Click to download .

Square Pulse Example:

Here, we consider the wave file for a square pulse waveform. The on-time begins at t = -20 ms and ends at t = 0 s. This wave file is designed to model data at time channels between t = 0.0001 s and t = 0.01 s. When designing the waveform, several things were considered:

  • The waveform during the on-time was discretized to finer time-steps as we approached the off-time. This was done to more accuately model the early time data

  • We made sure to minimize the number of distinct time-step lengths used to model the data. In this case, we discretized the waveform to use step lengths of 5e-6 s, 5e-5 s and 5e-4 s. Thus, the code only needs to store the factorizations of 3 linear systems.

../../_images/wave_square.png

Fig. 3.8 Click to download .

Arbitrary Waveform Example:

Here, we consider the wave file corresponding to the same arbitrary waveform that was shown in the basic format section. Click to see this file . Notice that we must define the transmitter current at every distinct on-time. However, we can compact the time-stepping during the off-time because the transmitter current doesn’t change.