piccal/plot_calibrate.ipynb

76 lines
178 KiB
Plaintext
Raw Normal View History

{
"cells": [
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [],
"source": [
"#%load_ext autoreload\n",
"%autoreload 2\n",
"\n",
"from plot_calibrate import plot_all_notes\n",
"from plot_calibrate import plot_by_pitch\n",
"from rms_analysis import key_info_dictionary\n",
"\n",
"inDir = \"/home/kevin/temp/calib0/test_1/12\"\n",
"yamlFn = \"/home/kevin/src/picadae_ac_3/p_ac.yml\""
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAABC0AAAbfCAYAAACxSRwwAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3Xl81PW1//HXZ5bsG1mBJAIBQQElQFBbAbuJttba9rYura1a7XJrb5cL9lpr61LFrcvt9rtt3Wp71avWBVxLVwQXakziwr6TgGQnC9lm+fz+mExIyDYBJjOTvJ995JHvzPf7nTlJMTPfM+ecj7HWIiIiIiIiIiISbRyRDkBEREREREREZCBKWoiIiIiIiIhIVFLSQkRERERERESikpIWIiIiIiIiIhKVlLQQERERERERkaikpIWIiIiIiIiIRCUlLURERARjzBJjzNZjPPf3xpjbTnRMIiIiIkpaiIiICNbaddbaWcHbxpg9xpiPhPM5jTHnGGPs0QkPY8x3jDEHjTHNxpgHjDHxx/k8HzDG+I0xrb2+nj2+6EVERGQ0KGkhIiIio84Y4wZ+Dmw46v7zgOuBDwNTgCLglhPwlAestSm9vi48AY8pIiIiYaakhYiIyDjRXT3xPWPMJmNMozHmQWNMQve+Dxhjqrq3/wicBDzbXZXw3e77FxtjXjXGHDLGVBpjruz18BOMMc8bY1qMMRuMMdOHCWc5sAbYctT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tRERERERERCQqKWkhIiIiIiIiIlFJSQsRERERERERiUpKWoiIiIiIiIhIVFLSQkRERERERESikpIWIiIiIiIiIhKVlLQQERERERERkaikpIWIiIiIiIiIRCUlLUREREREREQkKilpISIiIiIiIiJRSUkLEREREREREYlKSlqIiIiIiIiISFRS0kJEREREREREopKSFiIiIiIiIiISlZS0EBGRUVFRU8F979xHRU1FpEMRERERkRjhinQAIiIy9lXUVHD1n6/G6/cS54zj3mX3UpxbHOmwRERERCTKqdJCRETCrrS6lC5/F378ePweSqtLIx2SiIiIiMQAJS1ERCTsSvJKerbdDnef2yIiIiIigxk2aWGMKTTG/MMYs8kYs9EY862j9i83xlhjTHb4whQRkVhWnFtMnDOOZHeyWkNEREREJGShzLTwAsuttWXGmFTgTWPMX6y1m4wxhcAyYF9YoxQRkZjnt34Oew5zatapkQ5FRERERGLEsJUW1tr3rLVl3dstwGYgv3v3z4DvAjZsEYqISMyz1uL1ewHY37I/wtGIiIiISKwY0UwLY8xUYD6wwRhzEbDfWvvWMOd8xRhTaowpra2tPeZARUQkdgUTFgCVLZURjEREREREYknISQtjTArwJPBtAi0jNwA/HO48a+3vrLUl1tqSnJycYw5URERil8fv6dmuaq2KYCQiIiIiEktCSloYY9wEEhYPW2ufAqYD04C3jDF7gAKgzBgzMVyBiohI7OqdtFClhYiIiIiEathBnMYYA9wPbLbW/hTAWvsOkNvrmD1AibW2LkxxiohIDFN7iIiIiIgci1AqLc4GvgB8yBhT0f31sTDHJSIiY0if9pAWtYeIiIiISGiGrbSw1q4HzDDHTD1RAYmIyNgTTFpkJmRS1VKF3/pxmBHNghYRERGRcUjvGEVEJOyC7SFT06bS5e+ipq0mwhGJiIiISCxQ0kJERMIuWGlRlFEEqEVEREREREKjpIWIiIRdMGkxLW0aoGGcIiIiIhIaJS1ERCTsgu0hJ6WdhNM4lbQQERERkZAoaSEiImHn8QUqLRJcCUxMnkhVq9pDRERERGR4SlqIiEjYeW2g0sLtcFOYWqiZFiIiIiISEiUtREQk7I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/plain": [
"<Figure size 1332x2268 with 3 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"#plot_all_notes(inDir)\n",
"keyInfoD = key_info_dictionary(yamlCfgFn=yamlFn)\n",
"plot_by_pitch(inDir,keyInfoD)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}