Skip to content

Commit

Permalink
remove old syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Oct 10, 2024
1 parent e0972cb commit 1c16f33
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions notebooks/aurora/06_yellowstone_1024Hz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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')"
]
Expand All @@ -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"
}
Expand Down Expand Up @@ -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"
]
},
{
Expand Down Expand Up @@ -1164,9 +1154,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "py37",
"display_name": "aurora-test",
"language": "python",
"name": "py37"
"name": "aurora-test"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1178,7 +1168,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.9.19"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 1c16f33

Please sign in to comment.