From 1c16f334ee7cb4f36d9cfb8a7ad93e9ca993adc8 Mon Sep 17 00:00:00 2001 From: "Karl N. Kappler" Date: Sat, 5 Oct 2024 15:19:43 -0700 Subject: [PATCH] remove old syntax --- notebooks/aurora/06_yellowstone_1024Hz.ipynb | 30 +++++++------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/notebooks/aurora/06_yellowstone_1024Hz.ipynb b/notebooks/aurora/06_yellowstone_1024Hz.ipynb index 747b3e3..a59ac81 100644 --- a/notebooks/aurora/06_yellowstone_1024Hz.ipynb +++ b/notebooks/aurora/06_yellowstone_1024Hz.ipynb @@ -12,18 +12,10 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "id": "4e8f8c58-ea22-425f-8364-576e57b02411", "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2022-10-16 18:24:26,935 [line 135] mth5.setup_logger - INFO: Logging file can be found /home/kkappler/software/irismt/mth5/logs/mth5_debug.log\n" - ] - } - ], + "outputs": [], "source": [ "# Required imports for the program. \n", "import numpy as np\n", @@ -38,8 +30,7 @@ "from aurora.config import BANDS_DEFAULT_FILE\n", "from aurora.config.config_creator import ConfigCreator\n", "from aurora.pipelines.process_mth5 import process_mth5\n", - "from aurora.transfer_function.kernel_dataset import KernelDataset\n", - "from aurora.pipelines.run_summary import RunSummary\n", + "from mtpy.processing import KernelDataset, RunSummary\n", "\n", "warnings.filterwarnings('ignore')" ] @@ -54,17 +45,17 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 4, "id": "be989c19-50d9-4129-8dd8-bca01b880161", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "True" + "False" ] }, - "execution_count": 2, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -467,8 +458,7 @@ "source": [ "mth5_run_summary = RunSummary()\n", "mth5_run_summary.from_mth5s([mth5_path,])\n", - "run_summary = mth5_run_summary.clone()\n", - "run_summary.add_duration()" + "run_summary = mth5_run_summary.clone()\n" ] }, { @@ -1164,9 +1154,9 @@ ], "metadata": { "kernelspec": { - "display_name": "py37", + "display_name": "aurora-test", "language": "python", - "name": "py37" + "name": "aurora-test" }, "language_info": { "codemirror_mode": { @@ -1178,7 +1168,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.10" + "version": "3.9.19" } }, "nbformat": 4,