Skip to content

Commit

Permalink
sc
Browse files Browse the repository at this point in the history
  • Loading branch information
M-superposition committed Aug 22, 2018
1 parent 0701e87 commit 726f31d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
8 changes: 7 additions & 1 deletion MATLAB/+qc/get_sequence_table.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
function seq_table = get_sequence_table(program_name, advanced_seq_table_flag, awg_channel_pair_identifiers, verbosity, return_python_list)
% GET_SEQUENCE_TABLE Get sequence table of program on Tabor AWG
% (not actually from AWG but from the qctoolkit Tabor Driver instance)
%
% --- Outputs -------------------------------------------------------------
% seq_table : Cell of sequence tables for each Tabor
Expand All @@ -17,9 +18,14 @@
% variable. Default is {'AB', 'CD'}.
% verbosity : Print sequence table to command line.
% Default is 0.
% return_python_list : Returns a python list object instead of a
% matlab cell. This makes the function
% faster as the conversion is slow.
% Dafault is false.
%
% -------------------------------------------------------------------------
% (c) 2018/06 Pascal Cerfontaine and Marcel Meyer (cerfontaine@physik.rwth-aachen.de)
% (c) 2018/06 Pascal Cerfontaine and Marcel Meyer
% (cerfontaine@physik.rwth-aachen.de)

global plsdata
hws = plsdata.awg.hardwareSetup;
Expand Down
28 changes: 28 additions & 0 deletions MATLAB/+qc/get_sequence_table_from_simulator.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
function seq_table = get_sequence_table_from_simulator(program_name, advanced_seq_table_flag, awg_channel_pair_identifiers, verbosity, return_python_list)
% GET_SEQUENCE_TABLE Get sequence table of program on Tabor AWG Simulator
% PLEASE NOTE: the program gets armed by the function
%
% --- Outputs -------------------------------------------------------------
% seq_table : Cell of sequence tables for each Tabor
% channel pair
%
% --- Inputs --------------------------------------------------------------
% program_name : Program name for which sequence table is
% returned
% advanced_seq_table_flag : Get advanced sequence table if true.
% Default is false.
% awg_channel_pair_identifiers : Some substring in the channel pair
% identifiers to be matched. Sequence tables
% are sorted in the same order as channel
% pair identifiers substrings passed in this
% variable. Default is {'AB', 'CD'}.
% verbosity : Print sequence table to command line.
% Default is 0.
% return_python_list : Returns a python list object instead of a
% matlab cell. This makes the function
% faster as the conversion is slow.
% Dafault is false.
%
% -------------------------------------------------------------------------
% 2018/08 Marcel Meyer
% based on qc.get_sequence_table by Pascal Cerfontaine and Marcel Meyer
% (marcel.meyer1@rwth-aachen.de)

global plsdata
hws = plsdata.awg.hardwareSetup;
Expand Down

0 comments on commit 726f31d

Please sign in to comment.