analyseScript/Example.ipynb

5906 lines
1.9 MiB
Plaintext
Raw Normal View History

2023-05-07 23:41:31 +02:00
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"# Import supporting package"
]
},
{
"cell_type": "code",
2023-05-16 15:51:13 +02:00
"execution_count": 1,
2023-05-07 23:41:31 +02:00
"metadata": {},
"outputs": [],
"source": [
"import xarray as xr\n",
"import numpy as np\n",
"\n",
"from uncertainties import ufloat\n",
"from uncertainties import unumpy as unp\n",
"from uncertainties import umath\n",
"\n",
"import matplotlib.pyplot as plt\n",
"\n",
"from DataContainer.ReadData import read_hdf5_file\n",
"from Analyser.ImagingAnalyser import ImageAnalyser\n",
"from Analyser.FitAnalyser import FitAnalyser\n",
2023-05-24 16:54:29 +02:00
"from Analyser.FitAnalyser import ThomasFermi2dModel, DensityProfileBEC2dModel, Polylog22dModel\n",
"from Analyser.FitAnalyser import NewFitModel\n",
2023-05-07 23:41:31 +02:00
"from ToolFunction.ToolFunction import *\n",
"\n",
"from ToolFunction.HomeMadeXarrayFunction import errorbar, dataarray_plot_errorbar\n",
"xr.plot.dataarray_plot.errorbar = errorbar\n",
"xr.plot.accessor.DataArrayPlotAccessor.errorbar = dataarray_plot_errorbar\n",
"\n",
"imageAnalyser = ImageAnalyser()"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"## Start a client for parallel computing"
]
},
{
"cell_type": "code",
2023-05-16 15:51:13 +02:00
"execution_count": 2,
2023-05-07 23:41:31 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
" <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <h3 style=\"margin-bottom: 0px;\">Client</h3>\n",
2023-06-02 18:42:18 +02:00
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Client-fc3843c8-fadb-11ed-a51c-80e82ce2fa8e</p>\n",
2023-05-07 23:41:31 +02:00
" <table style=\"width: 100%; text-align: left;\">\n",
"\n",
" <tr>\n",
" \n",
" <td style=\"text-align: left;\"><strong>Connection method:</strong> Cluster object</td>\n",
" <td style=\"text-align: left;\"><strong>Cluster type:</strong> distributed.LocalCluster</td>\n",
" \n",
" </tr>\n",
"\n",
" \n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-05-24 16:54:29 +02:00
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" \n",
"\n",
" </table>\n",
"\n",
" \n",
"\n",
" \n",
" <details>\n",
" <summary style=\"margin-bottom: 20px;\"><h3 style=\"display: inline;\">Cluster Info</h3></summary>\n",
" <div class=\"jp-RenderedHTMLCommon jp-RenderedHTML jp-mod-trusted jp-OutputArea-output\">\n",
" <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\">\n",
" </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <h3 style=\"margin-bottom: 0px; margin-top: 0px;\">LocalCluster</h3>\n",
2023-06-02 18:42:18 +02:00
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">e14d6635</p>\n",
2023-05-07 23:41:31 +02:00
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-05-24 16:54:29 +02:00
" <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Workers:</strong> 6\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads:</strong> 60\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total memory:</strong> 55.88 GiB\n",
" </td>\n",
" </tr>\n",
" \n",
" <tr>\n",
" <td style=\"text-align: left;\"><strong>Status:</strong> running</td>\n",
" <td style=\"text-align: left;\"><strong>Using processes:</strong> True</td>\n",
"</tr>\n",
"\n",
" \n",
" </table>\n",
"\n",
" <details>\n",
" <summary style=\"margin-bottom: 20px;\">\n",
" <h3 style=\"display: inline;\">Scheduler Info</h3>\n",
" </summary>\n",
"\n",
" <div style=\"\">\n",
" <div>\n",
" <div style=\"width: 24px; height: 24px; background-color: #FFF7E5; border: 3px solid #FF6132; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <h3 style=\"margin-bottom: 0px;\">Scheduler</h3>\n",
2023-06-02 18:42:18 +02:00
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Scheduler-3866362b-3b45-437d-8937-ad32036a1238</p>\n",
2023-05-07 23:41:31 +02:00
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Comm:</strong> tcp://127.0.0.1:63013\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Workers:</strong> 6\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-05-24 16:54:29 +02:00
" <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads:</strong> 60\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Started:</strong> Just now\n",
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total memory:</strong> 55.88 GiB\n",
" </td>\n",
" </tr>\n",
" </table>\n",
" </div>\n",
" </div>\n",
"\n",
" <details style=\"margin-left: 48px;\">\n",
" <summary style=\"margin-bottom: 20px;\">\n",
" <h3 style=\"display: inline;\">Workers</h3>\n",
" </summary>\n",
"\n",
" \n",
" <div style=\"margin-bottom: 20px;\">\n",
" <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <details>\n",
" <summary>\n",
" <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 0</h4>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Comm: </strong> tcp://127.0.0.1:63049\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 10\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:63050/status\" target=\"_blank\">http://127.0.0.1:63050/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 9.31 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Nanny: </strong> tcp://127.0.0.1:63016\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-sv8_3syy\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" </tr>\n",
"\n",
" \n",
"\n",
" \n",
"\n",
" </table>\n",
" </details>\n",
" </div>\n",
" </div>\n",
" \n",
" <div style=\"margin-bottom: 20px;\">\n",
" <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <details>\n",
" <summary>\n",
" <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 1</h4>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Comm: </strong> tcp://127.0.0.1:63040\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 10\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:63041/status\" target=\"_blank\">http://127.0.0.1:63041/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 9.31 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Nanny: </strong> tcp://127.0.0.1:63017\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-pmp8t7_h\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" </tr>\n",
"\n",
" \n",
"\n",
" \n",
"\n",
" </table>\n",
" </details>\n",
" </div>\n",
" </div>\n",
" \n",
" <div style=\"margin-bottom: 20px;\">\n",
" <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <details>\n",
" <summary>\n",
" <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 2</h4>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Comm: </strong> tcp://127.0.0.1:63044\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 10\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:63045/status\" target=\"_blank\">http://127.0.0.1:63045/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 9.31 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Nanny: </strong> tcp://127.0.0.1:63018\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-d9qbkuuf\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" </tr>\n",
"\n",
" \n",
"\n",
" \n",
"\n",
" </table>\n",
" </details>\n",
" </div>\n",
" </div>\n",
" \n",
" <div style=\"margin-bottom: 20px;\">\n",
" <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <details>\n",
" <summary>\n",
" <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 3</h4>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Comm: </strong> tcp://127.0.0.1:63052\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 10\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:63053/status\" target=\"_blank\">http://127.0.0.1:63053/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 9.31 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Nanny: </strong> tcp://127.0.0.1:63019\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-eofele_q\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" </tr>\n",
"\n",
" \n",
"\n",
" \n",
"\n",
" </table>\n",
" </details>\n",
" </div>\n",
" </div>\n",
" \n",
" <div style=\"margin-bottom: 20px;\">\n",
" <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <details>\n",
" <summary>\n",
" <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 4</h4>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Comm: </strong> tcp://127.0.0.1:63055\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 10\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:63056/status\" target=\"_blank\">http://127.0.0.1:63056/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 9.31 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Nanny: </strong> tcp://127.0.0.1:63020\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-lzt58yq9\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" </tr>\n",
"\n",
" \n",
"\n",
" \n",
"\n",
" </table>\n",
" </details>\n",
" </div>\n",
" </div>\n",
" \n",
" <div style=\"margin-bottom: 20px;\">\n",
" <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
" <div style=\"margin-left: 48px;\">\n",
" <details>\n",
" <summary>\n",
" <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 5</h4>\n",
" </summary>\n",
" <table style=\"width: 100%; text-align: left;\">\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Comm: </strong> tcp://127.0.0.1:63043\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Total threads: </strong> 10\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:63047/status\" target=\"_blank\">http://127.0.0.1:63047/status</a>\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\">\n",
" <strong>Memory: </strong> 9.31 GiB\n",
" </td>\n",
" </tr>\n",
" <tr>\n",
" <td style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Nanny: </strong> tcp://127.0.0.1:63021\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" <td style=\"text-align: left;\"></td>\n",
" </tr>\n",
" <tr>\n",
" <td colspan=\"2\" style=\"text-align: left;\">\n",
2023-06-02 18:42:18 +02:00
" <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-wu5l2cny\n",
2023-05-07 23:41:31 +02:00
" </td>\n",
" </tr>\n",
"\n",
" \n",
"\n",
" \n",
"\n",
" </table>\n",
" </details>\n",
" </div>\n",
" </div>\n",
" \n",
"\n",
" </details>\n",
"</div>\n",
"\n",
" </details>\n",
" </div>\n",
"</div>\n",
" </details>\n",
" \n",
"\n",
" </div>\n",
"</div>"
],
"text/plain": [
2023-06-02 18:42:18 +02:00
"<Client: 'tcp://127.0.0.1:63013' processes=6 threads=60, memory=55.88 GiB>"
2023-05-07 23:41:31 +02:00
]
},
2023-05-16 15:51:13 +02:00
"execution_count": 2,
2023-05-07 23:41:31 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from dask.distributed import Client\n",
"client = Client(n_workers=6, threads_per_worker=10, processes=True, memory_limit='10GB')\n",
"client"
]
},
{
2023-05-08 17:48:53 +02:00
"attachments": {},
2023-05-07 23:41:31 +02:00
"cell_type": "markdown",
"metadata": {},
"source": [
"## Set global path for experiment"
]
},
{
"cell_type": "code",
2023-05-16 15:51:13 +02:00
"execution_count": 3,
2023-05-07 23:41:31 +02:00
"metadata": {},
"outputs": [],
"source": [
"groupList = [\n",
" \"images/MOT_3D_Camera/in_situ_absorption\",\n",
2023-05-08 17:48:53 +02:00
" \"images/ODT_1_Axis_Camera/in_situ_absorption\",\n",
" \"images/ODT_2_Axis_Camera/in_situ_absorption\",\n",
2023-05-07 23:41:31 +02:00
"]\n",
"\n",
"dskey = {\n",
" \"images/MOT_3D_Camera/in_situ_absorption\": \"camera_1\",\n",
2023-05-08 17:48:53 +02:00
" \"images/ODT_1_Axis_Camera/in_situ_absorption\": \"camera_2\",\n",
" \"images/ODT_2_Axis_Camera/in_situ_absorption\": \"camera_3\",\n",
2023-05-07 23:41:31 +02:00
"}\n"
]
},
{
"cell_type": "code",
2023-05-16 15:51:13 +02:00
"execution_count": 4,
2023-05-07 23:41:31 +02:00
"metadata": {},
"outputs": [],
"source": [
2023-05-08 17:48:53 +02:00
"img_dir = '//DyLabNAS/Data/'\n",
2023-05-24 16:54:29 +02:00
"SequenceName = \"Evaporative_Cooling\" + \"/\"\n",
2023-06-02 18:42:18 +02:00
"folderPath = img_dir + SequenceName + '2023/05/25'# get_date()"
2023-05-07 23:41:31 +02:00
]
},
{
2023-05-08 17:48:53 +02:00
"attachments": {},
2023-05-07 23:41:31 +02:00
"cell_type": "markdown",
"metadata": {},
"source": [
"# An example for one experimental run"
]
},
{
2023-05-08 17:48:53 +02:00
"attachments": {},
2023-05-07 23:41:31 +02:00
"cell_type": "markdown",
"metadata": {},
"source": [
"## Load the data"
]
},
2023-05-19 18:52:33 +02:00
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
2023-06-02 18:42:18 +02:00
"Dimensions: (runs: 20, y: 1200, x: 1920)\n",
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 4.0 ... 15.0 16.0 17.0 18.0 19.0\n",
2023-05-24 16:54:29 +02:00
"Dimensions without coordinates: y, x\n",
"Data variables:\n",
2023-06-02 18:42:18 +02:00
" atoms (runs, y, x) uint16 dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;\n",
" background (runs, y, x) uint16 dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;\n",
" dark (runs, y, x) uint16 dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;\n",
" shotNum (runs) int64 dask.array&lt;chunksize=(20,), meta=np.ndarray&gt;\n",
" OD (runs, y, x) float64 dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;\n",
2023-05-19 18:52:33 +02:00
"Attributes: (12/120)\n",
2023-05-24 16:54:29 +02:00
" TOF_free: 0.022\n",
2023-05-19 18:52:33 +02:00
" abs_img_freq: 110.858\n",
" absorption_imaging_flag: True\n",
" backup_data: True\n",
" blink_off_time: 0.001\n",
" blink_on_time: 0.001\n",
" ... ...\n",
2023-06-02 18:42:18 +02:00
" y_offset_img: 0\n",
2023-05-19 18:52:33 +02:00
" z_offset: 0.189\n",
" z_offset_img: 0.189\n",
2023-06-02 18:42:18 +02:00
" runs: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. ...\n",
" scanAxis: [&#x27;runs&#x27;]\n",
" scanAxisLength: [20.]</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-af26bd6a-b2b0-4c1f-b0be-5cf18f574b11' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-af26bd6a-b2b0-4c1f-b0be-5cf18f574b11' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 20</li><li><span>y</span>: 1200</li><li><span>x</span>: 1920</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-7b2cf2b6-e9b0-4d18-abcc-5ebd11a82be5' class='xr-section-summary-in' type='checkbox' checked><label for='section-7b2cf2b6-e9b0-4d18-abcc-5ebd11a82be5' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 ... 17.0 18.0 19.0</div><input id='attrs-b4192b24-09c3-4763-8d23-9465e5b99bab' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b4192b24-09c3-4763-8d23-9465e5b99bab' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d82724f0-4af6-493f-a289-3b9c4543bbdb' class='xr-var-data-in' type='checkbox'><label for='data-d82724f0-4af6-493f-a289-3b9c4543bbdb' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13.,\n",
" 14., 15., 16., 17., 18., 19.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-61e20b2b-dee5-420c-9894-590ee4850652' class='xr-section-summary-in' type='checkbox' checked><label for='section-61e20b2b-dee5-420c-9894-590ee4850652' class='xr-section-summary' >Data variables: <span>(5)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>atoms</span></div><div class='xr-var-dims'>(runs, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-967e3ce3-eb7b-4f64-80e4-da89b1fc3a1a' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-967e3ce3-eb7b-4f64-80e4-da89b1fc3a1a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c1ed8e83-7671-46c2-a568-640aecb4ff95' class='xr-var-data-in' type='checkbox'><label for='data-c1ed8e83-7671-46c2-a568-640aecb4ff95' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>IMAGE_SUBCLASS :</span></dt><dd>IMAGE_GRAYSCALE</dd><dt><span>IMAGE_VERSION :</span></dt><dd>1.2</dd><dt><span>IMAGE_WHITE_IS_ZERO :</span></dt><dd>0</dd></dl></div><div class='xr-var-data'><table>\n",
2023-05-19 18:52:33 +02:00
" <tr>\n",
" <td>\n",
" <table style=\"border-collapse: collapse;\">\n",
" <thead>\n",
" <tr>\n",
" <td> </td>\n",
" <th> Array </th>\n",
" <th> Chunk </th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" <th> Bytes </th>\n",
2023-06-02 18:42:18 +02:00
" <td> 87.89 MiB </td>\n",
" <td> 87.89 MiB </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" \n",
" <tr>\n",
" <th> Shape </th>\n",
2023-06-02 18:42:18 +02:00
" <td> (20, 1200, 1920) </td>\n",
" <td> (20, 1200, 1920) </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Dask graph </th>\n",
2023-06-02 18:42:18 +02:00
" <td colspan=\"2\"> 1 chunks in 62 graph layers </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Data type </th>\n",
2023-05-24 16:54:29 +02:00
" <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" </tbody>\n",
" </table>\n",
" </td>\n",
" <td>\n",
2023-06-02 18:42:18 +02:00
" <svg width=\"195\" height=\"140\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"10\" y1=\"75\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 25.064196541853565,15.064196541853565 25.064196541853565,90.06419654185356 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"130\" y1=\"0\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 130.0,0.0 145.06419654185356,15.064196541853565 25.064196541853565,15.064196541853565\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"90\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
" <line x1=\"145\" y1=\"15\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"25.064196541853565,15.064196541853565 145.06419654185356,15.064196541853565 145.06419654185356,90.06419654185356 25.064196541853565,90.06419654185356\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Text -->\n",
2023-06-02 18:42:18 +02:00
" <text x=\"85.064197\" y=\"110.064197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
" <text x=\"165.064197\" y=\"52.564197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,165.064197,52.564197)\">1200</text>\n",
" <text x=\"7.532098\" y=\"102.532098\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,7.532098,102.532098)\">20</text>\n",
2023-05-19 18:52:33 +02:00
"</svg>\n",
" </td>\n",
" </tr>\n",
2023-06-02 18:42:18 +02:00
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>background</span></div><div class='xr-var-dims'>(runs, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-7ab9e710-2ddb-4171-9175-9e410c10655b' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7ab9e710-2ddb-4171-9175-9e410c10655b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7b980688-69e3-4630-a2e3-ad5188da22b3' class='xr-var-data-in' type='checkbox'><label for='data-7b980688-69e3-4630-a2e3-ad5188da22b3' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>IMAGE_SUBCLASS :</span></dt><dd>IMAGE_GRAYSCALE</dd><dt><span>IMAGE_VERSION :</span></dt><dd>1.2</dd><dt><span>IMAGE_WHITE_IS_ZERO :</span></dt><dd>0</dd></dl></div><div class='xr-var-data'><table>\n",
2023-05-19 18:52:33 +02:00
" <tr>\n",
" <td>\n",
" <table style=\"border-collapse: collapse;\">\n",
" <thead>\n",
" <tr>\n",
" <td> </td>\n",
" <th> Array </th>\n",
" <th> Chunk </th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" <th> Bytes </th>\n",
2023-06-02 18:42:18 +02:00
" <td> 87.89 MiB </td>\n",
" <td> 87.89 MiB </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" \n",
" <tr>\n",
" <th> Shape </th>\n",
2023-06-02 18:42:18 +02:00
" <td> (20, 1200, 1920) </td>\n",
" <td> (20, 1200, 1920) </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Dask graph </th>\n",
2023-06-02 18:42:18 +02:00
" <td colspan=\"2\"> 1 chunks in 62 graph layers </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Data type </th>\n",
2023-05-24 16:54:29 +02:00
" <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" </tbody>\n",
" </table>\n",
" </td>\n",
" <td>\n",
2023-06-02 18:42:18 +02:00
" <svg width=\"195\" height=\"140\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
2023-05-19 18:52:33 +02:00
"\n",
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"10\" y1=\"75\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 25.064196541853565,15.064196541853565 25.064196541853565,90.06419654185356 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"130\" y1=\"0\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 130.0,0.0 145.06419654185356,15.064196541853565 25.064196541853565,15.064196541853565\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"90\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
" <line x1=\"145\" y1=\"15\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"25.064196541853565,15.064196541853565 145.06419654185356,15.064196541853565 145.06419654185356,90.06419654185356 25.064196541853565,90.06419654185356\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Text -->\n",
2023-06-02 18:42:18 +02:00
" <text x=\"85.064197\" y=\"110.064197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
" <text x=\"165.064197\" y=\"52.564197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,165.064197,52.564197)\">1200</text>\n",
" <text x=\"7.532098\" y=\"102.532098\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,7.532098,102.532098)\">20</text>\n",
2023-05-19 18:52:33 +02:00
"</svg>\n",
" </td>\n",
" </tr>\n",
2023-06-02 18:42:18 +02:00
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>dark</span></div><div class='xr-var-dims'>(runs, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-0256495d-875f-49d1-a8dd-ad1daa6e904a' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-0256495d-875f-49d1-a8dd-ad1daa6e904a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9b9c07d8-400c-4417-be90-a857c7e08c0a' class='xr-var-data-in' type='checkbox'><label for='data-9b9c07d8-400c-4417-be90-a857c7e08c0a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>IMAGE_SUBCLASS :</span></dt><dd>IMAGE_GRAYSCALE</dd><dt><span>IMAGE_VERSION :</span></dt><dd>1.2</dd><dt><span>IMAGE_WHITE_IS_ZERO :</span></dt><dd>0</dd></dl></div><div class='xr-var-data'><table>\n",
2023-05-19 18:52:33 +02:00
" <tr>\n",
" <td>\n",
" <table style=\"border-collapse: collapse;\">\n",
" <thead>\n",
" <tr>\n",
" <td> </td>\n",
" <th> Array </th>\n",
" <th> Chunk </th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" <th> Bytes </th>\n",
2023-06-02 18:42:18 +02:00
" <td> 87.89 MiB </td>\n",
" <td> 87.89 MiB </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" \n",
" <tr>\n",
" <th> Shape </th>\n",
2023-06-02 18:42:18 +02:00
" <td> (20, 1200, 1920) </td>\n",
" <td> (20, 1200, 1920) </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Dask graph </th>\n",
2023-06-02 18:42:18 +02:00
" <td colspan=\"2\"> 1 chunks in 62 graph layers </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Data type </th>\n",
2023-05-24 16:54:29 +02:00
" <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" </tbody>\n",
" </table>\n",
" </td>\n",
" <td>\n",
2023-06-02 18:42:18 +02:00
" <svg width=\"195\" height=\"140\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"10\" y1=\"75\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 25.064196541853565,15.064196541853565 25.064196541853565,90.06419654185356 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"130\" y1=\"0\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 130.0,0.0 145.06419654185356,15.064196541853565 25.064196541853565,15.064196541853565\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"90\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
" <line x1=\"145\" y1=\"15\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"25.064196541853565,15.064196541853565 145.06419654185356,15.064196541853565 145.06419654185356,90.06419654185356 25.064196541853565,90.06419654185356\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Text -->\n",
2023-06-02 18:42:18 +02:00
" <text x=\"85.064197\" y=\"110.064197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
" <text x=\"165.064197\" y=\"52.564197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,165.064197,52.564197)\">1200</text>\n",
" <text x=\"7.532098\" y=\"102.532098\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,7.532098,102.532098)\">20</text>\n",
2023-05-19 18:52:33 +02:00
"</svg>\n",
" </td>\n",
" </tr>\n",
2023-06-02 18:42:18 +02:00
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>shotNum</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(20,), meta=np.ndarray&gt;</div><input id='attrs-4d5ab9aa-e624-446a-8760-b6e00e5be2a7' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-4d5ab9aa-e624-446a-8760-b6e00e5be2a7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-8ac10981-dc0e-4225-b867-50ec5b9241f9' class='xr-var-data-in' type='checkbox'><label for='data-8ac10981-dc0e-4225-b867-50ec5b9241f9' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><table>\n",
2023-05-19 18:52:33 +02:00
" <tr>\n",
" <td>\n",
" <table style=\"border-collapse: collapse;\">\n",
" <thead>\n",
" <tr>\n",
" <td> </td>\n",
" <th> Array </th>\n",
" <th> Chunk </th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" <th> Bytes </th>\n",
2023-06-02 18:42:18 +02:00
" <td> 160 B </td>\n",
" <td> 160 B </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" \n",
" <tr>\n",
" <th> Shape </th>\n",
2023-06-02 18:42:18 +02:00
" <td> (20,) </td>\n",
" <td> (20,) </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Dask graph </th>\n",
" <td colspan=\"2\"> 1 chunks in 1 graph layer </td>\n",
" </tr>\n",
" <tr>\n",
" <th> Data type </th>\n",
2023-05-24 16:54:29 +02:00
" <td colspan=\"2\"> int64 numpy.ndarray </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" </tbody>\n",
" </table>\n",
" </td>\n",
" <td>\n",
2023-06-02 18:42:18 +02:00
" <svg width=\"170\" height=\"84\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"0\" y1=\"0\" x2=\"120\" y2=\"0\" style=\"stroke-width:2\" />\n",
" <line x1=\"0\" y1=\"34\" x2=\"120\" y2=\"34\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"34\" style=\"stroke-width:2\" />\n",
" <line x1=\"120\" y1=\"0\" x2=\"120\" y2=\"34\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"0.0,0.0 120.0,0.0 120.0,34.50101617379934 0.0,34.50101617379934\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Text -->\n",
2023-06-02 18:42:18 +02:00
" <text x=\"60.000000\" y=\"54.501016\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >20</text>\n",
" <text x=\"140.000000\" y=\"17.250508\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,140.000000,17.250508)\">1</text>\n",
2023-05-19 18:52:33 +02:00
"</svg>\n",
" </td>\n",
" </tr>\n",
2023-06-02 18:42:18 +02:00
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>OD</span></div><div class='xr-var-dims'>(runs, y, x)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(20, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-7525f468-2004-4ed0-8fe8-ffd88f02f158' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7525f468-2004-4ed0-8fe8-ffd88f02f158' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b6dce20c-3b4b-4b5c-87e9-486cd4a70dc6' class='xr-var-data-in' type='checkbox'><label for='data-b6dce20c-3b4b-4b5c-87e9-486cd4a70dc6' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>IMAGE_SUBCLASS :</span></dt><dd>IMAGE_GRAYSCALE</dd><dt><span>IMAGE_VERSION :</span></dt><dd>1.2</dd><dt><span>IMAGE_WHITE_IS_ZERO :</span></dt><dd>0</dd></dl></div><div class='xr-var-data'><table>\n",
2023-05-19 18:52:33 +02:00
" <tr>\n",
" <td>\n",
" <table style=\"border-collapse: collapse;\">\n",
" <thead>\n",
" <tr>\n",
" <td> </td>\n",
" <th> Array </th>\n",
" <th> Chunk </th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" <th> Bytes </th>\n",
2023-06-02 18:42:18 +02:00
" <td> 351.56 MiB </td>\n",
" <td> 351.56 MiB </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" \n",
" <tr>\n",
" <th> Shape </th>\n",
2023-06-02 18:42:18 +02:00
" <td> (20, 1200, 1920) </td>\n",
" <td> (20, 1200, 1920) </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Dask graph </th>\n",
2023-06-02 18:42:18 +02:00
" <td colspan=\"2\"> 1 chunks in 196 graph layers </td>\n",
2023-05-19 18:52:33 +02:00
" </tr>\n",
" <tr>\n",
" <th> Data type </th>\n",
" <td colspan=\"2\"> float64 numpy.ndarray </td>\n",
" </tr>\n",
" </tbody>\n",
" </table>\n",
" </td>\n",
" <td>\n",
2023-06-02 18:42:18 +02:00
" <svg width=\"195\" height=\"140\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"10\" y1=\"75\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 25.064196541853565,15.064196541853565 25.064196541853565,90.06419654185356 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"10\" y1=\"0\" x2=\"25\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"130\" y1=\"0\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"10.0,0.0 130.0,0.0 145.06419654185356,15.064196541853565 25.064196541853565,15.064196541853565\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Horizontal lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"145\" y2=\"15\" style=\"stroke-width:2\" />\n",
" <line x1=\"25\" y1=\"90\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Vertical lines -->\n",
2023-06-02 18:42:18 +02:00
" <line x1=\"25\" y1=\"15\" x2=\"25\" y2=\"90\" style=\"stroke-width:2\" />\n",
" <line x1=\"145\" y1=\"15\" x2=\"145\" y2=\"90\" style=\"stroke-width:2\" />\n",
"\n",
2023-05-19 18:52:33 +02:00
" <!-- Colored Rectangle -->\n",
2023-06-02 18:42:18 +02:00
" <polygon points=\"25.064196541853565,15.064196541853565 145.06419654185356,15.064196541853565 145.06419654185356,90.06419654185356 25.064196541853565,90.06419654185356\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
2023-05-19 18:52:33 +02:00
"\n",
" <!-- Text -->\n",
2023-06-02 18:42:18 +02:00
" <text x=\"85.064197\" y=\"110.064197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
" <text x=\"165.064197\" y=\"52.564197\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,165.064197,52.564197)\">1200</text>\n",
" <text x=\"7.532098\" y=\"102.532098\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,7.532098,102.532098)\">20</text>\n",
2023-05-19 18:52:33 +02:00
"</svg>\n",
" </td>\n",
" </tr>\n",
2023-06-02 18:42:18 +02:00
"</table></div></li></ul></div></li><li class='xr-section-item'><input id='section-aaf4dd43-ee0c-490a-bc7c-eadeddae23de' class='xr-section-summary-in' type='checkbox' ><label for='section-aaf4dd43-ee0c-490a-bc7c-eadeddae23de' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-9b1a6ac9-2455-496a-a909-705374702e65' class='xr-index-data-in' type='checkbox'/><label for='index-9b1a6ac9-2455-496a-a909-705374702e65' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,\n",
" 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0],\n",
" dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-b39e62c8-9f9d-44d3-a4de-e0328f398587' class='xr-section-summary-in' type='checkbox' ><label for='section-b39e62c8-9f9d-44d3-a4de-e0328f398587' class='xr-section-summary' >Attributes: <span>(120)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>TOF_free :</span></dt><dd>0.022</dd><dt><span>abs_img_freq :</span></dt><dd>110.858</dd><dt><span>absorption_imaging_flag :</span></dt><dd>True</dd><dt><span>backup_data :</span></dt><dd>True</dd><dt><span>blink_off_time :</span></dt><dd>0.001</dd><dt><span>blink_on_time :</span></dt><dd>0.001</dd><dt><span>c_duration :</span></dt><dd>0.2</dd><dt><span>carrier_amp :</span></dt><dd>3</dd><dt><span>carrier_freq :</span></dt><dd>nan</dd><dt><span>carrier_offset :</span></dt><dd>0</dd><dt><span>carrier_phase :</span></dt><dd>0</dd><dt><span>channel_in_use :</span></dt><dd>1</dd><dt><span>cmot_final_current :</span></dt><dd>0.65</dd><dt><span>cmot_hold :</span></dt><dd>0.06</dd><dt><span>cmot_initial_current :</span></dt><dd>0.18</dd><dt><span>compX_current :</span></dt><dd>0</dd><dt><span>compX_current_sg :</span></dt><dd>0.0</dd><dt><span>compX_final_current :</span></dt><dd>0.001</dd><dt><span>compX_initial_current :</span></dt><dd>0</dd><dt><span>compY_current :</span></dt><dd>0</dd><dt><span>compY_current_sg :</span></dt><dd>0.0</dd><dt><span>compY_final_current :</span></dt><dd>0.0</dd><dt><span>compY_initial_current :</span></dt><dd>0</dd><dt><span>compZ_current :</span></dt><dd>0</dd><dt><span>compZ_current_sg :</span></dt><dd>0.189</dd><dt><span>compZ_final_current :</span></dt><dd>0.264</dd><dt><span>compZ_initial_current :</span></dt><dd>0</dd><dt><span>default_camera :</span></dt><dd>0</dd><dt><span>deltaf :</span></dt><dd>0.021</dd><dt><span>evap_1_arm_1_final_pow :</span></dt><dd>0.35</dd><dt><span>evap_1_arm_1_mod_depth_final :</span></dt><dd>0</dd><dt><span>evap_1_arm_1_mod_depth_initial :</span></dt><dd>1.0</dd><dt><span>evap_1_arm_1_mod_ramp_duration :</span></dt><dd>1.15</dd><dt><span>evap_1_arm_1_pow_ramp_duration :</span></dt><dd>1.65</dd><dt><span>evap_1_arm_1_start_pow :</span></dt><dd>7</dd><dt><span>evap_1_arm_2_final_pow :</span></dt><dd>5</dd><dt><span>evap_1_arm_2_ramp_duration :</span></dt><dd>0.5</dd><dt><span>evap_1_arm_2_start_pow :</span></dt><dd>0</dd><dt><span>evap_1_mod_ramp_trunc_value :</span></dt><dd>1</dd><dt><span>evap_1_pow_ramp_trunc_value :</span></dt><dd>1.0</dd><dt><span>evap_1_rate_constant_1 :</span></dt><dd>0.525</dd><dt><span>evap_1_rate_constant_2 :</span></dt><dd>0.51</dd><dt><span>evap_2_arm_1_final_pow :</span></dt><dd>0.037</dd><dt><span>evap_2_arm_1_start_pow :</span></dt><dd>0.35</dd><dt><span>evap_2_arm_2_final_pow :</span></dt><dd>0.09</dd><dt><span>evap_2_arm_2_start_pow :</span></dt><dd>5</dd><dt><span>evap_2_ramp_duration :</span></dt><dd>1.0</dd><dt><span>evap_2_ramp_trunc_value :</span></dt><dd>1.0</dd><dt><span>evap_2_rate_constant_1 :</span></dt><dd>0.37</dd><dt><span>evap_2_rate_constant_2 :</span></dt><dd>0.71</dd><dt><span>evap_3_arm_1_final_pow :</span></dt><dd>0.1038</dd><dt><span>evap_3_arm_1_mod_depth_final :</span></dt><dd>0.43</dd><dt><span>evap_3_arm_1_mod_depth_initial :</span></dt><dd>0</dd><dt><span>evap_3_arm_1_start_pow :</span></dt><dd>0.037</dd><dt><span>evap_3_ramp_duration :</span></dt><dd>0.1</dd><dt><span>evap_3_ramp_trunc_value :</span></dt><dd>1.0</dd><dt><span>evap_3_rate_constant_1 :</span></dt><dd>-0.879</dd><dt><span>evap_3_rate_constant_2 :</span></dt><dd>-0.297</dd><dt><span>final_amp :</span></dt><dd>0.000155</dd><dt><span>final_freq :</span></dt><dd>104.0</dd><dt><span>final_pow_1 :</span></dt><dd>0.1038</dd><dt><span>final_pow_2 :</span></dt><dd>0.09</dd><dt><span>gradCoil_current :</span></dt><dd>0.18</dd><dt><span>gradCoil_current_sg :</span></dt><dd>0</dd><dt><span>imaging_method :</span></dt><dd>in_situ_absorption</dd><dt><span>imaging_pulse_duration :</span></dt><
" 18. 19.]</dd><dt><span>scanAxis :</span></dt><dd>[&#x27;runs&#x27;]</dd><dt><span>scanAxisLength :</span></dt><dd>[20.]</dd></dl></div></li></ul></div></div>"
],
"text/plain": [
"<xarray.Dataset>\n",
2023-06-02 18:42:18 +02:00
"Dimensions: (runs: 20, y: 1200, x: 1920)\n",
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 4.0 ... 15.0 16.0 17.0 18.0 19.0\n",
2023-05-24 16:54:29 +02:00
"Dimensions without coordinates: y, x\n",
"Data variables:\n",
2023-06-02 18:42:18 +02:00
" atoms (runs, y, x) uint16 dask.array<chunksize=(20, 1200, 1920), meta=np.ndarray>\n",
" background (runs, y, x) uint16 dask.array<chunksize=(20, 1200, 1920), meta=np.ndarray>\n",
" dark (runs, y, x) uint16 dask.array<chunksize=(20, 1200, 1920), meta=np.ndarray>\n",
" shotNum (runs) int64 dask.array<chunksize=(20,), meta=np.ndarray>\n",
" OD (runs, y, x) float64 dask.array<chunksize=(20, 1200, 1920), meta=np.ndarray>\n",
2023-05-19 18:52:33 +02:00
"Attributes: (12/120)\n",
2023-05-24 16:54:29 +02:00
" TOF_free: 0.022\n",
2023-05-19 18:52:33 +02:00
" abs_img_freq: 110.858\n",
" absorption_imaging_flag: True\n",
" backup_data: True\n",
" blink_off_time: 0.001\n",
" blink_on_time: 0.001\n",
" ... ...\n",
2023-06-02 18:42:18 +02:00
" y_offset_img: 0\n",
2023-05-19 18:52:33 +02:00
" z_offset: 0.189\n",
" z_offset_img: 0.189\n",
2023-06-02 18:42:18 +02:00
" runs: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. ...\n",
" scanAxis: ['runs']\n",
" scanAxisLength: [20.]"
]
},
2023-05-24 16:54:29 +02:00
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2023-06-02 18:42:18 +02:00
"shotNum = \"0000\"\n",
2023-05-19 18:52:33 +02:00
"filePath = folderPath + \"/\" + shotNum + \"/*.h5\"\n",
2023-05-24 16:54:29 +02:00
"# filePath = \"//DyLabNAS/Data/Evaporative_Cooling/2023/05/12/0065/*.h5\"\n",
2023-05-19 18:52:33 +02:00
"\n",
"dataSetDict = {\n",
" dskey[groupList[i]]: read_hdf5_file(filePath, groupList[i])\n",
2023-05-24 16:54:29 +02:00
" for i in [0] # range(len(groupList))\n",
2023-05-19 18:52:33 +02:00
"}\n",
"\n",
2023-05-24 16:54:29 +02:00
"dataSet = dataSetDict[\"camera_1\"]\n",
"dataSet = swap_xy(dataSet)\n",
2023-05-19 18:52:33 +02:00
"\n",
"scanAxis = get_scanAxis(dataSet)\n",
"\n",
"dataSet = auto_rechunk(dataSet)\n",
"\n",
"dataSet = imageAnalyser.get_absorption_images(dataSet)\n",
"\n",
2023-05-24 16:54:29 +02:00
"dataSet"
]
},
{
2023-05-24 16:54:29 +02:00
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
2023-05-24 16:54:29 +02:00
"## Calculate an plot OD images"
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 48,
"metadata": {},
"outputs": [
{
"data": {
2023-06-02 18:42:18 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAFIAAAAEiCAYAAAAvsm3TAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/bCgiHAAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOz9ebhmVXXtj8+CoimwIBR9I3VQUFBBBCLYRCoJ0sSgASMavcTcoD/NN3aYa2yiD3pzY3eNGDVqEtBootHYYJNEErhSRI2CgigaUFAOBKSJgIBQKiXv74/ao95xxhl71T5Vb0GdU+PzPPXsU/tde+/VzDnXXM3ec9FoNBpVCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEELYaGzxQGcghBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCGGhkw9AhhBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCFsZPIByBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEjUw+ABlCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEsJHJByBDCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEDYy+QBkCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEMJGJh+ADCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEELYyOQDkCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIG5l8ADKEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIYSOTD0CGEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIWxk8gHIsOAZjUb1+te/vvbaa69asmRJrVixor7zne+s87pPfvKT9YhHPKK22WabesQjHlHnnHPO/ZDbEILjU5/6VB133HG1yy671KJFi+qyyy4bdF30OIRNg3vvvbde+cpX1sEHH1zbb7997bXXXvW7v/u79cMf/nCd10aPQ9h0eP3rX18HHnhgbb/99rXTTjvVMcccUxdddNE6r4seh7Dp8YIXvKAWLVpU73jHO9aZNjocwqbD7/3e79WiRYtm/DvqqKPWeV30OIRNiyuuuKKe+tSn1o477lhLly6to446qq677rrmNdHjEDYNtB/Gv//7f/9v87rocAibDj/5yU/qRS96Ue2zzz61ZMmSOuigg+q9733vOq+LHoew6XDzzTfX7/3e79Vee+1V2223XR1//PF11VVXrfO66HEIDwxD9nr87Gc/qxe/+MW1yy671Pbbb19PfepT6/rrr1/nvd/znvfUfvvtV9tuu20dfvjh9cUvfnEjlCCEMESP//qv/7pWrFhRO+ywQy1atKh+/OMfD7p39DiE+4d16fFtt91WL37xi+vhD394bbfddrXvvvvWS17ykrrjjjvWee/ocQgbnyF98Qte8IJ66EMfWkuWLKldd921nva0p9WVV165zntHh0O4f5jLexCj0ahOOOGEWrRoUX36059e572jxyHcPwzR4xUrVsxaR37Ws561zntHj0PY+Azti7/yla/Ur/3ar9X2229fv/RLv1QrVqyoVatWNe8dHQ7h/mFdejw9Pd27r+vjH/94897R4xDuH4b0xzfddFOdeuqptccee9T2229fhx12WH3iE59Y572jxyHcPwzR4+9///t10kkn1a677lo77LBDnXLKKXXzzTev897R4xBCCJs7+QBkGMTPf/7zBzoL681b3/rWevvb317vfve762tf+1rtscce9eQnP7nuuuuu3mu+8pWv1DOf+cw69dRT65vf/Gadeuqpdcoppwz6wE0ImyrzWY/vvvvuesITnlBvfvObB18TPQ4Lkfmqx/fcc09deuml9brXva4uvfTS+tSnPlXf+9736qlPfWrzuuhxWIjMVz2uqnrYwx5W7373u+vyyy+vL33pSzU1NVXHHnts/fd//3fvNdHjsNCYzzoMPv3pT9dFF11Ue+211zrTRofDQmS+6/Hxxx9fN95449p///Iv/9JMHz0OC5H5rMff//7364lPfGIdeOCBtXLlyvrmN79Zr3vd62rbbbftvSZ6HBYa81mHuQ++8cYb6/3vf38tWrSonv70p/deEx0OC5H5rMenn356nXvuufX3f//3dcUVV9Tpp59eL37xi+szn/lM7zXR47AQma96PBqN6rd+67fqBz/4QX3mM5+pb3zjG7V8+fI65phj6u677+69Lnoc5jvzVWerhu31eNnLXlbnnHNOffSjH60vfelL9ZOf/KR+8zd/s37xi1/0XvOxj32sXvayl9Wf/Mmf1De+8Y36lV/5lTrhhBPWGWAhhAeKha7H99xzTx1//PH1mte8ZvB9o8dhvrGQ9fiHP/xh/fCHP6y3ve1tdfnll9ff/u3f1rnnnlunnXZa877R4zCfWMg6XFV1+OGH1wc+8IG64oor6l//9V9rNBrVscceG586LCgWuh6Dd7zjHbVo0aJB940eh/nG5qDHz3/+82esJ//VX/1VM330OMwnFroOf+UrX6njjz++jj322Lr44ovra1/7Wr3oRS+qLbbof/0+OhzmGwtZjx/84AfP2tf1hje8obbffvs64YQTeu8bPQ7zjYWsx1VVp556an33u9+tz372s3X55ZfXySefXM985jPrG9/4Ru810eMw31jIenz33XfXscceW4sWLaovfOEL9eUvf7l+/vOf14knnlj33Xdf732jxyGEEEJVjUIwHH300aM//MM/HJ1++umjnXfeefSkJz1pdM0114yqavSNb3xjbbrbb799VFWjCy64YDQajUYXXHDBqKpG559//ujwww8fLVmyZPS4xz1udOWVV6695rLLLhutWLFi9KAHPWi0dOnS0WGHHTb62te+tlHKcd9994322GOP0Zvf/Oa1537605+Odtxxx9H73ve+3utOOeWU0fHHHz/j3HHHHTd61rOetVHyGcLGYKHoMePy30f0OCwEFqIeg4svvnhUVaNrr722N030OCwEFrIe33HHHWvz2Ef0OMx3FpoOX3/99aO999579O1vf3u0fPny0ZlnntlMHx0OC4GFpMfPfe5zR0972tPmdE30OCwEFpIeP/OZzxz9j//xP+Z0TfQ4zHcWkg4rT3va00a/9mu/1kwTHQ4LgYWkx4985CNH//t//+8Z5w477LDRa1/72t5rosdhIbBQ9Pi73/3uqKpG3/72t9eeW7169WjZsmWjv/mbv+m9Lnoc5hsLRWeZvr0eP/7xj0dbbbXV6KMf/ejaczfccMNoiy22GJ177rm993vsYx87euELXzjj3IEHHjh61ateNdF8h7C+bE56zCD/t99++zrvFz0Omzqbqx6Df/zHfxxtvfXWo3vvvbc3TfQ4bMps7jr8zW9+c1RVo6uvvro3TXQ4bOpsjnp82WWXjfbZZ5/RjTfeOKqq0TnnnNO8X/Q4bOpsbnp89NFHj1760pfO6X7R47Aps7np8JFHHtlcM3ZEh8Omzuamx8qhhx46+v3f//1mmuhx2NTZ3PR4++23H33oQx+acW7ZsmWjs846q/d+0eOwqbM56fG//uu/jrbYYovRHXfcsfbcbbfdNqqq0Xnnndd7v+hxCCGEMBr1hyAJmz0f/OAHa/HixfXlL395nVGnlD/5kz+pP//zP6+vf/3rtXjx4vr93//9tb895znPqX322ae+9rWv1SWXXFKvetWraquttuq91wknnFAPetCDmv/6uOaaa+qmm26qY489du25bbbZpo4++uj6j//4j97
"text/plain": [
2023-06-02 18:42:18 +02:00
"<Figure size 6100x300 with 21 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
2023-05-24 16:54:29 +02:00
"imageAnalyser.center = (960, 1050)\n",
"imageAnalyser.span = (100, 100)\n",
"imageAnalyser.fraction = (0.1, 0.1)\n",
"\n",
2023-05-24 16:54:29 +02:00
"dataSet_cropOD = imageAnalyser.crop_image(dataSet.OD)\n",
"dataSet_cropOD = imageAnalyser.substract_offset(dataSet_cropOD).load()\n",
"\n",
2023-06-02 18:42:18 +02:00
"dataSet_cropOD.plot.pcolormesh(cmap='jet', vmin=0, vmax=2, col=scanAxis[0], row=scanAxis[1])\n",
"plt.show()"
]
},
{
2023-05-24 16:54:29 +02:00
"attachments": {},
"cell_type": "markdown",
"metadata": {},
2023-05-16 15:51:13 +02:00
"source": [
2023-05-24 16:54:29 +02:00
"## Do a 2D two-peak gaussian fit to the OD images"
2023-05-16 15:51:13 +02:00
]
},
{
2023-05-24 16:54:29 +02:00
"attachments": {},
"cell_type": "markdown",
2023-05-16 15:51:13 +02:00
"metadata": {},
"source": [
2023-05-24 16:54:29 +02:00
"### Do the fit"
2023-05-16 15:51:13 +02:00
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 10,
2023-05-16 15:51:13 +02:00
"metadata": {},
"outputs": [],
2023-05-07 23:41:31 +02:00
"source": [
2023-05-24 16:54:29 +02:00
"fitModel = DensityProfileBEC2dModel()\n",
"# fitModel = ThomasFermi2dModel()\n",
"\n",
"fitAnalyser = FitAnalyser(fitModel, fitDim=2)\n",
"\n",
"# fitAnalyser = FitAnalyser(\"Gaussian-2D\", fitDim=2)\n",
"\n",
2023-06-02 18:42:18 +02:00
"dataSet_cropOD = dataSet_cropOD.chunk((1,100,100))\n",
2023-05-24 16:54:29 +02:00
"\n",
"params = fitAnalyser.guess(dataSet_cropOD, guess_kwargs=dict(pureBECThreshold=0.5), dask=\"parallelized\")\n",
"fitResult = fitAnalyser.fit(dataSet_cropOD, params).load()"
2023-05-19 18:52:33 +02:00
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 34,
2023-05-19 18:52:33 +02:00
"metadata": {},
"outputs": [
{
2023-05-24 16:54:29 +02:00
"name": "stderr",
2023-05-19 18:52:33 +02:00
"output_type": "stream",
"text": [
2023-05-24 16:54:29 +02:00
"f:\\Jianshun\\analyseScript\\Analyser\\FitAnalyser.py:84: RuntimeWarning: invalid value encountered in power\n",
" res = (1- ((x-centerx)/(sigmax))**2 - ((y-centery)/(sigmay))**2)**(3 / 2)\n"
2023-05-19 18:52:33 +02:00
]
2023-05-24 16:54:29 +02:00
},
{
"data": {
"text/plain": [
2023-06-02 18:42:18 +02:00
"<xarray.plot.facetgrid.FacetGrid at 0x239efc5dd30>"
2023-05-24 16:54:29 +02:00
]
},
2023-06-02 18:42:18 +02:00
"execution_count": 34,
2023-05-24 16:54:29 +02:00
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
2023-06-02 18:42:18 +02:00
"image/png": "iVBORw0KGgoAAAANSUhEUgAAFIAAAAEiCAYAAAAvsm3TAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/bCgiHAAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOzdeXwdV33//7d2S7bka0nWZsm+wnLiJA5xFr6EpUko4BCWpBAIWwMUygO+EJZQlrD9yLeFhNCUppQCTSEhlPIoX0iTpqXflLQkgZRQyEYTyOZgJ3Ys2/EiW7YVyZLu7485n5kz5442W7Z1r17Px8OPczVz7swI8tFZ5sx8KgqFQkEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4YiqP9QUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUO14ACQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcITxAkgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAjjBdAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHGG8ABIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAI4wWQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARxgvgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADjCeAEkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAEcYLIAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI4wXgAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwhPECSJS9QqGgyy+/XF1dXaqvr9c555yj3/zmN1N+78Ybb9SJJ56ouro6nXjiibrpppuOwtUCyPJP//RPOvfcc9Xa2qqKigo98MAD0/oecQzMDQcPHtQnPvEJnXzyyVq4cKG6urr0tre9TVu2bJnyu8QxMHdcfvnlWr16tRYuXKglS5boZS97mf77v/97yu8Rx8Dc8573vEcVFRW65pprpqxLDANzxzve8Q5VVFSk/p155plTfo84BuaWhx9+WOeff74WL16sxsZGnXnmmXrqqacm/Q5xDMwNYTts//78z/980u8Rw8DcsW/fPl1yySXq7u5WfX29TjjhBH3961+f8nvEMTB3bNu2Te94xzvU1dWlhoYGveIVr9Djjz8+5feIY+DYmM5aj+HhYX3gAx9Qa2urFi5cqPPPP1+bN2+e8thf+9rX1NvbqwULFuj000/Xz372syPwGwCYThxfe+21Ouecc9TU1KSKigoNDAxM69jEMXB0TBXHu3bt0gc+8AEdf/zxamho0PLly/XBD35Qe/bsmfLYxDFw5E2nLX7Pe96jlStXqr6+XkuXLtUFF1ygRx55ZMpjE8PA0TGT5yAKhYLOO+88VVRU6Oabb57y2MQxcHRMJ47POeecovvIb3rTm6Y8NnEMHHnTbYvvvvtu/f7v/74WLlyoXC6nc845R0NDQ5MemxgGjo6p4njjxo0Truv6wQ9+MOmxiWPg6JhOe7x161ZdfPHF6ujo0MKFC3Xaaafphz/84ZTHJo6Bo2M6cfzEE0/ota99rZYuXaqmpiZddNFF2rZt25THJo4BAPMdL4DEtIyMjBzrSzhkX/rSl/TlL39ZX/3qV/WrX/1KHR0devnLX67BwcEJv3P33XfrjW98oy6++GL9+te/1sUXX6yLLrpoWi+4AeaqUo7j/fv360UvepG++MUvTvs7xDHKUanG8YEDB3Tffffps5/9rO677z790z/9kx577DGdf/75k36POEY5KtU4lqTjjjtOX/3qV/Xggw/qrrvuUj6f17p16/TMM89M+B3iGOWmlGPY3Hzzzfrv//5vdXV1TVmXGEY5KvU4fsUrXqH+/v7437/9279NWp84Rjkq5Th+4okn9OIXv1irV6/WHXfcoV//+tf67Gc/qwULFkz4HeIY5aaUY9hvg/v7+3XdddepoqJCF1544YTfIYZRjko5ji+99FLdeuut+u53v6uHH35Yl156qT7wgQ/on//5nyf8DnGMclSqcVwoFPQHf/AH+t3vfqd//ud/1v33368VK1boZS97mfbv3z/h94hjlLpSjVlpems9PvzhD+umm27SP/7jP+quu+7Svn379OpXv1pjY2MTfuf73/++PvzhD+vTn/607r//fv3e7/2ezjvvvCkTLADHSrnH8YEDB/SKV7xCn/rUp6Z9XOIYpaac43jLli3asmWLrr76aj344IP69re/rVtvvVXvete7Jj0ucYxSUs4xLEmnn366rr/+ej388MP693//dxUKBa1bt44+NcpKucexueaaa1RRUTGt4xLHKDXzIY7f/e53p+4n/+3f/u2k9YljlJJyj+G7775br3jFK7Ru3Tr98pe/1K9+9Stdcsklqqyc+PF7YhilppzjuKenp2hd1//5P/9HCxcu1HnnnTfhcYljlJpyjmNJuvjii/Xoo4/qlltu0YMPPqjXve51euMb36j7779/wu8Qxyg15RzH+/fv17p161RRUaGf/OQn+q//+i+NjIzoNa95jcbHxyc8LnEMAICkApDh7LPPLrz//e8vXHrppYWWlpbCWWedVdiwYUNBUuH++++P6+3evbsgqXD77bcXCoVC4fbbby9IKvzHf/xH4fTTTy/U19cXXvCCFxQeeeSR+DsPPPBA4ZxzziksWrSo0NjYWDjttNMKv/rVr47I7zE+Pl7o6OgofPGLX4y3Pfvss4XFixcXvvGNb0z4vYsuuqjwile8IrXt3HPPLbzpTW86ItcJHAnlEse+rOufCHGMclCOcWx++ctfFiQVnnzyyQnrEMcoB+Ucx3v27ImvcSLEMUpducXw5s2bC8uWLSs89NBDhRUrVhT+8i//ctL6xDDKQTnF8dvf/vbCBRdcMKPvEMcoB+UUx2984xsLf/iHfzij7xDHKHXlFMOhCy64oPD7v//7k9YhhlEOyimOTzrppMKf/umfpraddtpphc985jMTfoc4Rjkolzh+9NFHC5IKDz30ULxtdHS00NzcXPi7v/u7Cb9HHKPUlEvM+iZa6zEwMFCoqakp/OM//mO87emnny5UVlYWbr311gmP97/+1/8qvPe9701tW716deGyyy6b1esGDtV8imOfXf/u3bunPB5xjLluvsax+b//9/8WamtrCwcPHpywDnGMuWy+x/Cvf/3rgqTC+vXrJ6xDDGOum49x/MADDxS6u7sL/f39BUmFm266adLjEceY6+ZbHJ999tmFD33oQzM6HnGMuWy+xfDzn//8Se8ZZyGGMdfNtzgOrV27tvDOd75z0jrEMea6+RbHCxcuLHznO99JbWtubi5885vfnPB4xDHmuvkUx//+7/9eqKysLOzZsyfetmvXroKkwm233Tbh8YhjAAAKhYlTkGDeu+GGG1RdXa3/+q//mjLrVOjTn/60/uIv/kL33HOPqqur9c53vjPe99a3vlXd3d361a9+pXvvvVeXXXaZampqJjzWeeedp0WLFk36byIbNmzQ1q1btW7dunhbXV2dzj77bP385z+f8Ht333136juSdO655076HWAuKoc4PlTEMcpFucbxnj17VFFRoVwuN2Ed4hjlohzjeGRkRNdee60WL16sU045ZcJ6xDHKQbnE8Pj4uC6++GJ97GMf00knnTSt6yeGUS7KJY4l6Y477lBbW5uOO+44vfvd79b27dsnrU8co1yUQxyPj4/rRz/6kY477jide+65amtr0/Of/3zdfPPNk14/cYxyUA4xHNq2bZt+9KMf6V3vetek9YhhlItyieMXv/jFuuWWW/T000+rUCjo9ttv12OPPaZzzz13wu8QxygX5RDHw8PDkqQFCxbE26qqqlRbW6u77rprwu8RxyhF5RCz03Hvvffq4MGDqRjt6urSmjVrJozRkZER3XvvvUVxvW7dOuIac8p8ieNDQRyjVMznON6zZ4+amppUXV2duZ84RimYrzG8f/9+XX/99ert7VVPT09mHWIYpWI+xfGBAwf05je/WV/96lf
2023-05-24 16:54:29 +02:00
"text/plain": [
2023-06-02 18:42:18 +02:00
"<Figure size 6100x300 with 21 Axes>"
2023-05-24 16:54:29 +02:00
]
},
"metadata": {},
"output_type": "display_data"
2023-05-19 18:52:33 +02:00
}
],
"source": [
2023-05-24 16:54:29 +02:00
"fitCurve = fitAnalyser.eval(fitResult, x=np.arange(100), y=np.arange(100), dask=\"parallelized\").load()\n",
"\n",
2023-06-02 18:42:18 +02:00
"fitCurve.plot.pcolormesh(cmap='jet', vmin=0, vmax=2, col=scanAxis[0], row=scanAxis[1], x='x', y='y')"
]
},
{
"cell_type": "code",
"execution_count": 51,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<xarray.plot.facetgrid.FacetGrid at 0x239efc16760>"
]
},
"execution_count": 51,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 6100x300 with 21 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"(dataSet_cropOD - fitCurve).plot.pcolormesh(cmap='jet', vmin=-0.1, vmax=0.1, col=scanAxis[0], row=scanAxis[1])"
2023-05-19 18:52:33 +02:00
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 12,
2023-05-19 18:52:33 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
2023-05-24 16:54:29 +02:00
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
2023-06-02 18:42:18 +02:00
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;OD&#x27; (runs: 20)&gt;\n",
"array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
" 0., 0., 0.])\n",
2023-05-24 16:54:29 +02:00
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 4.0 5.0 ... 15.0 16.0 17.0 18.0 19.0</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'OD'</div><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 20</li></ul></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-a2313552-07be-460f-ac03-18206b4a87c7' class='xr-array-in' type='checkbox' checked><label for='section-a2313552-07be-460f-ac03-18206b4a87c7' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0</span></div><div class='xr-array-data'><pre>array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
" 0., 0., 0.])</pre></div></div></li><li class='xr-section-item'><input id='section-bcb983e5-04a5-49e0-a452-1906a3213229' class='xr-section-summary-in' type='checkbox' checked><label for='section-bcb983e5-04a5-49e0-a452-1906a3213229' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 ... 17.0 18.0 19.0</div><input id='attrs-7f11840e-bc64-4fd4-8174-a99cdc24316e' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-7f11840e-bc64-4fd4-8174-a99cdc24316e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1557858a-f286-4207-91e1-a8b9aed27415' class='xr-var-data-in' type='checkbox'><label for='data-1557858a-f286-4207-91e1-a8b9aed27415' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13.,\n",
" 14., 15., 16., 17., 18., 19.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-a81a4e8a-3f27-4293-8363-4519a0929f2b' class='xr-section-summary-in' type='checkbox' ><label for='section-a81a4e8a-3f27-4293-8363-4519a0929f2b' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-1d02c9df-62fb-43a5-bc2a-953a52636956' class='xr-index-data-in' type='checkbox'/><label for='index-1d02c9df-62fb-43a5-bc2a-953a52636956' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,\n",
" 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0],\n",
" dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-8bb37b9f-1cfe-4a89-82e9-8ed773c1955e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-8bb37b9f-1cfe-4a89-82e9-8ed773c1955e' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
2023-05-24 16:54:29 +02:00
],
"text/plain": [
2023-06-02 18:42:18 +02:00
"<xarray.DataArray 'OD' (runs: 20)>\n",
"array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
" 0., 0., 0.])\n",
2023-05-24 16:54:29 +02:00
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 4.0 5.0 ... 15.0 16.0 17.0 18.0 19.0"
2023-05-24 16:54:29 +02:00
]
},
2023-06-02 18:42:18 +02:00
"execution_count": 12,
2023-05-24 16:54:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"fitModel2 = Polylog22dModel(prefix='thermal_')\n",
"fitAnalyser2 = FitAnalyser(fitModel2, fitDim=2)\n",
2023-06-02 18:42:18 +02:00
"fitCurve2 = fitAnalyser2.eval(fitResult, x=np.arange(100), y=np.arange(100), dask=\"parallelized\").load()\n",
2023-05-24 16:54:29 +02:00
"fitCurve2.sum(dim=['x', 'y'])"
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 13,
2023-05-24 16:54:29 +02:00
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\data\\AppData\\Roaming\\Python\\Python39\\site-packages\\numpy\\lib\\function_base.py:2246: RuntimeWarning: invalid value encountered in _get_fit_full_result_single (vectorized)\n",
" outputs = ufunc(*inputs)\n"
]
}
],
"source": [
"value = fitAnalyser.get_fit_full_result(fitResult)"
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 14,
2023-05-24 16:54:29 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
2023-06-02 18:42:18 +02:00
"Dimensions: (runs: 20)\n",
2023-05-24 16:54:29 +02:00
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 ... 16.0 17.0 18.0 19.0\n",
2023-05-24 16:54:29 +02:00
"Data variables:\n",
2023-06-02 18:42:18 +02:00
" BEC_amplitude (runs) object 678.2635955189662+/-nan ... 704.529111...\n",
" thermal_amplitude (runs) object 0.0+/-nan 0.0+/-nan ... 0.0+/-nan\n",
" BEC_centerx (runs) object 41.68161303986658+/-nan ... 43.3093895...\n",
" BEC_centery (runs) object 48.263472046762345+/-nan ... 47.371206...\n",
" thermal_centerx (runs) object 44.13847419706019+/-nan ... 45.5424640...\n",
" thermal_centery (runs) object 48.10984924238203+/-nan ... 48.2021514...\n",
" BEC_sigmax (runs) object 11.148402342086538+/-nan ... 11.240485...\n",
" BEC_sigmay (runs) object 28.173710962485302+/-nan ... 28.020501...\n",
" thermal_sigmax (runs) object 20.210666526427037+/-nan ... 19.265726...\n",
" thermal_sigmay (runs) object 22.827594738210404+/-nan ... 20.307830...\n",
" thermalAspectRatio (runs) object 1.1294825288597745+/-nan ... 1.0540910...\n",
" condensate_fraction (runs) object 1.0+/-nan 1.0+/-nan ... 1.0+/-nan</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-bf5faab5-ee4e-44bc-9db5-78d284375ca6' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-bf5faab5-ee4e-44bc-9db5-78d284375ca6' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 20</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-17fe7f40-c74e-4434-a411-f2c896fb962d' class='xr-section-summary-in' type='checkbox' checked><label for='section-17fe7f40-c74e-4434-a411-f2c896fb962d' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 ... 17.0 18.0 19.0</div><input id='attrs-360aef93-e051-42cd-86ee-6b25705b0b8f' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-360aef93-e051-42cd-86ee-6b25705b0b8f' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e027773a-9364-4ca0-bf27-72b29602cb55' class='xr-var-data-in' type='checkbox'><label for='data-e027773a-9364-4ca0-bf27-72b29602cb55' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13.,\n",
" 14., 15., 16., 17., 18., 19.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-6f7fd351-036c-4ee5-86f4-d15adef03086' class='xr-section-summary-in' type='checkbox' checked><label for='section-6f7fd351-036c-4ee5-86f4-d15adef03086' class='xr-section-summary' >Data variables: <span>(12)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>BEC_amplitude</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>678.2635955189662+/-nan ... 704....</div><input id='attrs-96e2131b-2b6a-4010-9524-892405d1c305' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-96e2131b-2b6a-4010-9524-892405d1c305' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-04f79c7a-6b6a-4363-904f-34689b9144c1' class='xr-var-data-in' type='checkbox'><label for='data-04f79c7a-6b6a-4363-904f-34689b9144c1' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([678.2635955189662+/-nan, 570.9300691040178+/-nan,\n",
" 729.7439048133908+/-nan, 561.4816558162713+/-nan,\n",
" 767.46198583519+/-nan, 791.6371068647577+/-nan,\n",
" 738.3120441940093+/-nan, 718.0327650311755+/-nan,\n",
" 713.2635798843459+/-nan, 770.4724349923216+/-nan,\n",
" 745.2630547187833+/-nan, 713.6190864987104+/-nan,\n",
" 730.4155945253933+/-nan, 766.7164328868425+/-nan,\n",
" 711.4300692582335+/-nan, 765.9705661810385+/-nan,\n",
" 744.9363853076882+/-nan, 695.0804563161535+/-nan,\n",
" 740.9492233678551+/-nan, 704.5291114313244+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_amplitude</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>0.0+/-nan 0.0+/-nan ... 0.0+/-nan</div><input id='attrs-bc7d2cd1-c037-4342-ae65-f478b1a11798' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-bc7d2cd1-c037-4342-ae65-f478b1a11798' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a4e2358f-64db-4925-a08c-9c0013290c45' class='xr-var-data-in' type='checkbox'><label for='data-a4e2358f-64db-4925-a08c-9c0013290c45' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan,\n",
" 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan,\n",
" 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan,\n",
" 0.0+/-nan, 0.0+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centerx</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>41.68161303986658+/-nan ... 43.3...</div><input id='attrs-c4b2a8aa-37e7-4301-84a7-a1ff5b2b18da' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c4b2a8aa-37e7-4301-84a7-a1ff5b2b18da' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bf2c0111-07da-4025-ab86-a6d0b805a5ed' class='xr-var-data-in' type='checkbox'><label for='data-bf2c0111-07da-4025-ab86-a6d0b805a5ed' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([41.68161303986658+/-nan, 43.54643075547984+/-nan,\n",
" 44.010352486593824+/-nan, 42.23001931117413+/-nan,\n",
" 42.766374066460976+/-nan, 43.064151852282954+/-nan,\n",
" 43.516086914287854+/-nan, 41.760592913348056+/-nan,\n",
" 43.51494443994783+/-nan, 42.96251968226675+/-nan,\n",
" 43.37005744679945+/-nan, 43.56655154931581+/-nan,\n",
" 41.772287573081385+/-nan, 43.57692836638424+/-nan,\n",
" 45.61015214662576+/-nan, 41.40326837431126+/-nan,\n",
" 44.13412837882349+/-nan, 44.00010352323085+/-nan,\n",
" 42.32311435664195+/-nan, 43.309389528876224+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centery</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>48.263472046762345+/-nan ... 47....</div><input id='attrs-5627d1ee-0560-4283-8731-128f18ea284d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-5627d1ee-0560-4283-8731-128f18ea284d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-aeca68be-4985-47d3-a947-744dc40aa6d2' class='xr-var-data-in' type='checkbox'><label for='data-aeca68be-4985-47d3-a947-744dc40aa6d2' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([48.263472046762345+/-nan, 47.92156369156314+/-nan,\n",
" 47.92387786596079+/-nan, 48.10018864805499+/-nan,\n",
" 51.08989375819018+/-nan, 49.75067493119259+/-nan,\n",
" 47.485012496868826+/-nan, 50.089735490415876+/-nan,\n",
" 45.30492159070581+/-nan, 48.163658266991035+/-nan,\n",
" 48.69045819525425+/-nan, 47.71273537630479+/-nan,\n",
" 46.667368211637175+/-nan, 49.78442036595954+/-nan,\n",
" 49.765165402627545+/-nan, 47.198228609116065+/-nan,\n",
" 49.29418992339359+/-nan, 49.08225642928532+/-nan,\n",
" 49.653591948991554+/-nan, 47.371206413802184+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centerx</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>44.13847419706019+/-nan ... 45.5...</div><input id='attrs-526cc799-320b-4324-b6e2-b51f608d3165' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-526cc799-320b-4324-b6e2-b51f608d3165' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1e0f673f-15e0-4147-ba44-84560451169e' class='xr-var-data-in' type='checkbox'><label for='data-1e0f673f-15e0-4147-ba44-84560451169e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([44.13847419706019+/-nan, 45.625985468547086+/-nan,\n",
" 46.533925797896586+/-nan, 44.62165814130569+/-nan,\n",
" 46.27250825767642+/-nan, 45.434316947514525+/-nan,\n",
" 45.79001967569101+/-nan, 44.373678858979716+/-nan,\n",
" 44.30970039095943+/-nan, 46.16331722441009+/-nan,\n",
" 46.08105971750488+/-nan, 46.27372376784467+/-nan,\n",
" 43.18101816774123+/-nan, 46.21990395299141+/-nan,\n",
" 47.65613216970865+/-nan, 45.44757204102094+/-nan,\n",
" 46.15125411738556+/-nan, 46.75599053582757+/-nan,\n",
" 44.32872271444131+/-nan, 45.542464092852626+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centery</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>48.10984924238203+/-nan ... 48.2...</div><input id='attrs-c078280c-7362-4f0a-ba09-1b8af75909c9' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c078280c-7362-4f0a-ba09-1b8af75909c9' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-161100d5-ed5e-4ea6-97b7-b8d3a816fd7c' class='xr-var-data-in' type='checkbox'><label for='data-161100d5-ed5e-4ea6-97b7-b8d3a816fd7c' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([48.10984924238203+/-nan, 48.29776864170357+/-nan,\n",
" 47.89841719607176+/-nan, 48.637843612341435+/-nan,\n",
" 50.37205105787732+/-nan, 50.155873982348055+/-nan,\n",
" 48.27111751663431+/-nan, 48.07814079982143+/-nan,\n",
" 45.50313397295916+/-nan, 47.714487832172104+/-nan,\n",
" 49.05731548616915+/-nan, 47.50811202696543+/-nan,\n",
" 46.1817067496195+/-nan, 48.94577010119909+/-nan,\n",
" 50.1565406150817+/-nan, 48.077286151654334+/-nan,\n",
" 48.57662656783241+/-nan, 47.78555906193826+/-nan,\n",
" 48.99216045013127+/-nan, 48.20215142491456+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmax</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>11.148402342086538+/-nan ... 11....</div><input id='attrs-a2fe2418-af5b-4e33-9dd3-b43c2272f130' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a2fe2418-af5b-4e33-9dd3-b43c2272f130' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5ca79232-b13c-41a9-8fcf-16198212e543' class='xr-var-data-in' type='checkbox'><label for='data-5ca79232-b13c-41a9-8fcf-16198212e543' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([11.148402342086538+/-nan, 10.846082348511317+/-nan,\n",
" 9.936114826926607+/-nan, 11.472841060977212+/-nan,\n",
" 11.087130045409271+/-nan, 12.11490129467912+/-nan,\n",
" 10.612355566718353+/-nan, 12.24460010310613+/-nan,\n",
" 11.069876144733835+/-nan, 10.847949190512326+/-nan,\n",
" 11.320238906819718+/-nan, 10.45963696150712+/-nan,\n",
" 12.117828903680287+/-nan, 11.034145701375415+/-nan,\n",
" 11.355872074606202+/-nan, 12.116194146665793+/-nan,\n",
" 10.903573947256424+/-nan, 10.129303376358745+/-nan,\n",
" 12.01520389393174+/-nan, 11.240485207644735+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmay</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>28.173710962485302+/-nan ... 28....</div><input id='attrs-a3a4df22-e9ae-4cfa-bcf7-aef2956fbc10' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a3a4df22-e9ae-4cfa-bcf7-aef2956fbc10' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-25090a3b-7cdd-426a-98b0-7e9631f66a74' class='xr-var-data-in' type='checkbox'><label for='data-25090a3b-7cdd-426a-98b0-7e9631f66a74' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([28.173710962485302+/-nan, 27.472729730893885+/-nan,\n",
" 29.009610740653653+/-nan, 27.419395208369675+/-nan,\n",
" 28.78082785775886+/-nan, 29.10278079322779+/-nan,\n",
" 28.744306416044882+/-nan, 28.069840269388685+/-nan,\n",
" 28.200854516406597+/-nan, 28.446834155244442+/-nan,\n",
" 28.515211832123114+/-nan, 28.154729425094988+/-nan,\n",
" 28.34634650648515+/-nan, 28.194266087711572+/-nan,\n",
" 27.522060885732127+/-nan, 28.19518556065402+/-nan,\n",
" 28.682484626873705+/-nan, 28.440019920248236+/-nan,\n",
" 27.80547930051193+/-nan, 28.020501236848293+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmax</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>20.210666526427037+/-nan ... 19....</div><input id='attrs-b42be749-186c-4699-a239-d6f6038f9513' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b42be749-186c-4699-a239-d6f6038f9513' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-20c38154-dd2a-46c6-b8ee-16b5763ceffe' class='xr-var-data-in' type='checkbox'><label for='data-20c38154-dd2a-46c6-b8ee-16b5763ceffe' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([20.210666526427037+/-nan, 24.757561807686848+/-nan,\n",
" 21.016275726385558+/-nan, 21.258035446764737+/-nan,\n",
" 24.070593277746358+/-nan, 23.659615215915654+/-nan,\n",
" 22.266005090386873+/-nan, 26.698202895570923+/-nan,\n",
" 22.43670433550361+/-nan, 23.011456416631702+/-nan,\n",
" 20.891865108307083+/-nan, 22.19060404180224+/-nan,\n",
" 23.75360558398967+/-nan, 21.489022009835708+/-nan,\n",
" 23.143154840521934+/-nan, 24.664786557573173+/-nan,\n",
" 24.428932400629346+/-nan, 20.908575597007076+/-nan,\n",
" 26.44651418579941+/-nan, 19.26572608786609+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmay</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>22.827594738210404+/-nan ... 20....</div><input id='attrs-22cc9fc7-498e-4c10-b86c-7c24d2ee04e7' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-22cc9fc7-498e-4c10-b86c-7c24d2ee04e7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bc1dc8aa-547f-4675-8b6c-529ac0f95b0d' class='xr-var-data-in' type='checkbox'><label for='data-bc1dc8aa-547f-4675-8b6c-529ac0f95b0d' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([22.827594738210404+/-nan, 29.354713384227505+/-nan,\n",
" 22.789693923460963+/-nan, 23.18921200858366+/-nan,\n",
" 28.78685175806023+/-nan, 28.391538259098784+/-nan,\n",
" 25.912070215608463+/-nan, 32.037843474685104+/-nan,\n",
" 26.19017971689124+/-nan, 27.613747699958044+/-nan,\n",
" 23.91984106587037+/-nan, 26.384204859722296+/-nan,\n",
" 28.504326700787605+/-nan, 25.393825266679013+/-nan,\n",
" 27.77178580862632+/-nan, 29.597743869087807+/-nan,\n",
" 29.314718880755215+/-nan, 22.642030075368012+/-nan,\n",
" 31.73581702295929+/-nan, 20.30783021305562+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermalAspectRatio</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1.1294825288597745+/-nan ... 1.0...</div><input id='attrs-84165e27-5e1b-4e91-b3d2-b5bd07d162a9' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-84165e27-5e1b-4e91-b3d2-b5bd07d162a9' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4e46054b-432f-434c-afa5-013f36cc15f3' class='xr-var-data-in' type='checkbox'><label for='data-4e46054b-432f-434c-afa5-013f36cc15f3' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([1.1294825288597745+/-nan, 1.1856867656132968+/-nan,\n",
" 1.0843830857647585+/-nan, 1.090844545191161+/-nan,\n",
" 1.1959344510496186+/-nan, 1.2+/-nan, 1.1637503050242157+/-nan,\n",
" 1.2+/-nan, 1.167291743264102+/-nan, 1.2+/-nan,\n",
" 1.1449356456144881+/-nan, 1.1889809222867584+/-nan, 1.2+/-nan,\n",
" 1.1817115388060027+/-nan, 1.2+/-nan, 1.2+/-nan, 1.2+/-nan,\n",
" 1.0829063878750818+/-nan, 1.2+/-nan, 1.0540910900755445+/-nan],\n",
" dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>condensate_fraction</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1.0+/-nan 1.0+/-nan ... 1.0+/-nan</div><input id='attrs-28b68693-c5b1-4b99-a0f1-e128ade63856' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-28b68693-c5b1-4b99-a0f1-e128ade63856' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b126802e-2e20-4301-927a-3e28908f8cbe' class='xr-var-data-in' type='checkbox'><label for='data-b126802e-2e20-4301-927a-3e28908f8cbe' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan,\n",
" 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan,\n",
" 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan,\n",
" 1.0+/-nan, 1.0+/-nan], dtype=object)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-244e583a-6404-438a-a610-3d225e7aa06b' class='xr-section-summary-in' type='checkbox' ><label for='section-244e583a-6404-438a-a610-3d225e7aa06b' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-8205b11f-4659-4f73-87a7-d2aec2863f80' class='xr-index-data-in' type='checkbox'/><label for='index-8205b11f-4659-4f73-87a7-d2aec2863f80' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,\n",
" 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0],\n",
" dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-92338550-34a4-4904-b2ad-09855698df24' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-92338550-34a4-4904-b2ad-09855698df24' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
2023-05-24 16:54:29 +02:00
],
"text/plain": [
"<xarray.Dataset>\n",
2023-06-02 18:42:18 +02:00
"Dimensions: (runs: 20)\n",
2023-05-24 16:54:29 +02:00
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 ... 16.0 17.0 18.0 19.0\n",
2023-05-24 16:54:29 +02:00
"Data variables:\n",
2023-06-02 18:42:18 +02:00
" BEC_amplitude (runs) object 678.2635955189662+/-nan ... 704.529111...\n",
" thermal_amplitude (runs) object 0.0+/-nan 0.0+/-nan ... 0.0+/-nan\n",
" BEC_centerx (runs) object 41.68161303986658+/-nan ... 43.3093895...\n",
" BEC_centery (runs) object 48.263472046762345+/-nan ... 47.371206...\n",
" thermal_centerx (runs) object 44.13847419706019+/-nan ... 45.5424640...\n",
" thermal_centery (runs) object 48.10984924238203+/-nan ... 48.2021514...\n",
" BEC_sigmax (runs) object 11.148402342086538+/-nan ... 11.240485...\n",
" BEC_sigmay (runs) object 28.173710962485302+/-nan ... 28.020501...\n",
" thermal_sigmax (runs) object 20.210666526427037+/-nan ... 19.265726...\n",
" thermal_sigmay (runs) object 22.827594738210404+/-nan ... 20.307830...\n",
" thermalAspectRatio (runs) object 1.1294825288597745+/-nan ... 1.0540910...\n",
" condensate_fraction (runs) object 1.0+/-nan 1.0+/-nan ... 1.0+/-nan"
2023-05-24 16:54:29 +02:00
]
},
2023-06-02 18:42:18 +02:00
"execution_count": 14,
2023-05-24 16:54:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"value"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Get the result of the fit"
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 24,
"metadata": {},
"outputs": [],
"source": [
"value = fitAnalyser.get_fit_value(fitResult)"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [],
"source": [
"std = fitAnalyser.get_fit_std(fitResult)"
]
},
{
"cell_type": "code",
"execution_count": 26,
2023-05-24 16:54:29 +02:00
"metadata": {},
"outputs": [
2023-06-02 18:42:18 +02:00
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\data\\AppData\\Roaming\\Python\\Python39\\site-packages\\numpy\\lib\\function_base.py:2246: RuntimeWarning: invalid value encountered in _get_fit_full_result_single (vectorized)\n",
" outputs = ufunc(*inputs)\n"
]
},
2023-05-24 16:54:29 +02:00
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
2023-06-02 18:42:18 +02:00
"Dimensions: (runs: 20)\n",
2023-05-24 16:54:29 +02:00
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 ... 16.0 17.0 18.0 19.0\n",
2023-05-24 16:54:29 +02:00
"Data variables:\n",
2023-06-02 18:42:18 +02:00
" BEC_amplitude (runs) object 678.2635955189662+/-nan ... 704.529111...\n",
" thermal_amplitude (runs) object 0.0+/-nan 0.0+/-nan ... 0.0+/-nan\n",
" BEC_centerx (runs) object 41.68161303986658+/-nan ... 43.3093895...\n",
" BEC_centery (runs) object 48.263472046762345+/-nan ... 47.371206...\n",
" thermal_centerx (runs) object 44.13847419706019+/-nan ... 45.5424640...\n",
" thermal_centery (runs) object 48.10984924238203+/-nan ... 48.2021514...\n",
" BEC_sigmax (runs) object 11.148402342086538+/-nan ... 11.240485...\n",
" BEC_sigmay (runs) object 28.173710962485302+/-nan ... 28.020501...\n",
" thermal_sigmax (runs) object 20.210666526427037+/-nan ... 19.265726...\n",
" thermal_sigmay (runs) object 22.827594738210404+/-nan ... 20.307830...\n",
" thermalAspectRatio (runs) object 1.1294825288597745+/-nan ... 1.0540910...\n",
" condensate_fraction (runs) object 1.0+/-nan 1.0+/-nan ... 1.0+/-nan</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-1a216d6f-cd96-41a0-95c3-de1b2dec949e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-1a216d6f-cd96-41a0-95c3-de1b2dec949e' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 20</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-7dd206d7-461b-4171-a8b6-2806bd261265' class='xr-section-summary-in' type='checkbox' checked><label for='section-7dd206d7-461b-4171-a8b6-2806bd261265' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 ... 17.0 18.0 19.0</div><input id='attrs-e3498fae-5355-46f7-8718-836f13f0f1b5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-e3498fae-5355-46f7-8718-836f13f0f1b5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1715c2b8-d0c0-4f5a-aaf3-d3d7210b5b88' class='xr-var-data-in' type='checkbox'><label for='data-1715c2b8-d0c0-4f5a-aaf3-d3d7210b5b88' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13.,\n",
" 14., 15., 16., 17., 18., 19.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-f4926267-dbc5-40b8-876b-0acc33017207' class='xr-section-summary-in' type='checkbox' checked><label for='section-f4926267-dbc5-40b8-876b-0acc33017207' class='xr-section-summary' >Data variables: <span>(12)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>BEC_amplitude</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>678.2635955189662+/-nan ... 704....</div><input id='attrs-94f3126e-f6ad-485c-8ce7-79235ca3d1a5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-94f3126e-f6ad-485c-8ce7-79235ca3d1a5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-131a9007-9639-4708-b3eb-039a61c0f0a5' class='xr-var-data-in' type='checkbox'><label for='data-131a9007-9639-4708-b3eb-039a61c0f0a5' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([678.2635955189662+/-nan, 570.9300691040178+/-nan,\n",
" 729.7439048133908+/-nan, 561.4816558162713+/-nan,\n",
" 767.46198583519+/-nan, 791.6371068647577+/-nan,\n",
" 738.3120441940093+/-nan, 718.0327650311755+/-nan,\n",
" 713.2635798843459+/-nan, 770.4724349923216+/-nan,\n",
" 745.2630547187833+/-nan, 713.6190864987104+/-nan,\n",
" 730.4155945253933+/-nan, 766.7164328868425+/-nan,\n",
" 711.4300692582335+/-nan, 765.9705661810385+/-nan,\n",
" 744.9363853076882+/-nan, 695.0804563161535+/-nan,\n",
" 740.9492233678551+/-nan, 704.5291114313244+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_amplitude</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>0.0+/-nan 0.0+/-nan ... 0.0+/-nan</div><input id='attrs-1c8827c4-0e30-42b2-baa6-977a735159ca' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-1c8827c4-0e30-42b2-baa6-977a735159ca' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4a244b95-44d5-45d1-b408-453c79701d65' class='xr-var-data-in' type='checkbox'><label for='data-4a244b95-44d5-45d1-b408-453c79701d65' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan,\n",
" 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan,\n",
" 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan, 0.0+/-nan,\n",
" 0.0+/-nan, 0.0+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centerx</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>41.68161303986658+/-nan ... 43.3...</div><input id='attrs-583ef8f4-fe00-4c5b-a4f2-c4235ed966f9' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-583ef8f4-fe00-4c5b-a4f2-c4235ed966f9' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-84f30403-ba59-4ce6-81a4-42caf91c5e62' class='xr-var-data-in' type='checkbox'><label for='data-84f30403-ba59-4ce6-81a4-42caf91c5e62' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([41.68161303986658+/-nan, 43.54643075547984+/-nan,\n",
" 44.010352486593824+/-nan, 42.23001931117413+/-nan,\n",
" 42.766374066460976+/-nan, 43.064151852282954+/-nan,\n",
" 43.516086914287854+/-nan, 41.760592913348056+/-nan,\n",
" 43.51494443994783+/-nan, 42.96251968226675+/-nan,\n",
" 43.37005744679945+/-nan, 43.56655154931581+/-nan,\n",
" 41.772287573081385+/-nan, 43.57692836638424+/-nan,\n",
" 45.61015214662576+/-nan, 41.40326837431126+/-nan,\n",
" 44.13412837882349+/-nan, 44.00010352323085+/-nan,\n",
" 42.32311435664195+/-nan, 43.309389528876224+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centery</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>48.263472046762345+/-nan ... 47....</div><input id='attrs-b607aed7-4250-44e6-ba96-f68113d8810f' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b607aed7-4250-44e6-ba96-f68113d8810f' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1f9d701c-22a2-4845-98fc-9a86af0576c6' class='xr-var-data-in' type='checkbox'><label for='data-1f9d701c-22a2-4845-98fc-9a86af0576c6' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([48.263472046762345+/-nan, 47.92156369156314+/-nan,\n",
" 47.92387786596079+/-nan, 48.10018864805499+/-nan,\n",
" 51.08989375819018+/-nan, 49.75067493119259+/-nan,\n",
" 47.485012496868826+/-nan, 50.089735490415876+/-nan,\n",
" 45.30492159070581+/-nan, 48.163658266991035+/-nan,\n",
" 48.69045819525425+/-nan, 47.71273537630479+/-nan,\n",
" 46.667368211637175+/-nan, 49.78442036595954+/-nan,\n",
" 49.765165402627545+/-nan, 47.198228609116065+/-nan,\n",
" 49.29418992339359+/-nan, 49.08225642928532+/-nan,\n",
" 49.653591948991554+/-nan, 47.371206413802184+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centerx</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>44.13847419706019+/-nan ... 45.5...</div><input id='attrs-b58221cf-5462-46e1-a60c-f14a56db0b15' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b58221cf-5462-46e1-a60c-f14a56db0b15' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-afbf2cc8-b06d-4b1e-a77e-3035fdd14f47' class='xr-var-data-in' type='checkbox'><label for='data-afbf2cc8-b06d-4b1e-a77e-3035fdd14f47' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([44.13847419706019+/-nan, 45.625985468547086+/-nan,\n",
" 46.533925797896586+/-nan, 44.62165814130569+/-nan,\n",
" 46.27250825767642+/-nan, 45.434316947514525+/-nan,\n",
" 45.79001967569101+/-nan, 44.373678858979716+/-nan,\n",
" 44.30970039095943+/-nan, 46.16331722441009+/-nan,\n",
" 46.08105971750488+/-nan, 46.27372376784467+/-nan,\n",
" 43.18101816774123+/-nan, 46.21990395299141+/-nan,\n",
" 47.65613216970865+/-nan, 45.44757204102094+/-nan,\n",
" 46.15125411738556+/-nan, 46.75599053582757+/-nan,\n",
" 44.32872271444131+/-nan, 45.542464092852626+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centery</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>48.10984924238203+/-nan ... 48.2...</div><input id='attrs-b952584c-dfb2-41b9-8740-1c2586992bbe' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b952584c-dfb2-41b9-8740-1c2586992bbe' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-416f0dec-da56-4b2e-8030-ccf4ddb992ca' class='xr-var-data-in' type='checkbox'><label for='data-416f0dec-da56-4b2e-8030-ccf4ddb992ca' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([48.10984924238203+/-nan, 48.29776864170357+/-nan,\n",
" 47.89841719607176+/-nan, 48.637843612341435+/-nan,\n",
" 50.37205105787732+/-nan, 50.155873982348055+/-nan,\n",
" 48.27111751663431+/-nan, 48.07814079982143+/-nan,\n",
" 45.50313397295916+/-nan, 47.714487832172104+/-nan,\n",
" 49.05731548616915+/-nan, 47.50811202696543+/-nan,\n",
" 46.1817067496195+/-nan, 48.94577010119909+/-nan,\n",
" 50.1565406150817+/-nan, 48.077286151654334+/-nan,\n",
" 48.57662656783241+/-nan, 47.78555906193826+/-nan,\n",
" 48.99216045013127+/-nan, 48.20215142491456+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmax</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>11.148402342086538+/-nan ... 11....</div><input id='attrs-9613df5a-194d-4e5d-863f-b8ff0584d35c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-9613df5a-194d-4e5d-863f-b8ff0584d35c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6064a1dd-30d4-4217-8ed9-73877723c5e2' class='xr-var-data-in' type='checkbox'><label for='data-6064a1dd-30d4-4217-8ed9-73877723c5e2' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([11.148402342086538+/-nan, 10.846082348511317+/-nan,\n",
" 9.936114826926607+/-nan, 11.472841060977212+/-nan,\n",
" 11.087130045409271+/-nan, 12.11490129467912+/-nan,\n",
" 10.612355566718353+/-nan, 12.24460010310613+/-nan,\n",
" 11.069876144733835+/-nan, 10.847949190512326+/-nan,\n",
" 11.320238906819718+/-nan, 10.45963696150712+/-nan,\n",
" 12.117828903680287+/-nan, 11.034145701375415+/-nan,\n",
" 11.355872074606202+/-nan, 12.116194146665793+/-nan,\n",
" 10.903573947256424+/-nan, 10.129303376358745+/-nan,\n",
" 12.01520389393174+/-nan, 11.240485207644735+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmay</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>28.173710962485302+/-nan ... 28....</div><input id='attrs-731e9688-9c5e-44b8-8868-0b4840fc4b9c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-731e9688-9c5e-44b8-8868-0b4840fc4b9c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-03cf043b-a549-4b31-8eb8-5acd44941cf4' class='xr-var-data-in' type='checkbox'><label for='data-03cf043b-a549-4b31-8eb8-5acd44941cf4' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([28.173710962485302+/-nan, 27.472729730893885+/-nan,\n",
" 29.009610740653653+/-nan, 27.419395208369675+/-nan,\n",
" 28.78082785775886+/-nan, 29.10278079322779+/-nan,\n",
" 28.744306416044882+/-nan, 28.069840269388685+/-nan,\n",
" 28.200854516406597+/-nan, 28.446834155244442+/-nan,\n",
" 28.515211832123114+/-nan, 28.154729425094988+/-nan,\n",
" 28.34634650648515+/-nan, 28.194266087711572+/-nan,\n",
" 27.522060885732127+/-nan, 28.19518556065402+/-nan,\n",
" 28.682484626873705+/-nan, 28.440019920248236+/-nan,\n",
" 27.80547930051193+/-nan, 28.020501236848293+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmax</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>20.210666526427037+/-nan ... 19....</div><input id='attrs-af29ddb1-abfe-4bc0-a219-2c8cb7820440' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-af29ddb1-abfe-4bc0-a219-2c8cb7820440' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4a7f1246-974c-4373-9869-2cdd474f1b0e' class='xr-var-data-in' type='checkbox'><label for='data-4a7f1246-974c-4373-9869-2cdd474f1b0e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([20.210666526427037+/-nan, 24.757561807686848+/-nan,\n",
" 21.016275726385558+/-nan, 21.258035446764737+/-nan,\n",
" 24.070593277746358+/-nan, 23.659615215915654+/-nan,\n",
" 22.266005090386873+/-nan, 26.698202895570923+/-nan,\n",
" 22.43670433550361+/-nan, 23.011456416631702+/-nan,\n",
" 20.891865108307083+/-nan, 22.19060404180224+/-nan,\n",
" 23.75360558398967+/-nan, 21.489022009835708+/-nan,\n",
" 23.143154840521934+/-nan, 24.664786557573173+/-nan,\n",
" 24.428932400629346+/-nan, 20.908575597007076+/-nan,\n",
" 26.44651418579941+/-nan, 19.26572608786609+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmay</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>22.827594738210404+/-nan ... 20....</div><input id='attrs-34293cce-7870-4a7b-b30f-7362232407a5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-34293cce-7870-4a7b-b30f-7362232407a5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-007cd236-2bea-44f3-9453-7b0c5015589e' class='xr-var-data-in' type='checkbox'><label for='data-007cd236-2bea-44f3-9453-7b0c5015589e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([22.827594738210404+/-nan, 29.354713384227505+/-nan,\n",
" 22.789693923460963+/-nan, 23.18921200858366+/-nan,\n",
" 28.78685175806023+/-nan, 28.391538259098784+/-nan,\n",
" 25.912070215608463+/-nan, 32.037843474685104+/-nan,\n",
" 26.19017971689124+/-nan, 27.613747699958044+/-nan,\n",
" 23.91984106587037+/-nan, 26.384204859722296+/-nan,\n",
" 28.504326700787605+/-nan, 25.393825266679013+/-nan,\n",
" 27.77178580862632+/-nan, 29.597743869087807+/-nan,\n",
" 29.314718880755215+/-nan, 22.642030075368012+/-nan,\n",
" 31.73581702295929+/-nan, 20.30783021305562+/-nan], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermalAspectRatio</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1.1294825288597745+/-nan ... 1.0...</div><input id='attrs-36657bfb-be9d-470f-bae0-8816a86c0fdc' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-36657bfb-be9d-470f-bae0-8816a86c0fdc' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-20913f5c-b760-41c0-be65-1a45bfa5ce72' class='xr-var-data-in' type='checkbox'><label for='data-20913f5c-b760-41c0-be65-1a45bfa5ce72' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([1.1294825288597745+/-nan, 1.1856867656132968+/-nan,\n",
" 1.0843830857647585+/-nan, 1.090844545191161+/-nan,\n",
" 1.1959344510496186+/-nan, 1.2+/-nan, 1.1637503050242157+/-nan,\n",
" 1.2+/-nan, 1.167291743264102+/-nan, 1.2+/-nan,\n",
" 1.1449356456144881+/-nan, 1.1889809222867584+/-nan, 1.2+/-nan,\n",
" 1.1817115388060027+/-nan, 1.2+/-nan, 1.2+/-nan, 1.2+/-nan,\n",
" 1.0829063878750818+/-nan, 1.2+/-nan, 1.0540910900755445+/-nan],\n",
" dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>condensate_fraction</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1.0+/-nan 1.0+/-nan ... 1.0+/-nan</div><input id='attrs-90fecb03-5a3c-4bca-ae05-17e5ca62f818' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-90fecb03-5a3c-4bca-ae05-17e5ca62f818' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-94bfdbe5-de37-49e6-aa3b-a6fc284fc16f' class='xr-var-data-in' type='checkbox'><label for='data-94bfdbe5-de37-49e6-aa3b-a6fc284fc16f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan,\n",
" 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan,\n",
" 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan, 1.0+/-nan,\n",
" 1.0+/-nan, 1.0+/-nan], dtype=object)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-c0c5a21a-e028-4042-86cb-f37453c07f6a' class='xr-section-summary-in' type='checkbox' ><label for='section-c0c5a21a-e028-4042-86cb-f37453c07f6a' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-be39d4ae-64ed-4f4c-95dc-94432182fe30' class='xr-index-data-in' type='checkbox'/><label for='index-be39d4ae-64ed-4f4c-95dc-94432182fe30' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,\n",
" 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0],\n",
" dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-81cf425a-e368-4efe-a16d-55c6719dd68e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-81cf425a-e368-4efe-a16d-55c6719dd68e' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
2023-05-24 16:54:29 +02:00
],
"text/plain": [
"<xarray.Dataset>\n",
2023-06-02 18:42:18 +02:00
"Dimensions: (runs: 20)\n",
2023-05-24 16:54:29 +02:00
"Coordinates:\n",
2023-06-02 18:42:18 +02:00
" * runs (runs) float64 0.0 1.0 2.0 3.0 ... 16.0 17.0 18.0 19.0\n",
2023-05-24 16:54:29 +02:00
"Data variables:\n",
2023-06-02 18:42:18 +02:00
" BEC_amplitude (runs) object 678.2635955189662+/-nan ... 704.529111...\n",
" thermal_amplitude (runs) object 0.0+/-nan 0.0+/-nan ... 0.0+/-nan\n",
" BEC_centerx (runs) object 41.68161303986658+/-nan ... 43.3093895...\n",
" BEC_centery (runs) object 48.263472046762345+/-nan ... 47.371206...\n",
" thermal_centerx (runs) object 44.13847419706019+/-nan ... 45.5424640...\n",
" thermal_centery (runs) object 48.10984924238203+/-nan ... 48.2021514...\n",
" BEC_sigmax (runs) object 11.148402342086538+/-nan ... 11.240485...\n",
" BEC_sigmay (runs) object 28.173710962485302+/-nan ... 28.020501...\n",
" thermal_sigmax (runs) object 20.210666526427037+/-nan ... 19.265726...\n",
" thermal_sigmay (runs) object 22.827594738210404+/-nan ... 20.307830...\n",
" thermalAspectRatio (runs) object 1.1294825288597745+/-nan ... 1.0540910...\n",
" condensate_fraction (runs) object 1.0+/-nan 1.0+/-nan ... 1.0+/-nan"
2023-05-24 16:54:29 +02:00
]
},
2023-06-02 18:42:18 +02:00
"execution_count": 26,
2023-05-24 16:54:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2023-06-02 18:42:18 +02:00
"fitAnalyser.get_fit_full_result(fitResult)"
2023-05-24 16:54:29 +02:00
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 40,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAjwAAAGxCAYAAABmyWwBAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/bCgiHAAAACXBIWXMAAA9hAAAPYQGoP6dpAAA7vklEQVR4nO3de1yUZf7/8fcEOAoJHjkpAbkeVqVytV+mGZqCuZ6KTSo7eNrW1nIlNNdq23A3zfpuamtbamtqmtp+FXvYVqtYSrp2UMJWrTW38BgsaQoeYYT798d8mRw5CMPAzNzzej4ePGCu+5qb6zP3AG/u02UxDMMQAACAiV3l6QEAAAA0NAIPAAAwPQIPAAAwPQIPAAAwPQIPAAAwPQIPAAAwPQIPAAAwPQIPAAAwvUBPD8AblJeX67vvvlPz5s1lsVg8PRwAAFALhmHo9OnTio6O1lVX1bwPh8Aj6bvvvlNMTIynhwEAAFxw5MgRtW/fvsY+Hg08Fy9eVEZGht58800VFBQoKipKY8eO1e9+9ztHUjMMQzNnztTixYt18uRJ3XTTTfrLX/6ibt26OdZTUlKiadOmafXq1Tp//rwGDhyoV1555YrFV2jevLkk+wsWGhrq1hptNps2bdqk5ORkBQUFuXXd3oZazcuf6qVW8/Knev2l1uLiYsXExDj+jtfEo4Hn+eef18KFC7V8+XJ169ZNu3bt0rhx4xQWFqYpU6ZIkl544QXNnTtXy5YtU6dOnfTss88qKSlJ+/fvdxSYlpamd955R2vWrFHr1q01depUDRs2TDk5OQoICLjiOCoOY4WGhjZI4AkODlZoaKip33QStZqZP9VLreblT/X6U62SanU6ikcDz8cff6yRI0dq6NChkqS4uDitXr1au3btkmTfuzN//nw99dRTSklJkSQtX75cERERWrVqlSZOnKiioiItWbJEK1as0KBBgyRJK1euVExMjDZv3qzBgwd7pjgAAOA1PBp4brnlFi1cuFBff/21OnXqpC+++ELbt2/X/PnzJUl5eXkqKChQcnKy4zlWq1WJiYnasWOHJk6cqJycHNlsNqc+0dHR6t69u3bs2FFl4CkpKVFJSYnjcXFxsSR7IrbZbG6tsWJ97l6vN6JW8/KneqnVvPypXn+ptS71eTTw/Pa3v1VRUZG6dOmigIAAlZWVadasWbr33nslSQUFBZKkiIgIp+dFRETo0KFDjj5NmjRRy5YtK/WpeP7lnnvuOc2cObNS+6ZNmxQcHFzvuqqSlZXVIOv1RtRqXv5UL7Walz/Va/Zaz507V+u+Hg08b731llauXKlVq1apW7du2r17t9LS0hQdHa0xY8Y4+l1+bM4wjCser6upzxNPPKH09HTH44qTnpKTkxvkHJ6srCwlJSWZ/jgqtZqXP9VLreblT/X6S60VR2hqw6OB5/HHH9eMGTN0zz33SJISEhJ06NAhPffccxozZowiIyMlyXEFV4XCwkLHXp/IyEiVlpbq5MmTTnt5CgsL1adPnyq/r9VqldVqrdQeFBTUYG+Mhly3t6FW8/KneqnVvPypXrPXWpfaPHqn5XPnzlW6UVBAQIDKy8slSfHx8YqMjHTaJVdaWqrs7GxHmOnZs6eCgoKc+uTn52vv3r3VBh4AAOBfPLqHZ/jw4Zo1a5auueYadevWTbm5uZo7d67Gjx8vyX4oKy0tTbNnz1bHjh3VsWNHzZ49W8HBwRo9erQkKSwsTBMmTNDUqVPVunVrtWrVStOmTVNCQoLjqi0AAODfPBp4FixYoKefflqTJk1SYWGhoqOjNXHiRP3+97939Jk+fbrOnz+vSZMmOW48uGnTJqebDM2bN0+BgYFKTU113Hhw2bJltboHDwAAMD+PBp7mzZtr/vz5jsvQq2KxWJSRkaGMjIxq+zRt2lQLFizQggUL3D9IAADg85gtHaijsjIpO9uijz5qp+xsi8rKPD0iAMCVEHiAOsjMlOLipKSkQM2d20tJSYGKi7O3AwC8F4EHqKXMTOmuu6SjR53bjx2ztxN6AMB7EXiAWigrk6ZMkQyj8rKKtrQ0cXgLALwUgQeohW3bKu/ZuZRhSEeO2PsBALwPgQeohfx89/YDADQuAg9QC5fMbOKWfgCAxkXgAWqhXz+pfXupujlrLRYpJsbeDwDgfQg8QC0EBEgvvWT/+vLQU/F4/nx7PwCA9yHwALWUkiKtXSu1a+fc3r69vT0lxTPjAgBcmUenlgB8TUqKNHKktGXLRb3//m4NGXKDBgwIZM8OAHg5Ag9QRwEBUmKiobNnjykx8XrCDgD4AA5pAQAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0yPwAAAA0wv09AAAoLbKyqRt26T8fCkqSurXTwoI8PSoAPgCAg8An5CZKU2ZIh09+mNb+/bSSy9JKSmeGxcA38AhLQBeLzNTuusu57AjSceO2dszMz0zLgC+g8ADwKuVldn37BhG5WUVbWlp9n4AUB0CD0yprEzaulVavdr+mT+Gvmvbtsp7di5lGNKRI/Z+AFAdzuGB6XCuh7nk57u3H1zDCePwdezhgalwrof5REW5tx/qLjNTiouTBgyQRo+2f46L862fp7IyKTvboo8+aqfsbAt7ff0QgQemwbke5tSvn30PncVS9XKLRYqJsfeD+5nhn4iKwJaUFKi5c3spKSnQ5wIb6o/AA9PgXA9zCgiwH46UKoeeisfz53N4pSGY4Z8IMwQ2uAeBB6bBuR7mlZIirV0rtWvn3N6+vb2dc7Mahq//E2GGwAb34aRlmAbnephbSoo0ciQnzjYmX/8noi6BrX//RhsWPITAA9OoONfj2LGq/6OzWOzLOdfDdwUE8IepMfn6PxG+HtjgXhzSgmlwrgfgXr5+wrivBza4F4EHpsK5HoD7+Po/Eb4e2OBeBB6YTkqKdPCgtGWLtGqV/XNeHmEHcIUv/xPh64EN7sU5PDAlzvUA3MeXTxivCGxV3X19/nzvDmxwLwIPAOCKfPmfiIrAtmXLRb3//m4NGXKDBgwI9InABvch8AAATC8gQEpMNHT27DElJl5P2PFDnMMDAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMj8ADAABMz6OBJy4uThaLpdLHI488IkkaO3ZspWW9e/d2WkdJSYkmT56sNm3aKCQkRCNGjNDRo0c9UQ4AAPBSHg08O3fuVH5+vuMjKytLkjRq1ChHn9tvv92pz3vvvee0jrS0NK1fv15r1qzR9u3bdebMGQ0bNkxlZWWNWgsAAPBegZ785m3btnV6PGfOHHXo0EGJiYmONqvVqsjIyCqfX1RUpCVLlmjFihUaNGiQJGnlypWKiYnR5s2bNXjw4IYbPAAA8BkeDTyXKi0t1cqVK5Weni6LxeJo37p1q8LDw9WiRQslJiZq1qxZCg8PlyTl5OTIZrMpOTnZ0T86Olrdu3fXjh07qg08JSUlKikpcTwuLi6WJNlsNtlsNrfWVbE+d6/XG1GreflTvdRqXv5Ur7/UWpf6LIZhGA04llr729/+ptGjR+vw4cOKjo6WJL311lu6+uqrFRsbq7y8PD399NO6ePGicnJyZLVatWrVKo0bN84pvEhScnKy4uPjtWjRoiq/V0ZGhmbOnFmpfdWqVQoODnZ/cQAAwO3OnTun0aNHq6ioSKGhoTX29ZrAM3jwYDVp0kTvvPNOtX3y8/MVGxurNWvWKCUlpdrAk5SUpA4dOmjhwoVVrqeqPTwxMTE6fvz4FV+wurLZbMrKylJSUpKCgoLcum5vQ63m5U/1Uqt5+VO9/lJrcXGx2rRpU6vA4xWHtA4dOqTNmzcrMzOzxn5RUVGKjY3VgQMHJEmRkZEqLS3VyZMn1bJlS0e/wsJC9enTp9r1WK1WWa3WSu1BQUEN9sZoyHV7G2o1L7PXW1Ym7dh
"text/plain": [
"<Figure size 640x480 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"value.BEC_amplitude.plot.errorbar(fmt='ob')\n",
"plt.grid()"
]
},
{
"cell_type": "code",
"execution_count": 39,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 640x480 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"Ncount.plot.errorbar(fmt='ob')\n",
"plt.grid()"
]
},
{
"cell_type": "code",
"execution_count": 45,
2023-05-24 16:54:29 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
2023-06-02 18:42:18 +02:00
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;BEC_amplitude&#x27; ()&gt;\n",
"array(717.92545613)</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'BEC_amplitude'</div></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-a31f85ed-3657-4e68-abcb-68057cf991fe' class='xr-array-in' type='checkbox' checked><label for='section-a31f85ed-3657-4e68-abcb-68057cf991fe' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>717.9</span></div><div class='xr-array-data'><pre>array(717.92545613)</pre></div></div></li><li class='xr-section-item'><input id='section-9cca9315-854c-4eaf-a633-d6dfe62131aa' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-9cca9315-854c-4eaf-a633-d6dfe62131aa' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-5f9b9670-24bd-4d42-8ed8-a18f69bc1348' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-5f9b9670-24bd-4d42-8ed8-a18f69bc1348' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-c511c759-efd6-489f-bd68-df745fa34095' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-c511c759-efd6-489f-bd68-df745fa34095' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
2023-05-24 16:54:29 +02:00
],
"text/plain": [
2023-06-02 18:42:18 +02:00
"<xarray.DataArray 'BEC_amplitude' ()>\n",
"array(717.92545613)"
2023-05-24 16:54:29 +02:00
]
},
2023-06-02 18:42:18 +02:00
"execution_count": 45,
2023-05-24 16:54:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2023-06-02 18:42:18 +02:00
"calculate_mean(value.BEC_amplitude)"
2023-05-24 16:54:29 +02:00
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 46,
2023-05-24 16:54:29 +02:00
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
2023-06-02 18:42:18 +02:00
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;BEC_amplitude&#x27; ()&gt;\n",
"array(57.66059232)</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'BEC_amplitude'</div></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-69482eaa-387d-4835-9fb2-e61d7cf795cb' class='xr-array-in' type='checkbox' checked><label for='section-69482eaa-387d-4835-9fb2-e61d7cf795cb' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>57.66</span></div><div class='xr-array-data'><pre>array(57.66059232)</pre></div></div></li><li class='xr-section-item'><input id='section-d038e492-4082-411e-88d2-4dbb7ef0855d' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-d038e492-4082-411e-88d2-4dbb7ef0855d' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-0aced48b-9ed2-41fd-ae3e-3296ca20bb22' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-0aced48b-9ed2-41fd-ae3e-3296ca20bb22' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-0971d935-7798-4ca2-9013-e45de2d0c633' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-0971d935-7798-4ca2-9013-e45de2d0c633' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
2023-05-24 16:54:29 +02:00
],
"text/plain": [
2023-06-02 18:42:18 +02:00
"<xarray.DataArray 'BEC_amplitude' ()>\n",
"array(57.66059232)"
2023-05-24 16:54:29 +02:00
]
},
2023-06-02 18:42:18 +02:00
"execution_count": 46,
2023-05-24 16:54:29 +02:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2023-06-02 18:42:18 +02:00
"value.BEC_amplitude.std(dim='runs')"
2023-05-24 16:54:29 +02:00
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"## Get the Ncount"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Calculate the mean and standard deviation"
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": 19,
2023-05-24 16:54:29 +02:00
"metadata": {},
"outputs": [
{
2023-06-02 18:42:18 +02:00
"ename": "TypeError",
"evalue": "No numeric data to plot.",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32mf:\\Jianshun\\analyseScript\\Example.ipynb Cell 26\u001b[0m in \u001b[0;36m6\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X31sZmlsZQ%3D%3D?line=3'>4</a>\u001b[0m Ncount_mean \u001b[39m=\u001b[39m calculate_mean(Ncount)\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X31sZmlsZQ%3D%3D?line=4'>5</a>\u001b[0m Ncount_std \u001b[39m=\u001b[39m calculate_std(Ncount)\n\u001b[1;32m----> <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X31sZmlsZQ%3D%3D?line=5'>6</a>\u001b[0m Ncount_mean\u001b[39m.\u001b[39;49mplot\u001b[39m.\u001b[39;49merrorbar()\u001b[39m#yerr=Ncount_std)\u001b[39;00m\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X31sZmlsZQ%3D%3D?line=6'>7</a>\u001b[0m plt\u001b[39m.\u001b[39mshow()\n",
"File \u001b[1;32mf:\\Jianshun\\analyseScript\\ToolFunction\\HomeMadeXarrayFunction.py:274\u001b[0m, in \u001b[0;36mdataarray_plot_errorbar\u001b[1;34m(DataArrayPlotAccessor, *args, **kwargs)\u001b[0m\n\u001b[0;32m 273\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39mdataarray_plot_errorbar\u001b[39m(DataArrayPlotAccessor, \u001b[39m*\u001b[39margs, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs) \u001b[39m-\u001b[39m\u001b[39m>\u001b[39m \u001b[39mlist\u001b[39m[Line3D] \u001b[39m|\u001b[39m FacetGrid[DataArray]:\n\u001b[1;32m--> 274\u001b[0m \u001b[39mreturn\u001b[39;00m errorbar(DataArrayPlotAccessor\u001b[39m.\u001b[39m_da, \u001b[39m*\u001b[39margs, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs)\n",
"File \u001b[1;32mf:\\Jianshun\\analyseScript\\ToolFunction\\HomeMadeXarrayFunction.py:183\u001b[0m, in \u001b[0;36merrorbar\u001b[1;34m(darray, xerr, yerr, row, col, figsize, aspect, size, ax, hue, x, y, xincrease, yincrease, xscale, yscale, xticks, yticks, xlim, ylim, add_legend, _labels, *args, **kwargs)\u001b[0m\n\u001b[0;32m 180\u001b[0m ndims \u001b[39m=\u001b[39m \u001b[39mlen\u001b[39m(darray\u001b[39m.\u001b[39mdims)\n\u001b[0;32m 181\u001b[0m \u001b[39mif\u001b[39;00m ndims \u001b[39m==\u001b[39m \u001b[39m0\u001b[39m \u001b[39mor\u001b[39;00m darray\u001b[39m.\u001b[39msize \u001b[39m==\u001b[39m \u001b[39m0\u001b[39m:\n\u001b[0;32m 182\u001b[0m \u001b[39m# TypeError to be consistent with pandas\u001b[39;00m\n\u001b[1;32m--> 183\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mTypeError\u001b[39;00m(\u001b[39m\"\u001b[39m\u001b[39mNo numeric data to plot.\u001b[39m\u001b[39m\"\u001b[39m)\n\u001b[0;32m 184\u001b[0m \u001b[39mif\u001b[39;00m ndims \u001b[39m>\u001b[39m \u001b[39m2\u001b[39m:\n\u001b[0;32m 185\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mValueError\u001b[39;00m(\n\u001b[0;32m 186\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mLine plots are for 1- or 2-dimensional DataArrays. \u001b[39m\u001b[39m\"\u001b[39m\n\u001b[0;32m 187\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mPassed DataArray has \u001b[39m\u001b[39m{ndims}\u001b[39;00m\u001b[39m \u001b[39m\u001b[39m\"\u001b[39m\n\u001b[0;32m 188\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mdimensions\u001b[39m\u001b[39m\"\u001b[39m\u001b[39m.\u001b[39mformat(ndims\u001b[39m=\u001b[39mndims)\n\u001b[0;32m 189\u001b[0m )\n",
"\u001b[1;31mTypeError\u001b[0m: No numeric data to plot."
]
2023-05-24 16:54:29 +02:00
}
],
"source": [
"Ncount = imageAnalyser.get_Ncount(dataSet_cropOD)\n",
"\n",
"Ncount.load()\n",
"Ncount_mean = calculate_mean(Ncount)\n",
"Ncount_std = calculate_std(Ncount)\n",
2023-06-02 18:42:18 +02:00
"Ncount_mean.plot.errorbar()#yerr=Ncount_std)\n",
2023-05-24 16:54:29 +02:00
"plt.show()"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Do a 1D fit"
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": null,
2023-05-24 16:54:29 +02:00
"metadata": {},
2023-06-02 18:42:18 +02:00
"outputs": [],
2023-05-24 16:54:29 +02:00
"source": [
"def gaussian(x, amplitude=1.0, center=0.0, sigma=1.0):\n",
" \"\"\"Return a 1-dimensional Gaussian function.\n",
"\n",
" gaussian(x, amplitude, center, sigma) =\n",
" (amplitude/(s2pi*sigma)) * exp(-(1.0*x-center)**2 / (2*sigma**2))\n",
"\n",
" \"\"\"\n",
" return ((amplitude/(max(1e-10, np.sqrt(2*np.pi)*sigma)))\n",
" * np.exp(-(1.0*x-center)**2 / max(1e-10, (2*sigma**2))))\n",
"\n",
"fitModel = NewFitModel(gaussian)\n",
"\n",
"fitModel.make_params()"
]
},
{
"cell_type": "code",
2023-06-02 18:42:18 +02:00
"execution_count": null,
2023-05-24 16:54:29 +02:00
"metadata": {},
2023-06-02 18:42:18 +02:00
"outputs": [],
2023-05-24 16:54:29 +02:00
"source": [
"fitAnalyser = FitAnalyser(fitModel, fitDim=1)\n",
"\n",
"params = fitAnalyser.guess(Ncount_mean, x=\"sin_mod_freq\", dask=\"parallelized\")\n",
"fitResult = fitAnalyser.fit(Ncount_mean, params, x=\"sin_mod_freq\").load()\n",
"\n",
"plot_x = np.linspace(Ncount_mean[\"sin_mod_freq\"].min(), Ncount_mean[\"sin_mod_freq\"].max(), 100)\n",
"\n",
"fitCurve = fitAnalyser.eval(fitResult, x=plot_x, dask=\"parallelized\").load()\n",
"\n",
"fig = plt.figure()\n",
"ax = fig.gca()\n",
"\n",
"Ncount_mean.plot.errorbar(ax=ax, yerr=Ncount_std)\n",
"fitCurve.plot.errorbar(ax=ax, fmt='--g')\n",
"\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"fitCurve = fitCurve.rename(dict(x='final_amp'))\n",
"plot_dataSe = xr.combine_nested([Ncount_mean, fitCurve], ['plot'])\n",
"\n",
"fig = plt.figure()\n",
"ax = fig.gca()\n",
"plot_dataSe.sel(plot=[0, 1]).plot.errorbar(ax=ax, hue='plot', x='final_amp', fmt=['ob', '-g'])\n",
"plt.show()\n"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"# Select data and remove bad shot"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plot_dataSe.where( (Ncount_mean[scanAxis[0]]<2e-4) & (Ncount_mean[scanAxis[0]]>1e-4) )"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"img_dir = '//DyLabNAS/Data/'\n",
"SequenceName = \"Evaporative_Cooling\" + \"/\"\n",
"folderPath = img_dir + SequenceName + '2023/05/17'"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"groupList = [\n",
" \"images/MOT_3D_Camera/in_situ_absorption\",\n",
" \"images/ODT_1_Axis_Camera/in_situ_absorption\",\n",
" \"images/ODT_2_Axis_Camera/in_situ_absorption\",\n",
"]\n",
"\n",
"dskey = {\n",
" \"images/MOT_3D_Camera/in_situ_absorption\": \"camera_0\",\n",
" \"images/ODT_1_Axis_Camera/in_situ_absorption\": \"camera_1\",\n",
" \"images/ODT_2_Axis_Camera/in_situ_absorption\": \"camera_2\",\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"dataSet"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"shotNum = \"0023\"\n",
"filePath = folderPath + \"/\" + shotNum + \"/*.h5\"\n",
"\n",
"dataSetDict = {\n",
" dskey[groupList[i]]: read_hdf5_file(filePath, groupList[i])\n",
" for i in [0]\n",
"}\n",
"\n",
"dataSet = dataSetDict[\"camera_0\"]\n",
"\n",
"print_scanAxis(dataSet)\n",
"\n",
"scanAxis = get_scanAxis(dataSet)\n",
"\n",
"dataSet = auto_rechunk(dataSet)\n",
"\n",
"dataSet = imageAnalyser.get_absorption_images(dataSet)\n",
"\n",
"imageAnalyser.center = (280, 959)\n",
"imageAnalyser.span = (350, 350)\n",
"imageAnalyser.fraction = (0.1, 0.1)\n",
"\n",
"dataSet_cropOD = imageAnalyser.crop_image(dataSet.OD)\n",
"dataSet_cropOD = imageAnalyser.substract_offset(dataSet_cropOD).load()\n",
"\n",
"Ncount = imageAnalyser.get_Ncount(dataSet_cropOD)\n",
"Ncount_mean = Ncount.mean(dim='runs')\n",
"Ncount_std = Ncount.std(dim='runs')\n",
"\n",
"fig = plt.figure()\n",
"ax = fig.gca()\n",
"Ncount_mean.plot.errorbar(ax=ax, yerr = Ncount_std, fmt='ob')\n",
"\n",
"plt.ylabel('NCount')\n",
"plt.tight_layout()\n",
"#plt.ylim([0, 800])\n",
"plt.grid(visible=1)\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"def sinc_func(x, amplitude=1.0, center=0.0, sigma=1.0, offset=0.0):\n",
" x = np.where(x==center, 1e-15, x)\n",
" return amplitude * ( np.sin(np.pi*(x-center)*sigma) / (np.pi*( (x-center) )* max(sigma, 1e-15) ) ) + offset\n",
"\n",
"fitModel = NewFitModel(sinc_func)\n",
"\n",
"fitModel.make_params()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"fitAnalyser = FitAnalyser(fitModel, fitDim=1)\n",
"# params = fitAnalyser.guess(Ncount_mean_1, x=scanAxis[0], guess_kwargs=dict(negative=True), dask=\"parallelized\")\n",
"params = fitAnalyser.fitModel.make_params()\n",
"params.add(name=\"amplitude\", value= -5000, max=np.inf, min=-np.inf, vary=True)\n",
"params.add(name=\"center\", value= 4.24, max=np.inf, min=-np.inf, vary=True)\n",
"params.add(name=\"sigma\", value= 100, max=np.inf, min= 0, vary=True)\n",
"params.add(name=\"offset\", value= 7000, max=np.inf, min=-np.inf, vary=True)\n",
"\n",
"fitResult = fitAnalyser.fit(Ncount_mean, params, x=scanAxis[0]).load()\n",
"freqdata = np.linspace(4.21, 4.27, 500)\n",
"fitCurve = fitAnalyser.eval(fitResult, x=freqdata, dask=\"parallelized\").load()\n",
"fitCurve = fitCurve.assign_coords({'x':np.array(freqdata)})\n",
"\n",
"fig = plt.figure()\n",
"ax = fig.gca()\n",
"\n",
"Ncount_mean.plot.errorbar(ax=ax, yerr = Ncount_std, fmt='ob')\n",
"fitCurve.plot.errorbar(ax=ax, fmt='--g')\n",
"plt.xlabel('Center Frequency (MHz)')\n",
"plt.ylabel('NCount')\n",
"plt.tight_layout()\n",
"plt.grid(visible=1)\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"fitResult.item()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import lmfit\n",
"\n",
"def sinc_func(x, amplitude=1.0, center=0.0, sigma=1.0, offset=0.0):\n",
" x = np.where(x==center, 1e-5, x)\n",
" return amplitude * ( np.sin(np.pi*(x-center)*max(sigma, 1e-5)) / (np.pi*( (x-center) )* max(sigma, 1e-5) ) ) + offset\n",
"\n",
"def _fit_1D(data, params, x):\n",
" \n",
" print(x)\n",
" print(data)\n",
" \n",
" res = fitModel.fit(data=data, x=x, params=params, nan_policy='omit')\n",
" \n",
" print(111)\n",
" \n",
" # print(res.items())\n",
" \n",
" return 1\n",
"\n",
"def fit(dataArray, paramsArray, x=None, y=None, input_core_dims=None, dask='parallelized', vectorize=True, keep_attrs=True, daskKwargs=None, **kwargs):\n",
" \n",
" kwargs.update(\n",
" {\n",
" \"dask\": dask,\n",
" \"vectorize\": vectorize,\n",
" \"input_core_dims\": input_core_dims,\n",
" 'keep_attrs': keep_attrs,\n",
" }\n",
" )\n",
" \n",
" fitModel = NewFitModel(sinc_func)\n",
"\n",
" if not daskKwargs is None:\n",
" kwargs.update({\"dask_gufunc_kwargs\": daskKwargs})\n",
" \n",
" if isinstance(paramsArray, type(fitModel.make_params())):\n",
"\n",
" if input_core_dims is None:\n",
" kwargs.update(\n",
" {\n",
" \"input_core_dims\": [['x']],\n",
" }\n",
" )\n",
"\n",
" if x is None:\n",
" if 'x' in dataArray.dims:\n",
" x = dataArray['x'].to_numpy()\n",
" else:\n",
" if isinstance(x, str):\n",
" if input_core_dims is None:\n",
" kwargs.update(\n",
" {\n",
" \"input_core_dims\": [[x]],\n",
" }\n",
" )\n",
" x = dataArray[x].to_numpy()\n",
"\n",
" return xr.apply_ufunc(_fit_1D, dataArray, kwargs={'params':paramsArray,'x':x},\n",
" output_dtypes=[type(lmfit.model.ModelResult(fitModel, fitModel.make_params()))], \n",
" **kwargs)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"params = fitAnalyser.fitModel.make_params()\n",
"params.add(name=\"amplitude\", value= -6000, max=np.inf, min=-np.inf, vary=True)\n",
"params.add(name=\"center\", value= 4.24, max=np.inf, min=-np.inf, vary=True)\n",
"params.add(name=\"sigma\", value= 1, max=np.inf, min= 0, vary=True)\n",
"params.add(name=\"offset\", value= 6000, max=np.inf, min=-np.inf, vary=True)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"fitResult = fit(Ncount_mean, params, x=scanAxis[0]).load()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"def sinc_func(x, amplitude=1.0, center=0.0, sigma=1.0, offset=0.0):\n",
" x = np.where(x==center, 1e-5, x)\n",
" return amplitude * ( np.sin(np.pi*(x-center)*max(sigma, 1e-5)) / (np.pi*( (x-center) )* max(sigma, 1e-5) ) ) + offset\n",
"\n",
2023-05-19 18:52:33 +02:00
"fitModel = NewFitModel(sinc_func)\n",
"\n",
"fitModel.make_params()\n",
"\n",
"data = Ncount_mean.to_numpy()\n",
"x = Ncount_mean.carrier_freq.to_numpy()\n",
"\n",
"fitModel.fit(data=data, x=x, params=params, nan_policy='omit')"
]
},
{
"cell_type": "code",
2023-05-24 16:54:29 +02:00
"execution_count": null,
2023-05-19 18:52:33 +02:00
"metadata": {},
2023-05-24 16:54:29 +02:00
"outputs": [],
2023-05-19 18:52:33 +02:00
"source": [
"np.where(x==0, 1, 2)"
2023-05-07 23:41:31 +02:00
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
2023-06-02 18:42:18 +02:00
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
"Dimensions: (index: 1201, fileIndex: 1)\n",
"Coordinates:\n",
" * index (index) int64 0 1 2 3 4 5 6 ... 1195 1196 1197 1198 1199 1200\n",
"Dimensions without coordinates: fileIndex\n",
"Data variables:\n",
" X (fileIndex, index) float64 nan 0.0 1.0 ... 1.198e+03 1.199e+03\n",
" CH1 (fileIndex, index) float64 nan -0.2 -0.3 -0.1 ... 32.3 32.8 32.2\n",
" CH2 (fileIndex, index) float64 nan -0.007 -0.007 ... 0.022 0.0115\n",
" Start (fileIndex, index) float64 nan nan nan nan ... nan nan nan nan\n",
" Increment (fileIndex, index) float64 nan nan nan nan ... nan nan nan nan\n",
" Unnamed: 5 (fileIndex, index) float64 nan nan nan nan ... nan nan nan nan</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-d1a81bd0-e01e-48c2-a161-b6b36da23ecb' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-d1a81bd0-e01e-48c2-a161-b6b36da23ecb' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>index</span>: 1201</li><li><span>fileIndex</span>: 1</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-91bafc75-f88b-4ea0-8797-30c0c0bc7594' class='xr-section-summary-in' type='checkbox' checked><label for='section-91bafc75-f88b-4ea0-8797-30c0c0bc7594' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>index</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>0 1 2 3 4 ... 1197 1198 1199 1200</div><input id='attrs-13e60b2e-5229-4547-b25b-ee0f7307e44d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-13e60b2e-5229-4547-b25b-ee0f7307e44d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-36db378a-2cd3-4e51-b364-da0825791a88' class='xr-var-data-in' type='checkbox'><label for='data-36db378a-2cd3-4e51-b364-da0825791a88' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([ 0, 1, 2, ..., 1198, 1199, 1200], dtype=int64)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-c6b527db-b944-4b66-b15e-8d6a53b079c5' class='xr-section-summary-in' type='checkbox' checked><label for='section-c6b527db-b944-4b66-b15e-8d6a53b079c5' class='xr-section-summary' >Data variables: <span>(6)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>X</span></div><div class='xr-var-dims'>(fileIndex, index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan 0.0 1.0 ... 1.198e+03 1.199e+03</div><input id='attrs-186600c0-090d-44f8-86fd-a76f02a0be65' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-186600c0-090d-44f8-86fd-a76f02a0be65' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-80d35d06-41ea-4605-9e1c-8607e1f98a09' class='xr-var-data-in' type='checkbox'><label for='data-80d35d06-41ea-4605-9e1c-8607e1f98a09' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[ nan, 0.000e+00, 1.000e+00, ..., 1.197e+03, 1.198e+03,\n",
" 1.199e+03]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>CH1</span></div><div class='xr-var-dims'>(fileIndex, index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan -0.2 -0.3 ... 32.3 32.8 32.2</div><input id='attrs-fcd9d11e-cc02-48c1-923c-4b27836e5645' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-fcd9d11e-cc02-48c1-923c-4b27836e5645' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c5ff33b2-17a8-4287-ba2b-f8a40026ab7e' class='xr-var-data-in' type='checkbox'><label for='data-c5ff33b2-17a8-4287-ba2b-f8a40026ab7e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[ nan, -0.2, -0.3, ..., 32.3, 32.8, 32.2]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>CH2</span></div><div class='xr-var-dims'>(fileIndex, index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan -0.007 -0.007 ... 0.022 0.0115</div><input id='attrs-450cd4f6-62ab-4903-831b-ef4378a1ec21' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-450cd4f6-62ab-4903-831b-ef4378a1ec21' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f61ca6e4-86d6-439d-9fa1-02f0ed7f803a' class='xr-var-data-in' type='checkbox'><label for='data-f61ca6e4-86d6-439d-9fa1-02f0ed7f803a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[ nan, -0.007 , -0.007 , ..., 0.01 , 0.022 , 0.0115]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>Start</span></div><div class='xr-var-dims'>(fileIndex, index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan nan nan nan ... nan nan nan nan</div><input id='attrs-186390d3-77a2-4019-8fa9-16359bf02799' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-186390d3-77a2-4019-8fa9-16359bf02799' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-8770d88d-5f15-4721-91c8-2801a83ff2a0' class='xr-var-data-in' type='checkbox'><label for='data-8770d88d-5f15-4721-91c8-2801a83ff2a0' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[nan, nan, nan, ..., nan, nan, nan]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>Increment</span></div><div class='xr-var-dims'>(fileIndex, index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan nan nan nan ... nan nan nan nan</div><input id='attrs-2d4b83cb-e814-4a17-87b4-ccb9c42d73bf' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-2d4b83cb-e814-4a17-87b4-ccb9c42d73bf' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3fcdb06b-f235-42f7-9e5a-9dfbc9f257a8' class='xr-var-data-in' type='checkbox'><label for='data-3fcdb06b-f235-42f7-9e5a-9dfbc9f257a8' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[nan, nan, nan, ..., nan, nan, nan]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>Unnamed: 5</span></div><div class='xr-var-dims'>(fileIndex, index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan nan nan nan ... nan nan nan nan</div><input id='attrs-0e7529be-b633-43d7-a6
],
"text/plain": [
"<xarray.Dataset>\n",
"Dimensions: (index: 1201, fileIndex: 1)\n",
"Coordinates:\n",
" * index (index) int64 0 1 2 3 4 5 6 ... 1195 1196 1197 1198 1199 1200\n",
"Dimensions without coordinates: fileIndex\n",
"Data variables:\n",
" X (fileIndex, index) float64 nan 0.0 1.0 ... 1.198e+03 1.199e+03\n",
" CH1 (fileIndex, index) float64 nan -0.2 -0.3 -0.1 ... 32.3 32.8 32.2\n",
" CH2 (fileIndex, index) float64 nan -0.007 -0.007 ... 0.022 0.0115\n",
" Start (fileIndex, index) float64 nan nan nan nan ... nan nan nan nan\n",
" Increment (fileIndex, index) float64 nan nan nan nan ... nan nan nan nan\n",
" Unnamed: 5 (fileIndex, index) float64 nan nan nan nan ... nan nan nan nan"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"filePath = './NewFile5.csv'\n",
"data = read_csv_file(filePath)\n",
"remove_bad_shots(data, index=0)\n",
"data1 = data.astype(float)\n",
"\n",
"filePath = './NewFile6.csv'\n",
"data = read_csv_file(filePath)\n",
"remove_bad_shots(data, index=0)\n",
"data2 = data.astype(float)\n",
"\n",
"filePath = './NewFile7.csv'\n",
"data = read_csv_file(filePath)\n",
"remove_bad_shots(data, index=0)\n",
"data3 = data.astype(float)\n",
"\n",
"filePath = './NewFile8.csv'\n",
"data = read_csv_file(filePath)\n",
"remove_bad_shots(data, index=0)\n",
"data4 = data.astype(float)\n",
"\n",
"data = (data1 + data2 + data3 + data4) / 4\n",
"\n",
"data"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
" # %matplotlib widget"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "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
"text/plain": [
"<Figure size 800x600 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"fig = plt.figure(figsize=(8,6))\n",
"ax = fig.gca()\n",
"\n",
"data.isel(fileIndex=0).CH2.plot(ax=ax)\n",
"# plt.xlim([0, 590])\n",
"plt.ylim([-0.02, 0.1])\n",
"plt.grid()\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;CH2&#x27; ()&gt;\n",
"array(0.01528947)</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'CH2'</div></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-d2f2bf64-2577-4e87-8a90-3d01ca6133ce' class='xr-array-in' type='checkbox' checked><label for='section-d2f2bf64-2577-4e87-8a90-3d01ca6133ce' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>0.01529</span></div><div class='xr-array-data'><pre>array(0.01528947)</pre></div></div></li><li class='xr-section-item'><input id='section-01d2cc89-7d19-4d5f-a34c-fbf2e06690a6' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-01d2cc89-7d19-4d5f-a34c-fbf2e06690a6' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-9409588c-69f2-43ac-8fc4-b18acab9863d' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-9409588c-69f2-43ac-8fc4-b18acab9863d' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-aae06b6f-ab11-4e7a-927b-62d422de944e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-aae06b6f-ab11-4e7a-927b-62d422de944e' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
],
"text/plain": [
"<xarray.DataArray 'CH2' ()>\n",
"array(0.01528947)"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"data.isel(fileIndex=0, index=slice(1000, 1190)).CH2.mean()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;CH2&#x27; ()&gt;\n",
"array(-0.00445586)</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'CH2'</div></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-689eacd8-6915-42fc-a8e6-ebb1fe146977' class='xr-array-in' type='checkbox' checked><label for='section-689eacd8-6915-42fc-a8e6-ebb1fe146977' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>-0.004456</span></div><div class='xr-array-data'><pre>array(-0.00445586)</pre></div></div></li><li class='xr-section-item'><input id='section-ee24145a-c632-4796-9062-3cd6744883c8' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-ee24145a-c632-4796-9062-3cd6744883c8' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-bafaef9f-98ca-42d5-90a1-f3ca7095ba44' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-bafaef9f-98ca-42d5-90a1-f3ca7095ba44' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-0463febf-8d7b-4c80-b7b2-59e1e76ad316' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-0463febf-8d7b-4c80-b7b2-59e1e76ad316' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
],
"text/plain": [
"<xarray.DataArray 'CH2' ()>\n",
"array(-0.00445586)"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"data.isel(fileIndex=0, index=slice(0, 590)).CH2.mean()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
"<defs>\n",
"<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n",
"<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n",
"</symbol>\n",
"<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
"<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n",
"<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n",
"</symbol>\n",
"</defs>\n",
"</svg>\n",
"<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
" *\n",
" */\n",
"\n",
":root {\n",
" --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
" --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
" --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
" --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
" --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
" --xr-background-color: var(--jp-layout-color0, white);\n",
" --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
" --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
"}\n",
"\n",
"html[theme=dark],\n",
"body[data-theme=dark],\n",
"body.vscode-dark {\n",
" --xr-font-color0: rgba(255, 255, 255, 1);\n",
" --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
" --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
" --xr-border-color: #1F1F1F;\n",
" --xr-disabled-color: #515151;\n",
" --xr-background-color: #111111;\n",
" --xr-background-color-row-even: #111111;\n",
" --xr-background-color-row-odd: #313131;\n",
"}\n",
"\n",
".xr-wrap {\n",
" display: block !important;\n",
" min-width: 300px;\n",
" max-width: 700px;\n",
"}\n",
"\n",
".xr-text-repr-fallback {\n",
" /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
" display: none;\n",
"}\n",
"\n",
".xr-header {\n",
" padding-top: 6px;\n",
" padding-bottom: 6px;\n",
" margin-bottom: 4px;\n",
" border-bottom: solid 1px var(--xr-border-color);\n",
"}\n",
"\n",
".xr-header > div,\n",
".xr-header > ul {\n",
" display: inline;\n",
" margin-top: 0;\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-obj-type,\n",
".xr-array-name {\n",
" margin-left: 2px;\n",
" margin-right: 10px;\n",
"}\n",
"\n",
".xr-obj-type {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-sections {\n",
" padding-left: 0 !important;\n",
" display: grid;\n",
" grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
"}\n",
"\n",
".xr-section-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-section-item input {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-item input + label {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label {\n",
" cursor: pointer;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-item input:enabled + label:hover {\n",
" color: var(--xr-font-color0);\n",
"}\n",
"\n",
".xr-section-summary {\n",
" grid-column: 1;\n",
" color: var(--xr-font-color2);\n",
" font-weight: 500;\n",
"}\n",
"\n",
".xr-section-summary > span {\n",
" display: inline-block;\n",
" padding-left: 0.5em;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label {\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-section-summary-in + label:before {\n",
" display: inline-block;\n",
" content: 'â–º';\n",
" font-size: 11px;\n",
" width: 15px;\n",
" text-align: center;\n",
"}\n",
"\n",
".xr-section-summary-in:disabled + label:before {\n",
" color: var(--xr-disabled-color);\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label:before {\n",
" content: 'â–¼';\n",
"}\n",
"\n",
".xr-section-summary-in:checked + label > span {\n",
" display: none;\n",
"}\n",
"\n",
".xr-section-summary,\n",
".xr-section-inline-details {\n",
" padding-top: 4px;\n",
" padding-bottom: 4px;\n",
"}\n",
"\n",
".xr-section-inline-details {\n",
" grid-column: 2 / -1;\n",
"}\n",
"\n",
".xr-section-details {\n",
" display: none;\n",
" grid-column: 1 / -1;\n",
" margin-bottom: 5px;\n",
"}\n",
"\n",
".xr-section-summary-in:checked ~ .xr-section-details {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-array-wrap {\n",
" grid-column: 1 / -1;\n",
" display: grid;\n",
" grid-template-columns: 20px auto;\n",
"}\n",
"\n",
".xr-array-wrap > label {\n",
" grid-column: 1;\n",
" vertical-align: top;\n",
"}\n",
"\n",
".xr-preview {\n",
" color: var(--xr-font-color3);\n",
"}\n",
"\n",
".xr-array-preview,\n",
".xr-array-data {\n",
" padding: 0 5px !important;\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-array-data,\n",
".xr-array-in:checked ~ .xr-array-preview {\n",
" display: none;\n",
"}\n",
"\n",
".xr-array-in:checked ~ .xr-array-data,\n",
".xr-array-preview {\n",
" display: inline-block;\n",
"}\n",
"\n",
".xr-dim-list {\n",
" display: inline-block !important;\n",
" list-style: none;\n",
" padding: 0 !important;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list li {\n",
" display: inline-block;\n",
" padding: 0;\n",
" margin: 0;\n",
"}\n",
"\n",
".xr-dim-list:before {\n",
" content: '(';\n",
"}\n",
"\n",
".xr-dim-list:after {\n",
" content: ')';\n",
"}\n",
"\n",
".xr-dim-list li:not(:last-child):after {\n",
" content: ',';\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-has-index {\n",
" font-weight: bold;\n",
"}\n",
"\n",
".xr-var-list,\n",
".xr-var-item {\n",
" display: contents;\n",
"}\n",
"\n",
".xr-var-item > div,\n",
".xr-var-item label,\n",
".xr-var-item > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-even);\n",
" margin-bottom: 0;\n",
"}\n",
"\n",
".xr-var-item > .xr-var-name:hover span {\n",
" padding-right: 5px;\n",
"}\n",
"\n",
".xr-var-list > li:nth-child(odd) > div,\n",
".xr-var-list > li:nth-child(odd) > label,\n",
".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
" background-color: var(--xr-background-color-row-odd);\n",
"}\n",
"\n",
".xr-var-name {\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-var-dims {\n",
" grid-column: 2;\n",
"}\n",
"\n",
".xr-var-dtype {\n",
" grid-column: 3;\n",
" text-align: right;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-preview {\n",
" grid-column: 4;\n",
"}\n",
"\n",
".xr-index-preview {\n",
" grid-column: 2 / 5;\n",
" color: var(--xr-font-color2);\n",
"}\n",
"\n",
".xr-var-name,\n",
".xr-var-dims,\n",
".xr-var-dtype,\n",
".xr-preview,\n",
".xr-attrs dt {\n",
" white-space: nowrap;\n",
" overflow: hidden;\n",
" text-overflow: ellipsis;\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-var-name:hover,\n",
".xr-var-dims:hover,\n",
".xr-var-dtype:hover,\n",
".xr-attrs dt:hover {\n",
" overflow: visible;\n",
" width: auto;\n",
" z-index: 1;\n",
"}\n",
"\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" display: none;\n",
" background-color: var(--xr-background-color) !important;\n",
" padding-bottom: 5px !important;\n",
"}\n",
"\n",
".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
".xr-var-data-in:checked ~ .xr-var-data,\n",
".xr-index-data-in:checked ~ .xr-index-data {\n",
" display: block;\n",
"}\n",
"\n",
".xr-var-data > table {\n",
" float: right;\n",
"}\n",
"\n",
".xr-var-name span,\n",
".xr-var-data,\n",
".xr-index-name div,\n",
".xr-index-data,\n",
".xr-attrs {\n",
" padding-left: 25px !important;\n",
"}\n",
"\n",
".xr-attrs,\n",
".xr-var-attrs,\n",
".xr-var-data,\n",
".xr-index-data {\n",
" grid-column: 1 / -1;\n",
"}\n",
"\n",
"dl.xr-attrs {\n",
" padding: 0;\n",
" margin: 0;\n",
" display: grid;\n",
" grid-template-columns: 125px auto;\n",
"}\n",
"\n",
".xr-attrs dt,\n",
".xr-attrs dd {\n",
" padding: 0;\n",
" margin: 0;\n",
" float: left;\n",
" padding-right: 10px;\n",
" width: auto;\n",
"}\n",
"\n",
".xr-attrs dt {\n",
" font-weight: normal;\n",
" grid-column: 1;\n",
"}\n",
"\n",
".xr-attrs dt:hover span {\n",
" display: inline-block;\n",
" background: var(--xr-background-color);\n",
" padding-right: 10px;\n",
"}\n",
"\n",
".xr-attrs dd {\n",
" grid-column: 2;\n",
" white-space: pre-wrap;\n",
" word-break: break-all;\n",
"}\n",
"\n",
".xr-icon-database,\n",
".xr-icon-file-text2,\n",
".xr-no-icon {\n",
" display: inline-block;\n",
" vertical-align: middle;\n",
" width: 1em;\n",
" height: 1.5em !important;\n",
" stroke-width: 0;\n",
" stroke: currentColor;\n",
" fill: currentColor;\n",
"}\n",
"</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;CH2&#x27; ()&gt;\n",
"array(0.01974533)</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'CH2'</div></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-2fe4dbcb-2728-4a3d-b3e8-f4050ae86b85' class='xr-array-in' type='checkbox' checked><label for='section-2fe4dbcb-2728-4a3d-b3e8-f4050ae86b85' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>0.01975</span></div><div class='xr-array-data'><pre>array(0.01974533)</pre></div></div></li><li class='xr-section-item'><input id='section-b832dbdf-92df-4ae4-ae57-1bfef54b8efd' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-b832dbdf-92df-4ae4-ae57-1bfef54b8efd' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-9b7598a6-5297-4a31-9a01-b4b00c2ef4be' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-9b7598a6-5297-4a31-9a01-b4b00c2ef4be' class='xr-section-summary' title='Expand/collapse section'>Indexes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'></ul></div></li><li class='xr-section-item'><input id='section-1ae826d1-1cc4-45df-ace4-ad10ba0161fd' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-1ae826d1-1cc4-45df-ace4-ad10ba0161fd' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
],
"text/plain": [
"<xarray.DataArray 'CH2' ()>\n",
"array(0.01974533)"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"data.isel(fileIndex=0, index=slice(1000, 1190)).CH2.mean() - data.isel(fileIndex=0, index=slice(0, 590)).CH2.mean()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.0519613947368421"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"0.01974533 * 1000 / 10 / 38"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.13463318421052634"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"0.02708149 / 38 *1000/10"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.5484005600526316"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"0.01974533 * 1000 / 10 / 38 * 10.554"
]
2023-05-07 23:41:31 +02:00
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
2023-05-07 23:41:31 +02:00
"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",
2023-05-08 17:48:53 +02:00
"version": "3.9.13"
2023-05-07 23:41:31 +02:00
},
"orig_nbformat": 4
2023-05-07 23:41:31 +02:00
},
"nbformat": 4,
"nbformat_minor": 2
}