Skip to content

Commit

Permalink
config immutabledict
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuselli committed Dec 6, 2023
1 parent 073263e commit c6cc743
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions amstrax/plugins/peaks/peak_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
strax.Option(
"channel_map",
type=immutabledict,
track=False,
help="Map of channel numbers to top, bottom and aqmon, to be defined in the context",
),
strax.Option(
Expand Down
1 change: 0 additions & 1 deletion amstrax/plugins/peaks/peak_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ def compute_center_times(peaks):
t += t_i * p["dt"] * weight
result[p_i] = t / p["area"]
return result

0 comments on commit c6cc743

Please sign in to comment.