Have updated my background algorithm (previous wasn't precise enough)
Now able to cope with background gradient over image
subtracting background array from original array using M35 data:
Using a 101x101 pixel box size, the background subtracted array:
Difference between old and new background algorithm on row/col sum plots:
Old:
New:
Attempt at matching stars between 2 frames. This was done roughly by shifting all stars in second frame by distance between brightest star in both frames (sorry this was last minute! Need to optimise algorithm to detext more stars):