Skip to content

Commit

Permalink
add comments/TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
jelenakhlr committed Jan 18, 2024
1 parent 02fe723 commit ddb2da1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grand/sim/efield2voltage.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,12 @@ def compute_voltage_du(self, du_idx):
# ----- Add ADC conversion -----
if self.params["add_adc_conversion"]:
# Add ADC conversion
#! TODO: is += correct here?
self.vout_f[du_idx] += self.voltage_to_adc

if self.params["add_downsampler_and_padding"]:
# Add downsampler and padding
#! TODO: is += correct here?
self.vout_f[du_idx] += self.padding

# Final voltage output for antenna with index du_idx
Expand Down

0 comments on commit ddb2da1

Please sign in to comment.