scipp / scipp/ess

Default value for lookup table relative error threshold.

Open
#186 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

essreduce
Dominant language
Python
Stars
1
Forks
3
Avg merge
2d 11h
Merged PRs (30d)
17

Description

Can we have a default value of this LookupTableRelativeErrorThreshold so that we can just set an empty dictionary as a default parameter...?

Or do we always want to explicitly set the error threshold...?

https://github.com/scipp/ess/blob/047862b424bf05822d8e508b7da734e7214bf824/packages/essreduce/src/ess/reduce/time_of_flight/eto_to_tof.py#L453

https://github.com/scipp/ess/blob/047862b424bf05822d8e508b7da734e7214bf824/packages/essreduce/src/ess/reduce/time_of_flight/workflow.py#L83-L91

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the LookupTableRelativeErrorThreshold usage at packages/essreduce/src/ess/reduce/time_of_flight/eto_to_tof.py:453 and the default parameter flow in packages/essreduce/src/ess/reduce/time_of_flight/workflow.py:83-91. Determine whether an empty dictionary can be the default while preserving explicit error thresholds; done means the default behavior is defined and existing explicit configuration remains supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.