Skip to content

Commit

Permalink
Small change to improve the image alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
CheerfulUser committed May 10, 2024
1 parent 3c0fbdd commit dcbed5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tessreduce/tessreduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,9 @@ def fit_shift(self,plot=None,savename=None):
sources = ((self.mask & 1) ==1) * 1.0 - (self.mask & 2)
sources[sources<=0] = 0

f = self.flux * sources[np.newaxis,:,:]
f = self.flux #* sources[np.newaxis,:,:]
m = self.ref.copy() * sources
m[m==0] = np.nan
if self.parallel:

shifts = Parallel(n_jobs=self.num_cores)(
Expand Down

0 comments on commit dcbed5b

Please sign in to comment.