<commit_before># AWGSpec-sample.csv
#
# To use this file, either remove '-sample' (name it 'AWGSpec.csv') and copy
# it to the working directory, or call the program with the -i option and the
# path to the file, like 
# awg2040-lattice-gen -i=~/AWGSpec-sample.csv
#
# This file is an example of the expected format for the pulse specification.
# Throughout the spec file, lines containing only whitespace are ignored, and
# the start of a comment is indicated by a hash symbol (#).
#
# The shift between the Master AWG and Slave AWG is specified in ns, and input
# as 'SLAVE_SHIFT <value>', e.g.
SLAVE_SHIFT 131.2 # Shift by 131.2 ns
# If there are multiple lines like this, the last one is the one that applies.
# Also worth noting, the actual shift will be rounded to the nearest AWG clock
# period, e.g. if the AWG clock is 1 GHz, it will be rounded to the nearest ns.
#
# The specification of the pulse train is recorded as comma-separated values
# on a line, read in order from top to bottom. The actual duration of a given
# frequency pulse will be rounded to the nearest half period. The format of a
# given line is:
# Frequency [MHz], Amplitude [Relative [0,1]], Duration [ns], Phase [Pi [-1,1]]
# For example:
100.0, 1.0, 10.0, 0.00 # 100 MHz, full amp. for  10 ns (1 period),    in phase
200.0, 0.5,  7.3, 1.00 # 200 MHz,  1/2 amp. for 7.5 ns (1.5 periods), Pi phase
250.0, 0.8, 12.1, -0.5 # 250 MHz,  4/5 amp. for  12 ns (3 periods),  -Pi/2 phase<commit_msg>Add note about rounding to template file<commit_after># AWGSpec-sample.csv
#
# To use this file, either remove '-sample' (name it 'AWGSpec.csv') and copy
# it to the working directory, or call the program with the -i option and the
# path to the file, like 
# awg2040-lattice-gen -i=~/AWGSpec-sample.csv
#
# This file is an example of the expected format for the pulse specification.
# Throughout the spec file, lines containing only whitespace are ignored, and
# the start of a comment is indicated by a hash symbol (#).
#
# The shift between the Master AWG and Slave AWG is specified in ns, and input
# as 'SLAVE_SHIFT <value>', e.g.
SLAVE_SHIFT 131.2 # Shift by 131.2 ns
# If there are multiple lines like this, the last one is the one that applies.
# Also worth noting, the actual shift will be rounded to the nearest AWG clock
# period, e.g. if the AWG clock is 1 GHz, it will be rounded to the nearest ns.
#
# The specification of the pulse train is recorded as comma-separated values
# on a line, read in order from top to bottom. The actual duration of a given
# frequency pulse will be rounded to the nearest half period(1). The format of
# a given line is:
# Frequency [MHz], Amplitude [Relative [0,1]], Duration [ns], Phase [Pi [-1,1]]
# For example:
100.0, 1.0, 10.0, 0.00 # 100 MHz, full amp. for  10 ns (1 period),    in phase
200.0, 0.5,  7.3, 1.00 # 200 MHz,  1/2 amp. for 7.5 ns (1.5 periods), Pi phase
250.0, 0.8, 12.1, -0.5 # 250 MHz,  4/5 amp. for  12 ns (3 periods),  -Pi/2 phase
#
# (1) the total length of the pulse is _also_ subject to the AWG's clock period
# granularity.
{'fraction_non_alphanumeric': 0.09683730029344637, 'fraction_numerical': 0.049559830453211606, 'mean_word_length': 3.5184094256259204, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2449562', 'n_tokens_mistral': 1097, 'n_tokens_neox': 972, 'n_words': 507}