Skip to content

Adjoint source offset time does not reflect the data when interp_flag is False. #12

@rdno

Description

@rdno

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions