Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
fix remote usage in mass-proc
  • Loading branch information
fsmaibrgm authored Mar 29, 2023
1 parent a653876 commit 8520a95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/razorback/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,15 @@ def impedance_mass_proc(
for k, rindices in enumerate(remote_combination):

remote_tags = [remote_names[e] for e in rindices if e is not None]
options = dict(impedance_opts)
rinv = inventory.filter('E', 'B')
if remote_tags:
rinv += inventory.extract_groups([('Bremote', remote_tags)])
options['remote'] = 'Bremote'
else:
options['remote'] = None
data = rinv.pack()

options = dict(impedance_opts)
tl_z, tl_ivt, tl_err, tl_T = [], [], [], []
for i, interval in enumerate(l_interval):
n, m = map(len, [remote_combination, l_interval])
Expand Down

0 comments on commit 8520a95

Please sign in to comment.