# NOT RUN {
data(return) ###import raw return waveforms
data(geo) ###import corresponding reference geolocation
##if your geo data didn't the same column names as the follwoing one, you need to change it to
#it to the same column names. One thing you need to figure out is the corresponding column numbers
colnames(geo)[1:8]<-c("x","y","z","dx","dy","dz","or","fr")
###at least you should know which columns corresponding to x,y and fr before run the waveformgrid
##using the raw data
grid_re<-waveformgrid(waveform=return,geo=geo,res=c(0.8,0.8),method = "Other")
##using the hpc object
hpc<-hyperpointcloud(waveform=return,geo=geo)
hpcgrid<-waveformgrid(hpc=hpc,res=c(1,1))
# }
Run the code above in your browser using DataLab