Ticket #9350 (assigned)
Optionally Apply Background Correction
Reported by: | Peter Parker | Owned by: | Peter Parker |
---|---|---|---|
Priority: | critical | Milestone: | Backlog |
Component: | SANS | Keywords: | Bilby |
Cc: | anders.markvardsen@… | Blocked By: | |
Blocking: | Tester: |
Description (last modified by Peter Parker) (diff)
The ISIS SANS interface needs to be expanded to allow background corrections using so-called "dark runs".
My understanding is that there are two kinds of dark run; "natural background" (i.e. source off) and "dark current" (i.e. source on, but shutter closed).
It is not clear whether or not this would be best implemented as a User File command, as checkboxes in the GUI, or both.
Implementing this seems trivial enough, though we'd need to be careful about scaling a 10-hour background run before applying it to a 1-hour data run, run example. It may be useful to see how this has been done at the SNS.
We are to account for periods where they have been used.
Change History
comment:4 Changed 6 years ago by Peter Parker
More from Richard:
- We're to normalise to the number of good frames x width of a time bin, assuming that the bins are the same width for the dark current run. We need to put in a check for this, of course.
- We need to make sure the data is in floats (not in integers) when we do the subtraction, since the correction will be very small.
- The GUI is cluttered enough, and this will be a niche enough feature so that adding a field to the interface in not warranted in this case. Just have a User File command.
Richard is going to send an email to the SANS team to ask about whether or not the subtraction should be on a time-channel-by-time-channel basis, or whether it should be integrated. More to follow.