Skip to content

Commit

Permalink
update simulator flat field model
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Feb 21, 2024
1 parent 5a05700 commit c17b68c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions autocti/charge_injection/imaging/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ def via_flat_field_mode(

pre_cti_data = np.zeros(layout.shape_2d)
pre_cti_data[
layout.parallel_overscan.x0: layout.parallel_overscan.x1,
0:layout.parallel_overscan.y0
layout.region_list[0].slice
] = self.norm

pre_cti_data_poisson = np.random.poisson(pre_cti_data, pre_cti_data.shape)
Expand Down

0 comments on commit c17b68c

Please sign in to comment.