Skip to content

Frame unwrapping documentation typo? #518

Open
@g5t

Description

@g5t

To compute the time-of-flight we first add an integer multiple of the frame length to event_time_offset (and subtract the equivalent from event_time_zero).

https://github.com/scipp/scippneutron/blob/d2237f7abcb52a74e1e3bef0df462c21e95c887d/docs/api-reference/frame-unwrapping.ipynb#L80C113-L80C163

Should the parenthetical read, "or subtract the equivalent from event_time_zero"?
That is, the actual time of flight is $$t = N \Delta T + \Delta t - T_0 = \Delta t - (T_0 - N \Delta T)$$

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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