JorgeGIlG / MTF_Estimator

Robust ESF, PSF, FWHM & MTF estimation from low quality images.
GNU General Public License v3.0
54 stars 8 forks source link

Is there any problem with this code diff = y - a + b*x #9

Closed Programmerwyl closed 3 years ago

Programmerwyl commented 3 years ago

I would like to confirm whether there is a problem with this code diff = y - a + bx and whether it should be changed to diff = y - (a + bx)

thanks

JorgeGIlG commented 3 years ago

Yes. You are right. Luckily it is in the subpixel outlier removal routine and the bug doesn't have a huge impact. I've updated the code and the QGIS plugin. Thank you!