dsa110 / dsa110-issues

Issue tracker for all DSA-110 work
0 stars 0 forks source link

Scattering screen initial guess is offset by a few samples #311

Closed mbsherma closed 2 months ago

mbsherma commented 3 months ago

The peak of the initial fit doesn't line up well with the intensity.

mbsherma commented 3 months ago

I think this is because it shifts when convolved with an exponential, but this should be taken into account when generating the initial guess.

mbsherma commented 2 months ago

Resolved in commit https://github.com/dsa110/dsa110-pol/commit/5a6c427a032eeb86e4f81a55a0da38f98ea1aa59 ; this was just the result of the gaussian convolving with an exponential; the peak of the resulting curve becomes offset. I've modified the initial parameters to offset the x0 guess to match the peak of the curve to the actual peak of the data.