ray_tracing.summation_loop_for_ray_tracing¶
-
ray_tracing.summation_loop_for_ray_tracing¶ compute shadowgram count with ray tracing method with index position of photon on mask
summation of the photons that have passed through the mask
Parameters: - row ([int] 1D array (n,)) – row index of the mask where the photon arrives
- col ([int] 1D array (n,)) – row index of the mask where the photon arrives
- aval_mask ([0,1] 2D array) – pixel mask value (1 is open)
- shadow ([int] 2D array) – photon count on pixel detector