
using GeoPhyInv
using Test
using Random

# # Intro

#md # ```@docs
#md # Data
#md # ```


# # Examples
# Define an acquisition geometry.
mgrid = [range(0.0, stop=10.,step=0.1), range(0.0, stop=30.,step=0.2)];
ageom=AGeom(mgrid, SSrcs(10), Srcs(10), Recs(10));


# Need a time grid.
tgrid=range(0, stop=1.0, step=0.1);

# Lets initialize records for `:P` and `:Vz` fields.
data=Data(tgrid, ageom, [:P,:Vz]);

# Fill the `:P` field of 3rd supersource with random numbers.
Random.randn!(data[3][:P]);


# # Methods 
# Methods listed for `SrcWav` can used on instances of `Data` too.

