piccal/plot_all_note_durations.ipynb

80 lines
1.6 MiB
Plaintext
Raw Normal View History

{
"cells": [
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"from plot_note_analysis import plot_all_note_durations\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAABDoAABrkCAYAAAC6+Id1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3Xdc1Wea9/HPafSuiPQioGJHUSxgQew1MZqeMckkmZlk2rPzzM7uzO7O7mR2Z2efqdkpmdRJj0nsBRVFUFQQe0NAOIB0qaeX3+/54wjRgEo/SO7365VXTDjlhsM5nvt7rvu6FLIsIwiCIAiCIAiCIAiCMBwonb0AQRAEQRAEQRAEQRCE/iKCDkEQBEEQBEEQBEEQhg0RdAiCIAiCIAiCIAiCMGyIoEMQBEEQBEEQBEEQhGFDBB2CIAiCIAiCIAiCIAwbIugQBEEQBEEQBEEQBGHYEEGHIAiCIAiCIAiCIAjDhgg6BEEQBEEQBEEQBEEYNkTQIQiCIAiCIAiCIAjCsKF29gLuZeTIkXJUVJSzlyEIgiAIgiAIgiAIgpMVFBQ0yLIceL/LDemgIyoqilOnTjl7GYIgCIIgCIIgCIIgOJlCodB253Li6IogCIIgCIIgCIIgCMOGCDoEQRAEQRAEQRAEQRg2RNAhCIIgCIIgCIIgCMKwIYIOQRAEQRAEQRAEQRCGDRF0CIIgCIIgCIIgCIIwbIigQxAEQRAEQRAEQRCEYUMEHYIgCIIgCIIgCIIgDBsi6BAEQRAEQRAEQRAEYdgQQYcgCIIgCIIgCIIgCMOGCDoEQRAEQRAEQRAEQRg2RNAhCIIgCII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},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
" durFn = \"/home/kevin/temp/cache_note_dur.pickle\"\n",
" yamlFn= \"/home/kevin/src/picadae_ac_3/p_ac.yml\"\n",
" axisN=12\n",
" minDurMs=800\n",
" maxPulseUs=40000\n",
" plot_all_note_durations(durFn, np.arange(24,108),axisN,yamlFn,minDurMs,maxPulseUs)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"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.7.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}