Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update peak finder process #141

Merged
merged 12 commits into from
Nov 5, 2024
Merged

Update peak finder process #141

merged 12 commits into from
Nov 5, 2024

Conversation

lobis
Copy link
Member

@lobis lobis commented Oct 28, 2024

lobis Ok: 37 Powered by Pull Request Badge

It is now possible to specify a time and energy conversion to save times and amplitudes as physical units in a separate observable.

Time conversion is controlled via the following parameters:

  • sampling : sampling time. If defined the times will also be stored in physical units.
  • delay: computed times will be substrated delay. this parameter is set in time units, not time bins.

These parameters control how ADC units are converted into energy. Only one should be specified.

  • adcToEnergyFactor: single factor to convert ADC units into energy (multiplicative).
  • channelIDToADCtoEnergyFactor: a mapping between channel ids and multiplicative factors to convert ADC units to energy. It should be specified as a string in the following format: "{channelId1: factor1, channelId2: factor2, ...}".

@lobis lobis requested a review from JPorron October 28, 2024 14:48
@lobis lobis marked this pull request as ready for review November 5, 2024 09:08
@lobis lobis merged commit f1b939d into master Nov 5, 2024
64 checks passed
@lobis lobis deleted the lobis-peak-finder-upgrade branch November 5, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants