Skip to content

random time offset shift #22

Closed as not planned
Closed as not planned

Description

@Tom-Willemsen

Currently the ICP randomizes event time offsets, e.g. https://github.com/ISISNeutronMuon/ISISICP/blob/bf3fc2fb38d0de4a476a1f5f9371402e0120d384/newicp/isiscrpt.cpp#L1127 & https://github.com/ISISNeutronMuon/ISISICP/blob/bf3fc2fb38d0de4a476a1f5f9371402e0120d384/newicp/NeXusEventCallback.cpp#L269

This is reflected in a nexus file by setting event_time_offset_shift to "random".

My understanding (@FreddieAkeroyd may be able to correct) is that this was to avoid artifacts in downstream analysis software.

We should figure out whether or not we need to do this, and if so whether it should be done

  • in hardware
  • when converting UDP -> ev44
  • in the nexus filewriter
  • in downstream analysis software

Activity

  1. moved this from Backlog to research/needs discussion in Data streaming for HRPD-X & SANDALS-IIon Nov 26, 2025
  2. FreddieAkeroyd commented on Nov 26, 2025

    @FreddieAkeroyd
    Member

    Ideally we don't want to do random shifts, but it was done due to issues seen in display/analysis if you assume all events are at the centre of the time window. A "beating" effect was seen in monitors, probably get some effect on summing across banks too. If we can store at full clock resolution i hope this will not be needed. how does our TOF clock resolution compare to what SNS ORNL and ESS achieve?

  3. FreddieAkeroyd commented on Nov 26, 2025

    @FreddieAkeroyd
    Member

    if we have to randomise, we previously chose to do it early on so analysis software didn't potentially give a different (but not scientifically significant) answer each time a program was run

  4. Tom-Willemsen commented on Nov 28, 2025

    @Tom-Willemsen
    MemberAuthor

    I think from testing on EMMA the hardware binning was 20ns. Is that low enough that random shifts then won't be needed?

  5. FreddieAkeroyd commented on Dec 1, 2025

    @FreddieAkeroyd
    Member

    I feel it likely will be, we had issues with some instruments with 500ns bins but this is an order of magnitude higher resolution.

  6. Tom-Willemsen commented on Dec 1, 2025

    @Tom-Willemsen
    MemberAuthor

    I'll close this issue for now then - we can reopen if needed later.

  7. moved this from research/needs discussion to Done in Data streaming for HRPD-X & SANDALS-IIon Dec 1, 2025
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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions