Open jkeifer opened 10 years ago
I believe this is related to the fact that in the minimized function, the tshift parameter is ADDED to the DOY from the pixel. That is, if the pixel's signature is supposed to be earlier, a seemingly negative tshift, the max DOY could be something like DOY 33 where in the ref sig the max DOY is DOY 121. Thus, the tshift is: i + tshift = 33 + tshift = 121 -> tshift = +88.
This is not intuitive. I am wondering if this should be changed to subtraction, so the user would be shifting the ref sig to the pixel, not the other way around.
I think this should be changed to subtraction before 1.0.
The algorithm no longer seems able to deal with pixel signatures with negative DOY values. That is, it has extreme difficulty finding the...I don't know, it just doesn't work. Trying to find the fits of an image starting DOY -13 did not work. Telling the process that the image started DOY 0 instead resulted in an acceptable output. I have no idea what is wrong or where.