Ticket #1397 (closed: fixed)
Modify CalculateTransmission to deal with single wavelength bin data
Reported by: | Mathieu Doucet | Owned by: | Mathieu Doucet |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 24 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description
The CalculateTransmission currently assumes that there will be more than a single wavelength bin in the data. After computing the transmission for each bin, it passes the result to the Linear fitting algo, which crashes if there's only one bin. Modify CalculateTransmission to skip the unnecessary fit if there's only one bin.
Change History
comment:3 Changed 10 years ago by Mathieu Doucet
- Status changed from accepted to testing
- Resolution set to fixed
comment:4 Changed 10 years ago by Nick Draper
- Status changed from testing to verify
Moved to verify state
Note: See
TracTickets for help on using
tickets.