Loading observation_sim/sim_steps/add_ghost.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
observation_sim/sim_steps/add_ghost.py +1 −1 Original line number Diff line number Diff line Loading @@ -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