Skip to content

Commit

Permalink
fix some bugs in analysis code
Browse files Browse the repository at this point in the history
  • Loading branch information
mileslucas committed Apr 29, 2024
1 parent 1295573 commit b063e5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vampires_dpp/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ def safe_annulus_sum(frame, Rin, Rout, center=None):
def estimate_strehl(*args, **kwargs):
raise NotImplementedError()

## use PSF centers to recenter
if recenter:
offsets = np.subtract(old_ctr, ctr)
frame = shift_frame(frame, offsets)

def analyze_fields(
cube,
Expand Down

0 comments on commit b063e5d

Please sign in to comment.