Skip to content

Commit

Permalink
Fix: feedforward and feedback filter locations in config
Browse files Browse the repository at this point in the history
  • Loading branch information
nulinspiratie committed Oct 15, 2024
1 parent 332d69f commit 7fbe97b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions quam/components/ports/analog_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ def get_port_properties(self):
if self.crosstalk is not None:
port_properties["crosstalk"] = self.crosstalk
if self.feedforward_filter is not None:
port_properties["feedforward_filter"] = list(self.feedforward_filter)
port_properties.setdefault("filter", {})["feedforward"] = list(
self.feedforward_filter
)
if self.feedback_filter is not None:
port_properties["feedback_filter"] = list(self.feedback_filter)
port_properties.setdefault("filter", {})["feedback"] = list(
self.feedback_filter
)
if self.offset is not None:
port_properties["offset"] = self.offset
return port_properties
Expand Down

0 comments on commit 7fbe97b

Please sign in to comment.