Skip to content

Commit

Permalink
Fix syntax for MW channel attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpoulos committed Sep 5, 2024
1 parent 26dc263 commit c3d0d94
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions quam/components/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -1596,8 +1596,10 @@ def apply_to_config(self, config: Dict) -> None:
super().apply_to_config(config)

element_config = config["elements"][self.name]
element_config["MWInput"] = self.opx_output.port_tuple
element_config["upconverter"] = self.upconverter
element_config["MWInput"] = {
"port": self.opx_output.port_tuple,
"upconverter": self.upconverter
}


@quam_dataclass
Expand All @@ -1624,7 +1626,9 @@ def apply_to_config(self, config: Dict) -> None:
super().apply_to_config(config)

element_config = config["elements"][self.name]
element_config["MWOutput"] = self.opx_input.port_tuple
element_config["MWOutput"] = {
"port": self.opx_input.port_tuple
}
element_config["smearing"] = self.smearing
element_config["time_of_flight"] = self.time_of_flight

Expand Down

0 comments on commit c3d0d94

Please sign in to comment.