-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bola Malek
committed
Sep 24, 2018
1 parent
d070820
commit feceedc
Showing
3 changed files
with
372 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,367 @@ | ||
// constexpr MiniG::dds_params_t inter_dds_params_0 = { | ||
// .mult = 15, | ||
// .clk_transition_hex = 0x158ee78e, | ||
// .chirp_start_hex = 0x16c0bd3b, | ||
// .chirp_stop_hex = 0x20f4bca1, | ||
// .mw_time_hex = 0xf6, | ||
// .mw_freq_hex = 0x335c, | ||
// .chirp_time_hex = 0xf6, | ||
// .chirp_freq_hex = 0x10df, | ||
// .actual_chirp = 22.993801, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_1 = { | ||
.mult = 19, | ||
.clk_transition_hex = 0x110507a6, | ||
.chirp_start_hex = 0x11f67a72, | ||
.chirp_stop_hex = 0x1a049508, | ||
.mw_time_hex = 0x9d, | ||
.mw_freq_hex = 0x146e, | ||
.chirp_time_hex = 0x9d, | ||
.chirp_freq_hex = 0x6b6, | ||
.actual_chirp = 22.993806, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_2 = { | ||
// .mult = 10, | ||
// .clk_transition_hex = 0x20565b56, | ||
// .chirp_start_hex = 0x22211bd9, | ||
// .chirp_stop_hex = 0x316f1b6c, | ||
// .mw_time_hex = 0xa3, | ||
// .mw_freq_hex = 0x4c92, | ||
// .chirp_time_hex = 0xa3, | ||
// .chirp_freq_hex = 0x1927, | ||
// .actual_chirp = 22.993812, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_3 = { | ||
.mult = 18, | ||
.clk_transition_hex = 0x11f7164c, | ||
.chirp_start_hex = 0x12f5f307, | ||
.chirp_stop_hex = 0x1b769d97, | ||
.mw_time_hex = 0x82, | ||
.mw_freq_hex = 0x12d9, | ||
.chirp_time_hex = 0x82, | ||
.chirp_freq_hex = 0x631, | ||
.actual_chirp = 22.993817, | ||
.detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_4 = { | ||
.mult = 16, | ||
.clk_transition_hex = 0x1435f916, | ||
.chirp_start_hex = 0x1554b167, | ||
.chirp_stop_hex = 0x1ee5717c, | ||
.mw_time_hex = 0x7b, | ||
.mw_freq_hex = 0x1692, | ||
.chirp_time_hex = 0x7b, | ||
.chirp_freq_hex = 0x76a, | ||
.actual_chirp = 22.993824, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_5 = { | ||
// .mult = 14, | ||
// .clk_transition_hex = 0x17191cab, | ||
// .chirp_start_hex = 0x1860cabf, | ||
// .chirp_stop_hex = 0x234f5d30, | ||
// .mw_time_hex = 0x61, | ||
// .mw_freq_hex = 0x173f, | ||
// .chirp_time_hex = 0x61, | ||
// .chirp_freq_hex = 0x7a3, | ||
// .actual_chirp = 22.993826, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_6 = { | ||
.mult = 20, | ||
.clk_transition_hex = 0x102b2dab, | ||
.chirp_start_hex = 0x11108dec, | ||
.chirp_stop_hex = 0x18b78e31, | ||
.mw_time_hex = 0xa1, | ||
.mw_freq_hex = 0x12e8, | ||
.chirp_time_hex = 0xa1, | ||
.chirp_freq_hex = 0x636, | ||
.actual_chirp = 22.993834, | ||
.detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_7 = { | ||
.mult = 10, | ||
.clk_transition_hex = 0x20565b56, | ||
.chirp_start_hex = 0x22211bd9, | ||
.chirp_stop_hex = 0x316f1d61, | ||
.mw_time_hex = 0x9f, | ||
.mw_freq_hex = 0x4ab1, | ||
.chirp_time_hex = 0x9f, | ||
.chirp_freq_hex = 0x1889, | ||
.actual_chirp = 22.993856, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_8 = { | ||
// .mult = 12, | ||
// .clk_transition_hex = 0x1af2a172, | ||
// .chirp_start_hex = 0x1c70ec8a, | ||
// .chirp_stop_hex = 0x2931ee19, | ||
// .mw_time_hex = 0xab, | ||
// .mw_freq_hex = 0x37c8, | ||
// .chirp_time_hex = 0xab, | ||
// .chirp_freq_hex = 0x1253, | ||
// .actual_chirp = 22.993864, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_9 = { | ||
.mult = 15, | ||
.clk_transition_hex = 0x158ee78e, | ||
.chirp_start_hex = 0x16c0bd3b, | ||
.chirp_stop_hex = 0x20f4be97, | ||
.mw_time_hex = 0x4f, | ||
.mw_freq_hex = 0x107e, | ||
.chirp_time_hex = 0x4f, | ||
.chirp_freq_hex = 0x56b, | ||
.actual_chirp = 22.993868, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_10 = { | ||
// .mult = 17, | ||
// .clk_transition_hex = 0x13059f23, | ||
// .chirp_start_hex = 0x141379cb, | ||
// .chirp_stop_hex = 0x1d142fdd, | ||
// .mw_time_hex = 0x94, | ||
// .mw_freq_hex = 0x180e, | ||
// .chirp_time_hex = 0x94, | ||
// .chirp_freq_hex = 0x7e7, | ||
// .actual_chirp = 22.993875, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_11 = { | ||
.mult = 19, | ||
.clk_transition_hex = 0x110507a6, | ||
.chirp_start_hex = 0x11f67a72, | ||
.chirp_stop_hex = 0x1a0496a2, | ||
.mw_time_hex = 0xc0, | ||
.mw_freq_hex = 0x18fc, | ||
.chirp_time_hex = 0xc0, | ||
.chirp_freq_hex = 0x835, | ||
.actual_chirp = 22.993875, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_12 = { | ||
// .mult = 10, | ||
// .clk_transition_hex = 0x20565b56, | ||
// .chirp_start_hex = 0x22211bd9, | ||
// .chirp_stop_hex = 0x316f1e66, | ||
// .mw_time_hex = 0x9d, | ||
// .mw_freq_hex = 0x49c0, | ||
// .chirp_time_hex = 0x9d, | ||
// .chirp_freq_hex = 0x183a, | ||
// .actual_chirp = 22.993880, | ||
// .detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_13 = { | ||
// .mult = 12, | ||
// .clk_transition_hex = 0x1af2a172, | ||
// .chirp_start_hex = 0x1c70ec8a, | ||
// .chirp_stop_hex = 0x2931eed8, | ||
// .mw_time_hex = 0xee, | ||
// .mw_freq_hex = 0x4da4, | ||
// .chirp_time_hex = 0xee, | ||
// .chirp_freq_hex = 0x1981, | ||
// .actual_chirp = 22.993885, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_14 = { | ||
.mult = 14, | ||
.clk_transition_hex = 0x17191cab, | ||
.chirp_start_hex = 0x1860cabf, | ||
.chirp_stop_hex = 0x234f5f36, | ||
.mw_time_hex = 0xb5, | ||
.mw_freq_hex = 0x2b61, | ||
.chirp_time_hex = 0xb5, | ||
.chirp_freq_hex = 0xe40, | ||
.actual_chirp = 22.993891, | ||
.detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_15 = { | ||
.mult = 10, | ||
.clk_transition_hex = 0x20565b56, | ||
.chirp_start_hex = 0x22211bd9, | ||
.chirp_stop_hex = 0x316f1f71, | ||
.mw_time_hex = 0x9b, | ||
.mw_freq_hex = 0x48d0, | ||
.chirp_time_hex = 0x9b, | ||
.chirp_freq_hex = 0x17eb, | ||
.actual_chirp = 22.993904, | ||
.detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_16 = { | ||
.mult = 11, | ||
.clk_transition_hex = 0x1d65c765, | ||
.chirp_start_hex = 0x1f06d37f, | ||
.chirp_stop_hex = 0x2cf0a877, | ||
.mw_time_hex = 0xf1, | ||
.mw_freq_hex = 0x5d90, | ||
.chirp_time_hex = 0xf1, | ||
.chirp_freq_hex = 0x1ebc, | ||
.actual_chirp = 22.993910, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_17 = { | ||
// .mult = 11, | ||
// .clk_transition_hex = 0x1d65c765, | ||
// .chirp_start_hex = 0x1f06d37f, | ||
// .chirp_stop_hex = 0x2cf0a8fc, | ||
// .mw_time_hex = 0xe0, | ||
// .mw_freq_hex = 0x56f6, | ||
// .chirp_time_hex = 0xe0, | ||
// .chirp_freq_hex = 0x1c91, | ||
// .actual_chirp = 22.993923, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_18 = { | ||
.mult = 19, | ||
.clk_transition_hex = 0x110507a6, | ||
.chirp_start_hex = 0x11f67a72, | ||
.chirp_stop_hex = 0x1a0497bd, | ||
.mw_time_hex = 0xe3, | ||
.mw_freq_hex = 0x1d89, | ||
.chirp_time_hex = 0xe3, | ||
.chirp_freq_hex = 0x9b4, | ||
.actual_chirp = 22.993924, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_19 = { | ||
// .mult = 16, | ||
// .clk_transition_hex = 0x1435f916, | ||
// .chirp_start_hex = 0x1554b167, | ||
// .chirp_stop_hex = 0x1ee57440, | ||
// .mw_time_hex = 0xef, | ||
// .mw_freq_hex = 0x2bdb, | ||
// .chirp_time_hex = 0xef, | ||
// .chirp_freq_hex = 0xe68, | ||
// .actual_chirp = 22.993926, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_20 = { | ||
.mult = 20, | ||
.clk_transition_hex = 0x102b2dab, | ||
.chirp_start_hex = 0x11108dec, | ||
.chirp_stop_hex = 0x18b79041, | ||
.mw_time_hex = 0x99, | ||
.mw_freq_hex = 0x11f7, | ||
.chirp_time_hex = 0x99, | ||
.chirp_freq_hex = 0x5e7, | ||
.actual_chirp = 22.993928, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_21 = { | ||
// .mult = 12, | ||
// .clk_transition_hex = 0x1af2a172, | ||
// .chirp_start_hex = 0x1c70ec8a, | ||
// .chirp_stop_hex = 0x2931f0c1, | ||
// .mw_time_hex = 0x43, | ||
// .mw_freq_hex = 0x15db, | ||
// .chirp_time_hex = 0x43, | ||
// .chirp_freq_hex = 0x72e, | ||
// .actual_chirp = 22.993937, | ||
// .detuning = 700.000000}; | ||
// | ||
// constexpr MiniG::dds_params_t inter_dds_params_22 = { | ||
// .mult = 11, | ||
// .clk_transition_hex = 0x1d65c765, | ||
// .chirp_start_hex = 0x1f06d37f, | ||
// .chirp_stop_hex = 0x2cf0a996, | ||
// .mw_time_hex = 0xcf, | ||
// .mw_freq_hex = 0x505d, | ||
// .chirp_time_hex = 0xcf, | ||
// .chirp_freq_hex = 0x1a66, | ||
// .actual_chirp = 22.993938, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_23 = { | ||
.mult = 15, | ||
.clk_transition_hex = 0x158ee78e, | ||
.chirp_start_hex = 0x16c0bd3b, | ||
.chirp_stop_hex = 0x20f4c0b4, | ||
.mw_time_hex = 0xe4, | ||
.mw_freq_hex = 0x2f9a, | ||
.chirp_time_hex = 0xe4, | ||
.chirp_freq_hex = 0xfa3, | ||
.actual_chirp = 22.993941, | ||
.detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_24 = { | ||
.mult = 17, | ||
.clk_transition_hex = 0x13059f23, | ||
.chirp_start_hex = 0x141379cb, | ||
.chirp_stop_hex = 0x1d1431e0, | ||
.mw_time_hex = 0x91, | ||
.mw_freq_hex = 0x1791, | ||
.chirp_time_hex = 0x91, | ||
.chirp_freq_hex = 0x7be, | ||
.actual_chirp = 22.993953, | ||
.detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_25 = { | ||
// .mult = 10, | ||
// .clk_transition_hex = 0x20565b56, | ||
// .chirp_start_hex = 0x22211bd9, | ||
// .chirp_stop_hex = 0x316f219c, | ||
// .mw_time_hex = 0x97, | ||
// .mw_freq_hex = 0x46ef, | ||
// .chirp_time_hex = 0x97, | ||
// .chirp_freq_hex = 0x174d, | ||
// .actual_chirp = 22.993953, | ||
// .detuning = 700.000000}; | ||
|
||
// constexpr MiniG::dds_params_t inter_dds_params_26 = { | ||
// .mult = 11, | ||
// .clk_transition_hex = 0x1d65c765, | ||
// .chirp_start_hex = 0x1f06d37f, | ||
// .chirp_stop_hex = 0x2cf0aa4c, | ||
// .mw_time_hex = 0xbe, | ||
// .mw_freq_hex = 0x49c3, | ||
// .chirp_time_hex = 0xbe, | ||
// .chirp_freq_hex = 0x183b, | ||
// .actual_chirp = 22.993956, | ||
// .detuning = 700.000000}; | ||
|
||
constexpr MiniG::dds_params_t inter_dds_params_27 = { | ||
.mult = 14, | ||
.clk_transition_hex = 0x17191cab, | ||
.chirp_start_hex = 0x1860cabf, | ||
.chirp_stop_hex = 0x234f618d, | ||
.mw_time_hex = 0x54, | ||
.mw_freq_hex = 0x1421, | ||
.chirp_time_hex = 0x54, | ||
.chirp_freq_hex = 0x69d, | ||
.actual_chirp = 22.993966, | ||
.detuning = 700.000000}; | ||
|
||
constexpr size_t NUM_POINTS_INTER = 8; | ||
constexpr MiniG::dds_params_t fringes[NUM_POINTS_INTER] = { | ||
// inter_dds_params_0, | ||
inter_dds_params_1, | ||
// inter_dds_params_2, | ||
// inter_dds_params_3, | ||
inter_dds_params_4, | ||
// inter_dds_params_5, | ||
// inter_dds_params_6, | ||
inter_dds_params_7, | ||
// inter_dds_params_8, | ||
// inter_dds_params_9, | ||
// inter_dds_params_10, | ||
inter_dds_params_11, | ||
// inter_dds_params_12, | ||
// inter_dds_params_13, | ||
inter_dds_params_14, | ||
// inter_dds_params_15, | ||
inter_dds_params_16, | ||
// inter_dds_params_17, | ||
// inter_dds_params_18, | ||
// inter_dds_params_19, | ||
inter_dds_params_20, | ||
// inter_dds_params_21, | ||
// inter_dds_params_22, | ||
// inter_dds_params_23, | ||
inter_dds_params_24, | ||
// inter_dds_params_25, | ||
// inter_dds_params_26, | ||
// inter_dds_params_27, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.