{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"# This Python 3 environment comes with many helpful analytics libraries installed\n# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python\n# For example, here's several helpful packages to load\n\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\n\n# Input data files are available in the read-only \"../input/\" directory\n# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory\n\nimport os\nfor dirname, _, filenames in os.walk('/kaggle/input'):\n    for filename in filenames:\n        print(os.path.join(dirname, filename))\n\n# You can write up to 20GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using \"Save & Run All\" \n# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2021-07-11T11:10:27.617863Z","iopub.execute_input":"2021-07-11T11:10:27.61817Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!python -m pip install gwpy ","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:14:55.660196Z","iopub.execute_input":"2021-07-11T11:14:55.660754Z","iopub.status.idle":"2021-07-11T11:15:12.090004Z","shell.execute_reply.started":"2021-07-11T11:14:55.660653Z","shell.execute_reply":"2021-07-11T11:15:12.089207Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"from gwpy.timeseries import TimeSeries\nfrom gwpy.plot import Plot\nimport numpy as np\nfrom scipy import signal\nfrom sklearn.preprocessing import MinMaxScaler\nfrom PIL import Image\nfrom matplotlib import pyplot as plt","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:15:23.521987Z","iopub.execute_input":"2021-07-11T11:15:23.52234Z","iopub.status.idle":"2021-07-11T11:15:25.840948Z","shell.execute_reply.started":"2021-07-11T11:15:23.522309Z","shell.execute_reply":"2021-07-11T11:15:25.839822Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"def read_f(fna):\n    data = np.load(fna)\n    d1 = TimeSeries(data[0,:], sample_rate=2048)\n    d2 = TimeSeries(data[1,:], sample_rate=2048)\n    d3 = TimeSeries(data[2,:], sample_rate=2048)\n    return d1, d2, d3\n\ndef plot_time_data(d1, d2, d3):\n    plot = Plot(d1, d2, d3, separate=True, sharex=True, figsize=[12, 8])\n    ax = plot.gca()\n    ax.set_xlim(0,2)\n    ax.set_xlabel('Time (in s)')\n    plot.show()","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:16:04.033369Z","iopub.execute_input":"2021-07-11T11:16:04.03372Z","iopub.status.idle":"2021-07-11T11:16:04.041441Z","shell.execute_reply.started":"2021-07-11T11:16:04.033678Z","shell.execute_reply":"2021-07-11T11:16:04.040392Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"gw1,gw2,gw3=read_f(\"../input/g2net-gravitational-wave-detection/test/0/0/0/00005bced6.npy\")","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:01:30.903528Z","iopub.execute_input":"2021-07-11T10:01:30.90388Z","iopub.status.idle":"2021-07-11T10:01:30.928088Z","shell.execute_reply.started":"2021-07-11T10:01:30.90385Z","shell.execute_reply":"2021-07-11T10:01:30.927216Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00005bced6.npy')\nhq = r1.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nfig4.colorbars[0].mappable.set_clim(0,20)","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:02:09.141457Z","iopub.execute_input":"2021-07-11T10:02:09.141845Z","iopub.status.idle":"2021-07-11T10:02:11.155954Z","shell.execute_reply.started":"2021-07-11T10:02:09.141803Z","shell.execute_reply":"2021-07-11T10:02:11.155115Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00005bced6.npy')\nhq = r2.q_transform(outseg=(0,1.4))\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\n","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:06:52.039793Z","iopub.execute_input":"2021-07-11T10:06:52.040339Z","iopub.status.idle":"2021-07-11T10:06:53.954049Z","shell.execute_reply.started":"2021-07-11T10:06:52.040303Z","shell.execute_reply":"2021-07-11T10:06:53.953195Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00005bced6.npy')\nhq = r3.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:08:26.206803Z","iopub.execute_input":"2021-07-11T10:08:26.207211Z","iopub.status.idle":"2021-07-11T10:08:28.320962Z","shell.execute_reply.started":"2021-07-11T10:08:26.207174Z","shell.execute_reply":"2021-07-11T10:08:28.319756Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0000806717.npy')\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:11:20.65452Z","iopub.execute_input":"2021-07-11T10:11:20.655053Z","iopub.status.idle":"2021-07-11T10:11:22.524223Z","shell.execute_reply.started":"2021-07-11T10:11:20.655013Z","shell.execute_reply":"2021-07-11T10:11:22.523197Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0000806717.npy')\nhq = r3.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:12:19.743175Z","iopub.execute_input":"2021-07-11T10:12:19.743522Z","iopub.status.idle":"2021-07-11T10:12:21.627542Z","shell.execute_reply.started":"2021-07-11T10:12:19.743491Z","shell.execute_reply":"2021-07-11T10:12:21.626449Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0000ef4fe1.npy')\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nfig4.colorbars[0].mappable.set_clim(0,40)","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:15:02.961337Z","iopub.execute_input":"2021-07-11T10:15:02.961887Z","iopub.status.idle":"2021-07-11T10:15:04.967311Z","shell.execute_reply.started":"2021-07-11T10:15:02.961833Z","shell.execute_reply":"2021-07-11T10:15:04.9665Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0000ef4fe1.npy')\nhq = r3.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:20:38.560877Z","iopub.execute_input":"2021-07-11T10:20:38.561271Z","iopub.status.idle":"2021-07-11T10:20:40.761407Z","shell.execute_reply.started":"2021-07-11T10:20:38.561235Z","shell.execute_reply":"2021-07-11T10:20:40.760414Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00020de251.npy')\nhq = r1.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T10:22:18.544933Z","iopub.execute_input":"2021-07-11T10:22:18.545323Z","iopub.status.idle":"2021-07-11T10:22:20.398214Z","shell.execute_reply.started":"2021-07-11T10:22:18.545292Z","shell.execute_reply":"2021-07-11T10:22:20.397159Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00020de251.npy')\nhq = r3.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:17:17.926872Z","iopub.execute_input":"2021-07-11T11:17:17.92722Z","iopub.status.idle":"2021-07-11T11:17:19.609586Z","shell.execute_reply.started":"2021-07-11T11:17:17.927186Z","shell.execute_reply":"2021-07-11T11:17:19.608811Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00024887b5.npy')\nhq = r1.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nfig4.colorbars[0].mappable.set_clim(0,40)","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:20:22.272168Z","iopub.execute_input":"2021-07-11T11:20:22.272675Z","iopub.status.idle":"2021-07-11T11:20:23.955141Z","shell.execute_reply.started":"2021-07-11T11:20:22.272634Z","shell.execute_reply":"2021-07-11T11:20:23.954434Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00024887b5.npy')\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nfig4.colorbars[0].mappable.set_clim(0,40)","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:22:49.048918Z","iopub.execute_input":"2021-07-11T11:22:49.049495Z","iopub.status.idle":"2021-07-11T11:22:50.954901Z","shell.execute_reply.started":"2021-07-11T11:22:49.049461Z","shell.execute_reply":"2021-07-11T11:22:50.954113Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00024887b5.npy')\nhq = r3.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nfig4.colorbars[0].mappable.set_clim(0,40)","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:23:26.372774Z","iopub.execute_input":"2021-07-11T11:23:26.373342Z","iopub.status.idle":"2021-07-11T11:23:28.055886Z","shell.execute_reply.started":"2021-07-11T11:23:26.373309Z","shell.execute_reply":"2021-07-11T11:23:28.054962Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0002b00931.npy')\nhq = r1.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nfig4.colorbars[0].mappable.set_clim(0,40)","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:24:53.304274Z","iopub.execute_input":"2021-07-11T11:24:53.304761Z","iopub.status.idle":"2021-07-11T11:24:55.06037Z","shell.execute_reply.started":"2021-07-11T11:24:53.304722Z","shell.execute_reply":"2021-07-11T11:24:55.05919Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0002b00931.npy')\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:27:50.25194Z","iopub.execute_input":"2021-07-11T11:27:50.252406Z","iopub.status.idle":"2021-07-11T11:27:51.872114Z","shell.execute_reply.started":"2021-07-11T11:27:50.252376Z","shell.execute_reply":"2021-07-11T11:27:51.871305Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0002b00931.npy')\nhq = r3.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:28:23.977453Z","iopub.execute_input":"2021-07-11T11:28:23.978054Z","iopub.status.idle":"2021-07-11T11:28:25.603297Z","shell.execute_reply.started":"2021-07-11T11:28:23.978019Z","shell.execute_reply":"2021-07-11T11:28:25.602511Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0003259f74.npy')\nhq = r1.q_transform()\nfig4 = hq.plot(figsize=[12,7])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:29:54.92278Z","iopub.execute_input":"2021-07-11T11:29:54.923137Z","iopub.status.idle":"2021-07-11T11:29:56.748419Z","shell.execute_reply.started":"2021-07-11T11:29:54.923093Z","shell.execute_reply":"2021-07-11T11:29:56.747662Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0003259f74.npy')\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:30:47.658382Z","iopub.execute_input":"2021-07-11T11:30:47.658996Z","iopub.status.idle":"2021-07-11T11:30:49.374658Z","shell.execute_reply.started":"2021-07-11T11:30:47.658961Z","shell.execute_reply":"2021-07-11T11:30:49.373413Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0003259f74.npy')\nhq = r3.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:31:28.719435Z","iopub.execute_input":"2021-07-11T11:31:28.719788Z","iopub.status.idle":"2021-07-11T11:31:30.342986Z","shell.execute_reply.started":"2021-07-11T11:31:28.719756Z","shell.execute_reply":"2021-07-11T11:31:30.342062Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/000532d9b1.npy')\nhq = r1.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:32:50.711726Z","iopub.execute_input":"2021-07-11T11:32:50.712062Z","iopub.status.idle":"2021-07-11T11:32:52.41414Z","shell.execute_reply.started":"2021-07-11T11:32:50.712035Z","shell.execute_reply":"2021-07-11T11:32:52.413059Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/000532d9b1.npy')\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');\n","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:35:25.42945Z","iopub.execute_input":"2021-07-11T11:35:25.42995Z","iopub.status.idle":"2021-07-11T11:35:28.798005Z","shell.execute_reply.started":"2021-07-11T11:35:25.429918Z","shell.execute_reply":"2021-07-11T11:35:28.79721Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00053de60c.npy')\nhq0 = r1.q_transform()\nfig40 = hq0.plot(figsize=[12,8])\nax0 = fig40.gca()\nfig40.colorbar(label=\"Normalised energy\")\nax0.grid(False)\nax0.set_xlabel('Time [s]');\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:39:39.538575Z","iopub.execute_input":"2021-07-11T11:39:39.538944Z","iopub.status.idle":"2021-07-11T11:39:44.800886Z","shell.execute_reply.started":"2021-07-11T11:39:39.53891Z","shell.execute_reply":"2021-07-11T11:39:44.79986Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00055a3ff5.npy')\nhq0 = r1.q_transform()\nfig40 = hq0.plot(figsize=[12,8])\nax0 = fig40.gca()\nfig40.colorbar(label=\"Normalised energy\")\nax0.grid(False)\nax0.set_xlabel('Time [s]');\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:43:42.199093Z","iopub.execute_input":"2021-07-11T11:43:42.199445Z","iopub.status.idle":"2021-07-11T11:43:47.288406Z","shell.execute_reply.started":"2021-07-11T11:43:42.199408Z","shell.execute_reply":"2021-07-11T11:43:47.287382Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/00057291a8.npy')\nhq0 = r1.q_transform()\nfig40 = hq0.plot(figsize=[12,8])\nax0 = fig40.gca()\nfig40.colorbar(label=\"Normalised energy\")\nax0.grid(False)\nax0.set_xlabel('Time [s]');\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:46:47.245865Z","iopub.execute_input":"2021-07-11T11:46:47.246203Z","iopub.status.idle":"2021-07-11T11:46:52.523336Z","shell.execute_reply.started":"2021-07-11T11:46:47.246166Z","shell.execute_reply":"2021-07-11T11:46:52.522691Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/000607be1c.npy')\nhq0 = r1.q_transform()\nfig40 = hq0.plot(figsize=[12,8])\nax0 = fig40.gca()\nfig40.colorbar(label=\"Normalised energy\")\nax0.grid(False)\nax0.set_xlabel('Time [s]');\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:55:00.002581Z","iopub.execute_input":"2021-07-11T11:55:00.002935Z","iopub.status.idle":"2021-07-11T11:55:05.047907Z","shell.execute_reply.started":"2021-07-11T11:55:00.002904Z","shell.execute_reply":"2021-07-11T11:55:05.046896Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0006453925.npy')\nhq0 = r1.q_transform()\nfig40 = hq0.plot(figsize=[12,8])\nax0 = fig40.gca()\nfig40.colorbar(label=\"Normalised energy\")\nax0.grid(False)\nax0.set_xlabel('Time [s]');\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T11:56:50.903851Z","iopub.execute_input":"2021-07-11T11:56:50.904365Z","iopub.status.idle":"2021-07-11T11:56:56.20787Z","shell.execute_reply.started":"2021-07-11T11:56:50.904331Z","shell.execute_reply":"2021-07-11T11:56:56.206922Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/000647cb6f.npy')\nhq0 = r1.q_transform()\nfig40 = hq0.plot(figsize=[12,8])\nax0 = fig40.gca()\nfig40.colorbar(label=\"Normalised energy\")\nax0.grid(False)\nax0.set_xlabel('Time [s]');\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nfig4.colorbars[0].mappable.set_clim(0,30)\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T12:01:45.931255Z","iopub.execute_input":"2021-07-11T12:01:45.931593Z","iopub.status.idle":"2021-07-11T12:01:51.218928Z","shell.execute_reply.started":"2021-07-11T12:01:45.931555Z","shell.execute_reply":"2021-07-11T12:01:51.218197Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"r1, r2, r3 = read_f('../input/g2net-gravitational-wave-detection/test/0/0/0/0006b8c248.npy')\nhq0 = r1.q_transform()\nfig40 = hq0.plot(figsize=[12,8])\nax0 = fig40.gca()\nfig40.colorbar(label=\"Normalised energy\")\nax0.grid(False)\nax0.set_xlabel('Time [s]');\nhq = r2.q_transform()\nfig4 = hq.plot(figsize=[12,10])\nax = fig4.gca()\nfig4.colorbar(label=\"Normalised energy\")\nax.grid(False)\nax.set_xlabel('Time [s]');\nhq1 = r3.q_transform()\nfig41 = hq1.plot(figsize=[12,10])\nax1 = fig41.gca()\nfig41.colorbar(label=\"Normalised energy\")\nax1.grid(False)\nax1.set_xlabel('Time [s]');","metadata":{"execution":{"iopub.status.busy":"2021-07-11T12:03:23.158442Z","iopub.execute_input":"2021-07-11T12:03:23.159038Z","iopub.status.idle":"2021-07-11T12:03:28.369029Z","shell.execute_reply.started":"2021-07-11T12:03:23.159005Z","shell.execute_reply":"2021-07-11T12:03:28.368037Z"},"trusted":true},"execution_count":null,"outputs":[]}]}