Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #59

Open
wants to merge 12 commits into
base: refactored_config_and_logging
Choose a base branch
from
2 changes: 2 additions & 0 deletions fus_ds_package/fus_driving_systems/igt/igt_ds.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ def register_sent_sequence(self, seq_num, seq, n_pulse_train_rep, pulse_train_de
self.sent_seqs[seq_num]['total_sequence_duration_ms'] = (total_sequence_duration_ms +
wait_time_ms)

logger.debug(f"Stored sequence {seq_num}: {self.sent_seqs[seq_num]}")

def connect(self, connect_info, log_dir=None, log_name=None, attempt=0):
"""
Connects to the IGT ultrasound driving system.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def create_sequence_collection(logger):
# based on the set focus.
seq3.dephasing_degree = None # [degrees]: None, [120] or [0, 135, 239, 90]

# THE FEATURE IS NOT ENABLED YET! Use amplitude only for now
# either set maximum pressure in free water [MPa], voltage [V] or amplitude [%]
seq3.press = 0 # [MPa], maximum pressure in free water
# seq3.volt = 0 # [V], voltage per channel
Expand Down Expand Up @@ -119,7 +118,6 @@ def create_sequence_collection(logger):
# based on the set focus.
seq4.dephasing_degree = None # [degrees]: None, [120] or [0, 135, 239, 90]

# THE FEATURE IS NOT ENABLED YET! Use amplitude only for now
# either set maximum pressure in free water [MPa], voltage [V] or amplitude [%]
seq4.press = 0.5 # [MPa], maximum pressure in free water
# seq4.volt = 0 # [V], voltage per channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def create_sequence_collection(logger):
# based on the set focus.
seq1.dephasing_degree = None # [degrees]: None, [120] or [0, 135, 239, 90]

# THE FEATURE IS NOT ENABLED YET! Use amplitude only for now
# either set maximum pressure in free water [MPa], voltage [V] or amplitude [%]
seq1.press = 0.5 # [MPa], maximum pressure in free water
# seq1.volt = 0 # [V], voltage per channel
Expand Down Expand Up @@ -120,7 +119,6 @@ def create_sequence_collection(logger):
# based on the set focus.
seq2.dephasing_degree = None # [degrees]: None, [120] or [0, 135, 239, 90]

# THE FEATURE IS NOT ENABLED YET! Use amplitude only for now
# either set maximum pressure in free water [MPa], voltage [V] or amplitude [%]
seq2.press = 0 # [MPa], maximum pressure in free water
# seq2.volt = 0 # [V], voltage per channel
Expand Down