Hi,
I try to understand how to plot the trace from the IDLffSEGY object that I've found in the code bank.
I can make it work and read SEGY data. I can plot each trace from the GetTraceData method. However, I try to display the total profil as an image with the following VERY basic code:
oSEGY=obj_new('idlffsegy')
oSEGY -> getProperty, N_TRACES=n_traces
for i=1,n_traces do begin
data = oSEGY -> GetTraceData (TRACE_NUMBERS=i)
if (i eq 1) then final=data.(0) else final=[final,data.(0)]
endfor
final=reform(final, i-1,1250)
tv, final
The result is absolutly wrong. The problem comes probably form the fact the the final array to display contains negative value. I try to work around this issue by offseting the data and convert the type to make sure that all the values are present, but without any luck...
Is some one manage to get a descent visualisation of all the trace ? by any chance.
Thanks in advance.
Best Regards.
Antoine C.
I can send a segy file if that helps.
|