Skip to content

Commit

Permalink
fixed a bug in loop
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergravity committed Dec 19, 2020
1 parent 661e95b commit 55c4bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion E9G10/bfosc_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def debug_ap():
for i_star, fp in enumerate(fps_star):
print(" |- ({}/{}) processing STAR ... ".format(i_star, n_star), end="")
fp_out = "{}/star-{}.dump".format(os.path.dirname(fp), os.path.basename(fp))
star = read_star(fps_star[0])
star = read_star(fp)
star -= ap.background(star, q=(10, 10), npix_inter=5, sigma=(20, 20), kernel_size=(21, 21))
star /= sensitivity
star1d = ap.extract_all(star, n_jobs=1, verbose=False)
Expand Down

0 comments on commit 55c4bfd

Please sign in to comment.