Skip to content
Discussion options

You must be logged in to vote

Hi Jenna, Daniel pretty much answered this in slack, but uxm_relock assumes that the attens in the config exist and are correct, so we need to set them in the cfg object. To do that, before running uxm_relock I did this for the other slots

ucs = [30, 20, 15, 15, 30, 20, 15, 15]
dcs = [30, 30, 30, 30, 30, 30, 30, 30]

for b in range(8):
    cfg.dev.bands{'uc_att'] = ucs[b]
    cfg.dev.bands{'uc_att'] = ucs[b]

before running:

uxm_relock.uxm_relock(S, cfg,  ...)

You can run cfg.dev.update_file() if you'd like, or you can just pass the modified cfg object to uxm_relock and it will write the updated cfg to disk (if it completes successfully).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jennamo
Comment options

@jennamo
Comment options

@jennamo
Comment options

@jennamo
Comment options

Answer selected by jennamo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants