LDMX-Software / pflib

Library and tool for interacting with polarfires.
https://ldmx-software.github.io/pflib/
4 stars 0 forks source link

use header metric in relink #59

Closed tomeichlersmith closed 2 years ago

tomeichlersmith commented 2 years ago

Is your feature request related to a problem? Please describe. elink_relink uses elink spy as its metric of link stability when trying to align the links. This has been shown by various folks to not be the best metric. Over the past week, we have discovered that looking at the format of the headers and trailers of a simple pedestal run is a good and quick metric for checking link alignment.

Describe the solution you'd like Shift the relink function to use this new metric so that it can be more helpful for users attempting to align links.

Describe alternatives you've considered Right now @Skelpdar and @jmuse13 just change delay settings manually and use relink to adjust the bitslip while using ELINKS.HEADER_CHECK to evaluate the link alignment metric described above.

tomeichlersmith commented 2 years ago

resolved by #62