Hi,
While generating an adjoint source, if the input data starts at t=0 and interp_flag is off, time offset is set to -1.5*hdr. However, pytomo3d does not do any zero padding unless the interp_flag is True. This causes tıme shift in the output.
I decided to open this issue here because pypaw sets the time_offset in the asdf file. But maybe it can be fixed in pytomo3d by checking if the input starttime is different than interp_starttime. So, It can decide to do padding if necessary.
I hope it is clear. Links to the relevant parts are below:
pypaw/adjoint.py
pytomo3d/adjoint/process_adjsrc.py
Hi,
While generating an adjoint source, if the input data starts at t=0 and interp_flag is off, time offset is set to -1.5*hdr. However, pytomo3d does not do any zero padding unless the interp_flag is True. This causes tıme shift in the output.
I decided to open this issue here because pypaw sets the time_offset in the asdf file. But maybe it can be fixed in pytomo3d by checking if the input starttime is different than interp_starttime. So, It can decide to do padding if necessary.
I hope it is clear. Links to the relevant parts are below:
pypaw/adjoint.py
pytomo3d/adjoint/process_adjsrc.py