77 lines
633 KiB
Plaintext
77 lines
633 KiB
Plaintext
|
{
|
||
|
"cells": [
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 25,
|
||
|
"metadata": {
|
||
|
"scrolled": false
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAABDsAACYKCAYAAAAWt1mfAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvOIA7rQAAIABJREFUeJzs3Wd4XOWd9/HvmV7Uu2R1V7l3SYBlimkhEDZAQjCQBsnmSWOTbM2T7GZJstk82SS7m+xmE7IhCSaBAIFAqKbYxpZc5F5k2VaxZPUuzUijKed5MUK2sAEDki3Lv8916ZrRmVPuM34hz2/+9/82TNNERERERERERGSqsJzvAYiIiIiIiIiIjCeFHSIiIiIiIiIypSjsEBEREREREZEpRWGHiIiIiIiIiEwpCjtEREREREREZEpR2CEiIiIiIiIiU4rCDhERERERERGZUhR2iIiIiIiIiMiUorBDRERERERERKYUhR0iIiIiIiIiMqXYzvcAzkZKSoqZn59/vochIiIiIiIiIudRZWVlh2maqe+03wURduTn57Njx47zPQwREREREREROY8Mw6g/m/00jUVEREREREREphSFHSIiIiIiIiIypSjsEBEREREREZEpRWGHiIiIiIiIiEwpCjtEREREREREZEpR2CEiIiIiIiIiU4rCDhERERERERGZUhR2iIiIiIiIiMiUorBDRERERERERKYUhR0iIiIiIiIiMqUo7BARERERERGRKUVhh4iIiIiIiIhMKQo7RERERERERGRKUdghIiIiIiIiIlOKwg4RERERERERmVIUdoiIiIiIiIjIlKKwQ0RERERERESmFIUdIiIiIiIictGorO/mp68epbK++3wPRSaQ7XwPQERERERERGSiBUJh/rS7iX/44z7CERO71cLD9xSzLD/pfA9NJoDCDhEREREREZkyTNO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Ix3s7Igicx4F5kJbqYlRLdlxbuJc9vecsrJwpyEi7qqYFleIg/fW3JRvwcXI4vFICXGSUqMkztL8nhufzPBUDTwKilMPt/DmzCaxiIiIiIiMsUEwxEOt/Szu6GH3Q09VNR00tg9+L7OaRhEQw/jlDDEanlTOPKmkMR6crsvEKKqpZ/IW3z8MAxIjXGSleAmayS8yIx3MS3BTWaCe3TZzgt1ZQ6RyeJCn0qkaSwiIiIiIhcB0zQ53uVnd0MPexp62dPYw/4TvQRGGm8mex3Ee+wYgAlYDPjQ4mlcOy+dUMQkHDEJhUceIybhSOTk9lNfN095LWy+aZ83HRM+fXvfUGg06DCAVTNT+PDSbDLjXWQluEmPc73nPhAicvYulqlECjtERERERC4gXb5h9oxUbOxp7GFPQw/dI0tUuuwWFkyL566SPBblJLA4J4HsRDc7j/eMLndpt1m4syTvnH/YOXXJTbvNwpfXzLooPnCJyPmhaSwiIiIiIpPUUDDMgaZedh3vYU9jL3saejje5QeiFRqz0mNZlJ3AopwEFuXEMzs9Fpv1zNURk6F0fTKMQUQubFp6VkRERETkAhKOmBxrH2D38R52j1RsVLX0Ex6Z+5EV72JxbsJouLFgWjxepwq1ReTiop4dIiIiIjJpTIZv9M/3GE69/tLcBFr6htjT0MOuhmiwsa+xF99wdPWRWJeNRdkJfG719GjVRnY8aXGucz5mEZELlcIOEREREZlQlfXdrP1FBcPhCDaLwdeunU1BSgzhiEnENMc8nnwOYdMkEnnT66PbTnn9lP3eeB4xxx7f1j/EpiMdREywGgZls1JIi3VhsYBhGFgMsBjGKT/R5RqN0e3R44wzvG4d2XbqvhbL2HM1dPn5+aYaQmETw4B4t320z4bdajA3M45blmWzOCdatVGQ7NW
|
||
|
"text/plain": [
|
||
|
"<Figure size 1332x12852 with 17 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"#%load_ext autoreload\n",
|
||
|
"%autoreload 2\n",
|
||
|
"\n",
|
||
|
"import numpy as np\n",
|
||
|
"from common import parse_yaml_cfg\n",
|
||
|
"from plot_seq import plot_noise_regions_main\n",
|
||
|
"\n",
|
||
|
"inDir = \"/home/kevin/temp/p_ac_3e\"\n",
|
||
|
"cfgFn = \"p_ac.yml\"\n",
|
||
|
"pitchL = [60,61,62,63,64,65,66,67,68,69,70,71,72]\n",
|
||
|
"pitchL = np.arange(48,60)\n",
|
||
|
"pitchL = np.arange(36,60)\n",
|
||
|
"pitchL = [40,41,42,43,44,45,46,47,48,49,50,51,52,60,61,62,63]\n",
|
||
|
"\n",
|
||
|
"minDurMs = 800.0\n",
|
||
|
"minDb = 10.0\n",
|
||
|
"noiseLimitPct = 5.0\n",
|
||
|
"\n",
|
||
|
"cfg = parse_yaml_cfg( cfgFn )\n",
|
||
|
"\n",
|
||
|
"plot_noise_regions_main( inDir, cfg, pitchL, minDurMs, minDb, noiseLimitPct )"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"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
|
||
|
}
|