Skip to content

Commit

Permalink
Merge pull request #400 from simonsobs/bgmap_zero_bias
Browse files Browse the repository at this point in the history
Zero dc bias at end of function.
  • Loading branch information
msilvafe authored Dec 18, 2023
2 parents 56d04ce + 8976820 commit 5d6e029
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sodetlib/operations/bias_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,9 @@ def take_bgmap(S, cfg, bgs=None, dc_voltage=0.3, step_voltage=0.01,
Bias groups to run steps on, defaulting to all 12. It is
recommended that this isn't modified unless necessary to create a
full bg-map.
dc_voltage : float
DC bias used at low end of bias step to avoid divide by zeros in
the analysis.
step_voltage (float):
Step voltage in Low-current-mode units. (i.e. this will be divided
by the high-low-ratio before running the steps in high-current
Expand Down Expand Up @@ -1080,6 +1083,9 @@ def take_bgmap(S, cfg, bgs=None, dc_voltage=0.3, step_voltage=0.01,
else:
plt.close()

for bg in bgs:
S.set_tes_bias_bipolar(bg, 0.)

return bsa


Expand Down

0 comments on commit 5d6e029

Please sign in to comment.