From 91d5f17911e6af706fea055792480120bc3c8b0c Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Tue, 23 Mar 2021 14:42:30 +0100 Subject: [PATCH] isort --- .../Characterize_AGIPD_Gain_Darks_NBC.ipynb | 39 +++++++++++++------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb index b1a033fa3..22ee77702 100644 --- a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb +++ b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb @@ -77,13 +77,12 @@ "metadata": {}, "outputs": [], "source": [ - "from datetime import datetime\n", - "\n", - "import dateutil.parser\n", "import os\n", "from collections import OrderedDict\n", + "from datetime import datetime\n", "from typing import Tuple\n", "\n", + "import dateutil.parser\n", "import h5py\n", "import matplotlib\n", "import numpy as np\n", @@ -98,16 +97,32 @@ "\n", "import multiprocessing\n", "\n", - "from cal_tools.agipdlib import (get_acq_rate, get_bias_voltage, get_gain_mode,\n", - " get_gain_setting, get_num_cells)\n", + "from cal_tools.agipdlib import (\n", + " get_acq_rate,\n", + " get_bias_voltage,\n", + " get_gain_mode,\n", + " get_gain_setting,\n", + " get_num_cells,\n", + ")\n", "from cal_tools.enums import AgipdGainMode\n", - "from cal_tools.plotting import (create_constant_overview, plot_badpix_3d,\n", - " show_overview, show_processed_modules)\n", - "from cal_tools.tools import (get_dir_creation_date, get_from_db,\n", - " get_pdu_from_db, get_random_db_interface,\n", - " get_report, map_gain_stages, module_index_to_qm,\n", - " run_prop_seq_from_path, save_const_to_h5,\n", - " send_to_db)\n", + "from cal_tools.plotting import (\n", + " create_constant_overview,\n", + " plot_badpix_3d,\n", + " show_overview,\n", + " show_processed_modules,\n", + ")\n", + "from cal_tools.tools import (\n", + " get_dir_creation_date,\n", + " get_from_db,\n", + " get_pdu_from_db,\n", + " get_random_db_interface,\n", + " get_report,\n", + " map_gain_stages,\n", + " module_index_to_qm,\n", + " run_prop_seq_from_path,\n", + " save_const_to_h5,\n", + " send_to_db,\n", + ")\n", "from iCalibrationDB import Conditions, Constants, Detectors" ] }, -- GitLab