devitocodes / devito

DSL and compiler framework for automated finite-differences and stencil computation
http://www.devitoproject.org
MIT License
559 stars 227 forks source link

Resampling function inconsistent #1147

Open philippwitte opened 4 years ago

philippwitte commented 4 years ago

The resample method of a Receiver object does not always return the correct number of samples. If you interpolate data from the computational time axis to a shot record times axis and then back to the computational time axis, you don't end with with the same number of samples as before.

mloubout commented 4 years ago

resampling with .resample(dt) or .resample(nt)?

FabioLuporini commented 4 years ago

@philippwitte @mloubout any updates on this?

mloubout commented 4 years ago

Somewhere on my TODO list