diff options
Diffstat (limited to 'two_tone_tuner.ipynb')
-rw-r--r-- | two_tone_tuner.ipynb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/two_tone_tuner.ipynb b/two_tone_tuner.ipynb index 6564068..af96f5a 100644 --- a/two_tone_tuner.ipynb +++ b/two_tone_tuner.ipynb @@ -80,7 +80,8 @@ "metadata": {}, "outputs": [], "source": [ - "top.set_txgain(85)" + "top.set_txgain(85)\n", + "top.set_rxgain(15)" ] }, { @@ -88,7 +89,9 @@ "execution_count": null, "metadata": {}, "outputs": [], - "source": [] + "source": [ + "tt.gen_two_tone(debug = True)" + ] }, { "cell_type": "code", @@ -170,11 +173,13 @@ "outputs": [], "source": [ "top.set_txgain(85)\n", + "top.set_rxgain(5)\n", + "\n", "pars = np.zeros(7)\n", "\n", - "for i in range(100):\n", + "for i in range(10000):\n", " i_rand = np.random.randint(0, len(pars))\n", - " pars = simple_opt(pars, i_rand, 0.05, measure)\n" + " pars = simple_opt(pars, i_rand, 0.005, measure)\n" ] }, { |