2023-04-24 13:03:23 +02:00
|
|
|
{
|
|
|
|
"cells": [
|
2023-05-04 13:47:33 +02:00
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"# Import supporting package"
|
|
|
|
]
|
|
|
|
},
|
2023-04-24 13:03:23 +02:00
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 1,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
2023-05-04 13:47:33 +02:00
|
|
|
"import xarray as xr\n",
|
|
|
|
"import numpy as np\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",
|
|
|
|
"\n",
|
|
|
|
"imageAnalyser = ImageAnalyser()"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"## Start a client for parallel computing"
|
2023-04-24 13:03:23 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-05-04 13:47:33 +02:00
|
|
|
"execution_count": 2,
|
|
|
|
"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",
|
|
|
|
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Client-eaab97f7-e905-11ed-b318-9c7bef43b4fb</p>\n",
|
|
|
|
" <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",
|
|
|
|
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">d4aeddff</p>\n",
|
|
|
|
" <table style=\"width: 100%; text-align: left;\">\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Scheduler-99210554-0c4e-4072-ad2d-4d72899b1ed8</p>\n",
|
|
|
|
" <table style=\"width: 100%; text-align: left;\">\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Comm:</strong> tcp://127.0.0.1:49232\n",
|
|
|
|
" </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>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Comm: </strong> tcp://127.0.0.1:49259\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:49265/status\" target=\"_blank\">http://127.0.0.1:49265/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Nanny: </strong> tcp://127.0.0.1:49235\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td style=\"text-align: left;\"></td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td colspan=\"2\" style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Local directory: </strong> C:\\Users\\JIANSH~1\\AppData\\Local\\Temp\\dask-worker-space\\worker-ww2ggttu\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Comm: </strong> tcp://127.0.0.1:49262\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:49271/status\" target=\"_blank\">http://127.0.0.1:49271/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Nanny: </strong> tcp://127.0.0.1:49236\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td style=\"text-align: left;\"></td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td colspan=\"2\" style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Local directory: </strong> C:\\Users\\JIANSH~1\\AppData\\Local\\Temp\\dask-worker-space\\worker-5p0p884i\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Comm: </strong> tcp://127.0.0.1:49260\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:49269/status\" target=\"_blank\">http://127.0.0.1:49269/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Nanny: </strong> tcp://127.0.0.1:49237\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td style=\"text-align: left;\"></td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td colspan=\"2\" style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Local directory: </strong> C:\\Users\\JIANSH~1\\AppData\\Local\\Temp\\dask-worker-space\\worker-za3qby07\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Comm: </strong> tcp://127.0.0.1:49261\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:49267/status\" target=\"_blank\">http://127.0.0.1:49267/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Nanny: </strong> tcp://127.0.0.1:49238\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td style=\"text-align: left;\"></td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td colspan=\"2\" style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Local directory: </strong> C:\\Users\\JIANSH~1\\AppData\\Local\\Temp\\dask-worker-space\\worker-qkb264de\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Comm: </strong> tcp://127.0.0.1:49264\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:49273/status\" target=\"_blank\">http://127.0.0.1:49273/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Nanny: </strong> tcp://127.0.0.1:49239\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td style=\"text-align: left;\"></td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td colspan=\"2\" style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Local directory: </strong> C:\\Users\\JIANSH~1\\AppData\\Local\\Temp\\dask-worker-space\\worker-schn83iz\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Comm: </strong> tcp://127.0.0.1:49263\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:49274/status\" target=\"_blank\">http://127.0.0.1:49274/status</a>\n",
|
|
|
|
" </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",
|
|
|
|
" <strong>Nanny: </strong> tcp://127.0.0.1:49240\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td style=\"text-align: left;\"></td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <td colspan=\"2\" style=\"text-align: left;\">\n",
|
|
|
|
" <strong>Local directory: </strong> C:\\Users\\JIANSH~1\\AppData\\Local\\Temp\\dask-worker-space\\worker-mvo1ci40\n",
|
|
|
|
" </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": [
|
|
|
|
"<Client: 'tcp://127.0.0.1:49232' processes=6 threads=60, memory=55.88 GiB>"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"execution_count": 2,
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"# Read data"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"## Set file path"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 3,
|
2023-04-24 13:03:23 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"# filepath = \"//DyLabNAS/Data/Evaporative_Cooling/2023/04/18/0003/*.h5\"\n",
|
|
|
|
"# filepath = \"//DyLabNAS/Data/Evaporative_Cooling/2023/04/18/0003/2023-04-18_0003_Evaporative_Cooling_000.h5\"\n",
|
|
|
|
"\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"# filepath = \"//DyLabNAS/Data/Repetition_scan/2023/04/21/0002/*.h5\"\n",
|
|
|
|
"\n",
|
|
|
|
"# filepath = r\"./testData/0003/*.h5\"\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"filepath = \"//DyLabNAS/Data/Evaporative_Cooling/2023/04/18/0003/*.h5\""
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 4,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
2023-04-24 13:03:23 +02:00
|
|
|
"groupList = [\n",
|
|
|
|
" \"images/MOT_3D_Camera/in_situ_absorption\",\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" # \"images/ODT_1_Axis_Camera/in_situ_absorption\",\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"]\n",
|
|
|
|
"\n",
|
|
|
|
"dskey = {\n",
|
|
|
|
" \"images/MOT_3D_Camera/in_situ_absorption\": \"camera_1\",\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" # \"images/ODT_1_Axis_Camera/in_situ_absorption\": \"camera_2\",\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"}\n",
|
|
|
|
"\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"datasetDict = {\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" dskey[groupList[i]]: read_hdf5_file(filepath, groupList[i])\n",
|
|
|
|
" for i in range(len(groupList))\n",
|
|
|
|
"}"
|
|
|
|
]
|
|
|
|
},
|
2023-05-04 13:47:33 +02:00
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"## Rechunk the data for parallel computing"
|
|
|
|
]
|
|
|
|
},
|
2023-04-24 13:03:23 +02:00
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-05-04 13:47:33 +02:00
|
|
|
"execution_count": 5,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"dataset = datasetDict[\"camera_1\"]\n",
|
|
|
|
"\n",
|
|
|
|
"scanAxis = dataset.scanAxis\n",
|
|
|
|
"\n",
|
|
|
|
"dataset = dataset.chunk(\n",
|
|
|
|
" {\n",
|
|
|
|
" \"compZ_current_sg\": \"auto\",\n",
|
|
|
|
" \"runs\": 2,\n",
|
|
|
|
" \"x\": \"auto\",\n",
|
|
|
|
" \"y\": \"auto\",\n",
|
|
|
|
" }\n",
|
|
|
|
")"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"# Calculate absorption imaging"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"## get OD images"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 6,
|
2023-04-24 13:03:23 +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'><xarray.Dataset>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"Dimensions: (compZ_current_sg: 300, runs: 2, x: 1200, y: 1920)\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"Coordinates:\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" * compZ_current_sg (compZ_current_sg) float64 0.175 0.176 ... 0.473 0.474\n",
|
|
|
|
" * runs (runs) float64 0.0 1.0\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"Dimensions without coordinates: x, y\n",
|
|
|
|
"Data variables:\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" atoms (compZ_current_sg, runs, x, y) uint16 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
" background (compZ_current_sg, runs, x, y) uint16 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
" dark (compZ_current_sg, runs, x, y) uint16 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
" shotNum (compZ_current_sg, runs) <U3 dask.array<chunksize=(300, 2), meta=np.ndarray>\n",
|
|
|
|
" OD (compZ_current_sg, runs, x, y) float64 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
"Attributes: (12/100)\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" TOF_free: 0.02\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" abs_img_freq: 110.866\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" absorption_imaging_flag: True\n",
|
|
|
|
" backup_data: True\n",
|
|
|
|
" blink_off_time: nan\n",
|
|
|
|
" blink_on_time: nan\n",
|
|
|
|
" ... ...\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" z_offset: compZ_current_sg\n",
|
|
|
|
" z_offset_img: compZ_current_sg\n",
|
|
|
|
" compZ_current_sg: [0.175 0.176 0.177 0.178 0.179 0.18 0...\n",
|
|
|
|
" runs: [0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0...\n",
|
|
|
|
" scanAxis: ['compZ_current_sg', 'runs']\n",
|
|
|
|
" scanAxisLength: [600. 600.]</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-ee374266-6256-442f-8811-c9f32f92835e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-ee374266-6256-442f-8811-c9f32f92835e' 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'>compZ_current_sg</span>: 300</li><li><span class='xr-has-index'>runs</span>: 2</li><li><span>x</span>: 1200</li><li><span>y</span>: 1920</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-37c5ddc4-44ca-4a03-8260-30b174898eaf' class='xr-section-summary-in' type='checkbox' checked><label for='section-37c5ddc4-44ca-4a03-8260-30b174898eaf' class='xr-section-summary' >Coordinates: <span>(2)</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'>compZ_current_sg</span></div><div class='xr-var-dims'>(compZ_current_sg)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.175 0.176 0.177 ... 0.473 0.474</div><input id='attrs-050c9ec6-745b-41c3-8a08-66981ce37ebb' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-050c9ec6-745b-41c3-8a08-66981ce37ebb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5e972803-729a-4288-aaf1-3d81c711d312' class='xr-var-data-in' type='checkbox'><label for='data-5e972803-729a-4288-aaf1-3d81c711d312' 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.175, 0.176, 0.177, ..., 0.472, 0.473, 0.474])</pre></div></li><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</div><input id='attrs-8dd34359-cae3-409c-98a1-c3b4c09b6880' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-8dd34359-cae3-409c-98a1-c3b4c09b6880' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f2f1ca85-e02c-448f-ac9b-d1fc0049f3aa' class='xr-var-data-in' type='checkbox'><label for='data-f2f1ca85-e02c-448f-ac9b-d1fc0049f3aa' 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.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-15d1c07e-b833-47fa-a097-911e106e286a' class='xr-section-summary-in' type='checkbox' checked><label for='section-15d1c07e-b833-47fa-a097-911e106e286a' 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'>(compZ_current_sg, runs, x, y)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray></div><input id='attrs-bb5b80b8-ab0a-4567-8d97-6eb3029fd9a2' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-bb5b80b8-ab0a-4567-8d97-6eb3029fd9a2' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4e215839-57b4-4dbe-8e29-a2e9dfd65758' class='xr-var-data-in' type='checkbox'><label for='data-4e215839-57b4-4dbe-8e29-a2e9dfd65758' title='Show/Hi
|
2023-04-24 13:03:23 +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-05-04 13:47:33 +02:00
|
|
|
" <td> 2.57 GiB </td>\n",
|
|
|
|
" <td> 123.05 MiB </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" \n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Shape </th>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <td> (300, 2, 1200, 1920) </td>\n",
|
|
|
|
" <td> (14, 2, 1200, 1920) </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Dask graph </th>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <td colspan=\"2\"> 22 chunks in 1804 graph layers </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Data type </th>\n",
|
|
|
|
" <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" </tbody>\n",
|
|
|
|
" </table>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <svg width=\"404\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"40\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"0\" y1=\"25\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"3\" y1=\"0\" x2=\"3\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"5\" y1=\"0\" x2=\"5\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"9\" y1=\"0\" x2=\"9\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"11\" y1=\"0\" x2=\"11\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"13\" y1=\"0\" x2=\"13\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"15\" y1=\"0\" x2=\"15\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"17\" y1=\"0\" x2=\"17\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"19\" y1=\"0\" x2=\"19\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"20\" y1=\"0\" x2=\"20\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"22\" y1=\"0\" x2=\"22\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"24\" y1=\"0\" x2=\"24\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"26\" y1=\"0\" x2=\"26\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"28\" y1=\"0\" x2=\"28\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"30\" y1=\"0\" x2=\"30\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"32\" y1=\"0\" x2=\"32\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"34\" y1=\"0\" x2=\"34\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"36\" y1=\"0\" x2=\"36\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"38\" y1=\"0\" x2=\"38\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"0.0,0.0 40.90179082482365,0.0 40.90179082482365,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <text x=\"20.450895\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >300</text>\n",
|
|
|
|
" <text x=\"60.901791\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,60.901791,12.706308)\">1</text>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"110\" y1=\"75\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"110\" y2=\"75\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"110.0,0.0 124.9485979497544,14.948597949754403 124.9485979497544,89.9485979497544 110.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"230\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"230\" y1=\"0\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"110.0,0.0 230.0,0.0 244.9485979497544,14.948597949754403 124.9485979497544,14.948597949754403\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"89\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"244\" y1=\"14\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"124.9485979497544,14.948597949754403 244.9485979497544,14.948597949754403 244.9485979497544,89.9485979497544 124.9485979497544,89.9485979497544\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <text x=\"184.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
|
|
|
|
" <text x=\"264.948598\" y=\"52.448598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,264.948598,52.448598)\">1200</text>\n",
|
|
|
|
" <text x=\"107.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,107.474299,102.474299)\">2</text>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"</svg>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" </tr>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>background</span></div><div class='xr-var-dims'>(compZ_current_sg, runs, x, y)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray></div><input id='attrs-269f0afe-dd66-4697-9150-feebe15ebdd2' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-269f0afe-dd66-4697-9150-feebe15ebdd2' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-69e3c61a-3e67-4263-a8aa-6a96498033e6' class='xr-var-data-in' type='checkbox'><label for='data-69e3c61a-3e67-4263-a8aa-6a96498033e6' 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-04-24 13:03:23 +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-05-04 13:47:33 +02:00
|
|
|
" <td> 2.57 GiB </td>\n",
|
|
|
|
" <td> 123.05 MiB </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" \n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Shape </th>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <td> (300, 2, 1200, 1920) </td>\n",
|
|
|
|
" <td> (14, 2, 1200, 1920) </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Dask graph </th>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <td colspan=\"2\"> 22 chunks in 1804 graph layers </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Data type </th>\n",
|
|
|
|
" <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" </tbody>\n",
|
|
|
|
" </table>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <svg width=\"404\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"40\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"0\" y1=\"25\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"3\" y1=\"0\" x2=\"3\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"5\" y1=\"0\" x2=\"5\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"9\" y1=\"0\" x2=\"9\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"11\" y1=\"0\" x2=\"11\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"13\" y1=\"0\" x2=\"13\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"15\" y1=\"0\" x2=\"15\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"17\" y1=\"0\" x2=\"17\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"19\" y1=\"0\" x2=\"19\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"20\" y1=\"0\" x2=\"20\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"22\" y1=\"0\" x2=\"22\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"24\" y1=\"0\" x2=\"24\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"26\" y1=\"0\" x2=\"26\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"28\" y1=\"0\" x2=\"28\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"30\" y1=\"0\" x2=\"30\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"32\" y1=\"0\" x2=\"32\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"34\" y1=\"0\" x2=\"34\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"36\" y1=\"0\" x2=\"36\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"38\" y1=\"0\" x2=\"38\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"0.0,0.0 40.90179082482365,0.0 40.90179082482365,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <text x=\"20.450895\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >300</text>\n",
|
|
|
|
" <text x=\"60.901791\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,60.901791,12.706308)\">1</text>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"110\" y1=\"75\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"110\" y2=\"75\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"110.0,0.0 124.9485979497544,14.948597949754403 124.9485979497544,89.9485979497544 110.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"230\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"230\" y1=\"0\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"110.0,0.0 230.0,0.0 244.9485979497544,14.948597949754403 124.9485979497544,14.948597949754403\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"89\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"244\" y1=\"14\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"124.9485979497544,14.948597949754403 244.9485979497544,14.948597949754403 244.9485979497544,89.9485979497544 124.9485979497544,89.9485979497544\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <text x=\"184.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
|
|
|
|
" <text x=\"264.948598\" y=\"52.448598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,264.948598,52.448598)\">1200</text>\n",
|
|
|
|
" <text x=\"107.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,107.474299,102.474299)\">2</text>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"</svg>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" </tr>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>dark</span></div><div class='xr-var-dims'>(compZ_current_sg, runs, x, y)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray></div><input id='attrs-6bf62c54-9c5b-4c5d-8ce1-cb4cca5a8b20' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-6bf62c54-9c5b-4c5d-8ce1-cb4cca5a8b20' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6e43a2c8-5197-41b7-b53b-2e60e250c707' class='xr-var-data-in' type='checkbox'><label for='data-6e43a2c8-5197-41b7-b53b-2e60e250c707' 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-04-24 13:03:23 +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-05-04 13:47:33 +02:00
|
|
|
" <td> 2.57 GiB </td>\n",
|
|
|
|
" <td> 123.05 MiB </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" \n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Shape </th>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <td> (300, 2, 1200, 1920) </td>\n",
|
|
|
|
" <td> (14, 2, 1200, 1920) </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Dask graph </th>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <td colspan=\"2\"> 22 chunks in 1804 graph layers </td>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Data type </th>\n",
|
|
|
|
" <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" </tbody>\n",
|
|
|
|
" </table>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <svg width=\"404\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"40\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"0\" y1=\"25\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"3\" y1=\"0\" x2=\"3\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"5\" y1=\"0\" x2=\"5\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"9\" y1=\"0\" x2=\"9\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"11\" y1=\"0\" x2=\"11\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"13\" y1=\"0\" x2=\"13\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"15\" y1=\"0\" x2=\"15\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"17\" y1=\"0\" x2=\"17\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"19\" y1=\"0\" x2=\"19\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"20\" y1=\"0\" x2=\"20\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"22\" y1=\"0\" x2=\"22\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"24\" y1=\"0\" x2=\"24\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"26\" y1=\"0\" x2=\"26\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"28\" y1=\"0\" x2=\"28\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"30\" y1=\"0\" x2=\"30\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"32\" y1=\"0\" x2=\"32\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"34\" y1=\"0\" x2=\"34\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"36\" y1=\"0\" x2=\"36\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"38\" y1=\"0\" x2=\"38\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
|
|
|
" <polygon points=\"0.0,0.0 40.90179082482365,0.0 40.90179082482365,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
|
|
|
" <text x=\"20.450895\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >300</text>\n",
|
|
|
|
" <text x=\"60.901791\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,60.901791,12.706308)\">1</text>\n",
|
|
|
|
"\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"110\" y1=\"75\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"110\" y2=\"75\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
|
|
|
" <polygon points=\"110.0,0.0 124.9485979497544,14.948597949754403 124.9485979497544,89.9485979497544 110.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"230\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"230\" y1=\"0\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
|
|
|
" <polygon points=\"110.0,0.0 230.0,0.0 244.9485979497544,14.948597949754403 124.9485979497544,14.948597949754403\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"89\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"244\" y1=\"14\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
|
|
|
" <polygon points=\"124.9485979497544,14.948597949754403 244.9485979497544,14.948597949754403 244.9485979497544,89.9485979497544 124.9485979497544,89.9485979497544\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
|
|
|
" <text x=\"184.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
|
|
|
|
" <text x=\"264.948598\" y=\"52.448598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,264.948598,52.448598)\">1200</text>\n",
|
|
|
|
" <text x=\"107.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,107.474299,102.474299)\">2</text>\n",
|
|
|
|
"</svg>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>shotNum</span></div><div class='xr-var-dims'>(compZ_current_sg, runs)</div><div class='xr-var-dtype'><U3</div><div class='xr-var-preview xr-preview'>dask.array<chunksize=(300, 2), meta=np.ndarray></div><input id='attrs-3d584d73-d6d7-489a-bd51-b1a4ff77ff68' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3d584d73-d6d7-489a-bd51-b1a4ff77ff68' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-470cc4a3-5088-4447-8b36-969e3dc82dab' class='xr-var-data-in' type='checkbox'><label for='data-470cc4a3-5088-4447-8b36-969e3dc82dab' 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",
|
|
|
|
" <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",
|
|
|
|
" <td> 7.03 kiB </td>\n",
|
|
|
|
" <td> 7.03 kiB </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" \n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Shape </th>\n",
|
|
|
|
" <td> (300, 2) </td>\n",
|
|
|
|
" <td> (300, 2) </td>\n",
|
|
|
|
" </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",
|
|
|
|
" <td colspan=\"2\"> <U3 numpy.ndarray </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" </tbody>\n",
|
|
|
|
" </table>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" <td>\n",
|
|
|
|
" <svg width=\"75\" height=\"170\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"0\" y1=\"120\" x2=\"25\" y2=\"120\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"120\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"120\" style=\"stroke-width:2\" />\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
|
|
|
" <polygon points=\"0.0,0.0 25.412616514582485,0.0 25.412616514582485,120.0 0.0,120.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
|
|
|
" <text x=\"12.706308\" y=\"140.000000\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >2</text>\n",
|
|
|
|
" <text x=\"45.412617\" y=\"60.000000\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,45.412617,60.000000)\">300</text>\n",
|
|
|
|
"</svg>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
"</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>OD</span></div><div class='xr-var-dims'>(compZ_current_sg, runs, x, y)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray></div><input id='attrs-fcf5da1f-5026-4433-97fc-ff7868abe070' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-fcf5da1f-5026-4433-97fc-ff7868abe070' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-efa6b255-ffde-4831-8d1b-1758ddb230cc' class='xr-var-data-in' type='checkbox'><label for='data-efa6b255-ffde-4831-8d1b-1758ddb230cc' 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",
|
|
|
|
" <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",
|
|
|
|
" <td> 10.30 GiB </td>\n",
|
|
|
|
" <td> 492.19 MiB </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" \n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Shape </th>\n",
|
|
|
|
" <td> (300, 2, 1200, 1920) </td>\n",
|
|
|
|
" <td> (14, 2, 1200, 1920) </td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th> Dask graph </th>\n",
|
|
|
|
" <td colspan=\"2\"> 22 chunks in 5422 graph layers </td>\n",
|
|
|
|
" </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",
|
|
|
|
" <svg width=\"404\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"40\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"0\" y1=\"25\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
|
|
|
" <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"3\" y1=\"0\" x2=\"3\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"5\" y1=\"0\" x2=\"5\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"9\" y1=\"0\" x2=\"9\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"11\" y1=\"0\" x2=\"11\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"13\" y1=\"0\" x2=\"13\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"15\" y1=\"0\" x2=\"15\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"17\" y1=\"0\" x2=\"17\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"19\" y1=\"0\" x2=\"19\" y2=\"25\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" <line x1=\"20\" y1=\"0\" x2=\"20\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"22\" y1=\"0\" x2=\"22\" y2=\"25\" />\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"24\" y1=\"0\" x2=\"24\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"26\" y1=\"0\" x2=\"26\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"28\" y1=\"0\" x2=\"28\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"30\" y1=\"0\" x2=\"30\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"32\" y1=\"0\" x2=\"32\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"34\" y1=\"0\" x2=\"34\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"36\" y1=\"0\" x2=\"36\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"38\" y1=\"0\" x2=\"38\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" />\n",
|
|
|
|
" <line x1=\"40\" y1=\"0\" x2=\"40\" y2=\"25\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"0.0,0.0 40.90179082482365,0.0 40.90179082482365,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <text x=\"20.450895\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >300</text>\n",
|
|
|
|
" <text x=\"60.901791\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,60.901791,12.706308)\">1</text>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"110\" y1=\"75\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"110\" y2=\"75\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"110.0,0.0 124.9485979497544,14.948597949754403 124.9485979497544,89.9485979497544 110.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"230\" y2=\"0\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"110\" y1=\"0\" x2=\"124\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"230\" y1=\"0\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"110.0,0.0 230.0,0.0 244.9485979497544,14.948597949754403 124.9485979497544,14.948597949754403\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Horizontal lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"244\" y2=\"14\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"124\" y1=\"89\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Vertical lines -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <line x1=\"124\" y1=\"14\" x2=\"124\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
|
|
|
" <line x1=\"244\" y1=\"14\" x2=\"244\" y2=\"89\" style=\"stroke-width:2\" />\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Colored Rectangle -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <polygon points=\"124.9485979497544,14.948597949754403 244.9485979497544,14.948597949754403 244.9485979497544,89.9485979497544 124.9485979497544,89.9485979497544\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
|
|
|
" <!-- Text -->\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" <text x=\"184.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
|
|
|
|
" <text x=\"264.948598\" y=\"52.448598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,264.948598,52.448598)\">1200</text>\n",
|
|
|
|
" <text x=\"107.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,107.474299,102.474299)\">2</text>\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"</svg>\n",
|
|
|
|
" </td>\n",
|
|
|
|
" </tr>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"</table></div></li></ul></div></li><li class='xr-section-item'><input id='section-445d4cf1-ba85-463f-8e41-58b1d015498e' class='xr-section-summary-in' type='checkbox' ><label for='section-445d4cf1-ba85-463f-8e41-58b1d015498e' class='xr-section-summary' >Indexes: <span>(2)</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>compZ_current_sg</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-e02b6d8e-5e4a-4c22-82f4-1269725ca7d8' class='xr-index-data-in' type='checkbox'/><label for='index-e02b6d8e-5e4a-4c22-82f4-1269725ca7d8' 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.175, 0.176, 0.177,\n",
|
|
|
|
" 0.178, 0.179, 0.18,\n",
|
|
|
|
" 0.181, 0.182, 0.183,\n",
|
|
|
|
" 0.184,\n",
|
|
|
|
" ...\n",
|
|
|
|
" 0.46500000000000025, 0.46600000000000025, 0.46700000000000025,\n",
|
|
|
|
" 0.46800000000000025, 0.46900000000000025, 0.47000000000000025,\n",
|
|
|
|
" 0.47100000000000025, 0.47200000000000025, 0.47300000000000025,\n",
|
|
|
|
" 0.47400000000000025],\n",
|
|
|
|
" dtype='float64', name='compZ_current_sg', length=300))</pre></div></li><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-6cdddac2-04ae-40a6-b5ec-fc93ffd2006c' class='xr-index-data-in' type='checkbox'/><label for='index-6cdddac2-04ae-40a6-b5ec-fc93ffd2006c' 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], dtype='float64', name='runs'))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-dd5124d7-280a-42f6-b0e4-b3ea99e0b59f' class='xr-section-summary-in' type='checkbox' ><label for='section-dd5124d7-280a-42f6-b0e4-b3ea99e0b59f' class='xr-section-summary' >Attributes: <span>(100)</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.02</dd><dt><span>abs_img_freq :</span></dt><dd>110.866</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>nan</dd><dt><span>blink_on_time :</span></dt><dd>nan</dd><dt><span>c_duration :</span></dt><dd>0.2</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.005</dd><dt><span>compX_current_sg :</span></dt><dd>0</dd><dt><span>compX_final_current :</span></dt><dd>0.002</dd><dt><span>compX_initial_current :</span></dt><dd>0.005</dd><dt><span>compY_current :</span></dt><dd>0</dd><dt><span>compY_current_sg :</span></dt><dd>0</dd><dt><span>compY_final_current :</span></dt><dd>0</dd><dt><span>compY_initial_current :</span></dt><dd>0</dd><dt><span>compZ_current :</span></dt><dd>0</dd><dt><span>compZ_final_current :</span></dt><dd>0.286</dd><dt><span>compZ_initial_current :</span></dt><dd>0</dd><dt><span>default_camera :</span></dt><dd>0</dd><dt><span>evap_1_final_pow_1 :</span></dt><dd>4.8</dd><dt><span>evap_1_final_pow_2 :</span></dt><dd>2.2</dd><dt><span>evap_1_final_pow_3 :</span></dt><dd>1.2</dd><dt><span>evap_1_final_pow_4 :</span></dt><dd>0.526</dd><dt><span>evap_1_ramp_duration_1 :</span></dt><dd>0.15</dd><dt><span>evap_1_ramp_duration_2 :</span></dt><dd>0.3</dd><dt><span>evap_1_ramp_duration_3 :</span></dt><dd>0.2</dd><dt><span>evap_1_ramp_duration_4 :</span></dt><dd>0.5</dd><dt><span>evap_1_start_pow_1 :</span></dt><dd>7</dd><dt><span>evap_1_start_pow_2 :</span></dt><dd>4.8</dd><dt><span>evap_1_start_pow_3 :</span></dt><dd>2.2</dd><dt><span>evap_1_start_pow_4 :</span></dt><dd>1.2</dd><dt><span>evap_2_final_pow_1 :</span></dt><dd>0.35</dd><dt><span>evap_2_ramp_duration_1 :</span></dt><dd>0.5</dd><dt><span>evap_2_start_pow_1 :</span></dt><dd>0.526</dd><dt><span>evap_3_arm_1_final_pow :</span></dt><dd>0.037</dd><dt><span>evap_3_arm_1_start_pow :</span></dt><dd>0.35</dd><dt><span>evap_3_arm_2_final_pow :</span></dt><dd>0.09</dd><dt><span>evap_3_arm_2_start_pow :</span></dt><dd>5</dd><dt><span>evap_3_ramp_duration :</span></dt><dd>1.0</dd><dt><span>evap_3_rate_constant_1 :</span></dt><dd>0.37</dd><dt><span>evap_3_rate_constant_2 :</span></dt><dd>0.71</dd><dt><span>evap_4_arm_1_final_pow :</span></dt><dd>0.085</dd><dt><span>evap_4_arm_1_start_pow :</span></dt><dd>0.037</dd><dt><span>evap_ramp_4_duration :</span></dt><dd>0.1</dd><dt><span>final_amp :</span></dt><dd>0.00018</dd><dt><span>final_freq :</span></dt><dd>104</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><dd>2.5e-05</dd><dt><span>imaging_wavelength :</span></dt><dd>4.21291e-07</dd><dt><span>initial_amp :</span></dt><dd>0.62</dd><dt><span>initial_freq :</span></dt><dd>101.8</dd><dt><span>mod_depth_1_fin :</span
|
|
|
|
" 0.187 0.188 0.189 0.19 0.191 0.192 0.193 0.194 0.195 0.196 0.197 0.198\n",
|
|
|
|
" 0.199 0.2 0.201 0.202 0.203 0.204 0.205 0.206 0.207 0.208 0.209 0.21\n",
|
|
|
|
" 0.211 0.212 0.213 0.214 0.215 0.216 0.217 0.218 0.219 0.22 0.221 0.222\n",
|
|
|
|
" 0.223 0.224 0.225 0.226 0.227 0.228 0.229 0.23 0.231 0.232 0.233 0.234\n",
|
|
|
|
" 0.235 0.236 0.237 0.238 0.239 0.24 0.241 0.242 0.243 0.244 0.245 0.246\n",
|
|
|
|
" 0.247 0.248 0.249 0.25 0.251 0.252 0.253 0.254 0.255 0.256 0.257 0.258\n",
|
|
|
|
" 0.259 0.26 0.261 0.262 0.263 0.264 0.265 0.266 0.267 0.268 0.269 0.27\n",
|
|
|
|
" 0.271 0.272 0.273 0.274 0.275 0.276 0.277 0.278 0.279 0.28 0.281 0.282\n",
|
|
|
|
" 0.283 0.284 0.285 0.286 0.287 0.288 0.289 0.29 0.291 0.292 0.293 0.294\n",
|
|
|
|
" 0.295 0.296 0.297 0.298 0.299 0.3 0.301 0.302 0.303 0.304 0.305 0.306\n",
|
|
|
|
" 0.307 0.308 0.309 0.31 0.311 0.312 0.313 0.314 0.315 0.316 0.317 0.318\n",
|
|
|
|
" 0.319 0.32 0.321 0.322 0.323 0.324 0.325 0.326 0.327 0.328 0.329 0.33\n",
|
|
|
|
" 0.331 0.332 0.333 0.334 0.335 0.336 0.337 0.338 0.339 0.34 0.341 0.342\n",
|
|
|
|
" 0.343 0.344 0.345 0.346 0.347 0.348 0.349 0.35 0.351 0.352 0.353 0.354\n",
|
|
|
|
" 0.355 0.356 0.357 0.358 0.359 0.36 0.361 0.362 0.363 0.364 0.365 0.366\n",
|
|
|
|
" 0.367 0.368 0.369 0.37 0.371 0.372 0.373 0.374 0.375 0.376 0.377 0.378\n",
|
|
|
|
" 0.379 0.38 0.381 0.382 0.383 0.384 0.385 0.386 0.387 0.388 0.389 0.39\n",
|
|
|
|
" 0.391 0.392 0.393 0.394 0.395 0.396 0.397 0.398 0.399 0.4 0.401 0.402\n",
|
|
|
|
" 0.403 0.404 0.405 0.406 0.407 0.408 0.409 0.41 0.411 0.412 0.413 0.414\n",
|
|
|
|
" 0.415 0.416 0.417 0.418 0.419 0.42 0.421 0.422 0.423 0.424 0.425 0.426\n",
|
|
|
|
" 0.427 0.428 0.429 0.43 0.431 0.432 0.433 0.434 0.435 0.436 0.437 0.438\n",
|
|
|
|
" 0.439 0.44 0.441 0.442 0.443 0.444 0.445 0.446 0.447 0.448 0.449 0.45\n",
|
|
|
|
" 0.451 0.452 0.453 0.454 0.455 0.456 0.457 0.458 0.459 0.46 0.461 0.462\n",
|
|
|
|
" 0.463 0.464 0.465 0.466 0.467 0.468 0.469 0.47 0.471 0.472 0.473 0.474\n",
|
|
|
|
" 0.175 0.176 0.177 0.178 0.179 0.18 0.181 0.182 0.183 0.184 0.185 0.186\n",
|
|
|
|
" 0.187 0.188 0.189 0.19 0.191 0.192 0.193 0.194 0.195 0.196 0.197 0.198\n",
|
|
|
|
" 0.199 0.2 0.201 0.202 0.203 0.204 0.205 0.206 0.207 0.208 0.209 0.21\n",
|
|
|
|
" 0.211 0.212 0.213 0.214 0.215 0.216 0.217 0.218 0.219 0.22 0.221 0.222\n",
|
|
|
|
" 0.223 0.224 0.225 0.226 0.227 0.228 0.229 0.23 0.231 0.232 0.233 0.234\n",
|
|
|
|
" 0.235 0.236 0.237 0.238 0.239 0.24 0.241 0.242 0.243 0.244 0.245 0.246\n",
|
|
|
|
" 0.247 0.248 0.249 0.25 0.251 0.252 0.253 0.254 0.255 0.256 0.257 0.258\n",
|
|
|
|
" 0.259 0.26 0.261 0.262 0.263 0.264 0.265 0.266 0.267 0.268 0.269 0.27\n",
|
|
|
|
" 0.271 0.272 0.273 0.274 0.275 0.276 0.277 0.278 0.279 0.28 0.281 0.282\n",
|
|
|
|
" 0.283 0.284 0.285 0.286 0.287 0.288 0.289 0.29 0.291 0.292 0.293 0.294\n",
|
|
|
|
" 0.295 0.296 0.297 0.298 0.299 0.3 0.301 0.302 0.303 0.304 0.305 0.306\n",
|
|
|
|
" 0.307 0.308 0.309 0.31 0.311 0.312 0.313 0.314 0.315 0.316 0.317 0.318\n",
|
|
|
|
" 0.319 0.32 0.321 0.322 0.323 0.324 0.325 0.326 0.327 0.328 0.329 0.33\n",
|
|
|
|
" 0.331 0.332 0.333 0.334 0.335 0.336 0.337 0.338 0.339 0.34 0.341 0.342\n",
|
|
|
|
" 0.343 0.344 0.345 0.346 0.347 0.348 0.349 0.35 0.351 0.352 0.353 0.354\n",
|
|
|
|
" 0.355 0.356 0.357 0.358 0.359 0.36 0.361 0.362 0.363 0.364 0.365 0.366\n",
|
|
|
|
" 0.367 0.368 0.369 0.37 0.371 0.372 0.373 0.374 0.375 0.376 0.377 0.378\n",
|
|
|
|
" 0.379 0.38 0.381 0.382 0.383 0.384 0.385 0.386 0.387 0.388 0.389 0.39\n",
|
|
|
|
" 0.391 0.392 0.393 0.394 0.395 0.396 0.397 0.398 0.399 0.4 0.401 0.402\n",
|
|
|
|
" 0.403 0.404 0.405 0.406 0.407 0.408 0.409 0.41 0.411 0.412 0.413 0.414\n",
|
|
|
|
" 0.415 0.416 0.417 0.418 0.419 0.42 0.421 0.422 0.423 0.424 0.425 0.426\n",
|
|
|
|
" 0.427 0.428 0.429 0.43 0.431 0.432 0.433 0.434 0.435 0.436 0.437 0.438\n",
|
|
|
|
" 0.439 0.44 0.441 0.442 0.443 0.444 0.445 0.446 0.447 0.448 0.449 0.45\n",
|
|
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 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.\n",
|
|
|
|
" 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.\n",
|
|
|
|
" 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]</dd><dt><span>scanAxis :</span></dt><dd>['compZ_current_sg', 'runs']</dd><dt><span>scanAxisLength :</span></dt><dd>[600. 600.]</dd></dl></div></li></ul></div></div>"
|
2023-04-24 13:03:23 +02:00
|
|
|
],
|
|
|
|
"text/plain": [
|
|
|
|
"<xarray.Dataset>\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"Dimensions: (compZ_current_sg: 300, runs: 2, x: 1200, y: 1920)\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"Coordinates:\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" * compZ_current_sg (compZ_current_sg) float64 0.175 0.176 ... 0.473 0.474\n",
|
|
|
|
" * runs (runs) float64 0.0 1.0\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"Dimensions without coordinates: x, y\n",
|
|
|
|
"Data variables:\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" atoms (compZ_current_sg, runs, x, y) uint16 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
" background (compZ_current_sg, runs, x, y) uint16 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
" dark (compZ_current_sg, runs, x, y) uint16 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
" shotNum (compZ_current_sg, runs) <U3 dask.array<chunksize=(300, 2), meta=np.ndarray>\n",
|
|
|
|
" OD (compZ_current_sg, runs, x, y) float64 dask.array<chunksize=(14, 2, 1200, 1920), meta=np.ndarray>\n",
|
|
|
|
"Attributes: (12/100)\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" TOF_free: 0.02\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" abs_img_freq: 110.866\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
" absorption_imaging_flag: True\n",
|
|
|
|
" backup_data: True\n",
|
|
|
|
" blink_off_time: nan\n",
|
|
|
|
" blink_on_time: nan\n",
|
|
|
|
" ... ...\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
" z_offset: compZ_current_sg\n",
|
|
|
|
" z_offset_img: compZ_current_sg\n",
|
|
|
|
" compZ_current_sg: [0.175 0.176 0.177 0.178 0.179 0.18 0...\n",
|
|
|
|
" runs: [0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0...\n",
|
|
|
|
" scanAxis: ['compZ_current_sg', 'runs']\n",
|
|
|
|
" scanAxisLength: [600. 600.]"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"execution_count": 6,
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "execute_result"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"dataset = imageAnalyser.get_absorption_images(dataset)\n",
|
|
|
|
"\n",
|
|
|
|
"dataset"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"## Select region of interests"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 7,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"imageAnalyser.center = (880, 960)\n",
|
|
|
|
"imageAnalyser.span = (100,100)\n",
|
|
|
|
"imageAnalyser.fraction = (0.1, 0.1)\n",
|
|
|
|
"\n",
|
|
|
|
"# imageAnalyser.center = (890, 1150)\n",
|
|
|
|
"# imageAnalyser.span = (600,600)\n",
|
|
|
|
"# imageAnalyser.fraction = (0.1, 0.1)\n",
|
|
|
|
"\n",
|
|
|
|
"# imageAnalyser.center = (890, 950)\n",
|
|
|
|
"# imageAnalyser.span = (100,100)\n",
|
|
|
|
"# imageAnalyser.fraction = (0.1, 0.1)\n",
|
|
|
|
"\n",
|
|
|
|
"dataset_crop = imageAnalyser.crop_image(dataset)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 8,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"text/plain": [
|
|
|
|
"<xarray.plot.facetgrid.FacetGrid at 0x29de9b6b160>"
|
2023-04-24 13:03:23 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"execution_count": 8,
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "execute_result"
|
2023-05-04 13:47:33 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAdkAAAGoCAYAAAAKOZ9mAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAEAAElEQVR4nOz9f5xfZ13njT+vZtIyhRnaaU0o05LhJpUESRcitEiVRulqC4sKsoCAFoVlZV301ntXXdf7xr1dv+t6u3Ir7spyo4IrCF2WKlWoEiQVg7aWUBsghUaZ0ISS2E5LBjrQTHK+f5zrNdfrXOf6fGaSzLT50Ov1eMzjnDnnfK7fP97v9/X+EZqmoaKioqKiomL1cdYjXYCKioqKiopvVNRNtqKioqKiYo1QN9mKioqKioo1Qt1kKyoqKioq1gh1k62oqKioqFgj1E22oqKioqJijVA32YqKioqKijVC3WRXGSGEdSGE27O/e0MI732kyzYIIYTvDyE87ZEuB0Bo8ZshhP0hhDtCCNsHfPfLIYS7QwhfyZ6/2dr9cyGEB+zdcXv3gT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T8e8DGTSxO20+dQB4nzNT5V70n64s4pu5/Lnk2Q+lgc1UaSFELfbwfui/cHsnfQBgmCVqyZz8VxUn3zY4VpkkRiNl63WZn03aSlURKRL3d2nKPEcbo0LOdgnWsels40fYnYJlJZfb4JStfbJpd4OOdfEjmvDdbx6ORkR7HMFRUVFRUVI4ER4WQFp6JFdZXOkbaQuCCnIocpTPg3ej9MEcS5DnGZpTNB5T9Hq7QAibI8TKL4t9l3okKVzgYGK42UlHyc2nWUlGjUpqX0S2dJ+ZnXIVIdhHlS+3ieSucWe6e2cOo
|
|
|
|
"text/plain": [
|
|
|
|
"<Figure size 504x432 with 5 Axes>"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"needs_background": "light"
|
|
|
|
},
|
|
|
|
"output_type": "display_data"
|
2023-04-24 13:03:23 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
2023-05-04 13:47:33 +02:00
|
|
|
"dataset_crop.OD.isel(**{scanAxis[0]:np.arange(2), 'runs':range(dataset_crop.OD['runs'].size)}).plot.pcolormesh(cmap='jet', vmin=0, col=scanAxis[0], row=scanAxis[1])"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"## Remove the background"
|
2023-04-24 13:03:23 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-05-04 13:47:33 +02:00
|
|
|
"execution_count": 9,
|
2023-04-24 13:03:23 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
2023-05-04 13:47:33 +02:00
|
|
|
"dataset_crop['OD'] = dataset_crop['OD'] + 500"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 10,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"dataset_crop['OD'] = imageAnalyser.substract_offset(dataset_crop['OD'])"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"# Test Fit"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 11,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"fitAnalyser = FitAnalyser(\"Gaussian-2D\", fitDim=2)\n",
|
2023-04-24 13:03:23 +02:00
|
|
|
"\n",
|
2023-05-04 13:47:33 +02:00
|
|
|
"params = fitAnalyser.guess(dataset_crop.OD, dask=\"parallelized\")"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 12,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"fitResult = fitAnalyser.fit(dataset_crop.OD, params, dask=\"parallelized\")"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 13,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"fitCurve = fitAnalyser.eval(fitResult, x=np.arange(100), y=np.arange(100))"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 14,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"text/plain": [
|
|
|
|
"<xarray.plot.facetgrid.FacetGrid at 0x29df5f34a00>"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"execution_count": 14,
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "execute_result"
|
|
|
|
},
|
|
|
|
{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UTtyO3cjO7FoiC9T/ZX1M2Wiezc3AKW1SDqZCbZPV9PjizgbkGWbzO1ppc0s18xs/vM7Ftm9jEzW2ZmW83sq2a23cw+bmZL6+yDEEII0W3UpnzNbBPwS8DVcVmnPkJGkXcD73X3bcAR4Ma6+rA4Ka/tsWSGuvQZzD55/ZLSR84Q0Uly2U0yWN5XJadVn3J7IFure0iW71w/i4W6F1boBwbNrB9YDuwDXgB8Ku7/CPCymvsghBCiC+jQkoI9QW3/l5ic+veAR4Fx4AvAvcCYu6dBl93Apqrz44oScVWJi+vqZg9R/qlajfP2T7O/3FbV+G4VZ0vniNkieZ4NuSVcrpvpvLJ8KoZBdCe1KV8zWwNcB2wFxoBP0mKB4zLufgtwS2hro9fQxUVEergMxnIm5ZuYoLXSzWn3OFGF5LlM1ctkWelO92I5HdMp1FZBWKJTGLBkPjTOInlvqtOK/1Fgh7s/BmBmnwaeDwyZWX+0fjcDe2rsgxBCiC7ADPqlfBvUqXwfBZ4bFyweB14I3AN8GXg5cBtwA/DZGvuwSGhlASyh2eIlfl8yzfFQSO9M7uTpMgZNd7wQ7dDuUMlM1nCiKlFMFbnMSo7FwlLnmO9XzexTwL8QJPxrBLfb3wK3mdlvx7oP1dUHIYQQ3YEZLOlb6F50D7UGj7n72wnLOeU8TFigWMyK8lt91dSKZAEvZ6o1nJ+TLNoJglMC4FSpjbS/jMbLRF1UWbmDpboq6/ZsVpblfnzq4U3nyALuFPPmdl4k6FYIIYSonXkLuFok6Fb0HP2lMiXOgGDxluuqLOCqMd9UHquoy88p90MWgzgfqsZ3q6L2l1ccN92avWeptnTLdZJZsfBI+XY1/RXbZffbEooH1KpYDgKrs+1yW+n
|
|
|
|
"text/plain": [
|
|
|
|
"<Figure size 504x432 with 5 Axes>"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"needs_background": "light"
|
|
|
|
},
|
|
|
|
"output_type": "display_data"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"fitCurve.isel(**{scanAxis[0]:np.arange(2), 'runs':range(dataset_crop.OD['runs'].size)}).plot.pcolormesh(cmap='jet', vmin=0, col=scanAxis[0], row=scanAxis[1])"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"metadata": {},
|
|
|
|
"source": [
|
|
|
|
"# Get the Ncount"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 15,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"Ncount = dataset_crop.OD.sum(dim=(scanAxis[1], 'x', 'y'))"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 24,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"ename": "AttributeError",
|
|
|
|
"evalue": "'Line2D' object has no property 'fig'",
|
|
|
|
"output_type": "error",
|
|
|
|
"traceback": [
|
|
|
|
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
|
|
|
|
"\u001b[1;31mAttributeError\u001b[0m Traceback (most recent call last)",
|
|
|
|
"\u001b[1;32md:\\Jianshun Gao\\Simulations\\analyseScripts\\test.ipynb Cell 27\u001b[0m in \u001b[0;36m<cell line: 2>\u001b[1;34m()\u001b[0m\n\u001b[0;32m <a href='vscode-notebook-cell:/d%3A/Jianshun%20Gao/Simulations/analyseScripts/test.ipynb#X36sZmlsZQ%3D%3D?line=0'>1</a>\u001b[0m fig \u001b[39m=\u001b[39m plt\u001b[39m.\u001b[39mfigure()\n\u001b[1;32m----> <a href='vscode-notebook-cell:/d%3A/Jianshun%20Gao/Simulations/analyseScripts/test.ipynb#X36sZmlsZQ%3D%3D?line=1'>2</a>\u001b[0m Ncount\u001b[39m.\u001b[39;49mplot(fig\u001b[39m=\u001b[39;49mfig)\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\xarray\\plot\\accessor.py:46\u001b[0m, in \u001b[0;36mDataArrayPlotAccessor.__call__\u001b[1;34m(self, **kwargs)\u001b[0m\n\u001b[0;32m 44\u001b[0m \u001b[39m@functools\u001b[39m\u001b[39m.\u001b[39mwraps(dataarray_plot\u001b[39m.\u001b[39mplot, assigned\u001b[39m=\u001b[39m(\u001b[39m\"\u001b[39m\u001b[39m__doc__\u001b[39m\u001b[39m\"\u001b[39m, \u001b[39m\"\u001b[39m\u001b[39m__annotations__\u001b[39m\u001b[39m\"\u001b[39m))\n\u001b[0;32m 45\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39m__call__\u001b[39m(\u001b[39mself\u001b[39m, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs) \u001b[39m-\u001b[39m\u001b[39m>\u001b[39m Any:\n\u001b[1;32m---> 46\u001b[0m \u001b[39mreturn\u001b[39;00m dataarray_plot\u001b[39m.\u001b[39;49mplot(\u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_da, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs)\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\xarray\\plot\\dataarray_plot.py:312\u001b[0m, in \u001b[0;36mplot\u001b[1;34m(darray, row, col, col_wrap, ax, hue, subplot_kws, **kwargs)\u001b[0m\n\u001b[0;32m 308\u001b[0m plotfunc \u001b[39m=\u001b[39m hist\n\u001b[0;32m 310\u001b[0m kwargs[\u001b[39m\"\u001b[39m\u001b[39max\u001b[39m\u001b[39m\"\u001b[39m] \u001b[39m=\u001b[39m ax\n\u001b[1;32m--> 312\u001b[0m \u001b[39mreturn\u001b[39;00m plotfunc(darray, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs)\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\xarray\\plot\\dataarray_plot.py:517\u001b[0m, in \u001b[0;36mline\u001b[1;34m(darray, 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 513\u001b[0m ylabel \u001b[39m=\u001b[39m label_from_attrs(yplt, extra\u001b[39m=\u001b[39my_suffix)\n\u001b[0;32m 515\u001b[0m _ensure_plottable(xplt_val, yplt_val)\n\u001b[1;32m--> 517\u001b[0m primitive \u001b[39m=\u001b[39m ax\u001b[39m.\u001b[39;49mplot(xplt_val, yplt_val, \u001b[39m*\u001b[39;49margs, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs)\n\u001b[0;32m 519\u001b[0m \u001b[39mif\u001b[39;00m _labels:\n\u001b[0;32m 520\u001b[0m \u001b[39mif\u001b[39;00m xlabel \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\axes\\_axes.py:1632\u001b[0m, in \u001b[0;36mAxes.plot\u001b[1;34m(self, scalex, scaley, data, *args, **kwargs)\u001b[0m\n\u001b[0;32m 1390\u001b[0m \u001b[39m\"\"\"\u001b[39;00m\n\u001b[0;32m 1391\u001b[0m \u001b[39mPlot y versus x as lines and/or markers.\u001b[39;00m\n\u001b[0;32m 1392\u001b[0m \n\u001b[1;32m (...)\u001b[0m\n\u001b[0;32m 1629\u001b[0m \u001b[39m(``'green'``) or hex strings (``'#008000'``).\u001b[39;00m\n\u001b[0;32m 1630\u001b[0m \u001b[39m\"\"\"\u001b[39;00m\n\u001b[0;32m 1631\u001b[0m kwargs \u001b[39m=\u001b[39m cbook\u001b[39m.\u001b[39mnormalize_kwargs(kwargs, mlines\u001b[39m.\u001b[39mLine2D)\n\u001b[1;32m-> 1632\u001b[0m lines \u001b[39m=\u001b[39m [\u001b[39m*\u001b[39m\u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_get_lines(\u001b[39m*\u001b[39margs, data\u001b[39m=\u001b[39mdata, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs)]\n\u001b[0;32m 1633\u001b[0m \u001b[39mfor\u001b[39;00m line \u001b[39min\u001b[39;00m lines:\n\u001b[0;32m 1634\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39madd_line(line)\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\axes\\_base.py:312\u001b[0m, in \u001b[0;36m_process_plot_var_args.__call__\u001b[1;34m(self, data, *args, **kwargs)\u001b[0m\n\u001b[0;32m 310\u001b[0m this \u001b[39m+\u001b[39m\u001b[39m=\u001b[39m args[\u001b[39m0\u001b[39m],\n\u001b[0;32m 311\u001b[0m args \u001b[39m=\u001b[39m args[\u001b[39m1\u001b[39m:]\n\u001b[1;32m--> 312\u001b[0m \u001b[39myield from\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_plot_args(this, kwargs)\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\axes\\_base.py:538\u001b[0m, in \u001b[0;36m_process_plot_var_args._plot_args\u001b[1;34m(self, tup, kwargs, return_kwargs)\u001b[0m\n\u001b[0;32m 536\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mlist\u001b[39m(result)\n\u001b[0;32m 537\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m--> 538\u001b[0m \u001b[39mreturn\u001b[39;00m [l[\u001b[39m0\u001b[39m] \u001b[39mfor\u001b[39;00m l \u001b[39min\u001b[39;00m result]\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\axes\\_base.py:538\u001b[0m, in \u001b[0;36m<listcomp>\u001b[1;34m(.0)\u001b[0m\n\u001b[0;32m 536\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mlist\u001b[39m(result)\n\u001b[0;32m 537\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m--> 538\u001b[0m \u001b[39mreturn\u001b[39;00m [l[\u001b[39m0\u001b[39m] \u001b[39mfor\u001b[39;00m l \u001b[39min\u001b[39;00m result]\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\axes\\_base.py:531\u001b[0m, in \u001b[0;36m<genexpr>\u001b[1;34m(.0)\u001b[0m\n\u001b[0;32m 528\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m 529\u001b[0m labels \u001b[39m=\u001b[39m [label] \u001b[39m*\u001b[39m n_datasets\n\u001b[1;32m--> 531\u001b[0m result \u001b[39m=\u001b[39m (make_artist(x[:, j \u001b[39m%\u001b[39;49m ncx], y[:, j \u001b[39m%\u001b[39;49m ncy], kw,\n\u001b[0;32m 532\u001b[0m {\u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs, \u001b[39m'\u001b[39;49m\u001b[39mlabel\u001b[39;49m\u001b[39m'\u001b[39;49m: label})\n\u001b[0;32m 533\u001b[0m \u001b[39mfor\u001b[39;00m j, label \u001b[39min\u001b[39;00m \u001b[39menumerate\u001b[39m(labels))\n\u001b[0;32m 535\u001b[0m \u001b[39mif\u001b[39;00m return_kwargs:\n\u001b[0;32m 536\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mlist\u001b[39m(result)\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\axes\\_base.py:351\u001b[0m, in \u001b[0;36m_process_plot_var_args._makeline\u001b[1;34m(self, x, y, kw, kwargs)\u001b[0m\n\u001b[0;32m 349\u001b[0m default_dict \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_getdefaults(\u001b[39mset\u001b[39m(), kw)\n\u001b[0;32m 350\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_setdefaults(default_dict, kw)\n\u001b[1;32m--> 351\u001b[0m seg \u001b[39m=\u001b[39m mlines\u001b[39m.\u001b[39;49mLine2D(x, y, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkw)\n\u001b[0;32m 352\u001b[0m \u001b[39mreturn\u001b[39;00m seg, kw\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\lines.py:393\u001b[0m, in \u001b[0;36mLine2D.__init__\u001b[1;34m(self, xdata, ydata, linewidth, linestyle, color, marker, markersize, markeredgewidth, markeredgecolor, markerfacecolor, markerfacecoloralt, fillstyle, antialiased, dash_capstyle, solid_capstyle, dash_joinstyle, solid_joinstyle, pickradius, drawstyle, markevery, **kwargs)\u001b[0m\n\u001b[0;32m 389\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mset_markeredgewidth(markeredgewidth)\n\u001b[0;32m 391\u001b[0m \u001b[39m# update kwargs before updating data to give the caller a\u001b[39;00m\n\u001b[0;32m 392\u001b[0m \u001b[39m# chance to init axes (and hence unit support)\u001b[39;00m\n\u001b[1;32m--> 393\u001b[0m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mupdate(kwargs)\n\u001b[0;32m 394\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mpickradius \u001b[39m=\u001b[39m pickradius\n\u001b[0;32m 395\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mind_offset \u001b[39m=\u001b[39m \u001b[39m0\u001b[39m\n",
|
|
|
|
"File \u001b[1;32mD:\\Program Files\\Python\\Python38\\Lib\\site-packages\\matplotlib\\artist.py:1064\u001b[0m, in \u001b[0;36mArtist.update\u001b[1;34m(self, props)\u001b[0m\n\u001b[0;32m 1062\u001b[0m func \u001b[39m=\u001b[39m \u001b[39mgetattr\u001b[39m(\u001b[39mself\u001b[39m, \u001b[39mf\u001b[39m\u001b[39m\"\u001b[39m\u001b[39mset_\u001b[39m\u001b[39m{\u001b[39;00mk\u001b[39m}\u001b[39;00m\u001b[39m\"\u001b[39m, \u001b[39mNone\u001b[39;00m)\n\u001b[0;32m 1063\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m callable(func):\n\u001b[1;32m-> 1064\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mAttributeError\u001b[39;00m(\u001b[39mf\u001b[39m\u001b[39m\"\u001b[39m\u001b[39m{\u001b[39;00m\u001b[39mtype\u001b[39m(\u001b[39mself\u001b[39m)\u001b[39m.\u001b[39m\u001b[39m__name__\u001b[39m\u001b[39m!r}\u001b[39;00m\u001b[39m object \u001b[39m\u001b[39m\"\u001b[39m\n\u001b[0;32m 1065\u001b[0m \u001b[39mf\u001b[39m\u001b[39m\"\u001b[39m\u001b[39mhas no property \u001b[39m\u001b[39m{\u001b[39;00mk\u001b[39m!r}\u001b[39;00m\u001b[39m\"\u001b[39m)\n\u001b[0;32m 1066\u001b[0m ret\u001b[39m.\u001b[39mappend(func(v))\n\u001b[0;32m 1067\u001b[0m \u001b[39mif\u001b[39;00m ret:\n",
|
|
|
|
"\u001b[1;31mAttributeError\u001b[0m: 'Line2D' object has no property 'fig'"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXwAAAD8CAYAAAB0IB+mAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAANT0lEQVR4nO3cYYjkd33H8ffHO1NpjKb0VpC706T00njYQtIlTRFqirZc8uDugUXuIFgleGAbKVWEFEuU+MiGWhCu1ZOKVdAYfSALntwDjQTEC7chNXgXItvTeheFrDHNk6Ax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WuBcr3IsV7sWKJItr/dohT+k8AeydON4zPnfRNUl2Aq8FnlrrUJKk2RsS/NPAviTXJrkCOAwsrFqzAPzl+PJfAN+qqprdmJKk9Zr6lM74Ofk7gZPADuCzVXUmyT3AYlUtAP8KfCHJEvBzRj8Upjm+jrm3G/dihXuxwr1Y4V6sWPNexAfiktSD77SVpCYMviQ1seHB92MZVgzYiw8kOZvk0STfTPLGrZhzM0zbi4l170hSSbbtn+QN2Ysk7xx/b5xJ8sXNnnGzDPg/8oYkDyR5ZPz/5LatmHOjJflskicv9V6ljHxyvE+PJrlx0A1X1Yb9Y/Qi738AvwNcAXwP2L9qzV8BnxpfPgx8eSNn2qp/A/fiT4HfHF9+X+e9GK+7CngQOAXMb/XcW/h9sQ94BPit8fHrtnruLdyL48D7xpf3Az/a6rk3aC/+BLgR+P4lrr8N+AYQ4GbgoSG3u9GP8P1YhhVT96KqHqiqZ8eHpxi952E7GvJ9AfAxRp/L9IvNHG6TDdmL9wLHquppgKp6cpNn3CxD9qKA14wvvxb4ySbOt2mq6kFGf/F4KYeAz9fIKeD
|
|
|
|
"text/plain": [
|
|
|
|
"<Figure size 432x288 with 1 Axes>"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"needs_background": "light"
|
|
|
|
},
|
|
|
|
"output_type": "display_data"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"# fig = plt.figure()\n",
|
|
|
|
"# Ncount.plot(fig=fig)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 23,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"ename": "AttributeError",
|
|
|
|
"evalue": "'Line2D' object has no attribute 'ylim'",
|
|
|
|
"output_type": "error",
|
|
|
|
"traceback": [
|
|
|
|
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
|
|
|
|
"\u001b[1;31mAttributeError\u001b[0m Traceback (most recent call last)",
|
|
|
|
"\u001b[1;32md:\\Jianshun Gao\\Simulations\\analyseScripts\\test.ipynb Cell 28\u001b[0m in \u001b[0;36m<cell line: 1>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> <a href='vscode-notebook-cell:/d%3A/Jianshun%20Gao/Simulations/analyseScripts/test.ipynb#X40sZmlsZQ%3D%3D?line=0'>1</a>\u001b[0m ax[\u001b[39m0\u001b[39;49m]\u001b[39m.\u001b[39;49mylim([\u001b[39m0\u001b[39m, \u001b[39m2000\u001b[39m])\n\u001b[0;32m <a href='vscode-notebook-cell:/d%3A/Jianshun%20Gao/Simulations/analyseScripts/test.ipynb#X40sZmlsZQ%3D%3D?line=1'>2</a>\u001b[0m plt\u001b[39m.\u001b[39mshow()\n",
|
|
|
|
"\u001b[1;31mAttributeError\u001b[0m: 'Line2D' object has no attribute 'ylim'"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"fig"
|
2023-04-24 13:03:23 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": null,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"metadata": {
|
|
|
|
"kernelspec": {
|
2023-05-04 13:47:33 +02:00
|
|
|
"display_name": "env",
|
2023-04-24 13:03:23 +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",
|
|
|
|
"version": "3.8.10"
|
|
|
|
},
|
2023-05-04 13:47:33 +02:00
|
|
|
"orig_nbformat": 4,
|
|
|
|
"vscode": {
|
|
|
|
"interpreter": {
|
|
|
|
"hash": "c05913ad4f24fdc6b2418069394dc5835b1981849b107c9ba6df693aafd66650"
|
|
|
|
}
|
|
|
|
}
|
2023-04-24 13:03:23 +02:00
|
|
|
},
|
|
|
|
"nbformat": 4,
|
|
|
|
"nbformat_minor": 2
|
|
|
|
}
|