Commit 63affdda authored by yuedong0607's avatar yuedong0607
Browse files

fix a typo

parent e29d36c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,6 +81,6 @@ def add_ghosts_SCI(self, chip, filt, tel, pointing, catalog, obs_param):
                                       img_real_wcs=obj.chip_wcs)
            # print(f"star at {obj.getRealPos(chip.img, global_x=pos_img.x, global_y=pos_img.y, img_real_wcs=obj.chip_wcs)}")
            # print("ghost info: ", ghost_pos.x, ghost_pos.y, r_pix, ratio * nphotons_tot)
            # chip.img = ghost_model.draw(chip.img, ghost_pos, r_pix, flux=ratio * nphotons_tot)
            chip.img = ghost_model.draw(chip.img, ghost_pos, r_pix, flux=ratio * nphotons_tot)
            
    return chip, filt, tel, pointing
 No newline at end of file