You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4986 lines
4.4 MiB

1 year ago
  1. {
  2. "cells": [
  3. {
  4. "cell_type": "markdown",
  5. "metadata": {},
  6. "source": [
  7. "# How to fit data"
  8. ]
  9. },
  10. {
  11. "cell_type": "markdown",
  12. "metadata": {},
  13. "source": [
  14. "In lots of times, we need to fit our data with different lineshapes. We implenment the fitting function using lmfit package. Here is a link to the official document of lmfit\n",
  15. "\n",
  16. "https://lmfit.github.io/lmfit-py/\n",
  17. "\n",
  18. "Fortunately, one don't need to read and understand everything to do a fit, but just a few concepts and tools\n",
  19. "\n",
  20. "- Models. An object of Model() class in lmfit package is a slover for certain cureve. The lmfit package and we alread defined lots of models, and it is also possible and easy to define a new model for a new curve.\n",
  21. "- Parameters. The fit is usually sensitive to the initial values and boundary conditions. Parameters() is a class, which hold all these information for a fit.\n",
  22. "- Fit Reasult. In the lmfit package, the reulst of fit is also a class, but we implenment some functions to translate it into numbers.\n",
  23. "\n",
  24. "Let's start again with some examples."
  25. ]
  26. },
  27. {
  28. "cell_type": "markdown",
  29. "metadata": {},
  30. "source": [
  31. "## Load some example data"
  32. ]
  33. },
  34. {
  35. "cell_type": "markdown",
  36. "metadata": {},
  37. "source": [
  38. "### Import supporting packages"
  39. ]
  40. },
  41. {
  42. "cell_type": "code",
  43. "execution_count": 1,
  44. "metadata": {},
  45. "outputs": [],
  46. "source": [
  47. "# Set the system path for importing packages\n",
  48. "# This is just because I put all example scripts in another folder\n",
  49. "# You DO NOT need to do this \n",
  50. "# -------------- You do NOT need following part --------------\n",
  51. "import sys\n",
  52. "import os\n",
  53. "sys.path.insert(0, os.path.abspath('..'))\n",
  54. "# -------------- You do NOT need above part --------------\n",
  55. "\n",
  56. "import copy\n",
  57. "import glob\n",
  58. "from datetime import datetime\n",
  59. "\n",
  60. "# The package for data structure\n",
  61. "import xarray as xr\n",
  62. "import pandas as pd\n",
  63. "import numpy as np\n",
  64. "\n",
  65. "# The packages for working with uncertainties\n",
  66. "from uncertainties import ufloat\n",
  67. "from uncertainties import unumpy as unp\n",
  68. "from uncertainties import umath\n",
  69. "\n",
  70. "# The package for plotting\n",
  71. "import matplotlib.pyplot as plt\n",
  72. "plt.rcParams['font.size'] = 18 # Set the global font size\n",
  73. "\n",
  74. "# -------------- The modules written by us --------------\n",
  75. "\n",
  76. "# The packages for read data\n",
  77. "from DataContainer.ReadData import read_hdf5_file, read_hdf5_global, read_hdf5_run_time, read_csv_file\n",
  78. "\n",
  79. "# The packages for data analysis\n",
  80. "from Analyser.ImagingAnalyser import ImageAnalyser\n",
  81. "from Analyser.FitAnalyser import FitAnalyser\n",
  82. "from Analyser.FitAnalyser import ThomasFermi2dModel, DensityProfileBEC2dModel, Polylog22dModel\n",
  83. "from Analyser.FFTAnalyser import fft, ifft, fft_nutou\n",
  84. "from ToolFunction.ToolFunction import *\n",
  85. "\n",
  86. "# Add errorbar plot to xarray package\n",
  87. "from ToolFunction.HomeMadeXarrayFunction import errorbar, dataarray_plot_errorbar\n",
  88. "xr.plot.dataarray_plot.errorbar = errorbar\n",
  89. "xr.plot.accessor.DataArrayPlotAccessor.errorbar = dataarray_plot_errorbar"
  90. ]
  91. },
  92. {
  93. "cell_type": "markdown",
  94. "metadata": {},
  95. "source": [
  96. "### Start a client for parallel computing"
  97. ]
  98. },
  99. {
  100. "cell_type": "code",
  101. "execution_count": 2,
  102. "metadata": {},
  103. "outputs": [
  104. {
  105. "data": {
  106. "text/html": [
  107. "<div>\n",
  108. " <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\"> </div>\n",
  109. " <div style=\"margin-left: 48px;\">\n",
  110. " <h3 style=\"margin-bottom: 0px;\">Client</h3>\n",
  111. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Client-4613caa9-20c7-11ee-8414-80e82ce2fa8e</p>\n",
  112. " <table style=\"width: 100%; text-align: left;\">\n",
  113. "\n",
  114. " <tr>\n",
  115. " \n",
  116. " <td style=\"text-align: left;\"><strong>Connection method:</strong> Cluster object</td>\n",
  117. " <td style=\"text-align: left;\"><strong>Cluster type:</strong> distributed.LocalCluster</td>\n",
  118. " \n",
  119. " </tr>\n",
  120. "\n",
  121. " \n",
  122. " <tr>\n",
  123. " <td style=\"text-align: left;\">\n",
  124. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  125. " </td>\n",
  126. " <td style=\"text-align: left;\"></td>\n",
  127. " </tr>\n",
  128. " \n",
  129. "\n",
  130. " </table>\n",
  131. "\n",
  132. " \n",
  133. "\n",
  134. " \n",
  135. " <details>\n",
  136. " <summary style=\"margin-bottom: 20px;\"><h3 style=\"display: inline;\">Cluster Info</h3></summary>\n",
  137. " <div class=\"jp-RenderedHTMLCommon jp-RenderedHTML jp-mod-trusted jp-OutputArea-output\">\n",
  138. " <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\">\n",
  139. " </div>\n",
  140. " <div style=\"margin-left: 48px;\">\n",
  141. " <h3 style=\"margin-bottom: 0px; margin-top: 0px;\">LocalCluster</h3>\n",
  142. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">0611b212</p>\n",
  143. " <table style=\"width: 100%; text-align: left;\">\n",
  144. " <tr>\n",
  145. " <td style=\"text-align: left;\">\n",
  146. " <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  147. " </td>\n",
  148. " <td style=\"text-align: left;\">\n",
  149. " <strong>Workers:</strong> 6\n",
  150. " </td>\n",
  151. " </tr>\n",
  152. " <tr>\n",
  153. " <td style=\"text-align: left;\">\n",
  154. " <strong>Total threads:</strong> 60\n",
  155. " </td>\n",
  156. " <td style=\"text-align: left;\">\n",
  157. " <strong>Total memory:</strong> 55.88 GiB\n",
  158. " </td>\n",
  159. " </tr>\n",
  160. " \n",
  161. " <tr>\n",
  162. " <td style=\"text-align: left;\"><strong>Status:</strong> running</td>\n",
  163. " <td style=\"text-align: left;\"><strong>Using processes:</strong> True</td>\n",
  164. "</tr>\n",
  165. "\n",
  166. " \n",
  167. " </table>\n",
  168. "\n",
  169. " <details>\n",
  170. " <summary style=\"margin-bottom: 20px;\">\n",
  171. " <h3 style=\"display: inline;\">Scheduler Info</h3>\n",
  172. " </summary>\n",
  173. "\n",
  174. " <div style=\"\">\n",
  175. " <div>\n",
  176. " <div style=\"width: 24px; height: 24px; background-color: #FFF7E5; border: 3px solid #FF6132; border-radius: 5px; position: absolute;\"> </div>\n",
  177. " <div style=\"margin-left: 48px;\">\n",
  178. " <h3 style=\"margin-bottom: 0px;\">Scheduler</h3>\n",
  179. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Scheduler-d40156cf-ceb8-45b9-8b27-2ddcdca85973</p>\n",
  180. " <table style=\"width: 100%; text-align: left;\">\n",
  181. " <tr>\n",
  182. " <td style=\"text-align: left;\">\n",
  183. " <strong>Comm:</strong> tcp://127.0.0.1:65093\n",
  184. " </td>\n",
  185. " <td style=\"text-align: left;\">\n",
  186. " <strong>Workers:</strong> 6\n",
  187. " </td>\n",
  188. " </tr>\n",
  189. " <tr>\n",
  190. " <td style=\"text-align: left;\">\n",
  191. " <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  192. " </td>\n",
  193. " <td style=\"text-align: left;\">\n",
  194. " <strong>Total threads:</strong> 60\n",
  195. " </td>\n",
  196. " </tr>\n",
  197. " <tr>\n",
  198. " <td style=\"text-align: left;\">\n",
  199. " <strong>Started:</strong> Just now\n",
  200. " </td>\n",
  201. " <td style=\"text-align: left;\">\n",
  202. " <strong>Total memory:</strong> 55.88 GiB\n",
  203. " </td>\n",
  204. " </tr>\n",
  205. " </table>\n",
  206. " </div>\n",
  207. " </div>\n",
  208. "\n",
  209. " <details style=\"margin-left: 48px;\">\n",
  210. " <summary style=\"margin-bottom: 20px;\">\n",
  211. " <h3 style=\"display: inline;\">Workers</h3>\n",
  212. " </summary>\n",
  213. "\n",
  214. " \n",
  215. " <div style=\"margin-bottom: 20px;\">\n",
  216. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  217. " <div style=\"margin-left: 48px;\">\n",
  218. " <details>\n",
  219. " <summary>\n",
  220. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 0</h4>\n",
  221. " </summary>\n",
  222. " <table style=\"width: 100%; text-align: left;\">\n",
  223. " <tr>\n",
  224. " <td style=\"text-align: left;\">\n",
  225. " <strong>Comm: </strong> tcp://127.0.0.1:65133\n",
  226. " </td>\n",
  227. " <td style=\"text-align: left;\">\n",
  228. " <strong>Total threads: </strong> 10\n",
  229. " </td>\n",
  230. " </tr>\n",
  231. " <tr>\n",
  232. " <td style=\"text-align: left;\">\n",
  233. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:65135/status\" target=\"_blank\">http://127.0.0.1:65135/status</a>\n",
  234. " </td>\n",
  235. " <td style=\"text-align: left;\">\n",
  236. " <strong>Memory: </strong> 9.31 GiB\n",
  237. " </td>\n",
  238. " </tr>\n",
  239. " <tr>\n",
  240. " <td style=\"text-align: left;\">\n",
  241. " <strong>Nanny: </strong> tcp://127.0.0.1:65096\n",
  242. " </td>\n",
  243. " <td style=\"text-align: left;\"></td>\n",
  244. " </tr>\n",
  245. " <tr>\n",
  246. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  247. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-q9qzw1g5\n",
  248. " </td>\n",
  249. " </tr>\n",
  250. "\n",
  251. " \n",
  252. "\n",
  253. " \n",
  254. "\n",
  255. " </table>\n",
  256. " </details>\n",
  257. " </div>\n",
  258. " </div>\n",
  259. " \n",
  260. " <div style=\"margin-bottom: 20px;\">\n",
  261. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  262. " <div style=\"margin-left: 48px;\">\n",
  263. " <details>\n",
  264. " <summary>\n",
  265. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 1</h4>\n",
  266. " </summary>\n",
  267. " <table style=\"width: 100%; text-align: left;\">\n",
  268. " <tr>\n",
  269. " <td style=\"text-align: left;\">\n",
  270. " <strong>Comm: </strong> tcp://127.0.0.1:65130\n",
  271. " </td>\n",
  272. " <td style=\"text-align: left;\">\n",
  273. " <strong>Total threads: </strong> 10\n",
  274. " </td>\n",
  275. " </tr>\n",
  276. " <tr>\n",
  277. " <td style=\"text-align: left;\">\n",
  278. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:65131/status\" target=\"_blank\">http://127.0.0.1:65131/status</a>\n",
  279. " </td>\n",
  280. " <td style=\"text-align: left;\">\n",
  281. " <strong>Memory: </strong> 9.31 GiB\n",
  282. " </td>\n",
  283. " </tr>\n",
  284. " <tr>\n",
  285. " <td style=\"text-align: left;\">\n",
  286. " <strong>Nanny: </strong> tcp://127.0.0.1:65097\n",
  287. " </td>\n",
  288. " <td style=\"text-align: left;\"></td>\n",
  289. " </tr>\n",
  290. " <tr>\n",
  291. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  292. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-yf6omtw_\n",
  293. " </td>\n",
  294. " </tr>\n",
  295. "\n",
  296. " \n",
  297. "\n",
  298. " \n",
  299. "\n",
  300. " </table>\n",
  301. " </details>\n",
  302. " </div>\n",
  303. " </div>\n",
  304. " \n",
  305. " <div style=\"margin-bottom: 20px;\">\n",
  306. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  307. " <div style=\"margin-left: 48px;\">\n",
  308. " <details>\n",
  309. " <summary>\n",
  310. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 2</h4>\n",
  311. " </summary>\n",
  312. " <table style=\"width: 100%; text-align: left;\">\n",
  313. " <tr>\n",
  314. " <td style=\"text-align: left;\">\n",
  315. " <strong>Comm: </strong> tcp://127.0.0.1:65122\n",
  316. " </td>\n",
  317. " <td style=\"text-align: left;\">\n",
  318. " <strong>Total threads: </strong> 10\n",
  319. " </td>\n",
  320. " </tr>\n",
  321. " <tr>\n",
  322. " <td style=\"text-align: left;\">\n",
  323. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:65125/status\" target=\"_blank\">http://127.0.0.1:65125/status</a>\n",
  324. " </td>\n",
  325. " <td style=\"text-align: left;\">\n",
  326. " <strong>Memory: </strong> 9.31 GiB\n",
  327. " </td>\n",
  328. " </tr>\n",
  329. " <tr>\n",
  330. " <td style=\"text-align: left;\">\n",
  331. " <strong>Nanny: </strong> tcp://127.0.0.1:65098\n",
  332. " </td>\n",
  333. " <td style=\"text-align: left;\"></td>\n",
  334. " </tr>\n",
  335. " <tr>\n",
  336. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  337. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-5nbwryjk\n",
  338. " </td>\n",
  339. " </tr>\n",
  340. "\n",
  341. " \n",
  342. "\n",
  343. " \n",
  344. "\n",
  345. " </table>\n",
  346. " </details>\n",
  347. " </div>\n",
  348. " </div>\n",
  349. " \n",
  350. " <div style=\"margin-bottom: 20px;\">\n",
  351. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  352. " <div style=\"margin-left: 48px;\">\n",
  353. " <details>\n",
  354. " <summary>\n",
  355. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 3</h4>\n",
  356. " </summary>\n",
  357. " <table style=\"width: 100%; text-align: left;\">\n",
  358. " <tr>\n",
  359. " <td style=\"text-align: left;\">\n",
  360. " <strong>Comm: </strong> tcp://127.0.0.1:65127\n",
  361. " </td>\n",
  362. " <td style=\"text-align: left;\">\n",
  363. " <strong>Total threads: </strong> 10\n",
  364. " </td>\n",
  365. " </tr>\n",
  366. " <tr>\n",
  367. " <td style=\"text-align: left;\">\n",
  368. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:65128/status\" target=\"_blank\">http://127.0.0.1:65128/status</a>\n",
  369. " </td>\n",
  370. " <td style=\"text-align: left;\">\n",
  371. " <strong>Memory: </strong> 9.31 GiB\n",
  372. " </td>\n",
  373. " </tr>\n",
  374. " <tr>\n",
  375. " <td style=\"text-align: left;\">\n",
  376. " <strong>Nanny: </strong> tcp://127.0.0.1:65099\n",
  377. " </td>\n",
  378. " <td style=\"text-align: left;\"></td>\n",
  379. " </tr>\n",
  380. " <tr>\n",
  381. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  382. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-hgtibcnt\n",
  383. " </td>\n",
  384. " </tr>\n",
  385. "\n",
  386. " \n",
  387. "\n",
  388. " \n",
  389. "\n",
  390. " </table>\n",
  391. " </details>\n",
  392. " </div>\n",
  393. " </div>\n",
  394. " \n",
  395. " <div style=\"margin-bottom: 20px;\">\n",
  396. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  397. " <div style=\"margin-left: 48px;\">\n",
  398. " <details>\n",
  399. " <summary>\n",
  400. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 4</h4>\n",
  401. " </summary>\n",
  402. " <table style=\"width: 100%; text-align: left;\">\n",
  403. " <tr>\n",
  404. " <td style=\"text-align: left;\">\n",
  405. " <strong>Comm: </strong> tcp://127.0.0.1:65111\n",
  406. " </td>\n",
  407. " <td style=\"text-align: left;\">\n",
  408. " <strong>Total threads: </strong> 10\n",
  409. " </td>\n",
  410. " </tr>\n",
  411. " <tr>\n",
  412. " <td style=\"text-align: left;\">\n",
  413. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:65123/status\" target=\"_blank\">http://127.0.0.1:65123/status</a>\n",
  414. " </td>\n",
  415. " <td style=\"text-align: left;\">\n",
  416. " <strong>Memory: </strong> 9.31 GiB\n",
  417. " </td>\n",
  418. " </tr>\n",
  419. " <tr>\n",
  420. " <td style=\"text-align: left;\">\n",
  421. " <strong>Nanny: </strong> tcp://127.0.0.1:65100\n",
  422. " </td>\n",
  423. " <td style=\"text-align: left;\"></td>\n",
  424. " </tr>\n",
  425. " <tr>\n",
  426. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  427. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-m3aoctgg\n",
  428. " </td>\n",
  429. " </tr>\n",
  430. "\n",
  431. " \n",
  432. "\n",
  433. " \n",
  434. "\n",
  435. " </table>\n",
  436. " </details>\n",
  437. " </div>\n",
  438. " </div>\n",
  439. " \n",
  440. " <div style=\"margin-bottom: 20px;\">\n",
  441. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  442. " <div style=\"margin-left: 48px;\">\n",
  443. " <details>\n",
  444. " <summary>\n",
  445. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 5</h4>\n",
  446. " </summary>\n",
  447. " <table style=\"width: 100%; text-align: left;\">\n",
  448. " <tr>\n",
  449. " <td style=\"text-align: left;\">\n",
  450. " <strong>Comm: </strong> tcp://127.0.0.1:65134\n",
  451. " </td>\n",
  452. " <td style=\"text-align: left;\">\n",
  453. " <strong>Total threads: </strong> 10\n",
  454. " </td>\n",
  455. " </tr>\n",
  456. " <tr>\n",
  457. " <td style=\"text-align: left;\">\n",
  458. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:65136/status\" target=\"_blank\">http://127.0.0.1:65136/status</a>\n",
  459. " </td>\n",
  460. " <td style=\"text-align: left;\">\n",
  461. " <strong>Memory: </strong> 9.31 GiB\n",
  462. " </td>\n",
  463. " </tr>\n",
  464. " <tr>\n",
  465. " <td style=\"text-align: left;\">\n",
  466. " <strong>Nanny: </strong> tcp://127.0.0.1:65101\n",
  467. " </td>\n",
  468. " <td style=\"text-align: left;\"></td>\n",
  469. " </tr>\n",
  470. " <tr>\n",
  471. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  472. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-c5mnml_p\n",
  473. " </td>\n",
  474. " </tr>\n",
  475. "\n",
  476. " \n",
  477. "\n",
  478. " \n",
  479. "\n",
  480. " </table>\n",
  481. " </details>\n",
  482. " </div>\n",
  483. " </div>\n",
  484. " \n",
  485. "\n",
  486. " </details>\n",
  487. "</div>\n",
  488. "\n",
  489. " </details>\n",
  490. " </div>\n",
  491. "</div>\n",
  492. " </details>\n",
  493. " \n",
  494. "\n",
  495. " </div>\n",
  496. "</div>"
  497. ],
  498. "text/plain": [
  499. "<Client: 'tcp://127.0.0.1:65093' processes=6 threads=60, memory=55.88 GiB>"
  500. ]
  501. },
  502. "execution_count": 2,
  503. "metadata": {},
  504. "output_type": "execute_result"
  505. }
  506. ],
  507. "source": [
  508. "from dask.distributed import Client\n",
  509. "client = Client(n_workers=6, threads_per_worker=10, processes=True, memory_limit='10GB')\n",
  510. "client"
  511. ]
  512. },
  513. {
  514. "cell_type": "markdown",
  515. "metadata": {},
  516. "source": [
  517. "### Set the path for different cameras"
  518. ]
  519. },
  520. {
  521. "cell_type": "code",
  522. "execution_count": 3,
  523. "metadata": {},
  524. "outputs": [],
  525. "source": [
  526. "groupList = [\n",
  527. " \"images/MOT_3D_Camera/in_situ_absorption\",\n",
  528. " \"images/ODT_1_Axis_Camera/in_situ_absorption\",\n",
  529. " \"images/ODT_2_Axis_Camera/in_situ_absorption\",\n",
  530. "]\n",
  531. "\n",
  532. "# give a short name to each path (or let's say each camera)\n",
  533. "dskey = {\n",
  534. " \"images/MOT_3D_Camera/in_situ_absorption\": \"camera_0\",\n",
  535. " \"images/ODT_1_Axis_Camera/in_situ_absorption\": \"camera_1\",\n",
  536. " \"images/ODT_2_Axis_Camera/in_situ_absorption\": \"camera_2\",\n",
  537. "}"
  538. ]
  539. },
  540. {
  541. "cell_type": "markdown",
  542. "metadata": {},
  543. "source": [
  544. "### Set global path for experiment"
  545. ]
  546. },
  547. {
  548. "cell_type": "code",
  549. "execution_count": 4,
  550. "metadata": {},
  551. "outputs": [],
  552. "source": [
  553. "img_dir = '//DyLabNAS/Data/'\n",
  554. "SequenceName = \"Evaporative_Cooling\" + \"/\"\n",
  555. "folderPath = img_dir + SequenceName + '2023/04/17'# get_date()"
  556. ]
  557. },
  558. {
  559. "cell_type": "markdown",
  560. "metadata": {},
  561. "source": [
  562. "### Load shot 0058"
  563. ]
  564. },
  565. {
  566. "cell_type": "code",
  567. "execution_count": 5,
  568. "metadata": {},
  569. "outputs": [
  570. {
  571. "data": {
  572. "text/html": [
  573. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  574. "<defs>\n",
  575. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  576. "<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",
  577. "<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",
  578. "<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",
  579. "</symbol>\n",
  580. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  581. "<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",
  582. "<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",
  583. "<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",
  584. "<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",
  585. "</symbol>\n",
  586. "</defs>\n",
  587. "</svg>\n",
  588. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  589. " *\n",
  590. " */\n",
  591. "\n",
  592. ":root {\n",
  593. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  594. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  595. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  596. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  597. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  598. " --xr-background-color: var(--jp-layout-color0, white);\n",
  599. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  600. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  601. "}\n",
  602. "\n",
  603. "html[theme=dark],\n",
  604. "body[data-theme=dark],\n",
  605. "body.vscode-dark {\n",
  606. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  607. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  608. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  609. " --xr-border-color: #1F1F1F;\n",
  610. " --xr-disabled-color: #515151;\n",
  611. " --xr-background-color: #111111;\n",
  612. " --xr-background-color-row-even: #111111;\n",
  613. " --xr-background-color-row-odd: #313131;\n",
  614. "}\n",
  615. "\n",
  616. ".xr-wrap {\n",
  617. " display: block !important;\n",
  618. " min-width: 300px;\n",
  619. " max-width: 700px;\n",
  620. "}\n",
  621. "\n",
  622. ".xr-text-repr-fallback {\n",
  623. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  624. " display: none;\n",
  625. "}\n",
  626. "\n",
  627. ".xr-header {\n",
  628. " padding-top: 6px;\n",
  629. " padding-bottom: 6px;\n",
  630. " margin-bottom: 4px;\n",
  631. " border-bottom: solid 1px var(--xr-border-color);\n",
  632. "}\n",
  633. "\n",
  634. ".xr-header > div,\n",
  635. ".xr-header > ul {\n",
  636. " display: inline;\n",
  637. " margin-top: 0;\n",
  638. " margin-bottom: 0;\n",
  639. "}\n",
  640. "\n",
  641. ".xr-obj-type,\n",
  642. ".xr-array-name {\n",
  643. " margin-left: 2px;\n",
  644. " margin-right: 10px;\n",
  645. "}\n",
  646. "\n",
  647. ".xr-obj-type {\n",
  648. " color: var(--xr-font-color2);\n",
  649. "}\n",
  650. "\n",
  651. ".xr-sections {\n",
  652. " padding-left: 0 !important;\n",
  653. " display: grid;\n",
  654. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  655. "}\n",
  656. "\n",
  657. ".xr-section-item {\n",
  658. " display: contents;\n",
  659. "}\n",
  660. "\n",
  661. ".xr-section-item input {\n",
  662. " display: none;\n",
  663. "}\n",
  664. "\n",
  665. ".xr-section-item input + label {\n",
  666. " color: var(--xr-disabled-color);\n",
  667. "}\n",
  668. "\n",
  669. ".xr-section-item input:enabled + label {\n",
  670. " cursor: pointer;\n",
  671. " color: var(--xr-font-color2);\n",
  672. "}\n",
  673. "\n",
  674. ".xr-section-item input:enabled + label:hover {\n",
  675. " color: var(--xr-font-color0);\n",
  676. "}\n",
  677. "\n",
  678. ".xr-section-summary {\n",
  679. " grid-column: 1;\n",
  680. " color: var(--xr-font-color2);\n",
  681. " font-weight: 500;\n",
  682. "}\n",
  683. "\n",
  684. ".xr-section-summary > span {\n",
  685. " display: inline-block;\n",
  686. " padding-left: 0.5em;\n",
  687. "}\n",
  688. "\n",
  689. ".xr-section-summary-in:disabled + label {\n",
  690. " color: var(--xr-font-color2);\n",
  691. "}\n",
  692. "\n",
  693. ".xr-section-summary-in + label:before {\n",
  694. " display: inline-block;\n",
  695. " content: 'â–º';\n",
  696. " font-size: 11px;\n",
  697. " width: 15px;\n",
  698. " text-align: center;\n",
  699. "}\n",
  700. "\n",
  701. ".xr-section-summary-in:disabled + label:before {\n",
  702. " color: var(--xr-disabled-color);\n",
  703. "}\n",
  704. "\n",
  705. ".xr-section-summary-in:checked + label:before {\n",
  706. " content: 'â–¼';\n",
  707. "}\n",
  708. "\n",
  709. ".xr-section-summary-in:checked + label > span {\n",
  710. " display: none;\n",
  711. "}\n",
  712. "\n",
  713. ".xr-section-summary,\n",
  714. ".xr-section-inline-details {\n",
  715. " padding-top: 4px;\n",
  716. " padding-bottom: 4px;\n",
  717. "}\n",
  718. "\n",
  719. ".xr-section-inline-details {\n",
  720. " grid-column: 2 / -1;\n",
  721. "}\n",
  722. "\n",
  723. ".xr-section-details {\n",
  724. " display: none;\n",
  725. " grid-column: 1 / -1;\n",
  726. " margin-bottom: 5px;\n",
  727. "}\n",
  728. "\n",
  729. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  730. " display: contents;\n",
  731. "}\n",
  732. "\n",
  733. ".xr-array-wrap {\n",
  734. " grid-column: 1 / -1;\n",
  735. " display: grid;\n",
  736. " grid-template-columns: 20px auto;\n",
  737. "}\n",
  738. "\n",
  739. ".xr-array-wrap > label {\n",
  740. " grid-column: 1;\n",
  741. " vertical-align: top;\n",
  742. "}\n",
  743. "\n",
  744. ".xr-preview {\n",
  745. " color: var(--xr-font-color3);\n",
  746. "}\n",
  747. "\n",
  748. ".xr-array-preview,\n",
  749. ".xr-array-data {\n",
  750. " padding: 0 5px !important;\n",
  751. " grid-column: 2;\n",
  752. "}\n",
  753. "\n",
  754. ".xr-array-data,\n",
  755. ".xr-array-in:checked ~ .xr-array-preview {\n",
  756. " display: none;\n",
  757. "}\n",
  758. "\n",
  759. ".xr-array-in:checked ~ .xr-array-data,\n",
  760. ".xr-array-preview {\n",
  761. " display: inline-block;\n",
  762. "}\n",
  763. "\n",
  764. ".xr-dim-list {\n",
  765. " display: inline-block !important;\n",
  766. " list-style: none;\n",
  767. " padding: 0 !important;\n",
  768. " margin: 0;\n",
  769. "}\n",
  770. "\n",
  771. ".xr-dim-list li {\n",
  772. " display: inline-block;\n",
  773. " padding: 0;\n",
  774. " margin: 0;\n",
  775. "}\n",
  776. "\n",
  777. ".xr-dim-list:before {\n",
  778. " content: '(';\n",
  779. "}\n",
  780. "\n",
  781. ".xr-dim-list:after {\n",
  782. " content: ')';\n",
  783. "}\n",
  784. "\n",
  785. ".xr-dim-list li:not(:last-child):after {\n",
  786. " content: ',';\n",
  787. " padding-right: 5px;\n",
  788. "}\n",
  789. "\n",
  790. ".xr-has-index {\n",
  791. " font-weight: bold;\n",
  792. "}\n",
  793. "\n",
  794. ".xr-var-list,\n",
  795. ".xr-var-item {\n",
  796. " display: contents;\n",
  797. "}\n",
  798. "\n",
  799. ".xr-var-item > div,\n",
  800. ".xr-var-item label,\n",
  801. ".xr-var-item > .xr-var-name span {\n",
  802. " background-color: var(--xr-background-color-row-even);\n",
  803. " margin-bottom: 0;\n",
  804. "}\n",
  805. "\n",
  806. ".xr-var-item > .xr-var-name:hover span {\n",
  807. " padding-right: 5px;\n",
  808. "}\n",
  809. "\n",
  810. ".xr-var-list > li:nth-child(odd) > div,\n",
  811. ".xr-var-list > li:nth-child(odd) > label,\n",
  812. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  813. " background-color: var(--xr-background-color-row-odd);\n",
  814. "}\n",
  815. "\n",
  816. ".xr-var-name {\n",
  817. " grid-column: 1;\n",
  818. "}\n",
  819. "\n",
  820. ".xr-var-dims {\n",
  821. " grid-column: 2;\n",
  822. "}\n",
  823. "\n",
  824. ".xr-var-dtype {\n",
  825. " grid-column: 3;\n",
  826. " text-align: right;\n",
  827. " color: var(--xr-font-color2);\n",
  828. "}\n",
  829. "\n",
  830. ".xr-var-preview {\n",
  831. " grid-column: 4;\n",
  832. "}\n",
  833. "\n",
  834. ".xr-index-preview {\n",
  835. " grid-column: 2 / 5;\n",
  836. " color: var(--xr-font-color2);\n",
  837. "}\n",
  838. "\n",
  839. ".xr-var-name,\n",
  840. ".xr-var-dims,\n",
  841. ".xr-var-dtype,\n",
  842. ".xr-preview,\n",
  843. ".xr-attrs dt {\n",
  844. " white-space: nowrap;\n",
  845. " overflow: hidden;\n",
  846. " text-overflow: ellipsis;\n",
  847. " padding-right: 10px;\n",
  848. "}\n",
  849. "\n",
  850. ".xr-var-name:hover,\n",
  851. ".xr-var-dims:hover,\n",
  852. ".xr-var-dtype:hover,\n",
  853. ".xr-attrs dt:hover {\n",
  854. " overflow: visible;\n",
  855. " width: auto;\n",
  856. " z-index: 1;\n",
  857. "}\n",
  858. "\n",
  859. ".xr-var-attrs,\n",
  860. ".xr-var-data,\n",
  861. ".xr-index-data {\n",
  862. " display: none;\n",
  863. " background-color: var(--xr-background-color) !important;\n",
  864. " padding-bottom: 5px !important;\n",
  865. "}\n",
  866. "\n",
  867. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  868. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  869. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  870. " display: block;\n",
  871. "}\n",
  872. "\n",
  873. ".xr-var-data > table {\n",
  874. " float: right;\n",
  875. "}\n",
  876. "\n",
  877. ".xr-var-name span,\n",
  878. ".xr-var-data,\n",
  879. ".xr-index-name div,\n",
  880. ".xr-index-data,\n",
  881. ".xr-attrs {\n",
  882. " padding-left: 25px !important;\n",
  883. "}\n",
  884. "\n",
  885. ".xr-attrs,\n",
  886. ".xr-var-attrs,\n",
  887. ".xr-var-data,\n",
  888. ".xr-index-data {\n",
  889. " grid-column: 1 / -1;\n",
  890. "}\n",
  891. "\n",
  892. "dl.xr-attrs {\n",
  893. " padding: 0;\n",
  894. " margin: 0;\n",
  895. " display: grid;\n",
  896. " grid-template-columns: 125px auto;\n",
  897. "}\n",
  898. "\n",
  899. ".xr-attrs dt,\n",
  900. ".xr-attrs dd {\n",
  901. " padding: 0;\n",
  902. " margin: 0;\n",
  903. " float: left;\n",
  904. " padding-right: 10px;\n",
  905. " width: auto;\n",
  906. "}\n",
  907. "\n",
  908. ".xr-attrs dt {\n",
  909. " font-weight: normal;\n",
  910. " grid-column: 1;\n",
  911. "}\n",
  912. "\n",
  913. ".xr-attrs dt:hover span {\n",
  914. " display: inline-block;\n",
  915. " background: var(--xr-background-color);\n",
  916. " padding-right: 10px;\n",
  917. "}\n",
  918. "\n",
  919. ".xr-attrs dd {\n",
  920. " grid-column: 2;\n",
  921. " white-space: pre-wrap;\n",
  922. " word-break: break-all;\n",
  923. "}\n",
  924. "\n",
  925. ".xr-icon-database,\n",
  926. ".xr-icon-file-text2,\n",
  927. ".xr-no-icon {\n",
  928. " display: inline-block;\n",
  929. " vertical-align: middle;\n",
  930. " width: 1em;\n",
  931. " height: 1.5em !important;\n",
  932. " stroke-width: 0;\n",
  933. " stroke: currentColor;\n",
  934. " fill: currentColor;\n",
  935. "}\n",
  936. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  937. "Dimensions: (runs: 5, truncation_value: 11, y: 1200, x: 1920)\n",
  938. "Coordinates:\n",
  939. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  940. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  941. "Dimensions without coordinates: y, x\n",
  942. "Data variables:\n",
  943. " atoms (runs, truncation_value, y, x) uint16 dask.array&lt;chunksize=(5, 11, 1200, 1920), meta=np.ndarray&gt;\n",
  944. " background (runs, truncation_value, y, x) uint16 dask.array&lt;chunksize=(5, 11, 1200, 1920), meta=np.ndarray&gt;\n",
  945. " dark (runs, truncation_value, y, x) uint16 dask.array&lt;chunksize=(5, 11, 1200, 1920), meta=np.ndarray&gt;\n",
  946. " shotNum (runs, truncation_value) &lt;U2 dask.array&lt;chunksize=(5, 11), meta=np.ndarray&gt;\n",
  947. "Attributes: (12/100)\n",
  948. " TOF_free: 0.02\n",
  949. " abs_img_freq: 110.866\n",
  950. " absorption_imaging_flag: True\n",
  951. " backup_data: True\n",
  952. " blink_off_time: nan\n",
  953. " blink_on_time: nan\n",
  954. " ... ...\n",
  955. " z_offset: 0.195\n",
  956. " z_offset_img: 0.195\n",
  957. " truncation_value: [0.8 0.83 0.85 0.87 0.89 0.91 0.93 0....\n",
  958. " runs: [0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1...\n",
  959. " scanAxis: [&#x27;runs&#x27; &#x27;truncation_value&#x27;]\n",
  960. " scanAxisLength: [55. 55.]</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-ec3b910b-3d18-4769-bdc2-827e72b00431' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-ec3b910b-3d18-4769-bdc2-827e72b00431' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 5</li><li><span class='xr-has-index'>truncation_value</span>: 11</li><li><span>y</span>: 1200</li><li><span>x</span>: 1920</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-239c173f-d00a-42d3-99e4-060709823c45' class='xr-section-summary-in' type='checkbox' checked><label for='section-239c173f-d00a-42d3-99e4-060709823c45' 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'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 4.0</div><input id='attrs-64afd3ff-7f3e-44e0-8602-f7e2b00b7027' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-64afd3ff-7f3e-44e0-8602-f7e2b00b7027' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fb645573-4da5-439b-9c4d-b2d2327c525d' class='xr-var-data-in' type='checkbox'><label for='data-fb645573-4da5-439b-9c4d-b2d2327c525d' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1., 2., 3., 4.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>truncation_value</span></div><div class='xr-var-dims'>(truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.8 0.83 0.85 ... 0.97 0.99 1.0</div><input id='attrs-3df46cb1-d92c-4f4f-bac6-cba0f15cce48' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3df46cb1-d92c-4f4f-bac6-cba0f15cce48' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-2fbfc786-31bf-4345-b3e3-9e3aa3d3278b' class='xr-var-data-in' type='checkbox'><label for='data-2fbfc786-31bf-4345-b3e3-9e3aa3d3278b' 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.8 , 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1. ])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-9afbc3f3-bcfc-4c3b-a80e-937ef53cc96d' class='xr-section-summary-in' type='checkbox' checked><label for='section-9afbc3f3-bcfc-4c3b-a80e-937ef53cc96d' class='xr-section-summary' >Data variables: <span>(4)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>atoms</span></div><div class='xr-var-dims'>(runs, truncation_value, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(5, 11, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-d7c86493-d59e-4a1d-9fa6-c474321decae' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-d7c86493-d59e-4a1d-9fa6-c474321decae' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-324ff4f1-8047-4f58-aa26-6fca41d77010' class='xr-var-data-in' type='checkbox'><label for='data-324ff4f1-8047-
  961. " <tr>\n",
  962. " <td>\n",
  963. " <table style=\"border-collapse: collapse;\">\n",
  964. " <thead>\n",
  965. " <tr>\n",
  966. " <td> </td>\n",
  967. " <th> Array </th>\n",
  968. " <th> Chunk </th>\n",
  969. " </tr>\n",
  970. " </thead>\n",
  971. " <tbody>\n",
  972. " \n",
  973. " <tr>\n",
  974. " <th> Bytes </th>\n",
  975. " <td> 241.70 MiB </td>\n",
  976. " <td> 241.70 MiB </td>\n",
  977. " </tr>\n",
  978. " \n",
  979. " <tr>\n",
  980. " <th> Shape </th>\n",
  981. " <td> (5, 11, 1200, 1920) </td>\n",
  982. " <td> (5, 11, 1200, 1920) </td>\n",
  983. " </tr>\n",
  984. " <tr>\n",
  985. " <th> Dask graph </th>\n",
  986. " <td colspan=\"2\"> 1 chunks in 178 graph layers </td>\n",
  987. " </tr>\n",
  988. " <tr>\n",
  989. " <th> Data type </th>\n",
  990. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  991. " </tr>\n",
  992. " </tbody>\n",
  993. " </table>\n",
  994. " </td>\n",
  995. " <td>\n",
  996. " <svg width=\"374\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  997. "\n",
  998. " <!-- Horizontal lines -->\n",
  999. " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1000. " <line x1=\"0\" y1=\"25\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1001. "\n",
  1002. " <!-- Vertical lines -->\n",
  1003. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1004. " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1005. "\n",
  1006. " <!-- Colored Rectangle -->\n",
  1007. " <polygon points=\"0.0,0.0 25.412616514582485,0.0 25.412616514582485,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1008. "\n",
  1009. " <!-- Text -->\n",
  1010. " <text x=\"12.706308\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >5</text>\n",
  1011. " <text x=\"45.412617\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,45.412617,12.706308)\">1</text>\n",
  1012. "\n",
  1013. "\n",
  1014. " <!-- Horizontal lines -->\n",
  1015. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1016. " <line x1=\"95\" y1=\"75\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1017. "\n",
  1018. " <!-- Vertical lines -->\n",
  1019. " <line x1=\"95\" y1=\"0\" x2=\"95\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1020. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1021. "\n",
  1022. " <!-- Colored Rectangle -->\n",
  1023. " <polygon points=\"95.0,0.0 109.9485979497544,14.948597949754403 109.9485979497544,89.9485979497544 95.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1024. "\n",
  1025. " <!-- Horizontal lines -->\n",
  1026. " <line x1=\"95\" y1=\"0\" x2=\"215\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1027. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1028. "\n",
  1029. " <!-- Vertical lines -->\n",
  1030. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1031. " <line x1=\"215\" y1=\"0\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1032. "\n",
  1033. " <!-- Colored Rectangle -->\n",
  1034. " <polygon points=\"95.0,0.0 215.0,0.0 229.9485979497544,14.948597949754403 109.9485979497544,14.948597949754403\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1035. "\n",
  1036. " <!-- Horizontal lines -->\n",
  1037. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1038. " <line x1=\"109\" y1=\"89\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1039. "\n",
  1040. " <!-- Vertical lines -->\n",
  1041. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1042. " <line x1=\"229\" y1=\"14\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1043. "\n",
  1044. " <!-- Colored Rectangle -->\n",
  1045. " <polygon points=\"109.9485979497544,14.948597949754403 229.9485979497544,14.948597949754403 229.9485979497544,89.9485979497544 109.9485979497544,89.9485979497544\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1046. "\n",
  1047. " <!-- Text -->\n",
  1048. " <text x=\"169.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1049. " <text x=\"249.948598\" y=\"52.448598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,249.948598,52.448598)\">1200</text>\n",
  1050. " <text x=\"92.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,92.474299,102.474299)\">11</text>\n",
  1051. "</svg>\n",
  1052. " </td>\n",
  1053. " </tr>\n",
  1054. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>background</span></div><div class='xr-var-dims'>(runs, truncation_value, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(5, 11, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-2307e64e-76a8-42c6-9d20-379c437969e3' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-2307e64e-76a8-42c6-9d20-379c437969e3' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3942edbe-08c4-4e27-8dac-395754cf8da3' class='xr-var-data-in' type='checkbox'><label for='data-3942edbe-08c4-4e27-8dac-395754cf8da3' 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",
  1055. " <tr>\n",
  1056. " <td>\n",
  1057. " <table style=\"border-collapse: collapse;\">\n",
  1058. " <thead>\n",
  1059. " <tr>\n",
  1060. " <td> </td>\n",
  1061. " <th> Array </th>\n",
  1062. " <th> Chunk </th>\n",
  1063. " </tr>\n",
  1064. " </thead>\n",
  1065. " <tbody>\n",
  1066. " \n",
  1067. " <tr>\n",
  1068. " <th> Bytes </th>\n",
  1069. " <td> 241.70 MiB </td>\n",
  1070. " <td> 241.70 MiB </td>\n",
  1071. " </tr>\n",
  1072. " \n",
  1073. " <tr>\n",
  1074. " <th> Shape </th>\n",
  1075. " <td> (5, 11, 1200, 1920) </td>\n",
  1076. " <td> (5, 11, 1200, 1920) </td>\n",
  1077. " </tr>\n",
  1078. " <tr>\n",
  1079. " <th> Dask graph </th>\n",
  1080. " <td colspan=\"2\"> 1 chunks in 178 graph layers </td>\n",
  1081. " </tr>\n",
  1082. " <tr>\n",
  1083. " <th> Data type </th>\n",
  1084. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  1085. " </tr>\n",
  1086. " </tbody>\n",
  1087. " </table>\n",
  1088. " </td>\n",
  1089. " <td>\n",
  1090. " <svg width=\"374\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1091. "\n",
  1092. " <!-- Horizontal lines -->\n",
  1093. " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1094. " <line x1=\"0\" y1=\"25\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1095. "\n",
  1096. " <!-- Vertical lines -->\n",
  1097. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1098. " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1099. "\n",
  1100. " <!-- Colored Rectangle -->\n",
  1101. " <polygon points=\"0.0,0.0 25.412616514582485,0.0 25.412616514582485,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1102. "\n",
  1103. " <!-- Text -->\n",
  1104. " <text x=\"12.706308\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >5</text>\n",
  1105. " <text x=\"45.412617\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,45.412617,12.706308)\">1</text>\n",
  1106. "\n",
  1107. "\n",
  1108. " <!-- Horizontal lines -->\n",
  1109. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1110. " <line x1=\"95\" y1=\"75\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1111. "\n",
  1112. " <!-- Vertical lines -->\n",
  1113. " <line x1=\"95\" y1=\"0\" x2=\"95\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1114. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1115. "\n",
  1116. " <!-- Colored Rectangle -->\n",
  1117. " <polygon points=\"95.0,0.0 109.9485979497544,14.948597949754403 109.9485979497544,89.9485979497544 95.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1118. "\n",
  1119. " <!-- Horizontal lines -->\n",
  1120. " <line x1=\"95\" y1=\"0\" x2=\"215\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1121. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1122. "\n",
  1123. " <!-- Vertical lines -->\n",
  1124. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1125. " <line x1=\"215\" y1=\"0\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1126. "\n",
  1127. " <!-- Colored Rectangle -->\n",
  1128. " <polygon points=\"95.0,0.0 215.0,0.0 229.9485979497544,14.948597949754403 109.9485979497544,14.948597949754403\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1129. "\n",
  1130. " <!-- Horizontal lines -->\n",
  1131. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1132. " <line x1=\"109\" y1=\"89\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1133. "\n",
  1134. " <!-- Vertical lines -->\n",
  1135. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1136. " <line x1=\"229\" y1=\"14\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1137. "\n",
  1138. " <!-- Colored Rectangle -->\n",
  1139. " <polygon points=\"109.9485979497544,14.948597949754403 229.9485979497544,14.948597949754403 229.9485979497544,89.9485979497544 109.9485979497544,89.9485979497544\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1140. "\n",
  1141. " <!-- Text -->\n",
  1142. " <text x=\"169.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1143. " <text x=\"249.948598\" y=\"52.448598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,249.948598,52.448598)\">1200</text>\n",
  1144. " <text x=\"92.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,92.474299,102.474299)\">11</text>\n",
  1145. "</svg>\n",
  1146. " </td>\n",
  1147. " </tr>\n",
  1148. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>dark</span></div><div class='xr-var-dims'>(runs, truncation_value, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(5, 11, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-36fa9db8-eb6a-4b39-8a61-c8342758fd08' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-36fa9db8-eb6a-4b39-8a61-c8342758fd08' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-28e9048f-5431-4322-a419-f0f2157bfc19' class='xr-var-data-in' type='checkbox'><label for='data-28e9048f-5431-4322-a419-f0f2157bfc19' 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",
  1149. " <tr>\n",
  1150. " <td>\n",
  1151. " <table style=\"border-collapse: collapse;\">\n",
  1152. " <thead>\n",
  1153. " <tr>\n",
  1154. " <td> </td>\n",
  1155. " <th> Array </th>\n",
  1156. " <th> Chunk </th>\n",
  1157. " </tr>\n",
  1158. " </thead>\n",
  1159. " <tbody>\n",
  1160. " \n",
  1161. " <tr>\n",
  1162. " <th> Bytes </th>\n",
  1163. " <td> 241.70 MiB </td>\n",
  1164. " <td> 241.70 MiB </td>\n",
  1165. " </tr>\n",
  1166. " \n",
  1167. " <tr>\n",
  1168. " <th> Shape </th>\n",
  1169. " <td> (5, 11, 1200, 1920) </td>\n",
  1170. " <td> (5, 11, 1200, 1920) </td>\n",
  1171. " </tr>\n",
  1172. " <tr>\n",
  1173. " <th> Dask graph </th>\n",
  1174. " <td colspan=\"2\"> 1 chunks in 178 graph layers </td>\n",
  1175. " </tr>\n",
  1176. " <tr>\n",
  1177. " <th> Data type </th>\n",
  1178. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  1179. " </tr>\n",
  1180. " </tbody>\n",
  1181. " </table>\n",
  1182. " </td>\n",
  1183. " <td>\n",
  1184. " <svg width=\"374\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1185. "\n",
  1186. " <!-- Horizontal lines -->\n",
  1187. " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1188. " <line x1=\"0\" y1=\"25\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1189. "\n",
  1190. " <!-- Vertical lines -->\n",
  1191. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1192. " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1193. "\n",
  1194. " <!-- Colored Rectangle -->\n",
  1195. " <polygon points=\"0.0,0.0 25.412616514582485,0.0 25.412616514582485,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1196. "\n",
  1197. " <!-- Text -->\n",
  1198. " <text x=\"12.706308\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >5</text>\n",
  1199. " <text x=\"45.412617\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,45.412617,12.706308)\">1</text>\n",
  1200. "\n",
  1201. "\n",
  1202. " <!-- Horizontal lines -->\n",
  1203. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1204. " <line x1=\"95\" y1=\"75\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1205. "\n",
  1206. " <!-- Vertical lines -->\n",
  1207. " <line x1=\"95\" y1=\"0\" x2=\"95\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1208. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1209. "\n",
  1210. " <!-- Colored Rectangle -->\n",
  1211. " <polygon points=\"95.0,0.0 109.9485979497544,14.948597949754403 109.9485979497544,89.9485979497544 95.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1212. "\n",
  1213. " <!-- Horizontal lines -->\n",
  1214. " <line x1=\"95\" y1=\"0\" x2=\"215\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1215. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1216. "\n",
  1217. " <!-- Vertical lines -->\n",
  1218. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1219. " <line x1=\"215\" y1=\"0\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1220. "\n",
  1221. " <!-- Colored Rectangle -->\n",
  1222. " <polygon points=\"95.0,0.0 215.0,0.0 229.9485979497544,14.948597949754403 109.9485979497544,14.948597949754403\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1223. "\n",
  1224. " <!-- Horizontal lines -->\n",
  1225. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1226. " <line x1=\"109\" y1=\"89\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1227. "\n",
  1228. " <!-- Vertical lines -->\n",
  1229. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1230. " <line x1=\"229\" y1=\"14\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1231. "\n",
  1232. " <!-- Colored Rectangle -->\n",
  1233. " <polygon points=\"109.9485979497544,14.948597949754403 229.9485979497544,14.948597949754403 229.9485979497544,89.9485979497544 109.9485979497544,89.9485979497544\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1234. "\n",
  1235. " <!-- Text -->\n",
  1236. " <text x=\"169.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1237. " <text x=\"249.948598\" y=\"52.448598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,249.948598,52.448598)\">1200</text>\n",
  1238. " <text x=\"92.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,92.474299,102.474299)\">11</text>\n",
  1239. "</svg>\n",
  1240. " </td>\n",
  1241. " </tr>\n",
  1242. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>shotNum</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>&lt;U2</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(5, 11), meta=np.ndarray&gt;</div><input id='attrs-39abf5c9-9123-4edc-92d2-aed52d10ab01' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-39abf5c9-9123-4edc-92d2-aed52d10ab01' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a8f13c46-bce7-4fa1-9e6a-43e8cedc2a4c' class='xr-var-data-in' type='checkbox'><label for='data-a8f13c46-bce7-4fa1-9e6a-43e8cedc2a4c' 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",
  1243. " <tr>\n",
  1244. " <td>\n",
  1245. " <table style=\"border-collapse: collapse;\">\n",
  1246. " <thead>\n",
  1247. " <tr>\n",
  1248. " <td> </td>\n",
  1249. " <th> Array </th>\n",
  1250. " <th> Chunk </th>\n",
  1251. " </tr>\n",
  1252. " </thead>\n",
  1253. " <tbody>\n",
  1254. " \n",
  1255. " <tr>\n",
  1256. " <th> Bytes </th>\n",
  1257. " <td> 440 B </td>\n",
  1258. " <td> 440 B </td>\n",
  1259. " </tr>\n",
  1260. " \n",
  1261. " <tr>\n",
  1262. " <th> Shape </th>\n",
  1263. " <td> (5, 11) </td>\n",
  1264. " <td> (5, 11) </td>\n",
  1265. " </tr>\n",
  1266. " <tr>\n",
  1267. " <th> Dask graph </th>\n",
  1268. " <td colspan=\"2\"> 1 chunks in 1 graph layer </td>\n",
  1269. " </tr>\n",
  1270. " <tr>\n",
  1271. " <th> Data type </th>\n",
  1272. " <td colspan=\"2\"> <U2 numpy.ndarray </td>\n",
  1273. " </tr>\n",
  1274. " </tbody>\n",
  1275. " </table>\n",
  1276. " </td>\n",
  1277. " <td>\n",
  1278. " <svg width=\"170\" height=\"104\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1279. "\n",
  1280. " <!-- Horizontal lines -->\n",
  1281. " <line x1=\"0\" y1=\"0\" x2=\"120\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1282. " <line x1=\"0\" y1=\"54\" x2=\"120\" y2=\"54\" style=\"stroke-width:2\" />\n",
  1283. "\n",
  1284. " <!-- Vertical lines -->\n",
  1285. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"54\" style=\"stroke-width:2\" />\n",
  1286. " <line x1=\"120\" y1=\"0\" x2=\"120\" y2=\"54\" style=\"stroke-width:2\" />\n",
  1287. "\n",
  1288. " <!-- Colored Rectangle -->\n",
  1289. " <polygon points=\"0.0,0.0 120.0,0.0 120.0,54.54545454545454 0.0,54.54545454545454\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1290. "\n",
  1291. " <!-- Text -->\n",
  1292. " <text x=\"60.000000\" y=\"74.545455\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >11</text>\n",
  1293. " <text x=\"140.000000\" y=\"27.272727\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,140.000000,27.272727)\">5</text>\n",
  1294. "</svg>\n",
  1295. " </td>\n",
  1296. " </tr>\n",
  1297. "</table></div></li></ul></div></li><li class='xr-section-item'><input id='section-c8b69ed0-eb12-4488-8098-399d805f04d3' class='xr-section-summary-in' type='checkbox' ><label for='section-c8b69ed0-eb12-4488-8098-399d805f04d3' 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>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-e9bb37c1-4cb1-42db-81d6-a8b9dd8c294f' class='xr-index-data-in' type='checkbox'/><label for='index-e9bb37c1-4cb1-42db-81d6-a8b9dd8c294f' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0, 2.0, 3.0, 4.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>truncation_value</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-9aa607a4-9dd5-4d66-9612-376a3237271b' class='xr-index-data-in' type='checkbox'/><label for='index-9aa607a4-9dd5-4d66-9612-376a3237271b' 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.8, 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;truncation_value&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-5b2a6f36-619e-4ce3-9322-273f97d88c28' class='xr-section-summary-in' type='checkbox' ><label for='section-5b2a6f36-619e-4ce3-9322-273f97d88c28' 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_current_sg :</span></dt><dd>0.195</dd><dt><span>compZ_final_current :</span></dt><dd>0.287</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_ar
  1298. " 0.87 0.89 0.91 0.93 0.95 0.97 0.99 1. 0.8 0.83 0.85 0.87 0.89 0.91\n",
  1299. " 0.93 0.95 0.97 0.99 1. 0.8 0.83 0.85 0.87 0.89 0.91 0.93 0.95 0.97\n",
  1300. " 0.99 1. 0.8 0.83 0.85 0.87 0.89 0.91 0.93 0.95 0.97 0.99 1. ]</dd><dt><span>runs :</span></dt><dd>[0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 2. 2.\n",
  1301. " 2. 2. 2. 2. 2. 2. 2. 2. 2. 3. 3. 3. 3. 3. 3. 3. 3. 3. 3. 3. 4. 4. 4. 4.\n",
  1302. " 4. 4. 4. 4. 4. 4. 4.]</dd><dt><span>scanAxis :</span></dt><dd>[&#x27;runs&#x27; &#x27;truncation_value&#x27;]</dd><dt><span>scanAxisLength :</span></dt><dd>[55. 55.]</dd></dl></div></li></ul></div></div>"
  1303. ],
  1304. "text/plain": [
  1305. "<xarray.Dataset>\n",
  1306. "Dimensions: (runs: 5, truncation_value: 11, y: 1200, x: 1920)\n",
  1307. "Coordinates:\n",
  1308. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  1309. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  1310. "Dimensions without coordinates: y, x\n",
  1311. "Data variables:\n",
  1312. " atoms (runs, truncation_value, y, x) uint16 dask.array<chunksize=(5, 11, 1200, 1920), meta=np.ndarray>\n",
  1313. " background (runs, truncation_value, y, x) uint16 dask.array<chunksize=(5, 11, 1200, 1920), meta=np.ndarray>\n",
  1314. " dark (runs, truncation_value, y, x) uint16 dask.array<chunksize=(5, 11, 1200, 1920), meta=np.ndarray>\n",
  1315. " shotNum (runs, truncation_value) <U2 dask.array<chunksize=(5, 11), meta=np.ndarray>\n",
  1316. "Attributes: (12/100)\n",
  1317. " TOF_free: 0.02\n",
  1318. " abs_img_freq: 110.866\n",
  1319. " absorption_imaging_flag: True\n",
  1320. " backup_data: True\n",
  1321. " blink_off_time: nan\n",
  1322. " blink_on_time: nan\n",
  1323. " ... ...\n",
  1324. " z_offset: 0.195\n",
  1325. " z_offset_img: 0.195\n",
  1326. " truncation_value: [0.8 0.83 0.85 0.87 0.89 0.91 0.93 0....\n",
  1327. " runs: [0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1...\n",
  1328. " scanAxis: ['runs' 'truncation_value']\n",
  1329. " scanAxisLength: [55. 55.]"
  1330. ]
  1331. },
  1332. "execution_count": 5,
  1333. "metadata": {},
  1334. "output_type": "execute_result"
  1335. }
  1336. ],
  1337. "source": [
  1338. "shotNum = \"0058\"\n",
  1339. "filePath = folderPath + \"/\" + shotNum + \"/*.h5\"\n",
  1340. "\n",
  1341. "dataSetDict = {\n",
  1342. " dskey[groupList[i]]: read_hdf5_file(filePath, groupList[i])\n",
  1343. " for i in [0] # range(len(groupList)) # uncommont to load data for all three cameras\n",
  1344. "}\n",
  1345. "dataSet = dataSetDict[\"camera_0\"]\n",
  1346. "\n",
  1347. "dataSet = swap_xy(dataSet)\n",
  1348. "\n",
  1349. "scanAxis = get_scanAxis(dataSet)\n",
  1350. "\n",
  1351. "dataSet = auto_rechunk(dataSet)\n",
  1352. "\n",
  1353. "dataSet"
  1354. ]
  1355. },
  1356. {
  1357. "cell_type": "markdown",
  1358. "metadata": {},
  1359. "source": [
  1360. "### Calculate the absorption imaging"
  1361. ]
  1362. },
  1363. {
  1364. "cell_type": "code",
  1365. "execution_count": 6,
  1366. "metadata": {},
  1367. "outputs": [
  1368. {
  1369. "data": {
  1370. "text/html": [
  1371. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  1372. "<defs>\n",
  1373. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  1374. "<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",
  1375. "<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",
  1376. "<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",
  1377. "</symbol>\n",
  1378. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  1379. "<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",
  1380. "<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",
  1381. "<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",
  1382. "<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",
  1383. "</symbol>\n",
  1384. "</defs>\n",
  1385. "</svg>\n",
  1386. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  1387. " *\n",
  1388. " */\n",
  1389. "\n",
  1390. ":root {\n",
  1391. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  1392. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  1393. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  1394. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  1395. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  1396. " --xr-background-color: var(--jp-layout-color0, white);\n",
  1397. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  1398. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  1399. "}\n",
  1400. "\n",
  1401. "html[theme=dark],\n",
  1402. "body[data-theme=dark],\n",
  1403. "body.vscode-dark {\n",
  1404. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  1405. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  1406. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  1407. " --xr-border-color: #1F1F1F;\n",
  1408. " --xr-disabled-color: #515151;\n",
  1409. " --xr-background-color: #111111;\n",
  1410. " --xr-background-color-row-even: #111111;\n",
  1411. " --xr-background-color-row-odd: #313131;\n",
  1412. "}\n",
  1413. "\n",
  1414. ".xr-wrap {\n",
  1415. " display: block !important;\n",
  1416. " min-width: 300px;\n",
  1417. " max-width: 700px;\n",
  1418. "}\n",
  1419. "\n",
  1420. ".xr-text-repr-fallback {\n",
  1421. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  1422. " display: none;\n",
  1423. "}\n",
  1424. "\n",
  1425. ".xr-header {\n",
  1426. " padding-top: 6px;\n",
  1427. " padding-bottom: 6px;\n",
  1428. " margin-bottom: 4px;\n",
  1429. " border-bottom: solid 1px var(--xr-border-color);\n",
  1430. "}\n",
  1431. "\n",
  1432. ".xr-header > div,\n",
  1433. ".xr-header > ul {\n",
  1434. " display: inline;\n",
  1435. " margin-top: 0;\n",
  1436. " margin-bottom: 0;\n",
  1437. "}\n",
  1438. "\n",
  1439. ".xr-obj-type,\n",
  1440. ".xr-array-name {\n",
  1441. " margin-left: 2px;\n",
  1442. " margin-right: 10px;\n",
  1443. "}\n",
  1444. "\n",
  1445. ".xr-obj-type {\n",
  1446. " color: var(--xr-font-color2);\n",
  1447. "}\n",
  1448. "\n",
  1449. ".xr-sections {\n",
  1450. " padding-left: 0 !important;\n",
  1451. " display: grid;\n",
  1452. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  1453. "}\n",
  1454. "\n",
  1455. ".xr-section-item {\n",
  1456. " display: contents;\n",
  1457. "}\n",
  1458. "\n",
  1459. ".xr-section-item input {\n",
  1460. " display: none;\n",
  1461. "}\n",
  1462. "\n",
  1463. ".xr-section-item input + label {\n",
  1464. " color: var(--xr-disabled-color);\n",
  1465. "}\n",
  1466. "\n",
  1467. ".xr-section-item input:enabled + label {\n",
  1468. " cursor: pointer;\n",
  1469. " color: var(--xr-font-color2);\n",
  1470. "}\n",
  1471. "\n",
  1472. ".xr-section-item input:enabled + label:hover {\n",
  1473. " color: var(--xr-font-color0);\n",
  1474. "}\n",
  1475. "\n",
  1476. ".xr-section-summary {\n",
  1477. " grid-column: 1;\n",
  1478. " color: var(--xr-font-color2);\n",
  1479. " font-weight: 500;\n",
  1480. "}\n",
  1481. "\n",
  1482. ".xr-section-summary > span {\n",
  1483. " display: inline-block;\n",
  1484. " padding-left: 0.5em;\n",
  1485. "}\n",
  1486. "\n",
  1487. ".xr-section-summary-in:disabled + label {\n",
  1488. " color: var(--xr-font-color2);\n",
  1489. "}\n",
  1490. "\n",
  1491. ".xr-section-summary-in + label:before {\n",
  1492. " display: inline-block;\n",
  1493. " content: 'â–º';\n",
  1494. " font-size: 11px;\n",
  1495. " width: 15px;\n",
  1496. " text-align: center;\n",
  1497. "}\n",
  1498. "\n",
  1499. ".xr-section-summary-in:disabled + label:before {\n",
  1500. " color: var(--xr-disabled-color);\n",
  1501. "}\n",
  1502. "\n",
  1503. ".xr-section-summary-in:checked + label:before {\n",
  1504. " content: 'â–¼';\n",
  1505. "}\n",
  1506. "\n",
  1507. ".xr-section-summary-in:checked + label > span {\n",
  1508. " display: none;\n",
  1509. "}\n",
  1510. "\n",
  1511. ".xr-section-summary,\n",
  1512. ".xr-section-inline-details {\n",
  1513. " padding-top: 4px;\n",
  1514. " padding-bottom: 4px;\n",
  1515. "}\n",
  1516. "\n",
  1517. ".xr-section-inline-details {\n",
  1518. " grid-column: 2 / -1;\n",
  1519. "}\n",
  1520. "\n",
  1521. ".xr-section-details {\n",
  1522. " display: none;\n",
  1523. " grid-column: 1 / -1;\n",
  1524. " margin-bottom: 5px;\n",
  1525. "}\n",
  1526. "\n",
  1527. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  1528. " display: contents;\n",
  1529. "}\n",
  1530. "\n",
  1531. ".xr-array-wrap {\n",
  1532. " grid-column: 1 / -1;\n",
  1533. " display: grid;\n",
  1534. " grid-template-columns: 20px auto;\n",
  1535. "}\n",
  1536. "\n",
  1537. ".xr-array-wrap > label {\n",
  1538. " grid-column: 1;\n",
  1539. " vertical-align: top;\n",
  1540. "}\n",
  1541. "\n",
  1542. ".xr-preview {\n",
  1543. " color: var(--xr-font-color3);\n",
  1544. "}\n",
  1545. "\n",
  1546. ".xr-array-preview,\n",
  1547. ".xr-array-data {\n",
  1548. " padding: 0 5px !important;\n",
  1549. " grid-column: 2;\n",
  1550. "}\n",
  1551. "\n",
  1552. ".xr-array-data,\n",
  1553. ".xr-array-in:checked ~ .xr-array-preview {\n",
  1554. " display: none;\n",
  1555. "}\n",
  1556. "\n",
  1557. ".xr-array-in:checked ~ .xr-array-data,\n",
  1558. ".xr-array-preview {\n",
  1559. " display: inline-block;\n",
  1560. "}\n",
  1561. "\n",
  1562. ".xr-dim-list {\n",
  1563. " display: inline-block !important;\n",
  1564. " list-style: none;\n",
  1565. " padding: 0 !important;\n",
  1566. " margin: 0;\n",
  1567. "}\n",
  1568. "\n",
  1569. ".xr-dim-list li {\n",
  1570. " display: inline-block;\n",
  1571. " padding: 0;\n",
  1572. " margin: 0;\n",
  1573. "}\n",
  1574. "\n",
  1575. ".xr-dim-list:before {\n",
  1576. " content: '(';\n",
  1577. "}\n",
  1578. "\n",
  1579. ".xr-dim-list:after {\n",
  1580. " content: ')';\n",
  1581. "}\n",
  1582. "\n",
  1583. ".xr-dim-list li:not(:last-child):after {\n",
  1584. " content: ',';\n",
  1585. " padding-right: 5px;\n",
  1586. "}\n",
  1587. "\n",
  1588. ".xr-has-index {\n",
  1589. " font-weight: bold;\n",
  1590. "}\n",
  1591. "\n",
  1592. ".xr-var-list,\n",
  1593. ".xr-var-item {\n",
  1594. " display: contents;\n",
  1595. "}\n",
  1596. "\n",
  1597. ".xr-var-item > div,\n",
  1598. ".xr-var-item label,\n",
  1599. ".xr-var-item > .xr-var-name span {\n",
  1600. " background-color: var(--xr-background-color-row-even);\n",
  1601. " margin-bottom: 0;\n",
  1602. "}\n",
  1603. "\n",
  1604. ".xr-var-item > .xr-var-name:hover span {\n",
  1605. " padding-right: 5px;\n",
  1606. "}\n",
  1607. "\n",
  1608. ".xr-var-list > li:nth-child(odd) > div,\n",
  1609. ".xr-var-list > li:nth-child(odd) > label,\n",
  1610. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  1611. " background-color: var(--xr-background-color-row-odd);\n",
  1612. "}\n",
  1613. "\n",
  1614. ".xr-var-name {\n",
  1615. " grid-column: 1;\n",
  1616. "}\n",
  1617. "\n",
  1618. ".xr-var-dims {\n",
  1619. " grid-column: 2;\n",
  1620. "}\n",
  1621. "\n",
  1622. ".xr-var-dtype {\n",
  1623. " grid-column: 3;\n",
  1624. " text-align: right;\n",
  1625. " color: var(--xr-font-color2);\n",
  1626. "}\n",
  1627. "\n",
  1628. ".xr-var-preview {\n",
  1629. " grid-column: 4;\n",
  1630. "}\n",
  1631. "\n",
  1632. ".xr-index-preview {\n",
  1633. " grid-column: 2 / 5;\n",
  1634. " color: var(--xr-font-color2);\n",
  1635. "}\n",
  1636. "\n",
  1637. ".xr-var-name,\n",
  1638. ".xr-var-dims,\n",
  1639. ".xr-var-dtype,\n",
  1640. ".xr-preview,\n",
  1641. ".xr-attrs dt {\n",
  1642. " white-space: nowrap;\n",
  1643. " overflow: hidden;\n",
  1644. " text-overflow: ellipsis;\n",
  1645. " padding-right: 10px;\n",
  1646. "}\n",
  1647. "\n",
  1648. ".xr-var-name:hover,\n",
  1649. ".xr-var-dims:hover,\n",
  1650. ".xr-var-dtype:hover,\n",
  1651. ".xr-attrs dt:hover {\n",
  1652. " overflow: visible;\n",
  1653. " width: auto;\n",
  1654. " z-index: 1;\n",
  1655. "}\n",
  1656. "\n",
  1657. ".xr-var-attrs,\n",
  1658. ".xr-var-data,\n",
  1659. ".xr-index-data {\n",
  1660. " display: none;\n",
  1661. " background-color: var(--xr-background-color) !important;\n",
  1662. " padding-bottom: 5px !important;\n",
  1663. "}\n",
  1664. "\n",
  1665. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  1666. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  1667. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  1668. " display: block;\n",
  1669. "}\n",
  1670. "\n",
  1671. ".xr-var-data > table {\n",
  1672. " float: right;\n",
  1673. "}\n",
  1674. "\n",
  1675. ".xr-var-name span,\n",
  1676. ".xr-var-data,\n",
  1677. ".xr-index-name div,\n",
  1678. ".xr-index-data,\n",
  1679. ".xr-attrs {\n",
  1680. " padding-left: 25px !important;\n",
  1681. "}\n",
  1682. "\n",
  1683. ".xr-attrs,\n",
  1684. ".xr-var-attrs,\n",
  1685. ".xr-var-data,\n",
  1686. ".xr-index-data {\n",
  1687. " grid-column: 1 / -1;\n",
  1688. "}\n",
  1689. "\n",
  1690. "dl.xr-attrs {\n",
  1691. " padding: 0;\n",
  1692. " margin: 0;\n",
  1693. " display: grid;\n",
  1694. " grid-template-columns: 125px auto;\n",
  1695. "}\n",
  1696. "\n",
  1697. ".xr-attrs dt,\n",
  1698. ".xr-attrs dd {\n",
  1699. " padding: 0;\n",
  1700. " margin: 0;\n",
  1701. " float: left;\n",
  1702. " padding-right: 10px;\n",
  1703. " width: auto;\n",
  1704. "}\n",
  1705. "\n",
  1706. ".xr-attrs dt {\n",
  1707. " font-weight: normal;\n",
  1708. " grid-column: 1;\n",
  1709. "}\n",
  1710. "\n",
  1711. ".xr-attrs dt:hover span {\n",
  1712. " display: inline-block;\n",
  1713. " background: var(--xr-background-color);\n",
  1714. " padding-right: 10px;\n",
  1715. "}\n",
  1716. "\n",
  1717. ".xr-attrs dd {\n",
  1718. " grid-column: 2;\n",
  1719. " white-space: pre-wrap;\n",
  1720. " word-break: break-all;\n",
  1721. "}\n",
  1722. "\n",
  1723. ".xr-icon-database,\n",
  1724. ".xr-icon-file-text2,\n",
  1725. ".xr-no-icon {\n",
  1726. " display: inline-block;\n",
  1727. " vertical-align: middle;\n",
  1728. " width: 1em;\n",
  1729. " height: 1.5em !important;\n",
  1730. " stroke-width: 0;\n",
  1731. " stroke: currentColor;\n",
  1732. " fill: currentColor;\n",
  1733. "}\n",
  1734. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;OD&#x27; (runs: 5, truncation_value: 11, y: 300, x: 300)&gt;\n",
  1735. "array([[[[ 0.10089884, 0.0696463 , 0.05767011, ..., 0.01963588,\n",
  1736. " -0.0650863 , -0.00446167],\n",
  1737. " [ 0.10342729, 0.04260584, 0.02118076, ..., 0.11194868,\n",
  1738. " 0.00723437, -0.0801735 ],\n",
  1739. " [ 0.00780842, 0.00827735, -0.02827232, ..., -0.02693453,\n",
  1740. " -0.00446167, 0.0622297 ],\n",
  1741. " ...,\n",
  1742. " [-0.1117072 , -0.0575715 , -0.03836323, ..., -0.05152918,\n",
  1743. " -0.02529576, 0.00751452],\n",
  1744. " [ 0.12183205, 0.03190597, 0.01355683, ..., -0.02573907,\n",
  1745. " -0.05682966, -0.00446167],\n",
  1746. " [ 0.03475904, 0.0325796 , 0.07721636, ..., 0.02662891,\n",
  1747. " -0.05738408, 0.00751452]],\n",
  1748. "\n",
  1749. " [[ 0.05613155, -0.10849043, 0.05082337, ..., 0.09902547,\n",
  1750. " 0.01710835, 0.03692657],\n",
  1751. " [-0.08110418, -0.09280022, 0.01710835, ..., -0.04168176,\n",
  1752. " -0.15458948, 0.00483825],\n",
  1753. " [-0.07212279, -0.00743184, -0.05653069, ..., -0.18356235,\n",
  1754. " -0.01621516, -0.07006305],\n",
  1755. "...\n",
  1756. " [ 0.15678264, 0.09630046, 0.1255301 , ..., -0.00355249,\n",
  1757. " 0.01855798, -0.00499196],\n",
  1758. " [ 0.00774706, -0.07926432, 0.0260962 , ..., -0.01447608,\n",
  1759. " -0.03527032, 0.04126975],\n",
  1760. " [-0.01094507, -0.16745703, -0.0624572 , ..., 0.07159853,\n",
  1761. " 0.01769739, -0.06124581]],\n",
  1762. "\n",
  1763. " [[ 0.05950001, 0.0086876 , -0.02921711, ..., 0.04073558,\n",
  1764. " -0.00421581, -0.04723319],\n",
  1765. " [-0.0555091 , -0.11475768, -0.05360856, ..., -0.01551536,\n",
  1766. " 0.03087551, -0.00421581],\n",
  1767. " [ 0.03352452, -0.01663833, 0.01931469, ..., 0.01752418,\n",
  1768. " -0.02504989, 0.04815218],\n",
  1769. " ...,\n",
  1770. " [ 0.03087551, 0.05294261, -0.13050953, ..., -0.0277463 ,\n",
  1771. " -0.05020092, -0.04014782],\n",
  1772. " [ 0.03352452, -0.04422114, -0.06030527, ..., -0.06009626,\n",
  1773. " -0.03467501, 0.09642772],\n",
  1774. " [-0.04125708, 0.01447633, 0.07129175, ..., 0.06247557,\n",
  1775. " -0.05947848, -0.01538911]]]])\n",
  1776. "Coordinates:\n",
  1777. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  1778. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  1779. "Dimensions without coordinates: y, x\n",
  1780. "Attributes:\n",
  1781. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  1782. " IMAGE_VERSION: 1.2\n",
  1783. " IMAGE_WHITE_IS_ZERO: 0\n",
  1784. " x_start: 810\n",
  1785. " x_end: 1110\n",
  1786. " y_end: 1025\n",
  1787. " y_start: 725\n",
  1788. " x_center: 960\n",
  1789. " y_center: 875\n",
  1790. " x_span: 300\n",
  1791. " y_span: 300</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'OD'</div><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 5</li><li><span class='xr-has-index'>truncation_value</span>: 11</li><li><span>y</span>: 300</li><li><span>x</span>: 300</li></ul></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-769a2585-d324-4a83-b0ba-1f03e504aa21' class='xr-array-in' type='checkbox' checked><label for='section-769a2585-d324-4a83-b0ba-1f03e504aa21' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>0.1009 0.06965 0.05767 0.08365 ... -0.05714 0.06248 -0.05948 -0.01539</span></div><div class='xr-array-data'><pre>array([[[[ 0.10089884, 0.0696463 , 0.05767011, ..., 0.01963588,\n",
  1792. " -0.0650863 , -0.00446167],\n",
  1793. " [ 0.10342729, 0.04260584, 0.02118076, ..., 0.11194868,\n",
  1794. " 0.00723437, -0.0801735 ],\n",
  1795. " [ 0.00780842, 0.00827735, -0.02827232, ..., -0.02693453,\n",
  1796. " -0.00446167, 0.0622297 ],\n",
  1797. " ...,\n",
  1798. " [-0.1117072 , -0.0575715 , -0.03836323, ..., -0.05152918,\n",
  1799. " -0.02529576, 0.00751452],\n",
  1800. " [ 0.12183205, 0.03190597, 0.01355683, ..., -0.02573907,\n",
  1801. " -0.05682966, -0.00446167],\n",
  1802. " [ 0.03475904, 0.0325796 , 0.07721636, ..., 0.02662891,\n",
  1803. " -0.05738408, 0.00751452]],\n",
  1804. "\n",
  1805. " [[ 0.05613155, -0.10849043, 0.05082337, ..., 0.09902547,\n",
  1806. " 0.01710835, 0.03692657],\n",
  1807. " [-0.08110418, -0.09280022, 0.01710835, ..., -0.04168176,\n",
  1808. " -0.15458948, 0.00483825],\n",
  1809. " [-0.07212279, -0.00743184, -0.05653069, ..., -0.18356235,\n",
  1810. " -0.01621516, -0.07006305],\n",
  1811. "...\n",
  1812. " [ 0.15678264, 0.09630046, 0.1255301 , ..., -0.00355249,\n",
  1813. " 0.01855798, -0.00499196],\n",
  1814. " [ 0.00774706, -0.07926432, 0.0260962 , ..., -0.01447608,\n",
  1815. " -0.03527032, 0.04126975],\n",
  1816. " [-0.01094507, -0.16745703, -0.0624572 , ..., 0.07159853,\n",
  1817. " 0.01769739, -0.06124581]],\n",
  1818. "\n",
  1819. " [[ 0.05950001, 0.0086876 , -0.02921711, ..., 0.04073558,\n",
  1820. " -0.00421581, -0.04723319],\n",
  1821. " [-0.0555091 , -0.11475768, -0.05360856, ..., -0.01551536,\n",
  1822. " 0.03087551, -0.00421581],\n",
  1823. " [ 0.03352452, -0.01663833, 0.01931469, ..., 0.01752418,\n",
  1824. " -0.02504989, 0.04815218],\n",
  1825. " ...,\n",
  1826. " [ 0.03087551, 0.05294261, -0.13050953, ..., -0.0277463 ,\n",
  1827. " -0.05020092, -0.04014782],\n",
  1828. " [ 0.03352452, -0.04422114, -0.06030527, ..., -0.06009626,\n",
  1829. " -0.03467501, 0.09642772],\n",
  1830. " [-0.04125708, 0.01447633, 0.07129175, ..., 0.06247557,\n",
  1831. " -0.05947848, -0.01538911]]]])</pre></div></div></li><li class='xr-section-item'><input id='section-00514b98-0ee4-4240-a295-791fb1737634' class='xr-section-summary-in' type='checkbox' checked><label for='section-00514b98-0ee4-4240-a295-791fb1737634' 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'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 4.0</div><input id='attrs-1d59f5dd-93eb-4929-a332-894155a2daa6' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-1d59f5dd-93eb-4929-a332-894155a2daa6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9abc84b6-c45b-4d56-b55d-5b41e13663cf' class='xr-var-data-in' type='checkbox'><label for='data-9abc84b6-c45b-4d56-b55d-5b41e13663cf' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1., 2., 3., 4.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>truncation_value</span></div><div class='xr-var-dims'>(truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.8 0.83 0.85 ... 0.97 0.99 1.0</div><input id='attrs-16638bd4-b90b-46c6-bc5d-1867bf0f7774' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-16638bd4-b90b-46c6-bc5d-1867bf0f7774' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-448a77b4-362b-4007-8580-176dde198a73' class='xr-var-data-in' type='checkbox'><label for='data-448a77b4-362b-4007-8580-176dde198a73' 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.8 , 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1. ])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-ff9e9ae6-069c-4f99-b734-66f1a7d76276' class='xr-section-summary-in' type='checkbox' ><label for='section-ff9e9ae6-069c-4f99-b734-66f1a7d76276' 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>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-baafe7cc-2943-4b22-84d0-c0999519176e' class='xr-index-data-in' type='checkbox'/><label for='index-baafe7cc-2943-4b22-84d0-c0999519176e' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0, 2.0, 3.0, 4.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>truncation_value</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-e695e9d6-3555-4340-b899-24f2e3f56859' class='xr-index-data-in' type='checkbox'/><label for='index-e695e9d6-3555-4340-b899-24f2e3f56859' 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.8, 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;truncation_value&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-bdb9df9e-cf6b-42e3-8c6c-098aeb0df406' class='xr-section-summary-in' type='checkbox' ><label for='section-bdb9df9e-cf6b-42e3-8c6c-098aeb0df406' class='xr-section-
  1832. ],
  1833. "text/plain": [
  1834. "<xarray.DataArray 'OD' (runs: 5, truncation_value: 11, y: 300, x: 300)>\n",
  1835. "array([[[[ 0.10089884, 0.0696463 , 0.05767011, ..., 0.01963588,\n",
  1836. " -0.0650863 , -0.00446167],\n",
  1837. " [ 0.10342729, 0.04260584, 0.02118076, ..., 0.11194868,\n",
  1838. " 0.00723437, -0.0801735 ],\n",
  1839. " [ 0.00780842, 0.00827735, -0.02827232, ..., -0.02693453,\n",
  1840. " -0.00446167, 0.0622297 ],\n",
  1841. " ...,\n",
  1842. " [-0.1117072 , -0.0575715 , -0.03836323, ..., -0.05152918,\n",
  1843. " -0.02529576, 0.00751452],\n",
  1844. " [ 0.12183205, 0.03190597, 0.01355683, ..., -0.02573907,\n",
  1845. " -0.05682966, -0.00446167],\n",
  1846. " [ 0.03475904, 0.0325796 , 0.07721636, ..., 0.02662891,\n",
  1847. " -0.05738408, 0.00751452]],\n",
  1848. "\n",
  1849. " [[ 0.05613155, -0.10849043, 0.05082337, ..., 0.09902547,\n",
  1850. " 0.01710835, 0.03692657],\n",
  1851. " [-0.08110418, -0.09280022, 0.01710835, ..., -0.04168176,\n",
  1852. " -0.15458948, 0.00483825],\n",
  1853. " [-0.07212279, -0.00743184, -0.05653069, ..., -0.18356235,\n",
  1854. " -0.01621516, -0.07006305],\n",
  1855. "...\n",
  1856. " [ 0.15678264, 0.09630046, 0.1255301 , ..., -0.00355249,\n",
  1857. " 0.01855798, -0.00499196],\n",
  1858. " [ 0.00774706, -0.07926432, 0.0260962 , ..., -0.01447608,\n",
  1859. " -0.03527032, 0.04126975],\n",
  1860. " [-0.01094507, -0.16745703, -0.0624572 , ..., 0.07159853,\n",
  1861. " 0.01769739, -0.06124581]],\n",
  1862. "\n",
  1863. " [[ 0.05950001, 0.0086876 , -0.02921711, ..., 0.04073558,\n",
  1864. " -0.00421581, -0.04723319],\n",
  1865. " [-0.0555091 , -0.11475768, -0.05360856, ..., -0.01551536,\n",
  1866. " 0.03087551, -0.00421581],\n",
  1867. " [ 0.03352452, -0.01663833, 0.01931469, ..., 0.01752418,\n",
  1868. " -0.02504989, 0.04815218],\n",
  1869. " ...,\n",
  1870. " [ 0.03087551, 0.05294261, -0.13050953, ..., -0.0277463 ,\n",
  1871. " -0.05020092, -0.04014782],\n",
  1872. " [ 0.03352452, -0.04422114, -0.06030527, ..., -0.06009626,\n",
  1873. " -0.03467501, 0.09642772],\n",
  1874. " [-0.04125708, 0.01447633, 0.07129175, ..., 0.06247557,\n",
  1875. " -0.05947848, -0.01538911]]]])\n",
  1876. "Coordinates:\n",
  1877. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  1878. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  1879. "Dimensions without coordinates: y, x\n",
  1880. "Attributes:\n",
  1881. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  1882. " IMAGE_VERSION: 1.2\n",
  1883. " IMAGE_WHITE_IS_ZERO: 0\n",
  1884. " x_start: 810\n",
  1885. " x_end: 1110\n",
  1886. " y_end: 1025\n",
  1887. " y_start: 725\n",
  1888. " x_center: 960\n",
  1889. " y_center: 875\n",
  1890. " x_span: 300\n",
  1891. " y_span: 300"
  1892. ]
  1893. },
  1894. "execution_count": 6,
  1895. "metadata": {},
  1896. "output_type": "execute_result"
  1897. }
  1898. ],
  1899. "source": [
  1900. "imageAnalyser = ImageAnalyser()\n",
  1901. "\n",
  1902. "imageAnalyser.center = (960, 875)\n",
  1903. "imageAnalyser.span = (300, 300)\n",
  1904. "imageAnalyser.fraction = (0.1, 0.1)\n",
  1905. "\n",
  1906. "dataSet = imageAnalyser.get_absorption_images(dataSet)\n",
  1907. "\n",
  1908. "dataSet_cropOD = imageAnalyser.crop_image(dataSet.OD)\n",
  1909. "dataSet_cropOD = imageAnalyser.substract_offset(dataSet_cropOD).load()\n",
  1910. "dataSet_cropOD"
  1911. ]
  1912. },
  1913. {
  1914. "cell_type": "markdown",
  1915. "metadata": {},
  1916. "source": [
  1917. "### Plot the OD images"
  1918. ]
  1919. },
  1920. {
  1921. "cell_type": "code",
  1922. "execution_count": 7,
  1923. "metadata": {},
  1924. "outputs": [
  1925. {
  1926. "data": {
  1927. "image/png": "iVBORw0KGgoAAAANSUhEUgAAC8cAAAW6CAYAAABroPE6AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOyde3hdVZn/P20TaNom0GDT0hQSJUAqtEDAgpSxoFXwUoYioiKKDirM6KiMjM6PQQF1ZhQQFfE2CngFRQUfi9KBOtDBihSN0AoNUKBFiqSVAE1pgITu3x9rf8/7rn1O2qSXpCnr+zznOefsy9rr9t7ftfaoLMsyEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEkYwRg93BRISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhK2FSk5PiEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhYcQjJccnJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCSMeKTk+ISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhBGPlByfkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJAw4pGS4xMSEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEkY8UnJ8QkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkLCiEdKjk9ISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISBjxSMnxCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJIx4pOT5hh2LUqFGMGjWK2267bbirMiLx3e9+l1GjRtHc3DzcVUnYRZBoctuQaDJhOJDodtuQ6DZhqJFodtuQaDZhOJDodtuQ6DZhqJFodtuQaDZhOJDodtuQ6DZhqJFodtuQaDZhOJDodtuQ6DZhqJFodtuQaDZhZ0Si621DouuEhISEhB2Bl2Ry/He/+10uvPDCpJRsA7785S9z4YUXcvfddw93VRJ2AWxvmrz11luZP38+e++9N7vvvjvTpk3j9NNPp729fZvLfuyxx/jEJz7BoYceSm1tLdXV1UyaNInjjjuOK664gueff347tGDwSDSZMNQYDN3ujDT5+OOPc9lll/Gud72LmTNnMmXKFHbbbTfq6uqYOXMmH/nIR+jo6Njm+m0OiW4ThhKDlbU7I92uWrWq5Fzc3Of888/f5jpWQqLZhKHGSJe1xx577IBoVp8dgUS3CUOJXUHWCqtWreIjH/kIra2tjBs3jj322IPDDjuMz33uczz77LPbXL/+kGg2Yaixs8jatWvXct555zFz5kxqa2sZP348r3zlK/nkJz/JunXrNnvv7bffzle+8hXOOOMMDj74YKqqqhg1ahTHHnvsNtdrIEh0mzCU2Jlk7dbS7XD7oxLNJgw1RrqsHW5fFCS6TRha7Aqydrj9UYlmE3Y2eLreGWlWGC5f1ECQ6DphZ0RHRwdXXXUVH/rQh3j1q1/NuHHjdohsu/766zn++ONpaGhg7NixvPzlL+ess85i5cqV2/U5CQkJCTsM2UsQc+bMyYDsggsuGO6qjFg0NTVlQHb11Vdv9roDDzwwO/DAA7M777xzaCq2i+Hqq6/OgKypqWm4q7JDsT1p8oILLsiADMhGjRqV7bHHHqX/VVVV2be//e2tLvt//ud/sgkTJpTKGz16dFQ+kB100EHZ448/vs3tGCwSTQ4NXio0ORAMlG53Vpr86U9/Gl1XVVWVTZw4MRs1alTpWHV1dfa1r31tq+u3JSS6HRokug0YjKzdWen2kUceKV3zspe9LJs8eXLFz+c///mtrt/mkGh2aJBo1jDSZe38+fP7pVN9VMarXvWqra7j5pDodmiQ6DZgV5C1WZZlv/jFL7Lx48eXrp0wYUL0/+Uvf3n2yCOPbHX9NodEs0ODRLOGnUHW/u53v8smTZpUKq+mpiarq6uL9N4//OEP/d7vadt/5syZs9V1GgwS3Q4NEt0G7Cyydlvodrj9UYlmhwaJZg0jXdYOty8qyxLdDhUS3QbsCrJ2uP1RiWaHBolmBw7Rtb53NprNsuH1RQ0Eia6HBomuBwdP08XP9sCmTZuy973vfZGP2dP1uHHjsl/96lfb5VkJCQkJOxIvyZ3jE4YOHR0ddHR0MGvWrOGuSsJLANdddx0XXXQRAGeddRbr1q3j6aef5i9/+QsnnXQSfX19nH322dxxxx2DLrurq4u3v/3tbNiwgX333Zcbb7yR5557jqeffpr169fz5S9/maqqKu69917OPvvs7d207YZEkwlDiZ2ZJvfZZx/OP/98Fi5cSGdnJy+88AJdXV0899xz3HLLLRx++OH09vby4Q9/eKvqtz2R6DZhKLEz063HXXfdxRNPPFHx88lPfnKr2r69kGg2YSixM9Ps9ddf3y+dPvHEE/zqV78qXXvmmWdufSdsByS6TRhK7Mx0u3z5ct7xjnfw7LPPcthhh7F06VK6u7vp7u7m9ttvp7W1lUceeYQ3v/nN9Pb2bnNfbC0SzSYMJXYkzT7xxBPMmzePdevW0dzczKJFi3j22Wd55plnuOeeezj66KP529/+xpve9CaeeuqpimXU1NQwa9Yszj77bL797W9z/PHHb1N7dxQS3SYMJXZmuh0p/qhEswlDiZ2ZZj12Zl8UJLpNGFrszHQ7UvxRiWYThhqLFy8Gdj6aHSm+qIEg0XXCUKKqqorp06dz+umnc9lll/Ev//Iv27X8Sy65hKuvvhqACy64gGeeeYZnnnmGjo4Ojj76aDZu3Mipp57KI488sl2fm5CQkLDdMdzZ+cOBtHP8tmOgqyMTtg0vldWR24Mm+/r6SvPy+OOPLzv//PPPZzNmzMiA7Jhjjhl0+d/97ndLqyBvvfXWitecf/75pVWTzz777KCfsS1INDk0eKnQ5ECwJbod6TTZ1dWVjRs3LgOy97///YOu30CQ6HZokOg2YCCydmenW79b13DsEpJodmiQaNawq8vas88+u7TDyDPPPDPo+g0EiW6HBoluA3YFWXvKKadkQDZ+/PhszZo1Zfc+8MADWXV1dQZkV1xxxaDrtyUkmh0aJJo1DLesPffcc0v02N7eXnb+ySefzCZOnJgB2bnnnttvHT3OOOOM0q6AQ4FEt0ODRLcBO4Os3R50uznsaH9UotmhQaJZw0iXtcPti8qyRLdDhUS3AS8FWbuj/VGJZocGiWYHjte85jUlWbYz0uxw+6IGgkTXQ4NE14ND0R+k/tseaaBdXV1ZbW1tBmRnnXVWxfNTpkzJgOz000/f5uclJCQk7Ei8pJLjvTDo7+OdGz6g2NnZmZ1zzjnZ/vvvn9XU1EQCZSCGol4tVikw4e/ftGlT9t///d/ZrFmzstra2mzChAnZUUcdlf3gBz/YYvvuu+++7J/+6Z+y6dOnl141dMABB2Rvf/vbs5/97GfZiy++GF3f0dGRXXzxxdnrXve67BWveEU2duzYrLa2Njv00EOzf//3f8/WrVvXbzs29/HYUlC2p6cn+9KXvpS9+tWvzvbcc89s9913z/bdd9/s3e9+d/anP/2p37Z6BfT555/PLr744mzmzJnZuHHjsrq6uuy4447Lbrrppi322UAwc+bMDMjOOeeczV63aNGiDMJrqFavXl06/vTTT2fXXnttdtppp2UHH3xwNnHixFI73/nOd2Z33HFHv2VuTgFUsOuMM87Yqvt9/T73uc9ls2bNyvbcc89st912y6ZNm5a94x3v2Gzdtge2N03qc+ihh1akSZ8o8JGPfGRQNDlt2rTSva961asq0uQvf/nL0jV/+9vfEk0mmhzU/b5+w0WTA8FA6fY3v/lNdGxLdHvkkUcOSpb+13/9V+ne7u7
  1928. "text/plain": [
  1929. "<Figure size 3400x1500 with 56 Axes>"
  1930. ]
  1931. },
  1932. "metadata": {},
  1933. "output_type": "display_data"
  1934. }
  1935. ],
  1936. "source": [
  1937. "# first get the scan axes\n",
  1938. "scanAxis = get_scanAxis(dataSet)\n",
  1939. "\n",
  1940. "# Name_of_varibale.plot.name_of_plot_type(col=scanAxis[0], row=scanAxis[1], **kwargs)\n",
  1941. "# The name of the plot type has the same name as it in the matplotlib package\n",
  1942. "# The **kwargs to adjust the plot also as same as the matplotlib package\n",
  1943. "dataSet_cropOD.plot.pcolormesh(col=scanAxis[0], row=scanAxis[1], cmap='jet', vmin=0, vmax=2)\n",
  1944. "\n",
  1945. "plt.show()"
  1946. ]
  1947. },
  1948. {
  1949. "cell_type": "markdown",
  1950. "metadata": {},
  1951. "source": [
  1952. "Let us first do a 2D-two-peak gaussian fit to find the center and waist of the cloud."
  1953. ]
  1954. },
  1955. {
  1956. "cell_type": "markdown",
  1957. "metadata": {},
  1958. "source": [
  1959. "## Creat an object of fit analyser "
  1960. ]
  1961. },
  1962. {
  1963. "cell_type": "markdown",
  1964. "metadata": {},
  1965. "source": [
  1966. "The idea is to package all fitting related analysis funciton into a clasee, the 'FitAnalyser'. The advantage is that it record our last settings, i.e. the model of the fit, and thus we don't need to set it again.\n",
  1967. "\n",
  1968. "Therefore, first we need to create an object of the 'FitAnalyser' class."
  1969. ]
  1970. },
  1971. {
  1972. "cell_type": "code",
  1973. "execution_count": 8,
  1974. "metadata": {},
  1975. "outputs": [],
  1976. "source": [
  1977. "from Analyser.FitAnalyser import TwoGaussian2dModel\n",
  1978. "\n",
  1979. "\n",
  1980. "# The fit model\n",
  1981. "# fitModel = DensityProfileBEC2dModel()\n",
  1982. "fitModel = TwoGaussian2dModel()\n",
  1983. "\n",
  1984. "fitAnalyser = FitAnalyser(fitModel, fitDim=2)"
  1985. ]
  1986. },
  1987. {
  1988. "cell_type": "markdown",
  1989. "metadata": {},
  1990. "source": [
  1991. "Here there is a complete list of implenmented fitting model\n",
  1992. "\n",
  1993. "```\n",
  1994. "lmfit_models = {'Constant': ConstantModel,\n",
  1995. " 'Complex Constant': ComplexConstantModel,\n",
  1996. " 'Linear': LinearModel,\n",
  1997. " 'Quadratic': QuadraticModel,\n",
  1998. " 'Polynomial': PolynomialModel,\n",
  1999. " 'Gaussian': GaussianModel,\n",
  2000. " 'Gaussian-2D': Gaussian2dModel,\n",
  2001. " 'Lorentzian': LorentzianModel,\n",
  2002. " 'Split-Lorentzian': SplitLorentzianModel,\n",
  2003. " 'Voigt': VoigtModel,\n",
  2004. " 'PseudoVoigt': PseudoVoigtModel,\n",
  2005. " 'Moffat': MoffatModel,\n",
  2006. " 'Pearson7': Pearson7Model,\n",
  2007. " 'StudentsT': StudentsTModel,\n",
  2008. " 'Breit-Wigner': BreitWignerModel,\n",
  2009. " 'Log-Normal': LognormalModel,\n",
  2010. " 'Damped Oscillator': DampedOscillatorModel,\n",
  2011. " 'Damped Harmonic Oscillator': DampedHarmonicOscillatorModel,\n",
  2012. " 'Exponential Gaussian': ExponentialGaussianModel,\n",
  2013. " 'Skewed Gaussian': SkewedGaussianModel,\n",
  2014. " 'Skewed Voigt': SkewedVoigtModel,\n",
  2015. " 'Thermal Distribution': ThermalDistributionModel,\n",
  2016. " 'Doniach': DoniachModel,\n",
  2017. " 'Power Law': PowerLawModel,\n",
  2018. " 'Exponential': ExponentialModel,\n",
  2019. " 'Step': StepModel,\n",
  2020. " 'Rectangle': RectangleModel,\n",
  2021. " 'Expression': ExpressionModel,\n",
  2022. " 'Gaussian With Offset':GaussianWithOffsetModel,\n",
  2023. " 'Lorentzian With Offset':LorentzianWithOffsetModel,\n",
  2024. " 'Expansion':ExpansionModel,\n",
  2025. " 'Damping Oscillation Model':DampingOscillationModel,\n",
  2026. " 'Two Gaussian-2D':TwoGaussian2dModel,\n",
  2027. " 'Thomas Fermi-2D': ThomasFermi2dModel,\n",
  2028. " 'Density Profile of BEC-2D': DensityProfileBEC2dModel,\n",
  2029. " 'Polylog2-2D': polylog2_2d, \n",
  2030. " }\n",
  2031. "```"
  2032. ]
  2033. },
  2034. {
  2035. "cell_type": "markdown",
  2036. "metadata": {},
  2037. "source": [
  2038. "## Set initial values and bondaries"
  2039. ]
  2040. },
  2041. {
  2042. "cell_type": "markdown",
  2043. "metadata": {},
  2044. "source": [
  2045. "There are two ways to set the parameters of a fit:\n",
  2046. "- Use the guession function of the model, which guess the initial values from the data\n",
  2047. "- Manually set the parameters"
  2048. ]
  2049. },
  2050. {
  2051. "cell_type": "markdown",
  2052. "metadata": {},
  2053. "source": [
  2054. "### Manually set the parameters "
  2055. ]
  2056. },
  2057. {
  2058. "cell_type": "markdown",
  2059. "metadata": {},
  2060. "source": [
  2061. "First we need to create an object of the parameters"
  2062. ]
  2063. },
  2064. {
  2065. "cell_type": "code",
  2066. "execution_count": 9,
  2067. "metadata": {},
  2068. "outputs": [],
  2069. "source": [
  2070. "params = fitAnalyser.fitModel.make_params()"
  2071. ]
  2072. },
  2073. {
  2074. "cell_type": "markdown",
  2075. "metadata": {},
  2076. "source": [
  2077. "Then we can use a function to generate a template."
  2078. ]
  2079. },
  2080. {
  2081. "cell_type": "code",
  2082. "execution_count": 10,
  2083. "metadata": {},
  2084. "outputs": [
  2085. {
  2086. "name": "stdout",
  2087. "output_type": "stream",
  2088. "text": [
  2089. "params.add(name=\"A_amplitude\", value= 1, max=np.inf, min=-np.inf, vary=True)\n",
  2090. "params.add(name=\"A_centerx\", value= 0, max=np.inf, min=-np.inf, vary=True)\n",
  2091. "params.add(name=\"A_centery\", value= 0, max=np.inf, min=-np.inf, vary=True)\n",
  2092. "params.add(name=\"A_sigmax\", expr=\"delta + B_sigmax\")\n",
  2093. "params.add(name=\"A_sigmay\", value= 1, max=np.inf, min=-np.inf, vary=True)\n",
  2094. "params.add(name=\"B_amplitude\", value= 1, max=np.inf, min=-np.inf, vary=True)\n",
  2095. "params.add(name=\"B_centerx\", value= 0, max=np.inf, min=-np.inf, vary=True)\n",
  2096. "params.add(name=\"B_centery\", value= 0, max=np.inf, min=-np.inf, vary=True)\n",
  2097. "params.add(name=\"B_sigmax\", value= 1, max=np.inf, min=-np.inf, vary=True)\n",
  2098. "params.add(name=\"B_sigmay\", value= 1, max=np.inf, min=-np.inf, vary=True)\n",
  2099. "params.add(name=\"delta\", value= -1, max= 0, min=-np.inf, vary=True)\n"
  2100. ]
  2101. }
  2102. ],
  2103. "source": [
  2104. "fitAnalyser.print_params_set_template()"
  2105. ]
  2106. },
  2107. {
  2108. "cell_type": "markdown",
  2109. "metadata": {},
  2110. "source": [
  2111. "### Use the guess function"
  2112. ]
  2113. },
  2114. {
  2115. "cell_type": "code",
  2116. "execution_count": 11,
  2117. "metadata": {},
  2118. "outputs": [],
  2119. "source": [
  2120. "# The default name of x axis and y axis are 'x' and 'y', \n",
  2121. "# if not please use the argument 'x' and 'y' to specify the names or the values.\n",
  2122. "# The 'guess_kwargs' is the additional key words sent to guess() funcition in the model\n",
  2123. "params = fitAnalyser.guess(dataSet_cropOD, guess_kwargs=dict(pureBECThreshold=0.5), dask=\"parallelized\")"
  2124. ]
  2125. },
  2126. {
  2127. "cell_type": "markdown",
  2128. "metadata": {},
  2129. "source": [
  2130. "Here the data are too large, we only show the parameters for the first shot"
  2131. ]
  2132. },
  2133. {
  2134. "cell_type": "code",
  2135. "execution_count": 12,
  2136. "metadata": {},
  2137. "outputs": [
  2138. {
  2139. "data": {
  2140. "text/html": [
  2141. "<table><tr><th> name </th><th> value </th><th> initial value </th><th> min </th><th> max </th><th> vary </th><th> expression </th></tr><tr><td> A_amplitude </td><td> 1954.62481 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td><td> </td></tr><tr><td> A_centerx </td><td> 144.000000 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td><td> </td></tr><tr><td> A_centery </td><td> 136.000000 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td><td> </td></tr><tr><td> A_sigmax </td><td> 48.8333333 </td><td> None </td><td> -inf </td><td> inf </td><td> False </td><td> delta + B_sigmax </td></tr><tr><td> A_sigmay </td><td> 49.8333333 </td><td> None </td><td> 0.00000000 </td><td> inf </td><td> True </td><td> </td></tr><tr><td> B_amplitude </td><td> 1954.62481 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td><td> </td></tr><tr><td> B_centerx </td><td> 144.000000 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td><td> </td></tr><tr><td> B_centery </td><td> 136.000000 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td><td> </td></tr><tr><td> B_sigmax </td><td> 49.8333333 </td><td> None </td><td> 0.00000000 </td><td> inf </td><td> True </td><td> </td></tr><tr><td> B_sigmay </td><td> 49.8333333 </td><td> None </td><td> 0.00000000 </td><td> inf </td><td> True </td><td> </td></tr><tr><td> delta </td><td> -1.00000000 </td><td> -1 </td><td> -inf </td><td> 0.00000000 </td><td> True </td><td> </td></tr></table>"
  2142. ],
  2143. "text/plain": [
  2144. "Parameters([('A_amplitude', <Parameter 'A_amplitude', value=1954.6248098806716, bounds=[-inf:inf]>), ('A_centerx', <Parameter 'A_centerx', value=144, bounds=[-inf:inf]>), ('A_centery', <Parameter 'A_centery', value=136, bounds=[-inf:inf]>), ('A_sigmax', <Parameter 'A_sigmax', value=48.833333333333336, bounds=[-inf:inf], expr='delta + B_sigmax'>), ('A_sigmay', <Parameter 'A_sigmay', value=49.833333333333336, bounds=[0.0:inf]>), ('B_amplitude', <Parameter 'B_amplitude', value=1954.6248098806716, bounds=[-inf:inf]>), ('B_centerx', <Parameter 'B_centerx', value=144, bounds=[-inf:inf]>), ('B_centery', <Parameter 'B_centery', value=136, bounds=[-inf:inf]>), ('B_sigmax', <Parameter 'B_sigmax', value=49.833333333333336, bounds=[0.0:inf]>), ('B_sigmay', <Parameter 'B_sigmay', value=49.833333333333336, bounds=[0.0:inf]>), ('delta', <Parameter 'delta', value=-1, bounds=[-inf:0]>)])"
  2145. ]
  2146. },
  2147. "execution_count": 12,
  2148. "metadata": {},
  2149. "output_type": "execute_result"
  2150. }
  2151. ],
  2152. "source": [
  2153. "params[0, 0].item()"
  2154. ]
  2155. },
  2156. {
  2157. "cell_type": "markdown",
  2158. "metadata": {},
  2159. "source": [
  2160. "## Do the fit"
  2161. ]
  2162. },
  2163. {
  2164. "cell_type": "markdown",
  2165. "metadata": {},
  2166. "source": [
  2167. "`As we discussed before, the parallel computing needs chunks. And now there is no chunk! In order to enable the parallel computing, we have to rechunk our data.`"
  2168. ]
  2169. },
  2170. {
  2171. "cell_type": "code",
  2172. "execution_count": 13,
  2173. "metadata": {},
  2174. "outputs": [],
  2175. "source": [
  2176. "dataSet_cropOD = dataSet_cropOD.chunk((1, 1, 300, 300))\n",
  2177. "params = params.chunk((1, 1))"
  2178. ]
  2179. },
  2180. {
  2181. "cell_type": "code",
  2182. "execution_count": 14,
  2183. "metadata": {},
  2184. "outputs": [
  2185. {
  2186. "data": {
  2187. "text/html": [
  2188. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  2189. "<defs>\n",
  2190. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  2191. "<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",
  2192. "<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",
  2193. "<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",
  2194. "</symbol>\n",
  2195. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  2196. "<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",
  2197. "<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",
  2198. "<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",
  2199. "<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",
  2200. "</symbol>\n",
  2201. "</defs>\n",
  2202. "</svg>\n",
  2203. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  2204. " *\n",
  2205. " */\n",
  2206. "\n",
  2207. ":root {\n",
  2208. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  2209. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  2210. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  2211. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  2212. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  2213. " --xr-background-color: var(--jp-layout-color0, white);\n",
  2214. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  2215. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  2216. "}\n",
  2217. "\n",
  2218. "html[theme=dark],\n",
  2219. "body[data-theme=dark],\n",
  2220. "body.vscode-dark {\n",
  2221. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  2222. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  2223. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  2224. " --xr-border-color: #1F1F1F;\n",
  2225. " --xr-disabled-color: #515151;\n",
  2226. " --xr-background-color: #111111;\n",
  2227. " --xr-background-color-row-even: #111111;\n",
  2228. " --xr-background-color-row-odd: #313131;\n",
  2229. "}\n",
  2230. "\n",
  2231. ".xr-wrap {\n",
  2232. " display: block !important;\n",
  2233. " min-width: 300px;\n",
  2234. " max-width: 700px;\n",
  2235. "}\n",
  2236. "\n",
  2237. ".xr-text-repr-fallback {\n",
  2238. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  2239. " display: none;\n",
  2240. "}\n",
  2241. "\n",
  2242. ".xr-header {\n",
  2243. " padding-top: 6px;\n",
  2244. " padding-bottom: 6px;\n",
  2245. " margin-bottom: 4px;\n",
  2246. " border-bottom: solid 1px var(--xr-border-color);\n",
  2247. "}\n",
  2248. "\n",
  2249. ".xr-header > div,\n",
  2250. ".xr-header > ul {\n",
  2251. " display: inline;\n",
  2252. " margin-top: 0;\n",
  2253. " margin-bottom: 0;\n",
  2254. "}\n",
  2255. "\n",
  2256. ".xr-obj-type,\n",
  2257. ".xr-array-name {\n",
  2258. " margin-left: 2px;\n",
  2259. " margin-right: 10px;\n",
  2260. "}\n",
  2261. "\n",
  2262. ".xr-obj-type {\n",
  2263. " color: var(--xr-font-color2);\n",
  2264. "}\n",
  2265. "\n",
  2266. ".xr-sections {\n",
  2267. " padding-left: 0 !important;\n",
  2268. " display: grid;\n",
  2269. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  2270. "}\n",
  2271. "\n",
  2272. ".xr-section-item {\n",
  2273. " display: contents;\n",
  2274. "}\n",
  2275. "\n",
  2276. ".xr-section-item input {\n",
  2277. " display: none;\n",
  2278. "}\n",
  2279. "\n",
  2280. ".xr-section-item input + label {\n",
  2281. " color: var(--xr-disabled-color);\n",
  2282. "}\n",
  2283. "\n",
  2284. ".xr-section-item input:enabled + label {\n",
  2285. " cursor: pointer;\n",
  2286. " color: var(--xr-font-color2);\n",
  2287. "}\n",
  2288. "\n",
  2289. ".xr-section-item input:enabled + label:hover {\n",
  2290. " color: var(--xr-font-color0);\n",
  2291. "}\n",
  2292. "\n",
  2293. ".xr-section-summary {\n",
  2294. " grid-column: 1;\n",
  2295. " color: var(--xr-font-color2);\n",
  2296. " font-weight: 500;\n",
  2297. "}\n",
  2298. "\n",
  2299. ".xr-section-summary > span {\n",
  2300. " display: inline-block;\n",
  2301. " padding-left: 0.5em;\n",
  2302. "}\n",
  2303. "\n",
  2304. ".xr-section-summary-in:disabled + label {\n",
  2305. " color: var(--xr-font-color2);\n",
  2306. "}\n",
  2307. "\n",
  2308. ".xr-section-summary-in + label:before {\n",
  2309. " display: inline-block;\n",
  2310. " content: 'â–º';\n",
  2311. " font-size: 11px;\n",
  2312. " width: 15px;\n",
  2313. " text-align: center;\n",
  2314. "}\n",
  2315. "\n",
  2316. ".xr-section-summary-in:disabled + label:before {\n",
  2317. " color: var(--xr-disabled-color);\n",
  2318. "}\n",
  2319. "\n",
  2320. ".xr-section-summary-in:checked + label:before {\n",
  2321. " content: 'â–¼';\n",
  2322. "}\n",
  2323. "\n",
  2324. ".xr-section-summary-in:checked + label > span {\n",
  2325. " display: none;\n",
  2326. "}\n",
  2327. "\n",
  2328. ".xr-section-summary,\n",
  2329. ".xr-section-inline-details {\n",
  2330. " padding-top: 4px;\n",
  2331. " padding-bottom: 4px;\n",
  2332. "}\n",
  2333. "\n",
  2334. ".xr-section-inline-details {\n",
  2335. " grid-column: 2 / -1;\n",
  2336. "}\n",
  2337. "\n",
  2338. ".xr-section-details {\n",
  2339. " display: none;\n",
  2340. " grid-column: 1 / -1;\n",
  2341. " margin-bottom: 5px;\n",
  2342. "}\n",
  2343. "\n",
  2344. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  2345. " display: contents;\n",
  2346. "}\n",
  2347. "\n",
  2348. ".xr-array-wrap {\n",
  2349. " grid-column: 1 / -1;\n",
  2350. " display: grid;\n",
  2351. " grid-template-columns: 20px auto;\n",
  2352. "}\n",
  2353. "\n",
  2354. ".xr-array-wrap > label {\n",
  2355. " grid-column: 1;\n",
  2356. " vertical-align: top;\n",
  2357. "}\n",
  2358. "\n",
  2359. ".xr-preview {\n",
  2360. " color: var(--xr-font-color3);\n",
  2361. "}\n",
  2362. "\n",
  2363. ".xr-array-preview,\n",
  2364. ".xr-array-data {\n",
  2365. " padding: 0 5px !important;\n",
  2366. " grid-column: 2;\n",
  2367. "}\n",
  2368. "\n",
  2369. ".xr-array-data,\n",
  2370. ".xr-array-in:checked ~ .xr-array-preview {\n",
  2371. " display: none;\n",
  2372. "}\n",
  2373. "\n",
  2374. ".xr-array-in:checked ~ .xr-array-data,\n",
  2375. ".xr-array-preview {\n",
  2376. " display: inline-block;\n",
  2377. "}\n",
  2378. "\n",
  2379. ".xr-dim-list {\n",
  2380. " display: inline-block !important;\n",
  2381. " list-style: none;\n",
  2382. " padding: 0 !important;\n",
  2383. " margin: 0;\n",
  2384. "}\n",
  2385. "\n",
  2386. ".xr-dim-list li {\n",
  2387. " display: inline-block;\n",
  2388. " padding: 0;\n",
  2389. " margin: 0;\n",
  2390. "}\n",
  2391. "\n",
  2392. ".xr-dim-list:before {\n",
  2393. " content: '(';\n",
  2394. "}\n",
  2395. "\n",
  2396. ".xr-dim-list:after {\n",
  2397. " content: ')';\n",
  2398. "}\n",
  2399. "\n",
  2400. ".xr-dim-list li:not(:last-child):after {\n",
  2401. " content: ',';\n",
  2402. " padding-right: 5px;\n",
  2403. "}\n",
  2404. "\n",
  2405. ".xr-has-index {\n",
  2406. " font-weight: bold;\n",
  2407. "}\n",
  2408. "\n",
  2409. ".xr-var-list,\n",
  2410. ".xr-var-item {\n",
  2411. " display: contents;\n",
  2412. "}\n",
  2413. "\n",
  2414. ".xr-var-item > div,\n",
  2415. ".xr-var-item label,\n",
  2416. ".xr-var-item > .xr-var-name span {\n",
  2417. " background-color: var(--xr-background-color-row-even);\n",
  2418. " margin-bottom: 0;\n",
  2419. "}\n",
  2420. "\n",
  2421. ".xr-var-item > .xr-var-name:hover span {\n",
  2422. " padding-right: 5px;\n",
  2423. "}\n",
  2424. "\n",
  2425. ".xr-var-list > li:nth-child(odd) > div,\n",
  2426. ".xr-var-list > li:nth-child(odd) > label,\n",
  2427. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  2428. " background-color: var(--xr-background-color-row-odd);\n",
  2429. "}\n",
  2430. "\n",
  2431. ".xr-var-name {\n",
  2432. " grid-column: 1;\n",
  2433. "}\n",
  2434. "\n",
  2435. ".xr-var-dims {\n",
  2436. " grid-column: 2;\n",
  2437. "}\n",
  2438. "\n",
  2439. ".xr-var-dtype {\n",
  2440. " grid-column: 3;\n",
  2441. " text-align: right;\n",
  2442. " color: var(--xr-font-color2);\n",
  2443. "}\n",
  2444. "\n",
  2445. ".xr-var-preview {\n",
  2446. " grid-column: 4;\n",
  2447. "}\n",
  2448. "\n",
  2449. ".xr-index-preview {\n",
  2450. " grid-column: 2 / 5;\n",
  2451. " color: var(--xr-font-color2);\n",
  2452. "}\n",
  2453. "\n",
  2454. ".xr-var-name,\n",
  2455. ".xr-var-dims,\n",
  2456. ".xr-var-dtype,\n",
  2457. ".xr-preview,\n",
  2458. ".xr-attrs dt {\n",
  2459. " white-space: nowrap;\n",
  2460. " overflow: hidden;\n",
  2461. " text-overflow: ellipsis;\n",
  2462. " padding-right: 10px;\n",
  2463. "}\n",
  2464. "\n",
  2465. ".xr-var-name:hover,\n",
  2466. ".xr-var-dims:hover,\n",
  2467. ".xr-var-dtype:hover,\n",
  2468. ".xr-attrs dt:hover {\n",
  2469. " overflow: visible;\n",
  2470. " width: auto;\n",
  2471. " z-index: 1;\n",
  2472. "}\n",
  2473. "\n",
  2474. ".xr-var-attrs,\n",
  2475. ".xr-var-data,\n",
  2476. ".xr-index-data {\n",
  2477. " display: none;\n",
  2478. " background-color: var(--xr-background-color) !important;\n",
  2479. " padding-bottom: 5px !important;\n",
  2480. "}\n",
  2481. "\n",
  2482. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  2483. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  2484. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  2485. " display: block;\n",
  2486. "}\n",
  2487. "\n",
  2488. ".xr-var-data > table {\n",
  2489. " float: right;\n",
  2490. "}\n",
  2491. "\n",
  2492. ".xr-var-name span,\n",
  2493. ".xr-var-data,\n",
  2494. ".xr-index-name div,\n",
  2495. ".xr-index-data,\n",
  2496. ".xr-attrs {\n",
  2497. " padding-left: 25px !important;\n",
  2498. "}\n",
  2499. "\n",
  2500. ".xr-attrs,\n",
  2501. ".xr-var-attrs,\n",
  2502. ".xr-var-data,\n",
  2503. ".xr-index-data {\n",
  2504. " grid-column: 1 / -1;\n",
  2505. "}\n",
  2506. "\n",
  2507. "dl.xr-attrs {\n",
  2508. " padding: 0;\n",
  2509. " margin: 0;\n",
  2510. " display: grid;\n",
  2511. " grid-template-columns: 125px auto;\n",
  2512. "}\n",
  2513. "\n",
  2514. ".xr-attrs dt,\n",
  2515. ".xr-attrs dd {\n",
  2516. " padding: 0;\n",
  2517. " margin: 0;\n",
  2518. " float: left;\n",
  2519. " padding-right: 10px;\n",
  2520. " width: auto;\n",
  2521. "}\n",
  2522. "\n",
  2523. ".xr-attrs dt {\n",
  2524. " font-weight: normal;\n",
  2525. " grid-column: 1;\n",
  2526. "}\n",
  2527. "\n",
  2528. ".xr-attrs dt:hover span {\n",
  2529. " display: inline-block;\n",
  2530. " background: var(--xr-background-color);\n",
  2531. " padding-right: 10px;\n",
  2532. "}\n",
  2533. "\n",
  2534. ".xr-attrs dd {\n",
  2535. " grid-column: 2;\n",
  2536. " white-space: pre-wrap;\n",
  2537. " word-break: break-all;\n",
  2538. "}\n",
  2539. "\n",
  2540. ".xr-icon-database,\n",
  2541. ".xr-icon-file-text2,\n",
  2542. ".xr-no-icon {\n",
  2543. " display: inline-block;\n",
  2544. " vertical-align: middle;\n",
  2545. " width: 1em;\n",
  2546. " height: 1.5em !important;\n",
  2547. " stroke-width: 0;\n",
  2548. " stroke: currentColor;\n",
  2549. " fill: currentColor;\n",
  2550. "}\n",
  2551. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;OD&#x27; (runs: 5, truncation_value: 11, y: 300, x: 300)&gt;\n",
  2552. "dask.array&lt;xarray-&lt;this-array&gt;, shape=(5, 11, 300, 300), dtype=float64, chunksize=(1, 1, 300, 300), chunktype=numpy.ndarray&gt;\n",
  2553. "Coordinates:\n",
  2554. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  2555. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  2556. "Dimensions without coordinates: y, x\n",
  2557. "Attributes:\n",
  2558. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  2559. " IMAGE_VERSION: 1.2\n",
  2560. " IMAGE_WHITE_IS_ZERO: 0\n",
  2561. " x_start: 810\n",
  2562. " x_end: 1110\n",
  2563. " y_end: 1025\n",
  2564. " y_start: 725\n",
  2565. " x_center: 960\n",
  2566. " y_center: 875\n",
  2567. " x_span: 300\n",
  2568. " y_span: 300</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'OD'</div><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 5</li><li><span class='xr-has-index'>truncation_value</span>: 11</li><li><span>y</span>: 300</li><li><span>x</span>: 300</li></ul></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-291ca7d0-87f5-4dd8-aef5-ecc5a349b4ef' class='xr-array-in' type='checkbox' checked><label for='section-291ca7d0-87f5-4dd8-aef5-ecc5a349b4ef' title='Show/hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-array-preview xr-preview'><span>dask.array&lt;chunksize=(1, 1, 300, 300), meta=np.ndarray&gt;</span></div><div class='xr-array-data'><table>\n",
  2569. " <tr>\n",
  2570. " <td>\n",
  2571. " <table style=\"border-collapse: collapse;\">\n",
  2572. " <thead>\n",
  2573. " <tr>\n",
  2574. " <td> </td>\n",
  2575. " <th> Array </th>\n",
  2576. " <th> Chunk </th>\n",
  2577. " </tr>\n",
  2578. " </thead>\n",
  2579. " <tbody>\n",
  2580. " \n",
  2581. " <tr>\n",
  2582. " <th> Bytes </th>\n",
  2583. " <td> 37.77 MiB </td>\n",
  2584. " <td> 703.12 kiB </td>\n",
  2585. " </tr>\n",
  2586. " \n",
  2587. " <tr>\n",
  2588. " <th> Shape </th>\n",
  2589. " <td> (5, 11, 300, 300) </td>\n",
  2590. " <td> (1, 1, 300, 300) </td>\n",
  2591. " </tr>\n",
  2592. " <tr>\n",
  2593. " <th> Dask graph </th>\n",
  2594. " <td colspan=\"2\"> 55 chunks in 1 graph layer </td>\n",
  2595. " </tr>\n",
  2596. " <tr>\n",
  2597. " <th> Data type </th>\n",
  2598. " <td colspan=\"2\"> float64 numpy.ndarray </td>\n",
  2599. " </tr>\n",
  2600. " </tbody>\n",
  2601. " </table>\n",
  2602. " </td>\n",
  2603. " <td>\n",
  2604. " <svg width=\"385\" height=\"189\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  2605. "\n",
  2606. " <!-- Horizontal lines -->\n",
  2607. " <line x1=\"0\" y1=\"0\" x2=\"28\" y2=\"0\" style=\"stroke-width:2\" />\n",
  2608. " <line x1=\"0\" y1=\"25\" x2=\"28\" y2=\"25\" style=\"stroke-width:2\" />\n",
  2609. "\n",
  2610. " <!-- Vertical lines -->\n",
  2611. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  2612. " <line x1=\"5\" y1=\"0\" x2=\"5\" y2=\"25\" />\n",
  2613. " <line x1=\"11\" y1=\"0\" x2=\"11\" y2=\"25\" />\n",
  2614. " <line x1=\"16\" y1=\"0\" x2=\"16\" y2=\"25\" />\n",
  2615. " <line x1=\"22\" y1=\"0\" x2=\"22\" y2=\"25\" />\n",
  2616. " <line x1=\"28\" y1=\"0\" x2=\"28\" y2=\"25\" style=\"stroke-width:2\" />\n",
  2617. "\n",
  2618. " <!-- Colored Rectangle -->\n",
  2619. " <polygon points=\"0.0,0.0 28.02293761910704,0.0 28.02293761910704,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  2620. "\n",
  2621. " <!-- Text -->\n",
  2622. " <text x=\"14.011469\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >5</text>\n",
  2623. " <text x=\"48.022938\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,48.022938,12.706308)\">1</text>\n",
  2624. "\n",
  2625. "\n",
  2626. " <!-- Horizontal lines -->\n",
  2627. " <line x1=\"98\" y1=\"0\" x2=\"117\" y2=\"19\" style=\"stroke-width:2\" />\n",
  2628. " <line x1=\"98\" y1=\"120\" x2=\"117\" y2=\"139\" style=\"stroke-width:2\" />\n",
  2629. "\n",
  2630. " <!-- Vertical lines -->\n",
  2631. " <line x1=\"98\" y1=\"0\" x2=\"98\" y2=\"120\" style=\"stroke-width:2\" />\n",
  2632. " <line x1=\"99\" y1=\"1\" x2=\"99\" y2=\"121\" />\n",
  2633. " <line x1=\"101\" y1=\"3\" x2=\"101\" y2=\"123\" />\n",
  2634. " <line x1=\"103\" y1=\"5\" x2=\"103\" y2=\"125\" />\n",
  2635. " <line x1=\"104\" y1=\"6\" x2=\"104\" y2=\"126\" />\n",
  2636. " <line x1=\"106\" y1=\"8\" x2=\"106\" y2=\"128\" />\n",
  2637. " <line x1=\"108\" y1=\"10\" x2=\"108\" y2=\"130\" />\n",
  2638. " <line x1=\"110\" y1=\"12\" x2=\"110\" y2=\"132\" />\n",
  2639. " <line x1=\"111\" y1=\"13\" x2=\"111\" y2=\"133\" />\n",
  2640. " <line x1=\"113\" y1=\"15\" x2=\"113\" y2=\"135\" />\n",
  2641. " <line x1=\"115\" y1=\"17\" x2=\"115\" y2=\"137\" />\n",
  2642. " <line x1=\"117\" y1=\"19\" x2=\"117\" y2=\"139\" style=\"stroke-width:2\" />\n",
  2643. "\n",
  2644. " <!-- Colored Rectangle -->\n",
  2645. " <polygon points=\"98.0,0.0 117.1781253750473,19.178125375047294 117.1781253750473,139.1781253750473 98.0,120.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  2646. "\n",
  2647. " <!-- Horizontal lines -->\n",
  2648. " <line x1=\"98\" y1=\"0\" x2=\"218\" y2=\"0\" style=\"stroke-width:2\" />\n",
  2649. " <line x1=\"99\" y1=\"1\" x2=\"219\" y2=\"1\" />\n",
  2650. " <line x1=\"101\" y1=\"3\" x2=\"221\" y2=\"3\" />\n",
  2651. " <line x1=\"103\" y1=\"5\" x2=\"223\" y2=\"5\" />\n",
  2652. " <line x1=\"104\" y1=\"6\" x2=\"224\" y2=\"6\" />\n",
  2653. " <line x1=\"106\" y1=\"8\" x2=\"226\" y2=\"8\" />\n",
  2654. " <line x1=\"108\" y1=\"10\" x2=\"228\" y2=\"10\" />\n",
  2655. " <line x1=\"110\" y1=\"12\" x2=\"230\" y2=\"12\" />\n",
  2656. " <line x1=\"111\" y1=\"13\" x2=\"231\" y2=\"13\" />\n",
  2657. " <line x1=\"113\" y1=\"15\" x2=\"233\" y2=\"15\" />\n",
  2658. " <line x1=\"115\" y1=\"17\" x2=\"235\" y2=\"17\" />\n",
  2659. " <line x1=\"117\" y1=\"19\" x2=\"237\" y2=\"19\" style=\"stroke-width:2\" />\n",
  2660. "\n",
  2661. " <!-- Vertical lines -->\n",
  2662. " <line x1=\"98\" y1=\"0\" x2=\"117\" y2=\"19\" style=\"stroke-width:2\" />\n",
  2663. " <line x1=\"218\" y1=\"0\" x2=\"237\" y2=\"19\" style=\"stroke-width:2\" />\n",
  2664. "\n",
  2665. " <!-- Colored Rectangle -->\n",
  2666. " <polygon points=\"98.0,0.0 218.0,0.0 237.1781253750473,19.178125375047294 117.1781253750473,19.178125375047294\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  2667. "\n",
  2668. " <!-- Horizontal lines -->\n",
  2669. " <line x1=\"117\" y1=\"19\" x2=\"237\" y2=\"19\" style=\"stroke-width:2\" />\n",
  2670. " <line x1=\"117\" y1=\"139\" x2=\"237\" y2=\"139\" style=\"stroke-width:2\" />\n",
  2671. "\n",
  2672. " <!-- Vertical lines -->\n",
  2673. " <line x1=\"117\" y1=\"19\" x2=\"117\" y2=\"139\" style=\"stroke-width:2\" />\n",
  2674. " <line x1=\"237\" y1=\"19\" x2=\"237\" y2=\"139\" style=\"stroke-width:2\" />\n",
  2675. "\n",
  2676. " <!-- Colored Rectangle -->\n",
  2677. " <polygon points=\"117.1781253750473,19.178125375047294 237.1781253750473,19.178125375047294 237.1781253750473,139.1781253750473 117.1781253750473,139.1781253750473\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  2678. "\n",
  2679. " <!-- Text -->\n",
  2680. " <text x=\"177.178125\" y=\"159.178125\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >300</text>\n",
  2681. " <text x=\"257.178125\" y=\"79.178125\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,257.178125,79.178125)\">300</text>\n",
  2682. " <text x=\"97.589063\" y=\"149.589063\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,97.589063,149.589063)\">11</text>\n",
  2683. "</svg>\n",
  2684. " </td>\n",
  2685. " </tr>\n",
  2686. "</table></div></div></li><li class='xr-section-item'><input id='section-f6f3b643-7e78-4803-9f1b-f60ef46d8d10' class='xr-section-summary-in' type='checkbox' checked><label for='section-f6f3b643-7e78-4803-9f1b-f60ef46d8d10' 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'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 4.0</div><input id='attrs-14181931-d3c2-4bc3-8211-984c273cc675' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-14181931-d3c2-4bc3-8211-984c273cc675' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3feeb2e8-328f-46e0-9dd3-650eddfcb27e' class='xr-var-data-in' type='checkbox'><label for='data-3feeb2e8-328f-46e0-9dd3-650eddfcb27e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1., 2., 3., 4.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>truncation_value</span></div><div class='xr-var-dims'>(truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.8 0.83 0.85 ... 0.97 0.99 1.0</div><input id='attrs-fe3babc1-16ca-4c63-b68b-3ff890152e1f' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-fe3babc1-16ca-4c63-b68b-3ff890152e1f' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1869ef41-44a9-4b89-b448-e4f7ee483f84' class='xr-var-data-in' type='checkbox'><label for='data-1869ef41-44a9-4b89-b448-e4f7ee483f84' 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.8 , 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1. ])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-5cf00493-e9d4-4dab-a9d0-53758bcaa296' class='xr-section-summary-in' type='checkbox' ><label for='section-5cf00493-e9d4-4dab-a9d0-53758bcaa296' 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>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-70f3513e-fb5d-4edc-9b09-70db787fb84e' class='xr-index-data-in' type='checkbox'/><label for='index-70f3513e-fb5d-4edc-9b09-70db787fb84e' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0, 2.0, 3.0, 4.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>truncation_value</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-c52a0ed6-bde9-4a48-8921-0397b863e909' class='xr-index-data-in' type='checkbox'/><label for='index-c52a0ed6-bde9-4a48-8921-0397b863e909' 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.8, 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;truncation_value&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-f07bbf6a-132a-473e-bf91-769afd0eb1ae' class='xr-section-summary-in' type='checkbox' ><label for='section-f07bbf6a-132a-473e-bf91-769afd0eb1ae' class='xr-section-summary' >Attributes: <span>(11)</spa
  2687. ],
  2688. "text/plain": [
  2689. "<xarray.DataArray 'OD' (runs: 5, truncation_value: 11, y: 300, x: 300)>\n",
  2690. "dask.array<xarray-<this-array>, shape=(5, 11, 300, 300), dtype=float64, chunksize=(1, 1, 300, 300), chunktype=numpy.ndarray>\n",
  2691. "Coordinates:\n",
  2692. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  2693. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  2694. "Dimensions without coordinates: y, x\n",
  2695. "Attributes:\n",
  2696. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  2697. " IMAGE_VERSION: 1.2\n",
  2698. " IMAGE_WHITE_IS_ZERO: 0\n",
  2699. " x_start: 810\n",
  2700. " x_end: 1110\n",
  2701. " y_end: 1025\n",
  2702. " y_start: 725\n",
  2703. " x_center: 960\n",
  2704. " y_center: 875\n",
  2705. " x_span: 300\n",
  2706. " y_span: 300"
  2707. ]
  2708. },
  2709. "execution_count": 14,
  2710. "metadata": {},
  2711. "output_type": "execute_result"
  2712. }
  2713. ],
  2714. "source": [
  2715. "dataSet_cropOD"
  2716. ]
  2717. },
  2718. {
  2719. "cell_type": "code",
  2720. "execution_count": 15,
  2721. "metadata": {},
  2722. "outputs": [],
  2723. "source": [
  2724. "fitResult = fitAnalyser.fit(dataSet_cropOD, params).load()"
  2725. ]
  2726. },
  2727. {
  2728. "cell_type": "markdown",
  2729. "metadata": {},
  2730. "source": [
  2731. "## Get the number from fit result"
  2732. ]
  2733. },
  2734. {
  2735. "cell_type": "markdown",
  2736. "metadata": {},
  2737. "source": [
  2738. "### Get the values"
  2739. ]
  2740. },
  2741. {
  2742. "cell_type": "code",
  2743. "execution_count": 16,
  2744. "metadata": {},
  2745. "outputs": [
  2746. {
  2747. "data": {
  2748. "text/html": [
  2749. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  2750. "<defs>\n",
  2751. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  2752. "<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",
  2753. "<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",
  2754. "<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",
  2755. "</symbol>\n",
  2756. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  2757. "<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",
  2758. "<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",
  2759. "<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",
  2760. "<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",
  2761. "</symbol>\n",
  2762. "</defs>\n",
  2763. "</svg>\n",
  2764. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  2765. " *\n",
  2766. " */\n",
  2767. "\n",
  2768. ":root {\n",
  2769. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  2770. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  2771. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  2772. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  2773. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  2774. " --xr-background-color: var(--jp-layout-color0, white);\n",
  2775. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  2776. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  2777. "}\n",
  2778. "\n",
  2779. "html[theme=dark],\n",
  2780. "body[data-theme=dark],\n",
  2781. "body.vscode-dark {\n",
  2782. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  2783. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  2784. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  2785. " --xr-border-color: #1F1F1F;\n",
  2786. " --xr-disabled-color: #515151;\n",
  2787. " --xr-background-color: #111111;\n",
  2788. " --xr-background-color-row-even: #111111;\n",
  2789. " --xr-background-color-row-odd: #313131;\n",
  2790. "}\n",
  2791. "\n",
  2792. ".xr-wrap {\n",
  2793. " display: block !important;\n",
  2794. " min-width: 300px;\n",
  2795. " max-width: 700px;\n",
  2796. "}\n",
  2797. "\n",
  2798. ".xr-text-repr-fallback {\n",
  2799. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  2800. " display: none;\n",
  2801. "}\n",
  2802. "\n",
  2803. ".xr-header {\n",
  2804. " padding-top: 6px;\n",
  2805. " padding-bottom: 6px;\n",
  2806. " margin-bottom: 4px;\n",
  2807. " border-bottom: solid 1px var(--xr-border-color);\n",
  2808. "}\n",
  2809. "\n",
  2810. ".xr-header > div,\n",
  2811. ".xr-header > ul {\n",
  2812. " display: inline;\n",
  2813. " margin-top: 0;\n",
  2814. " margin-bottom: 0;\n",
  2815. "}\n",
  2816. "\n",
  2817. ".xr-obj-type,\n",
  2818. ".xr-array-name {\n",
  2819. " margin-left: 2px;\n",
  2820. " margin-right: 10px;\n",
  2821. "}\n",
  2822. "\n",
  2823. ".xr-obj-type {\n",
  2824. " color: var(--xr-font-color2);\n",
  2825. "}\n",
  2826. "\n",
  2827. ".xr-sections {\n",
  2828. " padding-left: 0 !important;\n",
  2829. " display: grid;\n",
  2830. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  2831. "}\n",
  2832. "\n",
  2833. ".xr-section-item {\n",
  2834. " display: contents;\n",
  2835. "}\n",
  2836. "\n",
  2837. ".xr-section-item input {\n",
  2838. " display: none;\n",
  2839. "}\n",
  2840. "\n",
  2841. ".xr-section-item input + label {\n",
  2842. " color: var(--xr-disabled-color);\n",
  2843. "}\n",
  2844. "\n",
  2845. ".xr-section-item input:enabled + label {\n",
  2846. " cursor: pointer;\n",
  2847. " color: var(--xr-font-color2);\n",
  2848. "}\n",
  2849. "\n",
  2850. ".xr-section-item input:enabled + label:hover {\n",
  2851. " color: var(--xr-font-color0);\n",
  2852. "}\n",
  2853. "\n",
  2854. ".xr-section-summary {\n",
  2855. " grid-column: 1;\n",
  2856. " color: var(--xr-font-color2);\n",
  2857. " font-weight: 500;\n",
  2858. "}\n",
  2859. "\n",
  2860. ".xr-section-summary > span {\n",
  2861. " display: inline-block;\n",
  2862. " padding-left: 0.5em;\n",
  2863. "}\n",
  2864. "\n",
  2865. ".xr-section-summary-in:disabled + label {\n",
  2866. " color: var(--xr-font-color2);\n",
  2867. "}\n",
  2868. "\n",
  2869. ".xr-section-summary-in + label:before {\n",
  2870. " display: inline-block;\n",
  2871. " content: 'â–º';\n",
  2872. " font-size: 11px;\n",
  2873. " width: 15px;\n",
  2874. " text-align: center;\n",
  2875. "}\n",
  2876. "\n",
  2877. ".xr-section-summary-in:disabled + label:before {\n",
  2878. " color: var(--xr-disabled-color);\n",
  2879. "}\n",
  2880. "\n",
  2881. ".xr-section-summary-in:checked + label:before {\n",
  2882. " content: 'â–¼';\n",
  2883. "}\n",
  2884. "\n",
  2885. ".xr-section-summary-in:checked + label > span {\n",
  2886. " display: none;\n",
  2887. "}\n",
  2888. "\n",
  2889. ".xr-section-summary,\n",
  2890. ".xr-section-inline-details {\n",
  2891. " padding-top: 4px;\n",
  2892. " padding-bottom: 4px;\n",
  2893. "}\n",
  2894. "\n",
  2895. ".xr-section-inline-details {\n",
  2896. " grid-column: 2 / -1;\n",
  2897. "}\n",
  2898. "\n",
  2899. ".xr-section-details {\n",
  2900. " display: none;\n",
  2901. " grid-column: 1 / -1;\n",
  2902. " margin-bottom: 5px;\n",
  2903. "}\n",
  2904. "\n",
  2905. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  2906. " display: contents;\n",
  2907. "}\n",
  2908. "\n",
  2909. ".xr-array-wrap {\n",
  2910. " grid-column: 1 / -1;\n",
  2911. " display: grid;\n",
  2912. " grid-template-columns: 20px auto;\n",
  2913. "}\n",
  2914. "\n",
  2915. ".xr-array-wrap > label {\n",
  2916. " grid-column: 1;\n",
  2917. " vertical-align: top;\n",
  2918. "}\n",
  2919. "\n",
  2920. ".xr-preview {\n",
  2921. " color: var(--xr-font-color3);\n",
  2922. "}\n",
  2923. "\n",
  2924. ".xr-array-preview,\n",
  2925. ".xr-array-data {\n",
  2926. " padding: 0 5px !important;\n",
  2927. " grid-column: 2;\n",
  2928. "}\n",
  2929. "\n",
  2930. ".xr-array-data,\n",
  2931. ".xr-array-in:checked ~ .xr-array-preview {\n",
  2932. " display: none;\n",
  2933. "}\n",
  2934. "\n",
  2935. ".xr-array-in:checked ~ .xr-array-data,\n",
  2936. ".xr-array-preview {\n",
  2937. " display: inline-block;\n",
  2938. "}\n",
  2939. "\n",
  2940. ".xr-dim-list {\n",
  2941. " display: inline-block !important;\n",
  2942. " list-style: none;\n",
  2943. " padding: 0 !important;\n",
  2944. " margin: 0;\n",
  2945. "}\n",
  2946. "\n",
  2947. ".xr-dim-list li {\n",
  2948. " display: inline-block;\n",
  2949. " padding: 0;\n",
  2950. " margin: 0;\n",
  2951. "}\n",
  2952. "\n",
  2953. ".xr-dim-list:before {\n",
  2954. " content: '(';\n",
  2955. "}\n",
  2956. "\n",
  2957. ".xr-dim-list:after {\n",
  2958. " content: ')';\n",
  2959. "}\n",
  2960. "\n",
  2961. ".xr-dim-list li:not(:last-child):after {\n",
  2962. " content: ',';\n",
  2963. " padding-right: 5px;\n",
  2964. "}\n",
  2965. "\n",
  2966. ".xr-has-index {\n",
  2967. " font-weight: bold;\n",
  2968. "}\n",
  2969. "\n",
  2970. ".xr-var-list,\n",
  2971. ".xr-var-item {\n",
  2972. " display: contents;\n",
  2973. "}\n",
  2974. "\n",
  2975. ".xr-var-item > div,\n",
  2976. ".xr-var-item label,\n",
  2977. ".xr-var-item > .xr-var-name span {\n",
  2978. " background-color: var(--xr-background-color-row-even);\n",
  2979. " margin-bottom: 0;\n",
  2980. "}\n",
  2981. "\n",
  2982. ".xr-var-item > .xr-var-name:hover span {\n",
  2983. " padding-right: 5px;\n",
  2984. "}\n",
  2985. "\n",
  2986. ".xr-var-list > li:nth-child(odd) > div,\n",
  2987. ".xr-var-list > li:nth-child(odd) > label,\n",
  2988. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  2989. " background-color: var(--xr-background-color-row-odd);\n",
  2990. "}\n",
  2991. "\n",
  2992. ".xr-var-name {\n",
  2993. " grid-column: 1;\n",
  2994. "}\n",
  2995. "\n",
  2996. ".xr-var-dims {\n",
  2997. " grid-column: 2;\n",
  2998. "}\n",
  2999. "\n",
  3000. ".xr-var-dtype {\n",
  3001. " grid-column: 3;\n",
  3002. " text-align: right;\n",
  3003. " color: var(--xr-font-color2);\n",
  3004. "}\n",
  3005. "\n",
  3006. ".xr-var-preview {\n",
  3007. " grid-column: 4;\n",
  3008. "}\n",
  3009. "\n",
  3010. ".xr-index-preview {\n",
  3011. " grid-column: 2 / 5;\n",
  3012. " color: var(--xr-font-color2);\n",
  3013. "}\n",
  3014. "\n",
  3015. ".xr-var-name,\n",
  3016. ".xr-var-dims,\n",
  3017. ".xr-var-dtype,\n",
  3018. ".xr-preview,\n",
  3019. ".xr-attrs dt {\n",
  3020. " white-space: nowrap;\n",
  3021. " overflow: hidden;\n",
  3022. " text-overflow: ellipsis;\n",
  3023. " padding-right: 10px;\n",
  3024. "}\n",
  3025. "\n",
  3026. ".xr-var-name:hover,\n",
  3027. ".xr-var-dims:hover,\n",
  3028. ".xr-var-dtype:hover,\n",
  3029. ".xr-attrs dt:hover {\n",
  3030. " overflow: visible;\n",
  3031. " width: auto;\n",
  3032. " z-index: 1;\n",
  3033. "}\n",
  3034. "\n",
  3035. ".xr-var-attrs,\n",
  3036. ".xr-var-data,\n",
  3037. ".xr-index-data {\n",
  3038. " display: none;\n",
  3039. " background-color: var(--xr-background-color) !important;\n",
  3040. " padding-bottom: 5px !important;\n",
  3041. "}\n",
  3042. "\n",
  3043. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  3044. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  3045. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  3046. " display: block;\n",
  3047. "}\n",
  3048. "\n",
  3049. ".xr-var-data > table {\n",
  3050. " float: right;\n",
  3051. "}\n",
  3052. "\n",
  3053. ".xr-var-name span,\n",
  3054. ".xr-var-data,\n",
  3055. ".xr-index-name div,\n",
  3056. ".xr-index-data,\n",
  3057. ".xr-attrs {\n",
  3058. " padding-left: 25px !important;\n",
  3059. "}\n",
  3060. "\n",
  3061. ".xr-attrs,\n",
  3062. ".xr-var-attrs,\n",
  3063. ".xr-var-data,\n",
  3064. ".xr-index-data {\n",
  3065. " grid-column: 1 / -1;\n",
  3066. "}\n",
  3067. "\n",
  3068. "dl.xr-attrs {\n",
  3069. " padding: 0;\n",
  3070. " margin: 0;\n",
  3071. " display: grid;\n",
  3072. " grid-template-columns: 125px auto;\n",
  3073. "}\n",
  3074. "\n",
  3075. ".xr-attrs dt,\n",
  3076. ".xr-attrs dd {\n",
  3077. " padding: 0;\n",
  3078. " margin: 0;\n",
  3079. " float: left;\n",
  3080. " padding-right: 10px;\n",
  3081. " width: auto;\n",
  3082. "}\n",
  3083. "\n",
  3084. ".xr-attrs dt {\n",
  3085. " font-weight: normal;\n",
  3086. " grid-column: 1;\n",
  3087. "}\n",
  3088. "\n",
  3089. ".xr-attrs dt:hover span {\n",
  3090. " display: inline-block;\n",
  3091. " background: var(--xr-background-color);\n",
  3092. " padding-right: 10px;\n",
  3093. "}\n",
  3094. "\n",
  3095. ".xr-attrs dd {\n",
  3096. " grid-column: 2;\n",
  3097. " white-space: pre-wrap;\n",
  3098. " word-break: break-all;\n",
  3099. "}\n",
  3100. "\n",
  3101. ".xr-icon-database,\n",
  3102. ".xr-icon-file-text2,\n",
  3103. ".xr-no-icon {\n",
  3104. " display: inline-block;\n",
  3105. " vertical-align: middle;\n",
  3106. " width: 1em;\n",
  3107. " height: 1.5em !important;\n",
  3108. " stroke-width: 0;\n",
  3109. " stroke: currentColor;\n",
  3110. " fill: currentColor;\n",
  3111. "}\n",
  3112. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  3113. "Dimensions: (runs: 5, truncation_value: 11)\n",
  3114. "Coordinates:\n",
  3115. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  3116. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  3117. "Data variables:\n",
  3118. " A_amplitude (runs, truncation_value) float64 87.87 73.76 ... 206.3\n",
  3119. " A_centerx (runs, truncation_value) float64 147.4 151.4 ... 152.8\n",
  3120. " A_centery (runs, truncation_value) float64 151.3 147.2 ... 150.4\n",
  3121. " A_sigmax (runs, truncation_value) float64 15.86 9.018 ... 3.964\n",
  3122. " A_sigmay (runs, truncation_value) float64 19.13 13.12 ... 10.61\n",
  3123. " B_amplitude (runs, truncation_value) float64 1.783e+03 ... 159.9\n",
  3124. " B_centerx (runs, truncation_value) float64 149.8 152.0 ... 154.1\n",
  3125. " B_centery (runs, truncation_value) float64 147.5 148.1 ... 150.4\n",
  3126. " B_sigmax (runs, truncation_value) float64 32.53 31.39 ... 15.85\n",
  3127. " B_sigmay (runs, truncation_value) float64 33.29 32.43 ... 13.79\n",
  3128. " delta (runs, truncation_value) float64 -16.67 -22.38 ... -11.89\n",
  3129. "Attributes:\n",
  3130. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  3131. " IMAGE_VERSION: 1.2\n",
  3132. " IMAGE_WHITE_IS_ZERO: 0\n",
  3133. " x_start: 810\n",
  3134. " x_end: 1110\n",
  3135. " y_end: 1025\n",
  3136. " y_start: 725\n",
  3137. " x_center: 960\n",
  3138. " y_center: 875\n",
  3139. " x_span: 300\n",
  3140. " y_span: 300</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-326d57d6-4fd4-4088-84e6-cb6d0862cebe' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-326d57d6-4fd4-4088-84e6-cb6d0862cebe' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 5</li><li><span class='xr-has-index'>truncation_value</span>: 11</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-18ad44f8-b528-44ed-8683-e14b00e3708a' class='xr-section-summary-in' type='checkbox' checked><label for='section-18ad44f8-b528-44ed-8683-e14b00e3708a' 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'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 4.0</div><input id='attrs-3b1668f5-dc1c-4a2a-b9fe-1e0b75fd8c38' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3b1668f5-dc1c-4a2a-b9fe-1e0b75fd8c38' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7db15bc1-a649-4ab9-bfdf-5eccede7a488' class='xr-var-data-in' type='checkbox'><label for='data-7db15bc1-a649-4ab9-bfdf-5eccede7a488' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1., 2., 3., 4.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>truncation_value</span></div><div class='xr-var-dims'>(truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.8 0.83 0.85 ... 0.97 0.99 1.0</div><input id='attrs-73c076a8-56ba-40af-96c1-dc4d9a4bac50' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-73c076a8-56ba-40af-96c1-dc4d9a4bac50' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3465e57a-93c4-4c81-8471-9c1223d82e0e' class='xr-var-data-in' type='checkbox'><label for='data-3465e57a-93c4-4c81-8471-9c1223d82e0e' 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.8 , 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1. ])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-6b41aa50-328b-44e4-b6be-086c3df4bcc7' class='xr-section-summary-in' type='checkbox' checked><label for='section-6b41aa50-328b-44e4-b6be-086c3df4bcc7' class='xr-section-summary' >Data variables: <span>(11)</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>A_amplitude</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>87.87 73.76 61.26 ... 191.0 206.3</div><input id='attrs-990f193d-c826-47aa-aa82-337e72e4a0cd' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-990f193d-c826-47aa-aa82-337e72e4a0cd' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f152a38b-ee3a-4944-9302-e2574ca401f9' class='xr-var-data-in' type='checkbox'><label for='data-f152a38b-ee3a-4944-9302-e2574ca401f9' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:
  3141. " 89.85174968, 89.98098097, 109.52351131, 97.58957785,\n",
  3142. " 532.18950818, 171.64670067, 214.73142279],\n",
  3143. " [148.41500588, 145.61502822, 94.92340958, 72.21905613,\n",
  3144. " 84.25138954, 100.46822242, 110.93503999, 78.36838557,\n",
  3145. " 94.33703708, 119.67472955, 228.32795235],\n",
  3146. " [115.21345578, 84.28198786, 55.72623183, 70.13868353,\n",
  3147. " 82.6401066 , 98.79937296, 102.53213546, 69.81928149,\n",
  3148. " 72.26478134, 158.97720012, 215.26178293],\n",
  3149. " [109.83077758, 46.15486001, 96.68708012, 70.7767806 ,\n",
  3150. " 87.10001164, 103.46997629, 95.1466356 , 94.06124781,\n",
  3151. " 485.13172534, 152.33301794, 288.72901879],\n",
  3152. " [104.31036272, 68.66710998, 61.12873582, 85.32616375,\n",
  3153. " 74.21429557, 87.74512331, 102.5255358 , 85.7467111 ,\n",
  3154. " 274.83792979, 190.99452403, 206.32857438]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_centerx</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>147.4 151.4 151.0 ... 151.7 152.8</div><input id='attrs-23a6d70e-0d88-407f-b747-0f0104276510' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-23a6d70e-0d88-407f-b747-0f0104276510' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d95f66c7-0f1f-41f5-989e-3ff7435f9843' class='xr-var-data-in' type='checkbox'><label for='data-d95f66c7-0f1f-41f5-989e-3ff7435f9843' 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([[147.35658257, 151.44869095, 151.03280367, 149.72531953,\n",
  3155. " 151.21663764, 150.79959828, 149.22566816, 149.73136708,\n",
  3156. " 152.01462232, 152.02274818, 152.97453588],\n",
  3157. " [151.75284936, 154.79722431, 151.44589412, 150.38113633,\n",
  3158. " 150.20223384, 151.1905475 , 152.34142813, 150.9735046 ,\n",
  3159. " 152.99632453, 152.23926255, 150.49176424],\n",
  3160. " [148.08751505, 151.51478581, 151.9317039 , 151.3149808 ,\n",
  3161. " 149.70399115, 149.89951133, 152.13218017, 151.93027834,\n",
  3162. " 150.00888743, 149.64321357, 149.95105012],\n",
  3163. " [152.09296219, 150.13056962, 151.87197238, 150.03042241,\n",
  3164. " 151.42003475, 151.07674413, 150.53424524, 151.3627544 ,\n",
  3165. " 151.27411477, 151.4765571 , 151.82911296],\n",
  3166. " [154.27478854, 151.63087441, 151.20635115, 150.81624618,\n",
  3167. " 150.73325793, 148.60106674, 150.35065807, 150.98962516,\n",
  3168. " 152.79891129, 151.74830745, 152.81634249]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_centery</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>151.3 147.2 148.7 ... 151.3 150.4</div><input id='attrs-53db6cdd-c0cb-4cf0-bd23-dad9c7c02f87' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-53db6cdd-c0cb-4cf0-bd23-dad9c7c02f87' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-61ee8a00-be5d-4d64-a269-7105e7d041da' class='xr-var-data-in' type='checkbox'><label for='data-61ee8a00-be5d-4d64-a269-7105e7d041da' 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([[151.28394589, 147.24150186, 148.72611409, 148.71669935,\n",
  3169. " 148.86331633, 150.16395069, 152.87180325, 143.01228827,\n",
  3170. " 157.30707731, 156.69107701, 149.8008272 ],\n",
  3171. " [150.23531282, 148.20649663, 149.39950182, 151.05181871,\n",
  3172. " 150.68922629, 150.92349357, 148.74791296, 155.70451963,\n",
  3173. " 169.96642044, 144.61915795, 152.33532947],\n",
  3174. " [153.67521382, 149.06280853, 150.10019083, 150.01999179,\n",
  3175. " 149.73239595, 149.35429893, 149.11430827, 154.15372705,\n",
  3176. " 163.35622755, 144.74355021, 145.41704076],\n",
  3177. " [148.77391618, 148.84134191, 149.30281946, 148.17720047,\n",
  3178. " 150.10029747, 151.30430775, 149.08990239, 150.85013866,\n",
  3179. " 151.38360691, 148.76234516, 151.38588399],\n",
  3180. " [148.80726575, 148.31953846, 148.60253328, 147.8027244 ,\n",
  3181. " 147.1907308 , 149.18648509, 150.49834047, 151.80537805,\n",
  3182. " 140.14296659, 151.29080636, 150.43594967]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_sigmax</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>15.86 9.018 4.671 ... 3.781 3.964</div><input id='attrs-58bf5689-d4da-40fc-b4eb-d01bf6bb7d3d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-58bf5689-d4da-40fc-b4eb-d01bf6bb7d3d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-42ed4679-bba6-4dcd-967b-57e0e19a318a' class='xr-var-data-in' type='checkbox'><label for='data-42ed4679-bba6-4dcd-967b-57e0e19a318a' 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([[15.86033684, 9.0184675 , 4.67142174, 4.44462332, 4.14528732,\n",
  3183. " 3.82312735, 4.32416442, 4.50668022, 22.21245866, 4.02875393,\n",
  3184. " 3.90390035],\n",
  3185. " [16.65366702, 15.08437968, 7.79824126, 4.31443398, 4.02082315,\n",
  3186. " 3.92133528, 4.01732547, 3.77607115, 11.70680121, 4.02025535,\n",
  3187. " 3.77276103],\n",
  3188. " [14.05379459, 9.51781911, 5.25329603, 4.22650208, 4.39356879,\n",
  3189. " 4.3519179 , 4.31736887, 3.89746383, 10.84196056, 4.05900851,\n",
  3190. " 4.25002353],\n",
  3191. " [15.45723413, 6.69385599, 7.61202754, 4.50399055, 4.20628858,\n",
  3192. " 3.93307359, 3.94888466, 4.25195559, 22.37312866, 3.72031909,\n",
  3193. " 4.69954113],\n",
  3194. " [13.6617594 , 7.78926053, 4.48376347, 5.16074758, 3.99757519,\n",
  3195. " 3.78708533, 4.04323162, 4.1008123 , 19.82471029, 3.78116519,\n",
  3196. " 3.96389527]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_sigmay</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>19.13 13.12 10.79 ... 10.36 10.61</div><input id='attrs-010f1f10-2e72-4748-b086-e14abddc8f5d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-010f1f10-2e72-4748-b086-e14abddc8f5d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-69e5ed23-9038-4e92-a0a9-4c7e8871e97d' class='xr-var-data-in' type='checkbox'><label for='data-69e5ed23-9038-4e92-a0a9-4c7e8871e97d' 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([[19.12600649, 13.11979427, 10.79097925, 10.35446929, 11.4544053 ,\n",
  3197. " 10.75293975, 10.39075295, 9.29855065, 22.61916547, 9.46062774,\n",
  3198. " 9.61893074],\n",
  3199. " [18.37413835, 14.93642054, 12.9723271 , 11.47917761, 10.43588992,\n",
  3200. " 10.79180886, 10.863663 , 9.27068049, 10.97909164, 8.41824973,\n",
  3201. " 10.37416908],\n",
  3202. " [19.22624209, 13.21012726, 11.54148464, 11.28129907, 10.53017304,\n",
  3203. " 10.63218736, 9.91655465, 9.38706098, 10.34983933, 9.7173262 ,\n",
  3204. " 10.23441355],\n",
  3205. " [18.91397396, 12.38230482, 12.60057 , 10.42910762, 10.89766943,\n",
  3206. " 10.98100296, 9.54922648, 9.96676745, 21.96858327, 10.68052954,\n",
  3207. " 10.76544928],\n",
  3208. " [17.44929619, 10.16640595, 10.99961809, 11.14857526, 9.9112425 ,\n",
  3209. " 10.54292534, 10.61162461, 9.71627544, 14.77240984, 10.35969562,\n",
  3210. " 10.60766696]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_amplitude</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.783e+03 1.583e+03 ... 171.9 159.9</div><input id='attrs-6c8ec77f-ff0d-4efd-83a2-44fa98e25840' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-6c8ec77f-ff0d-4efd-83a2-44fa98e25840' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-11d92c8e-8fd1-42c6-87e5-d30ebf822cae' class='xr-var-data-in' type='checkbox'><label for='data-11d92c8e-8fd1-42c6-87e5-d30ebf822cae' 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([[ 1783.45054701, 1583.36795539, 1294.14272468,\n",
  3211. " 1085.9674567 , 980.30332582, 710.70254556,\n",
  3212. " 589.94319664, 473.6037191 , -1554.95748481,\n",
  3213. " 223.91672763, 153.3267524 ],\n",
  3214. " [ 1755.57473769, 1618.71259176, 1455.21148963,\n",
  3215. " 1097.03528314, 917.68371146, 730.49784306,\n",
  3216. " 583.15954472, 495.27277533, 369.51462502,\n",
  3217. " 307.67637387, 132.00866082],\n",
  3218. " [ 1824.94480896, 1560.58162411, 1354.93718336,\n",
  3219. " 1097.36556181, 933.96058739, 730.30586937,\n",
  3220. " 585.52364835, 461.52620908, 387.56015693,\n",
  3221. " 246.47749078, 130.88129224],\n",
  3222. " [ 1884.05160993, 1587.47647175, 1353.99558341,\n",
  3223. " 1030.3350402 , 892.00561639, 615.6802281 ,\n",
  3224. " 575.53953248, 520.77898298, -12794.63770211,\n",
  3225. " 247.63518228, -512.41114085],\n",
  3226. " [ 1787.52744747, 1413.59773834, 1283.83218285,\n",
  3227. " 1131.89914361, 932.44739769, 739.28845463,\n",
  3228. " 576.17585769, 518.67050619, 187.26884654,\n",
  3229. " 171.93192999, 159.92341651]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_centerx</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>149.8 152.0 150.8 ... 154.2 154.1</div><input id='attrs-d856f3c4-4cce-4b5c-88ef-62a29fc8f70c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-d856f3c4-4cce-4b5c-88ef-62a29fc8f70c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b0dcc064-977c-4b15-b012-f909fa4485e9' class='xr-var-data-in' type='checkbox'><label for='data-b0dcc064-977c-4b15-b012-f909fa4485e9' 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([[ 149.77259545, 152.02155216, 150.82226953, 150.17856412,\n",
  3230. " 151.49869445, 151.00882072, 150.00017539, 151.2056335 ,\n",
  3231. " 425.4471671 , 155.07081348, 155.37875268],\n",
  3232. " [ 152.18376687, 151.4144676 , 151.87836658, 150.54995899,\n",
  3233. " 150.23221437, 152.14621363, 152.72951398, 151.07172615,\n",
  3234. " 150.89663936, 153.94104155, 152.35166839],\n",
  3235. " [ 150.22539645, 151.82546419, 151.8155642 , 150.92405452,\n",
  3236. " 149.98395125, 150.44869725, 152.2557924 , 150.71412855,\n",
  3237. " 153.24001471, 150.92939804, 152.08822726],\n",
  3238. " [ 151.88129055, 149.75770493, 151.57847363, 150.21954836,\n",
  3239. " 151.41093996, 150.73394379, 151.18173904, 151.31132354,\n",
  3240. " 1794.40094581, 152.91301882, -123.18365955],\n",
  3241. " [ 152.47370924, 151.44312867, 151.13645269, 151.59289508,\n",
  3242. " 151.67957652, 149.82793657, 149.77567429, 151.21747559,\n",
  3243. " 151.16624065, 154.17608173, 154.05517934]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_centery</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>147.5 148.1 150.0 ... 149.7 150.4</div><input id='attrs-3b74dbfd-9f7f-4b4f-93c0-3f5168047ecb' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3b74dbfd-9f7f-4b4f-93c0-3f5168047ecb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-887378aa-357a-4f5c-9d46-a851d1c9cdfd' class='xr-var-data-in' type='checkbox'><label for='data-887378aa-357a-4f5c-9d46-a851d1c9cdfd' 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([[147.45295195, 148.09746651, 150.0255 , 149.14691129,\n",
  3244. " 148.98258537, 150.22718776, 153.16129424, 152.81932317,\n",
  3245. " 72.24418704, 154.52991041, 149.17022831],\n",
  3246. " [149.47572526, 149.34656247, 149.83533472, 150.93254944,\n",
  3247. " 151.01030524, 151.51733988, 147.4931119 , 151.6147346 ,\n",
  3248. " 153.7661836 , 146.32505819, 150.50395509],\n",
  3249. " [150.41254937, 150.71499149, 151.63638785, 151.25714745,\n",
  3250. " 150.4626488 , 151.46493096, 151.75523375, 149.02192961,\n",
  3251. " 154.16333799, 145.82390071, 146.81309327],\n",
  3252. " [148.08358746, 148.574133 , 150.01635145, 149.58154983,\n",
  3253. " 151.26380613, 148.55592561, 152.23705055, 144.97313415,\n",
  3254. " 299.42496082, 151.15903259, 200.07482412],\n",
  3255. " [149.28876671, 148.64087187, 148.86311139, 148.44094162,\n",
  3256. " 147.56308142, 151.31740191, 147.95630349, 155.4460084 ,\n",
  3257. " 166.00908446, 149.67457383, 150.43124107]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_sigmax</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>32.53 31.39 27.64 ... 16.65 15.85</div><input id='attrs-39e03964-5cdd-49c7-a591-c74278b9ec52' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-39e03964-5cdd-49c7-a591-c74278b9ec52' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d912a8f0-a9b3-47a1-80b0-3949b8a6b2cb' class='xr-var-data-in' type='checkbox'><label for='data-d912a8f0-a9b3-47a1-80b0-3949b8a6b2cb' 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([[ 32.5349708 , 31.39433096, 27.64328817, 26.22763531,\n",
  3258. " 25.30006205, 22.90070236, 23.22010131, 21.56317923,\n",
  3259. " 51.04673134, 17.58633398, 17.49492739],\n",
  3260. " [ 33.27712833, 31.13507291, 29.13042227, 25.96001938,\n",
  3261. " 24.96531387, 23.51968294, 22.63545942, 20.88798559,\n",
  3262. " 23.14105763, 18.77307842, 15.69149838],\n",
  3263. " [ 32.41647008, 30.06301091, 27.95029662, 25.78889949,\n",
  3264. " 25.32669046, 23.73947481, 22.21131961, 19.08019799,\n",
  3265. " 20.76525779, 17.90936397, 17.59006204],\n",
  3266. " [ 33.65336072, 29.67929946, 29.7644638 , 25.82239234,\n",
  3267. " 24.71819699, 23.03948697, 22.25809162, 22.09705834,\n",
  3268. " 1103.61563922, 17.76208096, 69.21926428],\n",
  3269. " [ 33.29573618, 29.07307007, 27.83726355, 26.94999028,\n",
  3270. " 25.42299204, 24.04340187, 23.02812015, 21.43220187,\n",
  3271. " 22.93573535, 16.64979817, 15.85282615]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_sigmay</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>33.29 32.43 28.47 ... 16.34 13.79</div><input id='attrs-270f3dde-5cf3-44c6-a696-f22eade70b6d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-270f3dde-5cf3-44c6-a696-f22eade70b6d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-eaba2a47-35ef-4d66-96fa-cd7ab987f518' class='xr-var-data-in' type='checkbox'><label for='data-eaba2a47-35ef-4d66-96fa-cd7ab987f518' 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([[ 33.29334334, 32.43099741, 28.47278332, 27.18103378,\n",
  3272. " 25.71431976, 24.27199694, 22.77078579, 20.37040614,\n",
  3273. " 25.22140544, 15.74705493, 14.21177517],\n",
  3274. " [ 34.99745369, 33.20946815, 30.58125742, 26.52760872,\n",
  3275. " 25.11661825, 23.70894422, 22.08155913, 21.77847574,\n",
  3276. " 21.59150892, 17.9765663 , 12.89178954],\n",
  3277. " [ 33.77124313, 31.3243406 , 29.13665369, 26.74559133,\n",
  3278. " 25.652014 , 23.57574991, 22.42657894, 20.55697484,\n",
  3279. " 19.96887556, 16.99616651, 13.87336776],\n",
  3280. " [ 34.67043472, 31.21760361, 30.83496859, 26.86661064,\n",
  3281. " 25.70634067, 23.05941925, 22.88232236, 21.20419837,\n",
  3282. " 309.01438251, 16.70070999, 51.108073 ],\n",
  3283. " [ 34.22146326, 30.3244038 , 28.76138498, 28.27677548,\n",
  3284. " 26.24162491, 24.57777006, 22.9522538 , 22.40814737,\n",
  3285. " 16.89351118, 16.34461527, 13.78927636]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>delta</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-16.67 -22.38 ... -12.87 -11.89</div><input id='attrs-d79a72ed-c4c4-4763-953f-c907adad5ffa' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-d79a72ed-c4c4-4763-953f-c907adad5ffa' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3ef98c7b-3a35-4e7f-b916-6c5cf55b497a' class='xr-var-data-in' type='checkbox'><label for='data-3ef98c7b-3a35-4e7f-b916-6c5cf55b497a' 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([[ -16.67463396, -22.37586347, -22.97186643, -21.78301199,\n",
  3286. " -21.15477472, -19.07757501, -18.89593689, -17.05649901,\n",
  3287. " -28.83427268, -13.55758005, -13.59102704],\n",
  3288. " [ -16.62346131, -16.05069323, -21.33218101, -21.6455854 ,\n",
  3289. " -20.94449072, -19.59834765, -18.61813395, -17.11191444,\n",
  3290. " -11.43425642, -14.75282307, -11.91873735],\n",
  3291. " [ -18.36267549, -20.5451918 , -22.69700059, -21.5623974 ,\n",
  3292. " -20.93312167, -19.38755691, -17.89395074, -15.18273416,\n",
  3293. " -9.92329723, -13.85035547, -13.34003851],\n",
  3294. " [ -18.19612659, -22.98544347, -22.15243626, -21.31840179,\n",
  3295. " -20.51190841, -19.10641338, -18.30920696, -17.84510275,\n",
  3296. " -1081.24251056, -14.04176187, -64.51972315],\n",
  3297. " [ -19.63397678, -21.28380955, -23.35350008, -21.7892427 ,\n",
  3298. " -21.42541685, -20.25631654, -18.98488854, -17.33138957,\n",
  3299. " -3.11102506, -12.86863298, -11.88893088]])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-7fc03b3c-8287-44ea-96b1-d992a59022b0' class='xr-section-summary-in' type='checkbox' ><label for='section-7fc03b3c-8287-44ea-96b1-d992a59022b0' 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>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-4fafec04-6a2a-4095-8a5d-49abd894c9fa' class='xr-index-data-in' type='checkbox'/><label for='index-4fafec04-6a2a-4095-8a5d-49abd894c9fa' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0, 2.0, 3.0, 4.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>truncation_value</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-bcaf87d0-4d94-4a14-8092-4fceadd4a21c' class='xr-index-data-in' type='checkbox'/><label for='index-bcaf87d0-4d94-4a14-8092-4fceadd4a21c' 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.8, 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;truncation_value&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-604afbdd-f2bf-4cab-9f07-94ba43d9e904' class='xr-section-summary-in' type='checkbox' ><label for='section-604afbdd-f2bf-4cab-9f07-94ba43d9e904' class='xr-section-summary' >Attributes: <span>(11)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><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><dt><span>x_start :</span></dt><dd>810</dd><dt><span>x_end :</span></dt><dd>1110</dd><dt><span>y_end :</span></dt><dd>1025</dd><dt><span>y_start :</span></dt><dd>725</dd><dt><span>x_center :</span></dt><dd>960</dd><dt><span>y_center :</span></dt><dd>875</dd><dt><span>x_span :</span></dt><dd>300</dd><dt><span>y_span :</span></dt><dd>300</dd></dl></div></li></ul></div></div>"
  3300. ],
  3301. "text/plain": [
  3302. "<xarray.Dataset>\n",
  3303. "Dimensions: (runs: 5, truncation_value: 11)\n",
  3304. "Coordinates:\n",
  3305. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  3306. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  3307. "Data variables:\n",
  3308. " A_amplitude (runs, truncation_value) float64 87.87 73.76 ... 206.3\n",
  3309. " A_centerx (runs, truncation_value) float64 147.4 151.4 ... 152.8\n",
  3310. " A_centery (runs, truncation_value) float64 151.3 147.2 ... 150.4\n",
  3311. " A_sigmax (runs, truncation_value) float64 15.86 9.018 ... 3.964\n",
  3312. " A_sigmay (runs, truncation_value) float64 19.13 13.12 ... 10.61\n",
  3313. " B_amplitude (runs, truncation_value) float64 1.783e+03 ... 159.9\n",
  3314. " B_centerx (runs, truncation_value) float64 149.8 152.0 ... 154.1\n",
  3315. " B_centery (runs, truncation_value) float64 147.5 148.1 ... 150.4\n",
  3316. " B_sigmax (runs, truncation_value) float64 32.53 31.39 ... 15.85\n",
  3317. " B_sigmay (runs, truncation_value) float64 33.29 32.43 ... 13.79\n",
  3318. " delta (runs, truncation_value) float64 -16.67 -22.38 ... -11.89\n",
  3319. "Attributes:\n",
  3320. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  3321. " IMAGE_VERSION: 1.2\n",
  3322. " IMAGE_WHITE_IS_ZERO: 0\n",
  3323. " x_start: 810\n",
  3324. " x_end: 1110\n",
  3325. " y_end: 1025\n",
  3326. " y_start: 725\n",
  3327. " x_center: 960\n",
  3328. " y_center: 875\n",
  3329. " x_span: 300\n",
  3330. " y_span: 300"
  3331. ]
  3332. },
  3333. "execution_count": 16,
  3334. "metadata": {},
  3335. "output_type": "execute_result"
  3336. }
  3337. ],
  3338. "source": [
  3339. "val = fitAnalyser.get_fit_value(fitResult)\n",
  3340. "val"
  3341. ]
  3342. },
  3343. {
  3344. "cell_type": "markdown",
  3345. "metadata": {},
  3346. "source": [
  3347. "### Get the standard deviation"
  3348. ]
  3349. },
  3350. {
  3351. "cell_type": "code",
  3352. "execution_count": 17,
  3353. "metadata": {},
  3354. "outputs": [
  3355. {
  3356. "data": {
  3357. "text/html": [
  3358. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  3359. "<defs>\n",
  3360. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  3361. "<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",
  3362. "<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",
  3363. "<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",
  3364. "</symbol>\n",
  3365. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  3366. "<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",
  3367. "<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",
  3368. "<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",
  3369. "<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",
  3370. "</symbol>\n",
  3371. "</defs>\n",
  3372. "</svg>\n",
  3373. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  3374. " *\n",
  3375. " */\n",
  3376. "\n",
  3377. ":root {\n",
  3378. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  3379. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  3380. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  3381. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  3382. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  3383. " --xr-background-color: var(--jp-layout-color0, white);\n",
  3384. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  3385. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  3386. "}\n",
  3387. "\n",
  3388. "html[theme=dark],\n",
  3389. "body[data-theme=dark],\n",
  3390. "body.vscode-dark {\n",
  3391. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  3392. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  3393. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  3394. " --xr-border-color: #1F1F1F;\n",
  3395. " --xr-disabled-color: #515151;\n",
  3396. " --xr-background-color: #111111;\n",
  3397. " --xr-background-color-row-even: #111111;\n",
  3398. " --xr-background-color-row-odd: #313131;\n",
  3399. "}\n",
  3400. "\n",
  3401. ".xr-wrap {\n",
  3402. " display: block !important;\n",
  3403. " min-width: 300px;\n",
  3404. " max-width: 700px;\n",
  3405. "}\n",
  3406. "\n",
  3407. ".xr-text-repr-fallback {\n",
  3408. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  3409. " display: none;\n",
  3410. "}\n",
  3411. "\n",
  3412. ".xr-header {\n",
  3413. " padding-top: 6px;\n",
  3414. " padding-bottom: 6px;\n",
  3415. " margin-bottom: 4px;\n",
  3416. " border-bottom: solid 1px var(--xr-border-color);\n",
  3417. "}\n",
  3418. "\n",
  3419. ".xr-header > div,\n",
  3420. ".xr-header > ul {\n",
  3421. " display: inline;\n",
  3422. " margin-top: 0;\n",
  3423. " margin-bottom: 0;\n",
  3424. "}\n",
  3425. "\n",
  3426. ".xr-obj-type,\n",
  3427. ".xr-array-name {\n",
  3428. " margin-left: 2px;\n",
  3429. " margin-right: 10px;\n",
  3430. "}\n",
  3431. "\n",
  3432. ".xr-obj-type {\n",
  3433. " color: var(--xr-font-color2);\n",
  3434. "}\n",
  3435. "\n",
  3436. ".xr-sections {\n",
  3437. " padding-left: 0 !important;\n",
  3438. " display: grid;\n",
  3439. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  3440. "}\n",
  3441. "\n",
  3442. ".xr-section-item {\n",
  3443. " display: contents;\n",
  3444. "}\n",
  3445. "\n",
  3446. ".xr-section-item input {\n",
  3447. " display: none;\n",
  3448. "}\n",
  3449. "\n",
  3450. ".xr-section-item input + label {\n",
  3451. " color: var(--xr-disabled-color);\n",
  3452. "}\n",
  3453. "\n",
  3454. ".xr-section-item input:enabled + label {\n",
  3455. " cursor: pointer;\n",
  3456. " color: var(--xr-font-color2);\n",
  3457. "}\n",
  3458. "\n",
  3459. ".xr-section-item input:enabled + label:hover {\n",
  3460. " color: var(--xr-font-color0);\n",
  3461. "}\n",
  3462. "\n",
  3463. ".xr-section-summary {\n",
  3464. " grid-column: 1;\n",
  3465. " color: var(--xr-font-color2);\n",
  3466. " font-weight: 500;\n",
  3467. "}\n",
  3468. "\n",
  3469. ".xr-section-summary > span {\n",
  3470. " display: inline-block;\n",
  3471. " padding-left: 0.5em;\n",
  3472. "}\n",
  3473. "\n",
  3474. ".xr-section-summary-in:disabled + label {\n",
  3475. " color: var(--xr-font-color2);\n",
  3476. "}\n",
  3477. "\n",
  3478. ".xr-section-summary-in + label:before {\n",
  3479. " display: inline-block;\n",
  3480. " content: 'â–º';\n",
  3481. " font-size: 11px;\n",
  3482. " width: 15px;\n",
  3483. " text-align: center;\n",
  3484. "}\n",
  3485. "\n",
  3486. ".xr-section-summary-in:disabled + label:before {\n",
  3487. " color: var(--xr-disabled-color);\n",
  3488. "}\n",
  3489. "\n",
  3490. ".xr-section-summary-in:checked + label:before {\n",
  3491. " content: 'â–¼';\n",
  3492. "}\n",
  3493. "\n",
  3494. ".xr-section-summary-in:checked + label > span {\n",
  3495. " display: none;\n",
  3496. "}\n",
  3497. "\n",
  3498. ".xr-section-summary,\n",
  3499. ".xr-section-inline-details {\n",
  3500. " padding-top: 4px;\n",
  3501. " padding-bottom: 4px;\n",
  3502. "}\n",
  3503. "\n",
  3504. ".xr-section-inline-details {\n",
  3505. " grid-column: 2 / -1;\n",
  3506. "}\n",
  3507. "\n",
  3508. ".xr-section-details {\n",
  3509. " display: none;\n",
  3510. " grid-column: 1 / -1;\n",
  3511. " margin-bottom: 5px;\n",
  3512. "}\n",
  3513. "\n",
  3514. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  3515. " display: contents;\n",
  3516. "}\n",
  3517. "\n",
  3518. ".xr-array-wrap {\n",
  3519. " grid-column: 1 / -1;\n",
  3520. " display: grid;\n",
  3521. " grid-template-columns: 20px auto;\n",
  3522. "}\n",
  3523. "\n",
  3524. ".xr-array-wrap > label {\n",
  3525. " grid-column: 1;\n",
  3526. " vertical-align: top;\n",
  3527. "}\n",
  3528. "\n",
  3529. ".xr-preview {\n",
  3530. " color: var(--xr-font-color3);\n",
  3531. "}\n",
  3532. "\n",
  3533. ".xr-array-preview,\n",
  3534. ".xr-array-data {\n",
  3535. " padding: 0 5px !important;\n",
  3536. " grid-column: 2;\n",
  3537. "}\n",
  3538. "\n",
  3539. ".xr-array-data,\n",
  3540. ".xr-array-in:checked ~ .xr-array-preview {\n",
  3541. " display: none;\n",
  3542. "}\n",
  3543. "\n",
  3544. ".xr-array-in:checked ~ .xr-array-data,\n",
  3545. ".xr-array-preview {\n",
  3546. " display: inline-block;\n",
  3547. "}\n",
  3548. "\n",
  3549. ".xr-dim-list {\n",
  3550. " display: inline-block !important;\n",
  3551. " list-style: none;\n",
  3552. " padding: 0 !important;\n",
  3553. " margin: 0;\n",
  3554. "}\n",
  3555. "\n",
  3556. ".xr-dim-list li {\n",
  3557. " display: inline-block;\n",
  3558. " padding: 0;\n",
  3559. " margin: 0;\n",
  3560. "}\n",
  3561. "\n",
  3562. ".xr-dim-list:before {\n",
  3563. " content: '(';\n",
  3564. "}\n",
  3565. "\n",
  3566. ".xr-dim-list:after {\n",
  3567. " content: ')';\n",
  3568. "}\n",
  3569. "\n",
  3570. ".xr-dim-list li:not(:last-child):after {\n",
  3571. " content: ',';\n",
  3572. " padding-right: 5px;\n",
  3573. "}\n",
  3574. "\n",
  3575. ".xr-has-index {\n",
  3576. " font-weight: bold;\n",
  3577. "}\n",
  3578. "\n",
  3579. ".xr-var-list,\n",
  3580. ".xr-var-item {\n",
  3581. " display: contents;\n",
  3582. "}\n",
  3583. "\n",
  3584. ".xr-var-item > div,\n",
  3585. ".xr-var-item label,\n",
  3586. ".xr-var-item > .xr-var-name span {\n",
  3587. " background-color: var(--xr-background-color-row-even);\n",
  3588. " margin-bottom: 0;\n",
  3589. "}\n",
  3590. "\n",
  3591. ".xr-var-item > .xr-var-name:hover span {\n",
  3592. " padding-right: 5px;\n",
  3593. "}\n",
  3594. "\n",
  3595. ".xr-var-list > li:nth-child(odd) > div,\n",
  3596. ".xr-var-list > li:nth-child(odd) > label,\n",
  3597. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  3598. " background-color: var(--xr-background-color-row-odd);\n",
  3599. "}\n",
  3600. "\n",
  3601. ".xr-var-name {\n",
  3602. " grid-column: 1;\n",
  3603. "}\n",
  3604. "\n",
  3605. ".xr-var-dims {\n",
  3606. " grid-column: 2;\n",
  3607. "}\n",
  3608. "\n",
  3609. ".xr-var-dtype {\n",
  3610. " grid-column: 3;\n",
  3611. " text-align: right;\n",
  3612. " color: var(--xr-font-color2);\n",
  3613. "}\n",
  3614. "\n",
  3615. ".xr-var-preview {\n",
  3616. " grid-column: 4;\n",
  3617. "}\n",
  3618. "\n",
  3619. ".xr-index-preview {\n",
  3620. " grid-column: 2 / 5;\n",
  3621. " color: var(--xr-font-color2);\n",
  3622. "}\n",
  3623. "\n",
  3624. ".xr-var-name,\n",
  3625. ".xr-var-dims,\n",
  3626. ".xr-var-dtype,\n",
  3627. ".xr-preview,\n",
  3628. ".xr-attrs dt {\n",
  3629. " white-space: nowrap;\n",
  3630. " overflow: hidden;\n",
  3631. " text-overflow: ellipsis;\n",
  3632. " padding-right: 10px;\n",
  3633. "}\n",
  3634. "\n",
  3635. ".xr-var-name:hover,\n",
  3636. ".xr-var-dims:hover,\n",
  3637. ".xr-var-dtype:hover,\n",
  3638. ".xr-attrs dt:hover {\n",
  3639. " overflow: visible;\n",
  3640. " width: auto;\n",
  3641. " z-index: 1;\n",
  3642. "}\n",
  3643. "\n",
  3644. ".xr-var-attrs,\n",
  3645. ".xr-var-data,\n",
  3646. ".xr-index-data {\n",
  3647. " display: none;\n",
  3648. " background-color: var(--xr-background-color) !important;\n",
  3649. " padding-bottom: 5px !important;\n",
  3650. "}\n",
  3651. "\n",
  3652. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  3653. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  3654. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  3655. " display: block;\n",
  3656. "}\n",
  3657. "\n",
  3658. ".xr-var-data > table {\n",
  3659. " float: right;\n",
  3660. "}\n",
  3661. "\n",
  3662. ".xr-var-name span,\n",
  3663. ".xr-var-data,\n",
  3664. ".xr-index-name div,\n",
  3665. ".xr-index-data,\n",
  3666. ".xr-attrs {\n",
  3667. " padding-left: 25px !important;\n",
  3668. "}\n",
  3669. "\n",
  3670. ".xr-attrs,\n",
  3671. ".xr-var-attrs,\n",
  3672. ".xr-var-data,\n",
  3673. ".xr-index-data {\n",
  3674. " grid-column: 1 / -1;\n",
  3675. "}\n",
  3676. "\n",
  3677. "dl.xr-attrs {\n",
  3678. " padding: 0;\n",
  3679. " margin: 0;\n",
  3680. " display: grid;\n",
  3681. " grid-template-columns: 125px auto;\n",
  3682. "}\n",
  3683. "\n",
  3684. ".xr-attrs dt,\n",
  3685. ".xr-attrs dd {\n",
  3686. " padding: 0;\n",
  3687. " margin: 0;\n",
  3688. " float: left;\n",
  3689. " padding-right: 10px;\n",
  3690. " width: auto;\n",
  3691. "}\n",
  3692. "\n",
  3693. ".xr-attrs dt {\n",
  3694. " font-weight: normal;\n",
  3695. " grid-column: 1;\n",
  3696. "}\n",
  3697. "\n",
  3698. ".xr-attrs dt:hover span {\n",
  3699. " display: inline-block;\n",
  3700. " background: var(--xr-background-color);\n",
  3701. " padding-right: 10px;\n",
  3702. "}\n",
  3703. "\n",
  3704. ".xr-attrs dd {\n",
  3705. " grid-column: 2;\n",
  3706. " white-space: pre-wrap;\n",
  3707. " word-break: break-all;\n",
  3708. "}\n",
  3709. "\n",
  3710. ".xr-icon-database,\n",
  3711. ".xr-icon-file-text2,\n",
  3712. ".xr-no-icon {\n",
  3713. " display: inline-block;\n",
  3714. " vertical-align: middle;\n",
  3715. " width: 1em;\n",
  3716. " height: 1.5em !important;\n",
  3717. " stroke-width: 0;\n",
  3718. " stroke: currentColor;\n",
  3719. " fill: currentColor;\n",
  3720. "}\n",
  3721. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  3722. "Dimensions: (runs: 5, truncation_value: 11)\n",
  3723. "Coordinates:\n",
  3724. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  3725. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  3726. "Data variables:\n",
  3727. " A_amplitude (runs, truncation_value) float64 41.35 8.536 ... 4.752\n",
  3728. " A_centerx (runs, truncation_value) float64 1.373 0.4656 ... 0.0426\n",
  3729. " A_centery (runs, truncation_value) float64 1.829 0.7057 ... 0.1419\n",
  3730. " A_sigmax (runs, truncation_value) float64 2.502 0.6067 ... 0.05853\n",
  3731. " A_sigmay (runs, truncation_value) float64 2.561 0.8023 ... 0.139\n",
  3732. " B_amplitude (runs, truncation_value) float64 38.55 11.89 ... 6.328\n",
  3733. " B_centerx (runs, truncation_value) float64 0.271 0.2215 ... 0.5065\n",
  3734. " B_centery (runs, truncation_value) float64 0.3084 0.239 ... 0.5433\n",
  3735. " B_sigmax (runs, truncation_value) float64 0.473 0.2884 ... 0.6838\n",
  3736. " B_sigmay (runs, truncation_value) float64 0.4067 0.2715 ... 0.5322\n",
  3737. " delta (runs, truncation_value) float64 2.199 0.5443 ... 0.6551\n",
  3738. "Attributes:\n",
  3739. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  3740. " IMAGE_VERSION: 1.2\n",
  3741. " IMAGE_WHITE_IS_ZERO: 0\n",
  3742. " x_start: 810\n",
  3743. " x_end: 1110\n",
  3744. " y_end: 1025\n",
  3745. " y_start: 725\n",
  3746. " x_center: 960\n",
  3747. " y_center: 875\n",
  3748. " x_span: 300\n",
  3749. " y_span: 300</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-a6596bf9-f8e5-4501-8fcb-251b50168f39' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-a6596bf9-f8e5-4501-8fcb-251b50168f39' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 5</li><li><span class='xr-has-index'>truncation_value</span>: 11</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-f25e1ec7-d75b-4b65-afd2-21dbac9d7d2c' class='xr-section-summary-in' type='checkbox' checked><label for='section-f25e1ec7-d75b-4b65-afd2-21dbac9d7d2c' 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'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 4.0</div><input id='attrs-7b5c83e0-0bb5-4ee2-97b1-6a275a0a9b60' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-7b5c83e0-0bb5-4ee2-97b1-6a275a0a9b60' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-50b6be17-25f7-4f7c-b6bb-4c67df7aaf61' class='xr-var-data-in' type='checkbox'><label for='data-50b6be17-25f7-4f7c-b6bb-4c67df7aaf61' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1., 2., 3., 4.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>truncation_value</span></div><div class='xr-var-dims'>(truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.8 0.83 0.85 ... 0.97 0.99 1.0</div><input id='attrs-ef3349d2-feb7-464a-b4c0-726fb8daaf5c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-ef3349d2-feb7-464a-b4c0-726fb8daaf5c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-193f6082-2f8e-45ec-8fff-e1ccbdbae348' class='xr-var-data-in' type='checkbox'><label for='data-193f6082-2f8e-45ec-8fff-e1ccbdbae348' 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.8 , 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1. ])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-4397190e-0c2b-458f-9c4e-813c31d39edd' class='xr-section-summary-in' type='checkbox' checked><label for='section-4397190e-0c2b-458f-9c4e-813c31d39edd' class='xr-section-summary' >Data variables: <span>(11)</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>A_amplitude</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>41.35 8.536 3.549 ... 4.165 4.752</div><input id='attrs-6dc8d5f5-9946-4cc7-9afb-90d8a484c8e3' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-6dc8d5f5-9946-4cc7-9afb-90d8a484c8e3' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-96fa7a28-66c8-47d1-8d06-863caca87ef9' class='xr-var-data-in' type='checkbox'><label for='data-96fa7a28-66c8-47d1-8d06-863caca87ef9' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:
  3750. " 3.23781731, 3.63912115, 3.55016032, 7.24158601, 4.00295491,\n",
  3751. " 3.93889204],\n",
  3752. " [39.09039398, 24.2472226 , 7.31704996, 3.60212261, 3.21228769,\n",
  3753. " 3.39514472, 3.5072124 , 3.16249809, 15.15014763, 3.5416771 ,\n",
  3754. " 4.24968854],\n",
  3755. " [30.03008996, 9.94253914, 4.24707555, 3.52201376, 3.51626384,\n",
  3756. " 3.65879701, 3.67011253, 3.4681694 , 17.90365434, 4.15399748,\n",
  3757. " 4.55700578],\n",
  3758. " [34.44351574, 5.62730163, 6.8327929 , 3.47510006, 3.54695392,\n",
  3759. " 3.52943849, 3.19843539, 3.6674288 , 9.46190948, 3.8137756 ,\n",
  3760. " 2.31426625],\n",
  3761. " [23.36180289, 5.92033204, 3.42391579, 4.16076828, 3.03207606,\n",
  3762. " 3.04692971, 3.40342961, 3.48868316, 78.00226286, 4.1649254 ,\n",
  3763. " 4.75175596]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_centerx</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.373 0.4656 ... 0.04294 0.0426</div><input id='attrs-1a0909c4-01c4-40f8-ac2d-c3acecfb91f0' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-1a0909c4-01c4-40f8-ac2d-c3acecfb91f0' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-829f4350-a4f6-40d7-a718-a26182362fe1' class='xr-var-data-in' type='checkbox'><label for='data-829f4350-a4f6-40d7-a718-a26182362fe1' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[1.37275271, 0.46564767, 0.1783507 , 0.11981298, 0.10298813,\n",
  3764. " 0.08899595, 0.0870227 , 0.09711865, 0.30224711, 0.04919934,\n",
  3765. " 0.03767388],\n",
  3766. " [0.83459062, 0.63964249, 0.28050157, 0.13988076, 0.10183172,\n",
  3767. " 0.08559291, 0.07848608, 0.0956075 , 0.53288645, 0.06586354,\n",
  3768. " 0.03460433],\n",
  3769. " [0.80957124, 0.44954895, 0.24654689, 0.13935714, 0.1195584 ,\n",
  3770. " 0.09885554, 0.09180816, 0.1125341 , 0.70066171, 0.05450696,\n",
  3771. " 0.04395562],\n",
  3772. " [0.97982363, 0.44603965, 0.2650354 , 0.14280239, 0.11040201,\n",
  3773. " 0.08525171, 0.08422187, 0.09946159, 0.33900844, 0.05097848,\n",
  3774. " 0.03763179],\n",
  3775. " [0.78888259, 0.34901146, 0.16877679, 0.15361024, 0.1114052 ,\n",
  3776. " 0.08812014, 0.08422454, 0.10064893, 0.51415449, 0.04294127,\n",
  3777. " 0.04259848]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_centery</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.829 0.7057 ... 0.1367 0.1419</div><input id='attrs-02730faa-e60d-4e34-ae1f-a8bfaf64647b' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-02730faa-e60d-4e34-ae1f-a8bfaf64647b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fc19d08a-237a-4ce2-9e2f-76a48aff7c6a' class='xr-var-data-in' type='checkbox'><label for='data-fc19d08a-237a-4ce2-9e2f-76a48aff7c6a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[1.82931682, 0.70570221, 0.42876793, 0.29065492, 0.30153625,\n",
  3778. " 0.26494553, 0.22368237, 0.22421098, 0.30777979, 0.13240613,\n",
  3779. " 0.10918892],\n",
  3780. " [0.94431847, 0.6077866 , 0.49261836, 0.3936542 , 0.27748013,\n",
  3781. " 0.25035213, 0.22946576, 0.24985908, 0.62978456, 0.14881484,\n",
  3782. " 0.11940909],\n",
  3783. " [1.2445461 , 0.65460182, 0.56542821, 0.39119808, 0.30168532,\n",
  3784. " 0.25821964, 0.22503312, 0.29482473, 0.79728417, 0.14782686,\n",
  3785. " 0.12960455],\n",
  3786. " [1.28849429, 0.86237911, 0.46076192, 0.34495895, 0.30172961,\n",
  3787. " 0.2559253 , 0.21511481, 0.25545875, 0.3329528 , 0.17058156,\n",
  3788. " 0.08620531],\n",
  3789. " [1.07567013, 0.46326371, 0.43025492, 0.3469241 , 0.28673676,\n",
  3790. " 0.25872847, 0.23708082, 0.254787 , 2.59960234, 0.13666223,\n",
  3791. " 0.14190089]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_sigmax</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>2.502 0.6067 ... 0.05553 0.05853</div><input id='attrs-96df74d4-33e3-4200-a8e9-9a85e3678353' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-96df74d4-33e3-4200-a8e9-9a85e3678353' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-98856a02-bc11-4fea-a71c-5965b61d9915' class='xr-var-data-in' type='checkbox'><label for='data-98856a02-bc11-4fea-a71c-5965b61d9915' 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([[2.50210815, 0.60673241, 0.20515777, 0.13801476, 0.11995417,\n",
  3792. " 0.10400531, 0.1043108 , 0.11584281, 0.3022487 , 0.06311102,\n",
  3793. " 0.04876893],\n",
  3794. " [1.44371672, 0.90920954, 0.36405611, 0.16292322, 0.11745137,\n",
  3795. " 0.10021903, 0.09383077, 0.11241069, 0.73901507, 0.08152476,\n",
  3796. " 0.04645569],\n",
  3797. " [1.41176589, 0.60765676, 0.29087273, 0.16149254, 0.13956056,\n",
  3798. " 0.11779449, 0.11045638, 0.13623811, 0.94231078, 0.07058897,\n",
  3799. " 0.05895437],\n",
  3800. " [1.73929057, 0.54681615, 0.33653577, 0.16561969, 0.12882168,\n",
  3801. " 0.10061599, 0.09861943, 0.11933154, 0.36220156, 0.06483756,\n",
  3802. " 0.03764181],\n",
  3803. " [1.26746526, 0.42348683, 0.19301044, 0.18167604, 0.12668019,\n",
  3804. " 0.10143472, 0.09968958, 0.12014094, 0.68257015, 0.05553422,\n",
  3805. " 0.05853344]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_sigmay</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>2.561 0.8023 0.444 ... 0.1329 0.139</div><input id='attrs-4250fed9-1f49-4fdb-84a6-0d91c8e12fc5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-4250fed9-1f49-4fdb-84a6-0d91c8e12fc5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e91d17be-51db-4196-84f8-40dc3a9f5fb1' class='xr-var-data-in' type='checkbox'><label for='data-e91d17be-51db-4196-84f8-40dc3a9f5fb1' 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([[2.56072913, 0.80234429, 0.44396565, 0.30092615, 0.30512136,\n",
  3806. " 0.26858688, 0.22733819, 0.21966024, 0.30778103, 0.12884175,\n",
  3807. " 0.10648424],\n",
  3808. " [1.51795074, 0.94715391, 0.54081991, 0.40013487, 0.28305137,\n",
  3809. " 0.25275274, 0.22965698, 0.25413912, 0.72668546, 0.15198206,\n",
  3810. " 0.11545866],\n",
  3811. " [1.55052073, 0.76507566, 0.5883192 , 0.39853779, 0.30978006,\n",
  3812. " 0.26208035, 0.23001055, 0.29685328, 0.96653882, 0.1461634 ,\n",
  3813. " 0.12554477],\n",
  3814. " [1.81945195, 0.92222802, 0.50365298, 0.35711069, 0.30797541,\n",
  3815. " 0.25612964, 0.21997048, 0.25373163, 0.35554785, 0.16478862,\n",
  3816. " 0.0862227 ],\n",
  3817. " [1.39250289, 0.52895344, 0.44345531, 0.36205789, 0.29537217,\n",
  3818. " 0.26203786, 0.23873928, 0.26001589, 0.98330524, 0.13292493,\n",
  3819. " 0.13899744]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_amplitude</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>38.55 11.89 9.327 ... 6.462 6.328</div><input id='attrs-00e3ff8e-1415-46bf-8275-b5f0dba87fe5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-00e3ff8e-1415-46bf-8275-b5f0dba87fe5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ba5ea9c6-e32f-42a0-97d5-9f91044e7538' class='xr-var-data-in' type='checkbox'><label for='data-ba5ea9c6-e32f-42a0-97d5-9f91044e7538' 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([[3.85547497e+01, 1.18924107e+01, 9.32697398e+00, 8.78389686e+00,\n",
  3820. " 8.42996656e+00, 7.85105927e+00, 7.77063271e+00, 7.19874879e+00,\n",
  3821. " 9.18369699e+04, 6.30520086e+00, 6.10434083e+00],\n",
  3822. " [3.59788621e+01, 2.27132673e+01, 1.07460296e+01, 8.89038556e+00,\n",
  3823. " 8.36260017e+00, 8.13665269e+00, 7.58775085e+00, 7.30684128e+00,\n",
  3824. " 1.68050976e+01, 6.46784323e+00, 5.88043739e+00],\n",
  3825. " [2.82088774e+01, 1.22000097e+01, 9.69713959e+00, 8.92292396e+00,\n",
  3826. " 8.55493699e+00, 8.01386612e+00, 7.64219203e+00, 6.86518652e+00,\n",
  3827. " 1.80541029e+01, 6.53151700e+00, 6.37560014e+00],\n",
  3828. " [3.18504614e+01, 1.04987920e+01, 1.08501487e+01, 8.71677797e+00,\n",
  3829. " 8.65750292e+00, 8.09273140e+00, 7.58877301e+00, 7.60357840e+00,\n",
  3830. " 9.23104837e+05, 6.32816270e+00, 1.35243844e+04],\n",
  3831. " [2.21892519e+01, 1.03713054e+01, 9.34310101e+00, 9.36686554e+00,\n",
  3832. " 8.55244243e+00, 7.97942115e+00, 7.69694096e+00, 7.49530133e+00,\n",
  3833. " 7.76742958e+01, 6.46160396e+00, 6.32769171e+00]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_centerx</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.271 0.2215 ... 0.5714 0.5065</div><input id='attrs-57f275b5-58ba-41d1-918b-002fdd64da47' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-57f275b5-58ba-41d1-918b-002fdd64da47' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4758dcc9-384e-435b-8675-9935a5cfaee2' class='xr-var-data-in' type='checkbox'><label for='data-4758dcc9-384e-435b-8675-9935a5cfaee2' 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([[2.70963487e-01, 2.21482694e-01, 1.97551706e-01, 2.10345493e-01,\n",
  3834. " 2.13343499e-01, 2.48068244e-01, 2.97636503e-01, 3.11270572e-01,\n",
  3835. " 1.91778052e+03, 4.62258307e-01, 6.26441819e-01],\n",
  3836. " [2.73736145e-01, 2.62818740e-01, 2.02847052e-01, 2.06761948e-01,\n",
  3837. " 2.24441605e-01, 2.56558188e-01, 2.84708375e-01, 3.01622502e-01,\n",
  3838. " 5.33484685e-01, 3.81303887e-01, 5.81213557e-01],\n",
  3839. " [2.43361048e-01, 2.10054101e-01, 1.97335113e-01, 2.06620014e-01,\n",
  3840. " 2.28723156e-01, 2.53872776e-01, 2.82010009e-01, 2.73807119e-01,\n",
  3841. " 5.01162595e-01, 4.34167477e-01, 7.26200639e-01],\n",
  3842. " [2.49039159e-01, 1.91941903e-01, 2.28909262e-01, 2.16181397e-01,\n",
  3843. " 2.35932668e-01, 2.94326841e-01, 2.88449947e-01, 3.10046973e-01,\n",
  3844. " 7.83183242e+04, 4.11836960e-01, 1.39815877e+03],\n",
  3845. " [2.48682834e-01, 2.10943978e-01, 2.00946864e-01, 2.20160710e-01,\n",
  3846. " 2.31651585e-01, 2.55919052e-01, 2.99458615e-01, 3.02040797e-01,\n",
  3847. " 9.82489672e-01, 5.71430324e-01, 5.06473515e-01]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_centery</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.3084 0.239 ... 0.6315 0.5433</div><input id='attrs-0f9d49e0-5f4a-4429-9ab6-cfcd393a2300' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-0f9d49e0-5f4a-4429-9ab6-cfcd393a2300' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-574510ea-6f75-438d-846c-0ece7513453c' class='xr-var-data-in' type='checkbox'><label for='data-574510ea-6f75-438d-846c-0ece7513453c' 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([[3.08352266e-01, 2.38991239e-01, 2.11583536e-01, 2.26634616e-01,\n",
  3848. " 2.29758880e-01, 2.78595826e-01, 3.11620423e-01, 3.39820106e-01,\n",
  3849. " 1.23305969e+01, 4.55185737e-01, 5.83677190e-01],\n",
  3850. " [2.94859097e-01, 2.61430846e-01, 2.25117977e-01, 2.23076358e-01,\n",
  3851. " 2.36954007e-01, 2.74767600e-01, 3.00276342e-01, 3.36156583e-01,\n",
  3852. " 1.08640672e+00, 3.91089347e-01, 5.80818196e-01],\n",
  3853. " [2.83553239e-01, 2.29947553e-01, 2.15510698e-01, 2.25512279e-01,\n",
  3854. " 2.43243871e-01, 2.69345389e-01, 3.04743583e-01, 3.22618143e-01,\n",
  3855. " 7.67363009e-01, 4.63745121e-01, 6.83170270e-01],\n",
  3856. " [2.76093188e-01, 2.11508744e-01, 2.49325976e-01, 2.34703962e-01,\n",
  3857. " 2.58717490e-01, 3.17069589e-01, 3.13967255e-01, 3.28295246e-01,\n",
  3858. " 6.07132323e+02, 4.46745744e-01, 2.44319652e+01],\n",
  3859. " [2.69790854e-01, 2.24207207e-01, 2.15787586e-01, 2.41485901e-01,\n",
  3860. " 2.47844655e-01, 2.75432228e-01, 3.20075584e-01, 3.38286591e-01,\n",
  3861. " 6.71779625e+00, 6.31471809e-01, 5.43326115e-01]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_sigmax</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.473 0.2884 ... 0.7047 0.6838</div><input id='attrs-4c39759a-f00a-47b8-8dc9-d19fc6ec0139' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-4c39759a-f00a-47b8-8dc9-d19fc6ec0139' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3b39996c-8e62-4876-bc9c-9ba59c0bdd98' class='xr-var-data-in' type='checkbox'><label for='data-3b39996c-8e62-4876-bc9c-9ba59c0bdd98' 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([[4.72961568e-01, 2.88359766e-01, 2.27229296e-01, 2.42215079e-01,\n",
  3862. " 2.48449854e-01, 2.89873557e-01, 3.56157343e-01, 3.66590098e-01,\n",
  3863. " 3.43237077e+02, 5.55688418e-01, 7.77098961e-01],\n",
  3864. " [4.72836818e-01, 3.56274668e-01, 2.63130939e-01, 2.40808876e-01,\n",
  3865. " 2.58867524e-01, 2.99745634e-01, 3.40219856e-01, 3.54574654e-01,\n",
  3866. " 6.44011924e-01, 4.64897840e-01, 7.51901115e-01],\n",
  3867. " [4.12335168e-01, 2.83845657e-01, 2.32807499e-01, 2.39371729e-01,\n",
  3868. " 2.66947023e-01, 3.02268542e-01, 3.39268203e-01, 3.29131343e-01,\n",
  3869. " 6.07439127e-01, 5.55776865e-01, 9.37292179e-01],\n",
  3870. " [4.41951448e-01, 2.35249230e-01, 2.90604150e-01, 2.50706366e-01,\n",
  3871. " 2.75295969e-01, 3.47257460e-01, 3.37367075e-01, 3.71741725e-01,\n",
  3872. " 2.69804862e+04, 5.16673630e-01, 3.20122419e+02],\n",
  3873. " [3.93476889e-01, 2.55939168e-01, 2.29798024e-01, 2.60081186e-01,\n",
  3874. " 2.63023818e-01, 2.93690407e-01, 3.54131295e-01, 3.60443580e-01,\n",
  3875. " 1.12155031e+00, 7.04655972e-01, 6.83791670e-01]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_sigmay</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.4067 0.2715 ... 0.6158 0.5322</div><input id='attrs-795a356d-261c-4e98-aee1-9fcdebeb9d52' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-795a356d-261c-4e98-aee1-9fcdebeb9d52' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-24175d95-b505-4d53-bff5-0ea1101f7b96' class='xr-var-data-in' type='checkbox'><label for='data-24175d95-b505-4d53-bff5-0ea1101f7b96' 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([[4.06654450e-01, 2.71488919e-01, 2.18931978e-01, 2.34625483e-01,\n",
  3876. " 2.32487747e-01, 2.82422649e-01, 3.16705370e-01, 3.15533315e-01,\n",
  3877. " 1.23535011e+01, 4.44479398e-01, 5.69567405e-01],\n",
  3878. " [4.72599301e-01, 4.04978433e-01, 2.47100938e-01, 2.26748682e-01,\n",
  3879. " 2.41703515e-01, 2.77383757e-01, 3.00506162e-01, 3.39041762e-01,\n",
  3880. " 5.58268252e-01, 3.98515560e-01, 5.65437909e-01],\n",
  3881. " [3.44167875e-01, 2.67614933e-01, 2.24000411e-01, 2.29653027e-01,\n",
  3882. " 2.49724904e-01, 2.72998922e-01, 3.10390936e-01, 3.19999626e-01,\n",
  3883. " 5.23098024e-01, 4.58721975e-01, 6.64432727e-01],\n",
  3884. " [3.89120074e-01, 2.26177573e-01, 2.72411609e-01, 2.42751524e-01,\n",
  3885. " 2.63961482e-01, 3.17092545e-01, 3.19526663e-01, 3.22432108e-01,\n",
  3886. " 6.41302765e+02, 4.34104378e-01, 2.54645912e+01],\n",
  3887. " [3.49071224e-01, 2.55966778e-01, 2.22404061e-01, 2.51968387e-01,\n",
  3888. " 2.55294572e-01, 2.78662011e-01, 3.21893786e-01, 3.42829829e-01,\n",
  3889. " 2.75018760e+00, 6.15842516e-01, 5.32203246e-01]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>delta</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>2.199 0.5443 ... 0.6814 0.6551</div><input id='attrs-815f8ea7-5316-41e8-ab84-5a66dacdbf91' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-815f8ea7-5316-41e8-ab84-5a66dacdbf91' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a2e3aca5-5439-4f6c-b6f3-7dcc27eaef7e' class='xr-var-data-in' type='checkbox'><label for='data-a2e3aca5-5439-4f6c-b6f3-7dcc27eaef7e' 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([[2.19915120e+00, 5.44321962e-01, 2.53704498e-01, 2.37772412e-01,\n",
  3890. " 2.36780072e-01, 2.72624706e-01, 3.31966151e-01, 3.44197602e-01,\n",
  3891. " 3.43236051e+02, 5.31153332e-01, 7.56071907e-01],\n",
  3892. " [1.19235308e+00, 7.99923763e-01, 3.41253990e-01, 2.41269565e-01,\n",
  3893. " 2.47448686e-01, 2.81594732e-01, 3.17631991e-01, 3.33061626e-01,\n",
  3894. " 8.17174586e-01, 4.38516002e-01, 7.29889334e-01],\n",
  3895. " [1.17376058e+00, 5.34482837e-01, 3.03101058e-01, 2.40851273e-01,\n",
  3896. " 2.56323446e-01, 2.81746545e-01, 3.15202324e-01, 3.05237139e-01,\n",
  3897. " 9.00085649e-01, 5.27200762e-01, 9.09559446e-01],\n",
  3898. " [1.47627490e+00, 5.04673958e-01, 3.39169843e-01, 2.51461332e-01,\n",
  3899. " 2.61723353e-01, 3.25540430e-01, 3.17785108e-01, 3.46009011e-01,\n",
  3900. " 2.69805636e+04, 4.91442571e-01, 3.20121518e+02],\n",
  3901. " [1.07111596e+00, 4.08835659e-01, 2.50446161e-01, 2.60160608e-01,\n",
  3902. " 2.55434849e-01, 2.78448303e-01, 3.31963581e-01, 3.36081959e-01,\n",
  3903. " 1.20207122e+00, 6.81354888e-01, 6.55114890e-01]])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-3a8f43fd-6342-4d5b-be29-56366bf0b591' class='xr-section-summary-in' type='checkbox' ><label for='section-3a8f43fd-6342-4d5b-be29-56366bf0b591' 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>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-02be0481-08d5-41ac-a360-df3eb494ddaf' class='xr-index-data-in' type='checkbox'/><label for='index-02be0481-08d5-41ac-a360-df3eb494ddaf' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0, 2.0, 3.0, 4.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>truncation_value</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-4766b51f-7fa1-4f2a-90a6-d8eff4691206' class='xr-index-data-in' type='checkbox'/><label for='index-4766b51f-7fa1-4f2a-90a6-d8eff4691206' 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.8, 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;truncation_value&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-44775fcc-d91a-43ec-9eb4-125b72978c3c' class='xr-section-summary-in' type='checkbox' ><label for='section-44775fcc-d91a-43ec-9eb4-125b72978c3c' class='xr-section-summary' >Attributes: <span>(11)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><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><dt><span>x_start :</span></dt><dd>810</dd><dt><span>x_end :</span></dt><dd>1110</dd><dt><span>y_end :</span></dt><dd>1025</dd><dt><span>y_start :</span></dt><dd>725</dd><dt><span>x_center :</span></dt><dd>960</dd><dt><span>y_center :</span></dt><dd>875</dd><dt><span>x_span :</span></dt><dd>300</dd><dt><span>y_span :</span></dt><dd>300</dd></dl></div></li></ul></div></div>"
  3904. ],
  3905. "text/plain": [
  3906. "<xarray.Dataset>\n",
  3907. "Dimensions: (runs: 5, truncation_value: 11)\n",
  3908. "Coordinates:\n",
  3909. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  3910. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  3911. "Data variables:\n",
  3912. " A_amplitude (runs, truncation_value) float64 41.35 8.536 ... 4.752\n",
  3913. " A_centerx (runs, truncation_value) float64 1.373 0.4656 ... 0.0426\n",
  3914. " A_centery (runs, truncation_value) float64 1.829 0.7057 ... 0.1419\n",
  3915. " A_sigmax (runs, truncation_value) float64 2.502 0.6067 ... 0.05853\n",
  3916. " A_sigmay (runs, truncation_value) float64 2.561 0.8023 ... 0.139\n",
  3917. " B_amplitude (runs, truncation_value) float64 38.55 11.89 ... 6.328\n",
  3918. " B_centerx (runs, truncation_value) float64 0.271 0.2215 ... 0.5065\n",
  3919. " B_centery (runs, truncation_value) float64 0.3084 0.239 ... 0.5433\n",
  3920. " B_sigmax (runs, truncation_value) float64 0.473 0.2884 ... 0.6838\n",
  3921. " B_sigmay (runs, truncation_value) float64 0.4067 0.2715 ... 0.5322\n",
  3922. " delta (runs, truncation_value) float64 2.199 0.5443 ... 0.6551\n",
  3923. "Attributes:\n",
  3924. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  3925. " IMAGE_VERSION: 1.2\n",
  3926. " IMAGE_WHITE_IS_ZERO: 0\n",
  3927. " x_start: 810\n",
  3928. " x_end: 1110\n",
  3929. " y_end: 1025\n",
  3930. " y_start: 725\n",
  3931. " x_center: 960\n",
  3932. " y_center: 875\n",
  3933. " x_span: 300\n",
  3934. " y_span: 300"
  3935. ]
  3936. },
  3937. "execution_count": 17,
  3938. "metadata": {},
  3939. "output_type": "execute_result"
  3940. }
  3941. ],
  3942. "source": [
  3943. "std = fitAnalyser.get_fit_std(fitResult)\n",
  3944. "std"
  3945. ]
  3946. },
  3947. {
  3948. "cell_type": "markdown",
  3949. "metadata": {},
  3950. "source": [
  3951. "### Work with uncertainties"
  3952. ]
  3953. },
  3954. {
  3955. "cell_type": "markdown",
  3956. "metadata": {},
  3957. "source": [
  3958. "Sometimes we will do some other calculation based on the fit result. It is always a little bit tricky to calculate the error propagation. Fortunately, there is a package provide a solution to deal with it, please have a look of the following link.\n",
  3959. "\n",
  3960. "https://pythonhosted.org/uncertainties/\n",
  3961. "\n",
  3962. "We can also read the fit results as a format combining the value and standard deviation, which is used in the above package. Such a format allows us to do the basic calculation with auto-calculated error propagation."
  3963. ]
  3964. },
  3965. {
  3966. "cell_type": "code",
  3967. "execution_count": 18,
  3968. "metadata": {},
  3969. "outputs": [
  3970. {
  3971. "data": {
  3972. "text/html": [
  3973. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  3974. "<defs>\n",
  3975. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  3976. "<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",
  3977. "<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",
  3978. "<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",
  3979. "</symbol>\n",
  3980. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  3981. "<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",
  3982. "<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",
  3983. "<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",
  3984. "<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",
  3985. "</symbol>\n",
  3986. "</defs>\n",
  3987. "</svg>\n",
  3988. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  3989. " *\n",
  3990. " */\n",
  3991. "\n",
  3992. ":root {\n",
  3993. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  3994. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  3995. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  3996. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  3997. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  3998. " --xr-background-color: var(--jp-layout-color0, white);\n",
  3999. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  4000. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  4001. "}\n",
  4002. "\n",
  4003. "html[theme=dark],\n",
  4004. "body[data-theme=dark],\n",
  4005. "body.vscode-dark {\n",
  4006. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  4007. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  4008. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  4009. " --xr-border-color: #1F1F1F;\n",
  4010. " --xr-disabled-color: #515151;\n",
  4011. " --xr-background-color: #111111;\n",
  4012. " --xr-background-color-row-even: #111111;\n",
  4013. " --xr-background-color-row-odd: #313131;\n",
  4014. "}\n",
  4015. "\n",
  4016. ".xr-wrap {\n",
  4017. " display: block !important;\n",
  4018. " min-width: 300px;\n",
  4019. " max-width: 700px;\n",
  4020. "}\n",
  4021. "\n",
  4022. ".xr-text-repr-fallback {\n",
  4023. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  4024. " display: none;\n",
  4025. "}\n",
  4026. "\n",
  4027. ".xr-header {\n",
  4028. " padding-top: 6px;\n",
  4029. " padding-bottom: 6px;\n",
  4030. " margin-bottom: 4px;\n",
  4031. " border-bottom: solid 1px var(--xr-border-color);\n",
  4032. "}\n",
  4033. "\n",
  4034. ".xr-header > div,\n",
  4035. ".xr-header > ul {\n",
  4036. " display: inline;\n",
  4037. " margin-top: 0;\n",
  4038. " margin-bottom: 0;\n",
  4039. "}\n",
  4040. "\n",
  4041. ".xr-obj-type,\n",
  4042. ".xr-array-name {\n",
  4043. " margin-left: 2px;\n",
  4044. " margin-right: 10px;\n",
  4045. "}\n",
  4046. "\n",
  4047. ".xr-obj-type {\n",
  4048. " color: var(--xr-font-color2);\n",
  4049. "}\n",
  4050. "\n",
  4051. ".xr-sections {\n",
  4052. " padding-left: 0 !important;\n",
  4053. " display: grid;\n",
  4054. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  4055. "}\n",
  4056. "\n",
  4057. ".xr-section-item {\n",
  4058. " display: contents;\n",
  4059. "}\n",
  4060. "\n",
  4061. ".xr-section-item input {\n",
  4062. " display: none;\n",
  4063. "}\n",
  4064. "\n",
  4065. ".xr-section-item input + label {\n",
  4066. " color: var(--xr-disabled-color);\n",
  4067. "}\n",
  4068. "\n",
  4069. ".xr-section-item input:enabled + label {\n",
  4070. " cursor: pointer;\n",
  4071. " color: var(--xr-font-color2);\n",
  4072. "}\n",
  4073. "\n",
  4074. ".xr-section-item input:enabled + label:hover {\n",
  4075. " color: var(--xr-font-color0);\n",
  4076. "}\n",
  4077. "\n",
  4078. ".xr-section-summary {\n",
  4079. " grid-column: 1;\n",
  4080. " color: var(--xr-font-color2);\n",
  4081. " font-weight: 500;\n",
  4082. "}\n",
  4083. "\n",
  4084. ".xr-section-summary > span {\n",
  4085. " display: inline-block;\n",
  4086. " padding-left: 0.5em;\n",
  4087. "}\n",
  4088. "\n",
  4089. ".xr-section-summary-in:disabled + label {\n",
  4090. " color: var(--xr-font-color2);\n",
  4091. "}\n",
  4092. "\n",
  4093. ".xr-section-summary-in + label:before {\n",
  4094. " display: inline-block;\n",
  4095. " content: 'â–º';\n",
  4096. " font-size: 11px;\n",
  4097. " width: 15px;\n",
  4098. " text-align: center;\n",
  4099. "}\n",
  4100. "\n",
  4101. ".xr-section-summary-in:disabled + label:before {\n",
  4102. " color: var(--xr-disabled-color);\n",
  4103. "}\n",
  4104. "\n",
  4105. ".xr-section-summary-in:checked + label:before {\n",
  4106. " content: 'â–¼';\n",
  4107. "}\n",
  4108. "\n",
  4109. ".xr-section-summary-in:checked + label > span {\n",
  4110. " display: none;\n",
  4111. "}\n",
  4112. "\n",
  4113. ".xr-section-summary,\n",
  4114. ".xr-section-inline-details {\n",
  4115. " padding-top: 4px;\n",
  4116. " padding-bottom: 4px;\n",
  4117. "}\n",
  4118. "\n",
  4119. ".xr-section-inline-details {\n",
  4120. " grid-column: 2 / -1;\n",
  4121. "}\n",
  4122. "\n",
  4123. ".xr-section-details {\n",
  4124. " display: none;\n",
  4125. " grid-column: 1 / -1;\n",
  4126. " margin-bottom: 5px;\n",
  4127. "}\n",
  4128. "\n",
  4129. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  4130. " display: contents;\n",
  4131. "}\n",
  4132. "\n",
  4133. ".xr-array-wrap {\n",
  4134. " grid-column: 1 / -1;\n",
  4135. " display: grid;\n",
  4136. " grid-template-columns: 20px auto;\n",
  4137. "}\n",
  4138. "\n",
  4139. ".xr-array-wrap > label {\n",
  4140. " grid-column: 1;\n",
  4141. " vertical-align: top;\n",
  4142. "}\n",
  4143. "\n",
  4144. ".xr-preview {\n",
  4145. " color: var(--xr-font-color3);\n",
  4146. "}\n",
  4147. "\n",
  4148. ".xr-array-preview,\n",
  4149. ".xr-array-data {\n",
  4150. " padding: 0 5px !important;\n",
  4151. " grid-column: 2;\n",
  4152. "}\n",
  4153. "\n",
  4154. ".xr-array-data,\n",
  4155. ".xr-array-in:checked ~ .xr-array-preview {\n",
  4156. " display: none;\n",
  4157. "}\n",
  4158. "\n",
  4159. ".xr-array-in:checked ~ .xr-array-data,\n",
  4160. ".xr-array-preview {\n",
  4161. " display: inline-block;\n",
  4162. "}\n",
  4163. "\n",
  4164. ".xr-dim-list {\n",
  4165. " display: inline-block !important;\n",
  4166. " list-style: none;\n",
  4167. " padding: 0 !important;\n",
  4168. " margin: 0;\n",
  4169. "}\n",
  4170. "\n",
  4171. ".xr-dim-list li {\n",
  4172. " display: inline-block;\n",
  4173. " padding: 0;\n",
  4174. " margin: 0;\n",
  4175. "}\n",
  4176. "\n",
  4177. ".xr-dim-list:before {\n",
  4178. " content: '(';\n",
  4179. "}\n",
  4180. "\n",
  4181. ".xr-dim-list:after {\n",
  4182. " content: ')';\n",
  4183. "}\n",
  4184. "\n",
  4185. ".xr-dim-list li:not(:last-child):after {\n",
  4186. " content: ',';\n",
  4187. " padding-right: 5px;\n",
  4188. "}\n",
  4189. "\n",
  4190. ".xr-has-index {\n",
  4191. " font-weight: bold;\n",
  4192. "}\n",
  4193. "\n",
  4194. ".xr-var-list,\n",
  4195. ".xr-var-item {\n",
  4196. " display: contents;\n",
  4197. "}\n",
  4198. "\n",
  4199. ".xr-var-item > div,\n",
  4200. ".xr-var-item label,\n",
  4201. ".xr-var-item > .xr-var-name span {\n",
  4202. " background-color: var(--xr-background-color-row-even);\n",
  4203. " margin-bottom: 0;\n",
  4204. "}\n",
  4205. "\n",
  4206. ".xr-var-item > .xr-var-name:hover span {\n",
  4207. " padding-right: 5px;\n",
  4208. "}\n",
  4209. "\n",
  4210. ".xr-var-list > li:nth-child(odd) > div,\n",
  4211. ".xr-var-list > li:nth-child(odd) > label,\n",
  4212. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  4213. " background-color: var(--xr-background-color-row-odd);\n",
  4214. "}\n",
  4215. "\n",
  4216. ".xr-var-name {\n",
  4217. " grid-column: 1;\n",
  4218. "}\n",
  4219. "\n",
  4220. ".xr-var-dims {\n",
  4221. " grid-column: 2;\n",
  4222. "}\n",
  4223. "\n",
  4224. ".xr-var-dtype {\n",
  4225. " grid-column: 3;\n",
  4226. " text-align: right;\n",
  4227. " color: var(--xr-font-color2);\n",
  4228. "}\n",
  4229. "\n",
  4230. ".xr-var-preview {\n",
  4231. " grid-column: 4;\n",
  4232. "}\n",
  4233. "\n",
  4234. ".xr-index-preview {\n",
  4235. " grid-column: 2 / 5;\n",
  4236. " color: var(--xr-font-color2);\n",
  4237. "}\n",
  4238. "\n",
  4239. ".xr-var-name,\n",
  4240. ".xr-var-dims,\n",
  4241. ".xr-var-dtype,\n",
  4242. ".xr-preview,\n",
  4243. ".xr-attrs dt {\n",
  4244. " white-space: nowrap;\n",
  4245. " overflow: hidden;\n",
  4246. " text-overflow: ellipsis;\n",
  4247. " padding-right: 10px;\n",
  4248. "}\n",
  4249. "\n",
  4250. ".xr-var-name:hover,\n",
  4251. ".xr-var-dims:hover,\n",
  4252. ".xr-var-dtype:hover,\n",
  4253. ".xr-attrs dt:hover {\n",
  4254. " overflow: visible;\n",
  4255. " width: auto;\n",
  4256. " z-index: 1;\n",
  4257. "}\n",
  4258. "\n",
  4259. ".xr-var-attrs,\n",
  4260. ".xr-var-data,\n",
  4261. ".xr-index-data {\n",
  4262. " display: none;\n",
  4263. " background-color: var(--xr-background-color) !important;\n",
  4264. " padding-bottom: 5px !important;\n",
  4265. "}\n",
  4266. "\n",
  4267. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  4268. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  4269. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  4270. " display: block;\n",
  4271. "}\n",
  4272. "\n",
  4273. ".xr-var-data > table {\n",
  4274. " float: right;\n",
  4275. "}\n",
  4276. "\n",
  4277. ".xr-var-name span,\n",
  4278. ".xr-var-data,\n",
  4279. ".xr-index-name div,\n",
  4280. ".xr-index-data,\n",
  4281. ".xr-attrs {\n",
  4282. " padding-left: 25px !important;\n",
  4283. "}\n",
  4284. "\n",
  4285. ".xr-attrs,\n",
  4286. ".xr-var-attrs,\n",
  4287. ".xr-var-data,\n",
  4288. ".xr-index-data {\n",
  4289. " grid-column: 1 / -1;\n",
  4290. "}\n",
  4291. "\n",
  4292. "dl.xr-attrs {\n",
  4293. " padding: 0;\n",
  4294. " margin: 0;\n",
  4295. " display: grid;\n",
  4296. " grid-template-columns: 125px auto;\n",
  4297. "}\n",
  4298. "\n",
  4299. ".xr-attrs dt,\n",
  4300. ".xr-attrs dd {\n",
  4301. " padding: 0;\n",
  4302. " margin: 0;\n",
  4303. " float: left;\n",
  4304. " padding-right: 10px;\n",
  4305. " width: auto;\n",
  4306. "}\n",
  4307. "\n",
  4308. ".xr-attrs dt {\n",
  4309. " font-weight: normal;\n",
  4310. " grid-column: 1;\n",
  4311. "}\n",
  4312. "\n",
  4313. ".xr-attrs dt:hover span {\n",
  4314. " display: inline-block;\n",
  4315. " background: var(--xr-background-color);\n",
  4316. " padding-right: 10px;\n",
  4317. "}\n",
  4318. "\n",
  4319. ".xr-attrs dd {\n",
  4320. " grid-column: 2;\n",
  4321. " white-space: pre-wrap;\n",
  4322. " word-break: break-all;\n",
  4323. "}\n",
  4324. "\n",
  4325. ".xr-icon-database,\n",
  4326. ".xr-icon-file-text2,\n",
  4327. ".xr-no-icon {\n",
  4328. " display: inline-block;\n",
  4329. " vertical-align: middle;\n",
  4330. " width: 1em;\n",
  4331. " height: 1.5em !important;\n",
  4332. " stroke-width: 0;\n",
  4333. " stroke: currentColor;\n",
  4334. " fill: currentColor;\n",
  4335. "}\n",
  4336. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  4337. "Dimensions: (runs: 5, truncation_value: 11)\n",
  4338. "Coordinates:\n",
  4339. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  4340. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  4341. "Data variables:\n",
  4342. " A_amplitude (runs, truncation_value) object (9+/-4)e+01 ... 206+/-5\n",
  4343. " A_centerx (runs, truncation_value) object 147.4+/-1.4 ... 152.82+...\n",
  4344. " A_centery (runs, truncation_value) object 151.3+/-1.8 ... 150.44+...\n",
  4345. " A_sigmax (runs, truncation_value) object 15.9+/-2.5 ... 3.96+/-0.06\n",
  4346. " A_sigmay (runs, truncation_value) object 19.1+/-2.6 ... 10.61+/-...\n",
  4347. " B_amplitude (runs, truncation_value) object (1.78+/-0.04)e+03 ... 1...\n",
  4348. " B_centerx (runs, truncation_value) object 149.77+/-0.27 ... 154.1...\n",
  4349. " B_centery (runs, truncation_value) object 147.45+/-0.31 ... 150.4...\n",
  4350. " B_sigmax (runs, truncation_value) object 32.5+/-0.5 ... 15.9+/-0.7\n",
  4351. " B_sigmay (runs, truncation_value) object 33.3+/-0.4 ... 13.8+/-0.5\n",
  4352. " delta (runs, truncation_value) object -16.7+/-2.2 ... -11.9+/...\n",
  4353. "Attributes:\n",
  4354. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  4355. " IMAGE_VERSION: 1.2\n",
  4356. " IMAGE_WHITE_IS_ZERO: 0\n",
  4357. " x_start: 810\n",
  4358. " x_end: 1110\n",
  4359. " y_end: 1025\n",
  4360. " y_start: 725\n",
  4361. " x_center: 960\n",
  4362. " y_center: 875\n",
  4363. " x_span: 300\n",
  4364. " y_span: 300</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-4344dd9f-2c32-4782-972b-615de4b21a48' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-4344dd9f-2c32-4782-972b-615de4b21a48' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>runs</span>: 5</li><li><span class='xr-has-index'>truncation_value</span>: 11</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-5843a6d4-c2c8-40a5-bd42-74b0414d3d9d' class='xr-section-summary-in' type='checkbox' checked><label for='section-5843a6d4-c2c8-40a5-bd42-74b0414d3d9d' 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'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0 2.0 3.0 4.0</div><input id='attrs-08016d88-eee0-43ce-8e14-fd80748ebacf' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-08016d88-eee0-43ce-8e14-fd80748ebacf' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e4f1c10f-2f72-4950-8614-86842c904efe' class='xr-var-data-in' type='checkbox'><label for='data-e4f1c10f-2f72-4950-8614-86842c904efe' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1., 2., 3., 4.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>truncation_value</span></div><div class='xr-var-dims'>(truncation_value)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.8 0.83 0.85 ... 0.97 0.99 1.0</div><input id='attrs-857cbbe0-a4b4-442e-a2f1-35a5ffc4f275' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-857cbbe0-a4b4-442e-a2f1-35a5ffc4f275' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ec4b3cf9-9b40-4588-9c45-ddc4d5c30a0d' class='xr-var-data-in' type='checkbox'><label for='data-ec4b3cf9-9b40-4588-9c45-ddc4d5c30a0d' 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.8 , 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1. ])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-b0f445e3-e28a-4d74-89a6-a4839a11e398' class='xr-section-summary-in' type='checkbox' checked><label for='section-b0f445e3-e28a-4d74-89a6-a4839a11e398' class='xr-section-summary' >Data variables: <span>(11)</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>A_amplitude</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>(9+/-4)e+01 74+/-9 ... 206+/-5</div><input id='attrs-40e7dd60-3c37-448c-bd1b-316d9402b3ca' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-40e7dd60-3c37-448c-bd1b-316d9402b3ca' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0a38ab3c-af99-463d-9545-f7d571dd2ef7' class='xr-var-data-in' type='checkbox'><label for='data-0a38ab3c-af99-463d-9545-f7d571dd2ef7' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href
  4365. " 73.76056456492633+/-8.535927522067164,\n",
  4366. " 61.257178931708154+/-3.548925202189388,\n",
  4367. " 82.02977417551669+/-3.3663082751567805,\n",
  4368. " 89.85174968215657+/-3.4158821755431874,\n",
  4369. " 89.98098096512223+/-3.23781730660918,\n",
  4370. " 109.52351131461167+/-3.6391211539802413,\n",
  4371. " 97.58957784582442+/-3.5501603222143956,\n",
  4372. " 532.1895081768257+/-7.241586013893313,\n",
  4373. " 171.6467006741975+/-4.002954910436906,\n",
  4374. " 214.73142279127188+/-3.938892040945838],\n",
  4375. " [148.41500588322282+/-39.09039397852023,\n",
  4376. " 145.6150282175172+/-24.24722259598128,\n",
  4377. " 94.92340957918049+/-7.317049959454216,\n",
  4378. " 72.2190561335944+/-3.602122607106354,\n",
  4379. " 84.25138954461792+/-3.212287686069062,\n",
  4380. " 100.46822241664755+/-3.3951447205932093,\n",
  4381. " 110.93503998583688+/-3.507212402944828,\n",
  4382. " 78.36838557204585+/-3.162498086748741,\n",
  4383. " 94.33703707558132+/-15.15014763423152,\n",
  4384. "...\n",
  4385. " 96.68708012170059+/-6.832792897384724,\n",
  4386. " 70.77678060058007+/-3.475100062592538,\n",
  4387. " 87.10001164030419+/-3.5469539243783808,\n",
  4388. " 103.46997628689134+/-3.5294384853516183,\n",
  4389. " 95.1466356044004+/-3.1984353903335845,\n",
  4390. " 94.06124781232714+/-3.667428798184913,\n",
  4391. " 485.1317253372093+/-9.461909478029698,\n",
  4392. " 152.33301794466743+/-3.8137756002898264,\n",
  4393. " 288.72901879236593+/-2.314266246252939],\n",
  4394. " [104.31036272198831+/-23.361802886643076,\n",
  4395. " 68.66710998399797+/-5.920332039818534,\n",
  4396. " 61.12873582156941+/-3.423915790119221,\n",
  4397. " 85.32616375119623+/-4.160768278472826,\n",
  4398. " 74.21429556583232+/-3.0320760617498426,\n",
  4399. " 87.74512330543023+/-3.0469297136967626,\n",
  4400. " 102.52553580448769+/-3.4034296132718564,\n",
  4401. " 85.74671110287964+/-3.488683162453253,\n",
  4402. " 274.83792979180555+/-78.00226286239986,\n",
  4403. " 190.9945240324237+/-4.164925399776236,\n",
  4404. " 206.32857438484933+/-4.751755957006824]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_centerx</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>147.4+/-1.4 ... 152.82+/-0.04</div><input id='attrs-74e8238b-baf2-45b4-a5d4-fb3ef4b27dc7' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-74e8238b-baf2-45b4-a5d4-fb3ef4b27dc7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e20630c5-4fcd-4076-a55e-1756d99e647f' class='xr-var-data-in' type='checkbox'><label for='data-e20630c5-4fcd-4076-a55e-1756d99e647f' 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([[147.35658257446002+/-1.3727527054893753,\n",
  4405. " 151.44869095052894+/-0.46564767393578377,\n",
  4406. " 151.03280367252364+/-0.1783507013649013,\n",
  4407. " 149.7253195308006+/-0.11981297817175503,\n",
  4408. " 151.21663764283258+/-0.10298812814823738,\n",
  4409. " 150.79959828326716+/-0.0889959478195437,\n",
  4410. " 149.2256681578159+/-0.08702270426730412,\n",
  4411. " 149.7313670843037+/-0.09711865256312112,\n",
  4412. " 152.01462231664286+/-0.3022471120886092,\n",
  4413. " 152.02274818241068+/-0.04919933765157741,\n",
  4414. " 152.97453587929408+/-0.03767387506666367],\n",
  4415. " [151.75284936211438+/-0.8345906186483887,\n",
  4416. " 154.79722431154462+/-0.6396424877756492,\n",
  4417. " 151.44589411579776+/-0.28050157348926474,\n",
  4418. " 150.38113633168228+/-0.13988075734953734,\n",
  4419. " 150.2022338375022+/-0.10183172113123262,\n",
  4420. " 151.19054749940534+/-0.08559290605354591,\n",
  4421. " 152.34142813146076+/-0.07848608231447052,\n",
  4422. " 150.97350460226963+/-0.09560750185351725,\n",
  4423. " 152.99632453327143+/-0.5328864545667023,\n",
  4424. "...\n",
  4425. " 151.87197238230672+/-0.2650354017933109,\n",
  4426. " 150.03042241372953+/-0.14280239154843152,\n",
  4427. " 151.42003475333627+/-0.11040200813326806,\n",
  4428. " 151.07674412829488+/-0.08525170503495666,\n",
  4429. " 150.5342452365423+/-0.08422186783334362,\n",
  4430. " 151.3627544004239+/-0.09946159371013555,\n",
  4431. " 151.2741147718366+/-0.33900843850129,\n",
  4432. " 151.47655710177486+/-0.05097848104685737,\n",
  4433. " 151.82911295821808+/-0.0376317887719723],\n",
  4434. " [154.2747885416835+/-0.7888825946165041,\n",
  4435. " 151.6308744083375+/-0.3490114633756347,\n",
  4436. " 151.20635115439393+/-0.16877678965988724,\n",
  4437. " 150.81624618296868+/-0.1536102364155593,\n",
  4438. " 150.73325793391044+/-0.1114052016597937,\n",
  4439. " 148.60106673995304+/-0.0881201390010303,\n",
  4440. " 150.35065806595094+/-0.08422454423638877,\n",
  4441. " 150.9896251643052+/-0.10064893067132687,\n",
  4442. " 152.7989112936687+/-0.514154485578547,\n",
  4443. " 151.74830745233456+/-0.042941267689209,\n",
  4444. " 152.81634248533373+/-0.04259848135736634]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_centery</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>151.3+/-1.8 ... 150.44+/-0.14</div><input id='attrs-1e64b272-050b-49de-ba36-dc2e32c68f53' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-1e64b272-050b-49de-ba36-dc2e32c68f53' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9b17c331-ee8d-4448-a550-f7d523747cbb' class='xr-var-data-in' type='checkbox'><label for='data-9b17c331-ee8d-4448-a550-f7d523747cbb' 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([[151.2839458880331+/-1.829316824826828,\n",
  4445. " 147.24150185539412+/-0.7057022055683831,\n",
  4446. " 148.72611408598524+/-0.4287679333158799,\n",
  4447. " 148.71669934795293+/-0.2906549150884485,\n",
  4448. " 148.86331632657718+/-0.3015362509148028,\n",
  4449. " 150.16395069449482+/-0.26494553118252956,\n",
  4450. " 152.87180324947852+/-0.22368236905733271,\n",
  4451. " 143.01228826995762+/-0.22421097705528029,\n",
  4452. " 157.30707731491353+/-0.30777979465210936,\n",
  4453. " 156.69107701383817+/-0.13240613124440306,\n",
  4454. " 149.80082720386957+/-0.10918892136983431],\n",
  4455. " [150.2353128160028+/-0.9443184698534371,\n",
  4456. " 148.20649663059598+/-0.6077866042533147,\n",
  4457. " 149.39950181507152+/-0.49261835893511763,\n",
  4458. " 151.05181870977842+/-0.3936541988812647,\n",
  4459. " 150.6892262907698+/-0.27748013289873646,\n",
  4460. " 150.92349357189585+/-0.25035212776538496,\n",
  4461. " 148.74791296331952+/-0.22946575835233796,\n",
  4462. " 155.7045196294939+/-0.249859078062335,\n",
  4463. " 169.9664204384583+/-0.6297845568899584,\n",
  4464. "...\n",
  4465. " 149.30281946475702+/-0.46076191899923064,\n",
  4466. " 148.1772004682875+/-0.34495894989135467,\n",
  4467. " 150.10029746821937+/-0.3017296102983003,\n",
  4468. " 151.3043077505104+/-0.2559252968471558,\n",
  4469. " 149.08990239453158+/-0.215114811025664,\n",
  4470. " 150.8501386570686+/-0.2554587494591535,\n",
  4471. " 151.3836069099311+/-0.33295279971308983,\n",
  4472. " 148.76234516326355+/-0.17058155609199388,\n",
  4473. " 151.38588399417014+/-0.08620530926662816],\n",
  4474. " [148.80726574592722+/-1.0756701266594844,\n",
  4475. " 148.31953845670276+/-0.46326371332000216,\n",
  4476. " 148.60253327910877+/-0.4302549246697413,\n",
  4477. " 147.80272439794774+/-0.34692409930889195,\n",
  4478. " 147.19073079699558+/-0.28673675578233065,\n",
  4479. " 149.1864850926175+/-0.2587284706312692,\n",
  4480. " 150.498340471091+/-0.23708082117490248,\n",
  4481. " 151.8053780485012+/-0.2547870001155802,\n",
  4482. " 140.14296659241558+/-2.5996023423082417,\n",
  4483. " 151.29080636002382+/-0.13666223487686108,\n",
  4484. " 150.43594967254194+/-0.14190089144102574]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_sigmax</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>15.9+/-2.5 ... 3.96+/-0.06</div><input id='attrs-bc193415-d6ab-41c6-a8a2-ef3305a27ddf' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-bc193415-d6ab-41c6-a8a2-ef3305a27ddf' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7b33860b-96f0-44d1-b593-dfe2e7c001e9' class='xr-var-data-in' type='checkbox'><label for='data-7b33860b-96f0-44d1-b593-dfe2e7c001e9' 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([[15.860336835731808+/-2.5021081546034893,\n",
  4485. " 9.018467496192105+/-0.606732407563129,\n",
  4486. " 4.671421736925886+/-0.20515777361639356,\n",
  4487. " 4.444623316201177+/-0.13801476004470056,\n",
  4488. " 4.145287320373015+/-0.1199541728852385,\n",
  4489. " 3.8231273472551983+/-0.10400530613636956,\n",
  4490. " 4.3241644194841875+/-0.10431080227895158,\n",
  4491. " 4.506680224739807+/-0.11584280883254539,\n",
  4492. " 22.212458660785703+/-0.30224870174417107,\n",
  4493. " 4.0287539334186135+/-0.06311101542301505,\n",
  4494. " 3.9039003515907726+/-0.04876892597551594],\n",
  4495. " [16.653667019295312+/-1.4437167238759603,\n",
  4496. " 15.084379675398349+/-0.9092095384366196,\n",
  4497. " 7.7982412554339255+/-0.3640561142872948,\n",
  4498. " 4.314433981664749+/-0.1629232234084342,\n",
  4499. " 4.020823153078126+/-0.11745136965738474,\n",
  4500. " 3.9213352831433568+/-0.10021902891354785,\n",
  4501. " 4.017325472614189+/-0.09383076587235913,\n",
  4502. " 3.776071153651131+/-0.1124106923238107,\n",
  4503. " 11.70680121384749+/-0.7390150721343427,\n",
  4504. "...\n",
  4505. " 7.612027541518859+/-0.33653577135445556,\n",
  4506. " 4.5039905455406455+/-0.1656196856578219,\n",
  4507. " 4.2062885767719+/-0.12882167808361056,\n",
  4508. " 3.9330735877390737+/-0.10061599254862207,\n",
  4509. " 3.9488846592325046+/-0.09861942576151124,\n",
  4510. " 4.251955586666529+/-0.11933153818889743,\n",
  4511. " 22.373128656916833+/-0.3622015556659721,\n",
  4512. " 3.720319094626557+/-0.06483756288852549,\n",
  4513. " 4.699541128694051+/-0.037641814669170104],\n",
  4514. " [13.661759397609686+/-1.2674652565314353,\n",
  4515. " 7.789260527342016+/-0.4234868285408567,\n",
  4516. " 4.483763473600636+/-0.19301044345619955,\n",
  4517. " 5.160747578953156+/-0.18167604331615717,\n",
  4518. " 3.9975751871867793+/-0.12668018803960593,\n",
  4519. " 3.787085333696158+/-0.10143472217957544,\n",
  4520. " 4.043231617488043+/-0.09968957711142692,\n",
  4521. " 4.100812298258319+/-0.12014094196012937,\n",
  4522. " 19.824710290576512+/-0.6825701511655348,\n",
  4523. " 3.7811651866446265+/-0.05553421500376992,\n",
  4524. " 3.963895272850106+/-0.05853343916600622]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>A_sigmay</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>19.1+/-2.6 ... 10.61+/-0.14</div><input id='attrs-0b8d67f5-4d74-4663-bf80-a4c45d64c356' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-0b8d67f5-4d74-4663-bf80-a4c45d64c356' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-dce98f8e-10de-4022-9703-f5fe33b3b30c' class='xr-var-data-in' type='checkbox'><label for='data-dce98f8e-10de-4022-9703-f5fe33b3b30c' 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([[19.126006486369683+/-2.5607291299158637,\n",
  4525. " 13.119794267117575+/-0.8023442905278281,\n",
  4526. " 10.79097924824702+/-0.4439656474092933,\n",
  4527. " 10.354469293064817+/-0.30092614792472977,\n",
  4528. " 11.454405296800097+/-0.3051213556570911,\n",
  4529. " 10.752939752477435+/-0.26858687782067064,\n",
  4530. " 10.390752947106503+/-0.22733818612185655,\n",
  4531. " 9.298550649701577+/-0.2196602389094534,\n",
  4532. " 22.619165465336945+/-0.3077810340161551,\n",
  4533. " 9.460627742638442+/-0.1288417515253295,\n",
  4534. " 9.6189307408148+/-0.10648424134429936],\n",
  4535. " [18.374138350020697+/-1.517950737084869,\n",
  4536. " 14.936420540217329+/-0.9471539050808155,\n",
  4537. " 12.972327097886307+/-0.5408199120650325,\n",
  4538. " 11.47917760686184+/-0.4001348715733418,\n",
  4539. " 10.435889924376486+/-0.28305136725573543,\n",
  4540. " 10.791808861647066+/-0.25275273588514435,\n",
  4541. " 10.863662998552966+/-0.22965697771003002,\n",
  4542. " 9.270680493013959+/-0.2541391247466058,\n",
  4543. " 10.979091638792877+/-0.7266854575756488,\n",
  4544. "...\n",
  4545. " 12.600570000896163+/-0.5036529791730312,\n",
  4546. " 10.429107618337827+/-0.3571106868420577,\n",
  4547. " 10.897669432195974+/-0.30797540682504954,\n",
  4548. " 10.981002964990902+/-0.2561296351087414,\n",
  4549. " 9.549226478110224+/-0.21997047640261871,\n",
  4550. " 9.966767446151533+/-0.25373163492629236,\n",
  4551. " 21.968583265840405+/-0.3555478533974791,\n",
  4552. " 10.68052953879806+/-0.16478861899855546,\n",
  4553. " 10.765449283022289+/-0.08622270074293793],\n",
  4554. " [17.44929619108874+/-1.3925028858428408,\n",
  4555. " 10.166405949335147+/-0.528953438850541,\n",
  4556. " 10.999618091486422+/-0.443455312003405,\n",
  4557. " 11.148575256656544+/-0.36205788812693357,\n",
  4558. " 9.91124249592798+/-0.2953721655725335,\n",
  4559. " 10.542925339671095+/-0.2620378579986912,\n",
  4560. " 10.611624609563744+/-0.23873927602698705,\n",
  4561. " 9.716275435636975+/-0.2600158872682979,\n",
  4562. " 14.77240983837925+/-0.9833052433004487,\n",
  4563. " 10.359695621100855+/-0.1329249314196161,\n",
  4564. " 10.607666958514722+/-0.13899744396105262]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_amplitude</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>(1.78+/-0.04)e+03 ... 160+/-6</div><input id='attrs-23e0e7cf-49de-4aa6-b03c-dc0302213f97' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-23e0e7cf-49de-4aa6-b03c-dc0302213f97' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3d11d29a-567b-40df-a432-d165a4068abc' class='xr-var-data-in' type='checkbox'><label for='data-3d11d29a-567b-40df-a432-d165a4068abc' 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([[1783.4505470093975+/-38.55474973769937,\n",
  4565. " 1583.367955386121+/-11.892410719723728,\n",
  4566. " 1294.1427246760277+/-9.326973981614957,\n",
  4567. " 1085.9674567041911+/-8.783896864768144,\n",
  4568. " 980.3033258172821+/-8.429966556153339,\n",
  4569. " 710.702545557956+/-7.851059274540122,\n",
  4570. " 589.9431966374505+/-7.770632709507968,\n",
  4571. " 473.6037191028235+/-7.198748788486686,\n",
  4572. " -1554.9574848078128+/-91836.96989438758,\n",
  4573. " 223.9167276316795+/-6.305200864349702,\n",
  4574. " 153.32675239662007+/-6.104340830252059],\n",
  4575. " [1755.5747376929044+/-35.97886207410223,\n",
  4576. " 1618.712591762719+/-22.713267269709537,\n",
  4577. " 1455.2114896338119+/-10.746029604517,\n",
  4578. " 1097.0352831402772+/-8.890385556296682,\n",
  4579. " 917.6837114638918+/-8.362600170019222,\n",
  4580. " 730.4978430623682+/-8.136652692366296,\n",
  4581. " 583.1595447189275+/-7.587750849207557,\n",
  4582. " 495.27277533409085+/-7.306841284510048,\n",
  4583. " 369.5146250235052+/-16.805097603928182,\n",
  4584. "...\n",
  4585. " 1353.9955834116154+/-10.850148732917633,\n",
  4586. " 1030.3350401966509+/-8.716777971851396,\n",
  4587. " 892.0056163932509+/-8.657502915041901,\n",
  4588. " 615.6802280993078+/-8.092731400749054,\n",
  4589. " 575.5395324819432+/-7.5887730085928355,\n",
  4590. " 520.7789829789416+/-7.603578399475881,\n",
  4591. " -12794.637702111053+/-923104.8373638523,\n",
  4592. " 247.6351822842168+/-6.328162695401922,\n",
  4593. " -512.4111408505026+/-13524.384447726974],\n",
  4594. " [1787.5274474744454+/-22.189251882576485,\n",
  4595. " 1413.597738337935+/-10.371305429807931,\n",
  4596. " 1283.832182854877+/-9.343101011967025,\n",
  4597. " 1131.8991436071396+/-9.366865538228117,\n",
  4598. " 932.4473976857394+/-8.552442430499893,\n",
  4599. " 739.288454628114+/-7.979421151379551,\n",
  4600. " 576.1758576932972+/-7.696940957083554,\n",
  4601. " 518.6705061896287+/-7.495301326668071,\n",
  4602. " 187.26884653862214+/-77.67429575991974,\n",
  4603. " 171.93192998540695+/-6.4616039587037255,\n",
  4604. " 159.92341651165464+/-6.327691705966064]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_centerx</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>149.77+/-0.27 ... 154.1+/-0.5</div><input id='attrs-411b2026-35e3-4664-bc7e-f0e347337729' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-411b2026-35e3-4664-bc7e-f0e347337729' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-009586f2-5a6f-4364-a6c0-f7667b858d2c' class='xr-var-data-in' type='checkbox'><label for='data-009586f2-5a6f-4364-a6c0-f7667b858d2c' 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([[149.77259545393022+/-0.27096348676646426,\n",
  4605. " 152.02155216390227+/-0.22148269407960736,\n",
  4606. " 150.8222695321032+/-0.19755170611071138,\n",
  4607. " 150.17856412475348+/-0.21034549276886044,\n",
  4608. " 151.4986944484829+/-0.21334349930537377,\n",
  4609. " 151.00882072021355+/-0.24806824373703065,\n",
  4610. " 150.00017539111465+/-0.2976365030176029,\n",
  4611. " 151.20563350417447+/-0.311270572264415,\n",
  4612. " 425.4471671031649+/-1917.7805245346653,\n",
  4613. " 155.07081347632086+/-0.46225830704668547,\n",
  4614. " 155.3787526785979+/-0.6264418193400905],\n",
  4615. " [152.18376687383596+/-0.27373614491648834,\n",
  4616. " 151.414467596611+/-0.26281873956518004,\n",
  4617. " 151.87836658004133+/-0.20284705179516455,\n",
  4618. " 150.5499589871522+/-0.20676194813000695,\n",
  4619. " 150.2322143691497+/-0.2244416046644352,\n",
  4620. " 152.14621363068946+/-0.2565581879939017,\n",
  4621. " 152.7295139777507+/-0.2847083747967142,\n",
  4622. " 151.07172615399887+/-0.30162250219933945,\n",
  4623. " 150.89663936186258+/-0.5334846846113871,\n",
  4624. "...\n",
  4625. " 151.57847362564357+/-0.22890926244357485,\n",
  4626. " 150.2195483641291+/-0.21618139659893149,\n",
  4627. " 151.4109399624761+/-0.235932668005744,\n",
  4628. " 150.73394378755532+/-0.29432684086616645,\n",
  4629. " 151.18173903724954+/-0.2884499465467387,\n",
  4630. " 151.31132354357783+/-0.31004697264860187,\n",
  4631. " 1794.4009458057362+/-78318.32418180678,\n",
  4632. " 152.9130188171137+/-0.41183695977305995,\n",
  4633. " -123.18365954603638+/-1398.15877037124],\n",
  4634. " [152.47370923950172+/-0.2486828343301986,\n",
  4635. " 151.44312867338033+/-0.2109439779557269,\n",
  4636. " 151.13645268574652+/-0.20094686366985717,\n",
  4637. " 151.59289508417712+/-0.2201607104828267,\n",
  4638. " 151.67957651879482+/-0.23165158459947108,\n",
  4639. " 149.82793656812112+/-0.25591905182754016,\n",
  4640. " 149.77567428775137+/-0.2994586149660122,\n",
  4641. " 151.2174755930937+/-0.3020407969189618,\n",
  4642. " 151.16624064977492+/-0.9824896717820301,\n",
  4643. " 154.17608172674252+/-0.5714303239307091,\n",
  4644. " 154.05517933635204+/-0.5064735148698376]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_centery</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>147.45+/-0.31 ... 150.4+/-0.5</div><input id='attrs-187f4cc8-d75c-4867-8c4c-8861cb5c299a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-187f4cc8-d75c-4867-8c4c-8861cb5c299a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a08c4711-ccb1-4870-8b4d-22b9740e6c7e' class='xr-var-data-in' type='checkbox'><label for='data-a08c4711-ccb1-4870-8b4d-22b9740e6c7e' 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([[147.45295194989208+/-0.3083522659603334,\n",
  4645. " 148.0974665141219+/-0.23899123902231514,\n",
  4646. " 150.0254999984521+/-0.2115835357552914,\n",
  4647. " 149.1469112936274+/-0.2266346164778228,\n",
  4648. " 148.98258536603274+/-0.22975888030022823,\n",
  4649. " 150.22718775974442+/-0.2785958264264556,\n",
  4650. " 153.16129423629363+/-0.3116204227058065,\n",
  4651. " 152.81932316502167+/-0.33982010636279714,\n",
  4652. " 72.24418703843509+/-12.330596902301377,\n",
  4653. " 154.5299104123529+/-0.45518573723845307,\n",
  4654. " 149.1702283127959+/-0.5836771903943897],\n",
  4655. " [149.47572525757352+/-0.29485909692154016,\n",
  4656. " 149.34656246875323+/-0.26143084641374137,\n",
  4657. " 149.83533472058832+/-0.22511797664478206,\n",
  4658. " 150.93254944051256+/-0.22307635764982814,\n",
  4659. " 151.0103052434597+/-0.23695400685424034,\n",
  4660. " 151.51733987577816+/-0.27476760011999973,\n",
  4661. " 147.49311189893734+/-0.3002763416325275,\n",
  4662. " 151.61473460452595+/-0.33615658279736677,\n",
  4663. " 153.7661835957186+/-1.0864067205456087,\n",
  4664. "...\n",
  4665. " 150.01635145341498+/-0.24932597628425426,\n",
  4666. " 149.5815498283574+/-0.23470396165839805,\n",
  4667. " 151.26380613376625+/-0.2587174898144533,\n",
  4668. " 148.55592561413462+/-0.3170695888085809,\n",
  4669. " 152.23705055274704+/-0.3139672552811612,\n",
  4670. " 144.97313414989264+/-0.3282952463322462,\n",
  4671. " 299.4249608202302+/-607.1323233790305,\n",
  4672. " 151.1590325930633+/-0.44674574397002587,\n",
  4673. " 200.0748241237876+/-24.431965173791674],\n",
  4674. " [149.28876670902272+/-0.26979085358778726,\n",
  4675. " 148.6408718726947+/-0.22420720694200333,\n",
  4676. " 148.86311139139536+/-0.21578758550038865,\n",
  4677. " 148.44094162412216+/-0.2414859011353413,\n",
  4678. " 147.56308141548737+/-0.24784465508352876,\n",
  4679. " 151.31740191299292+/-0.2754322281706898,\n",
  4680. " 147.95630348736913+/-0.32007558373254436,\n",
  4681. " 155.44600839693098+/-0.3382865907816203,\n",
  4682. " 166.00908445801264+/-6.717796250609652,\n",
  4683. " 149.67457383448772+/-0.6314718091955727,\n",
  4684. " 150.43124106556053+/-0.5433261146137754]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_sigmax</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>32.5+/-0.5 ... 15.9+/-0.7</div><input id='attrs-a27368e1-efad-46e4-82f8-4240ec8eb04a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a27368e1-efad-46e4-82f8-4240ec8eb04a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-84a9331b-c99d-46b6-b38b-51c626fcf1a8' class='xr-var-data-in' type='checkbox'><label for='data-84a9331b-c99d-46b6-b38b-51c626fcf1a8' 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([[32.53497079822689+/-0.4729615678127935,\n",
  4685. " 31.39433096134706+/-0.2883597660897553,\n",
  4686. " 27.643288171180245+/-0.22722929612378928,\n",
  4687. " 26.227635309821252+/-0.242215079373659,\n",
  4688. " 25.30006204520641+/-0.24844985350259502,\n",
  4689. " 22.900702355023153+/-0.2898735566478717,\n",
  4690. " 23.220101308005322+/-0.35615734285732503,\n",
  4691. " 21.563179231474496+/-0.3665900983003838,\n",
  4692. " 51.04673134380755+/-343.2370769196211,\n",
  4693. " 17.58633398430754+/-0.5556884176691106,\n",
  4694. " 17.494927389164523+/-0.7770989611534336],\n",
  4695. " [33.27712832852207+/-0.4728368175211743,\n",
  4696. " 31.1350729081485+/-0.3562746682075235,\n",
  4697. " 29.13042226831489+/-0.26313093900657836,\n",
  4698. " 25.960019384669543+/-0.24080887611530888,\n",
  4699. " 24.965313874296477+/-0.2588675239478265,\n",
  4700. " 23.519682936958166+/-0.2997456340724818,\n",
  4701. " 22.63545942144049+/-0.34021985632083396,\n",
  4702. " 20.887985590808885+/-0.3545746537691722,\n",
  4703. " 23.14105763123112+/-0.6440119243670632,\n",
  4704. "...\n",
  4705. " 29.76446379821113+/-0.29060414998946255,\n",
  4706. " 25.822392335045908+/-0.2507063659517471,\n",
  4707. " 24.71819699048615+/-0.27529596902284525,\n",
  4708. " 23.039486967672275+/-0.3472574601189607,\n",
  4709. " 22.25809162293119+/-0.3373670754724408,\n",
  4710. " 22.097058341555595+/-0.3717417248274327,\n",
  4711. " 1103.6156392167222+/-26980.486228359703,\n",
  4712. " 17.762080960812995+/-0.5166736295628915,\n",
  4713. " 69.21926427808638+/-320.1224187246483],\n",
  4714. " [33.295736175881146+/-0.39347688902135264,\n",
  4715. " 29.073070074031243+/-0.2559391676376474,\n",
  4716. " 27.83726355324668+/-0.22979802433386118,\n",
  4717. " 26.949990282352264+/-0.260081186416113,\n",
  4718. " 25.422992040483493+/-0.26302381795665986,\n",
  4719. " 24.04340187222614+/-0.29369040655816425,\n",
  4720. " 23.02812015411594+/-0.35413129538040744,\n",
  4721. " 21.432201872199876+/-0.36044358023889495,\n",
  4722. " 22.935735350744352+/-1.1215503060249485,\n",
  4723. " 16.64979816710927+/-0.704655972276601,\n",
  4724. " 15.852826148500313+/-0.6837916703649396]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>B_sigmay</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>33.3+/-0.4 ... 13.8+/-0.5</div><input id='attrs-0b901c2f-be2e-458b-8d8a-42d6a9944406' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-0b901c2f-be2e-458b-8d8a-42d6a9944406' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-91d41d7e-0e7c-4332-8f23-627196079fef' class='xr-var-data-in' type='checkbox'><label for='data-91d41d7e-0e7c-4332-8f23-627196079fef' 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([[33.293343342278405+/-0.4066544500984663,\n",
  4725. " 32.43099740937326+/-0.27148891867125463,\n",
  4726. " 28.472783323021986+/-0.21893197835361336,\n",
  4727. " 27.18103377926991+/-0.23462548292930036,\n",
  4728. " 25.71431975647876+/-0.23248774717835208,\n",
  4729. " 24.27199693874956+/-0.2824226488025367,\n",
  4730. " 22.770785790863183+/-0.3167053704909412,\n",
  4731. " 20.370406137999066+/-0.3155333149640038,\n",
  4732. " 25.221405440199703+/-12.353501050690598,\n",
  4733. " 15.747054930603152+/-0.4444793981872891,\n",
  4734. " 14.211775169728398+/-0.5695674047029192],\n",
  4735. " [34.99745368882624+/-0.47259930062476757,\n",
  4736. " 33.209468150285915+/-0.4049784334626913,\n",
  4737. " 30.581257424467506+/-0.24710093842031955,\n",
  4738. " 26.52760871514206+/-0.22674868214473995,\n",
  4739. " 25.116618253458665+/-0.2417035148301304,\n",
  4740. " 23.708944223278383+/-0.277383756606172,\n",
  4741. " 22.081559134612146+/-0.30050616164939203,\n",
  4742. " 21.77847573557396+/-0.3390417619506489,\n",
  4743. " 21.59150892237305+/-0.5582682518179167,\n",
  4744. "...\n",
  4745. " 30.834968586600677+/-0.27241160921173674,\n",
  4746. " 26.866610640622174+/-0.24275152442848408,\n",
  4747. " 25.70634067075639+/-0.2639614815472633,\n",
  4748. " 23.059419248253157+/-0.31709254460316105,\n",
  4749. " 22.882322357909604+/-0.319526663295368,\n",
  4750. " 21.204198371102226+/-0.3224321076860436,\n",
  4751. " 309.0143825127214+/-641.3027645024034,\n",
  4752. " 16.700709993228845+/-0.43410437753408676,\n",
  4753. " 51.10807299975128+/-25.46459121666361],\n",
  4754. " [34.22146325864612+/-0.34907122443873395,\n",
  4755. " 30.3244037985267+/-0.2559667779101596,\n",
  4756. " 28.76138497555883+/-0.22240406118282088,\n",
  4757. " 28.27677548228437+/-0.2519683873228171,\n",
  4758. " 26.241624910802816+/-0.2552945715815403,\n",
  4759. " 24.57777005543095+/-0.27866201116092393,\n",
  4760. " 22.952253804126208+/-0.32189378595400997,\n",
  4761. " 22.40814737132149+/-0.3428298294377704,\n",
  4762. " 16.893511181682335+/-2.7501875962284204,\n",
  4763. " 16.344615274167303+/-0.6158425160306178,\n",
  4764. " 13.789276360488932+/-0.5322032462465591]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>delta</span></div><div class='xr-var-dims'>(runs, truncation_value)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>-16.7+/-2.2 ... -11.9+/-0.7</div><input id='attrs-f4f33e84-e51f-46b7-ae74-5bf33cdb13c1' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-f4f33e84-e51f-46b7-ae74-5bf33cdb13c1' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-47885b13-3680-4b71-85b2-f557b30c924b' class='xr-var-data-in' type='checkbox'><label for='data-47885b13-3680-4b71-85b2-f557b30c924b' 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([[-16.67463396249508+/-2.1991511965119726,\n",
  4765. " -22.375863465154954+/-0.5443219620873246,\n",
  4766. " -22.97186643425436+/-0.253704497852298,\n",
  4767. " -21.783011993620075+/-0.23777241238485272,\n",
  4768. " -21.154774724833395+/-0.2367800720748362,\n",
  4769. " -19.077575007767955+/-0.2726247057851301,\n",
  4770. " -18.895936888521135+/-0.33196615114467765,\n",
  4771. " -17.05649900673469+/-0.3441976023691042,\n",
  4772. " -28.834272683021847+/-343.23605093560667,\n",
  4773. " -13.557580050888927+/-0.5311533324080612,\n",
  4774. " -13.59102703757375+/-0.7560719065618806],\n",
  4775. " [-16.623461309226755+/-1.1923530766421955,\n",
  4776. " -16.050693232750152+/-0.7999237628946209,\n",
  4777. " -21.332181012880966+/-0.3412539896993802,\n",
  4778. " -21.645585403004795+/-0.2412695647296705,\n",
  4779. " -20.94449072121835+/-0.2474486857025613,\n",
  4780. " -19.59834765381481+/-0.2815947324480169,\n",
  4781. " -18.6181339488263+/-0.3176319907249022,\n",
  4782. " -17.111914437157754+/-0.3330616258719197,\n",
  4783. " -11.434256417383631+/-0.8171745860770954,\n",
  4784. "...\n",
  4785. " -22.15243625669227+/-0.33916984349231327,\n",
  4786. " -21.318401789505263+/-0.2514613323155388,\n",
  4787. " -20.51190841371425+/-0.2617233529837117,\n",
  4788. " -19.1064133799332+/-0.325540430315436,\n",
  4789. " -18.309206963698685+/-0.3177851075106094,\n",
  4790. " -17.845102754889066+/-0.34600901125013195,\n",
  4791. " -1081.2425105598054+/-26980.56364577257,\n",
  4792. " -14.041761866186437+/-0.49144257071260145,\n",
  4793. " -64.51972314939233+/-320.12151826282064],\n",
  4794. " [-19.63397677827146+/-1.071115963987468,\n",
  4795. " -21.283809546689227+/-0.4088356591455356,\n",
  4796. " -23.353500079646043+/-0.25044616060384367,\n",
  4797. " -21.789242703399108+/-0.26016060780255845,\n",
  4798. " -21.425416853296714+/-0.255434849197033,\n",
  4799. " -20.256316538529983+/-0.278448302682127,\n",
  4800. " -18.984888536627896+/-0.3319635812417402,\n",
  4801. " -17.331389573941557+/-0.33608195940298935,\n",
  4802. " -3.11102506016784+/-1.2020712150918103,\n",
  4803. " -12.868632980464644+/-0.6813548880630336,\n",
  4804. " -11.888930875650207+/-0.6551148896497988]], dtype=object)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-be5b2e50-2790-4eab-b8d3-f0697bfcbf1c' class='xr-section-summary-in' type='checkbox' ><label for='section-be5b2e50-2790-4eab-b8d3-f0697bfcbf1c' 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>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-6ba3fd40-ecb3-48eb-bf81-8f6490ad8288' class='xr-index-data-in' type='checkbox'/><label for='index-6ba3fd40-ecb3-48eb-bf81-8f6490ad8288' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0, 2.0, 3.0, 4.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>truncation_value</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-bba0aba8-2789-4ccd-a177-ff1b18b2ed1b' class='xr-index-data-in' type='checkbox'/><label for='index-bba0aba8-2789-4ccd-a177-ff1b18b2ed1b' 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.8, 0.83, 0.85, 0.87, 0.89, 0.91, 0.93, 0.95, 0.97, 0.99, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;truncation_value&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-047e1c12-7ebc-4393-a5ed-cf1a1c0c1a9d' class='xr-section-summary-in' type='checkbox' ><label for='section-047e1c12-7ebc-4393-a5ed-cf1a1c0c1a9d' class='xr-section-summary' >Attributes: <span>(11)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><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><dt><span>x_start :</span></dt><dd>810</dd><dt><span>x_end :</span></dt><dd>1110</dd><dt><span>y_end :</span></dt><dd>1025</dd><dt><span>y_start :</span></dt><dd>725</dd><dt><span>x_center :</span></dt><dd>960</dd><dt><span>y_center :</span></dt><dd>875</dd><dt><span>x_span :</span></dt><dd>300</dd><dt><span>y_span :</span></dt><dd>300</dd></dl></div></li></ul></div></div>"
  4805. ],
  4806. "text/plain": [
  4807. "<xarray.Dataset>\n",
  4808. "Dimensions: (runs: 5, truncation_value: 11)\n",
  4809. "Coordinates:\n",
  4810. " * runs (runs) float64 0.0 1.0 2.0 3.0 4.0\n",
  4811. " * truncation_value (truncation_value) float64 0.8 0.83 0.85 ... 0.97 0.99 1.0\n",
  4812. "Data variables:\n",
  4813. " A_amplitude (runs, truncation_value) object (9+/-4)e+01 ... 206+/-5\n",
  4814. " A_centerx (runs, truncation_value) object 147.4+/-1.4 ... 152.82+...\n",
  4815. " A_centery (runs, truncation_value) object 151.3+/-1.8 ... 150.44+...\n",
  4816. " A_sigmax (runs, truncation_value) object 15.9+/-2.5 ... 3.96+/-0.06\n",
  4817. " A_sigmay (runs, truncation_value) object 19.1+/-2.6 ... 10.61+/-...\n",
  4818. " B_amplitude (runs, truncation_value) object (1.78+/-0.04)e+03 ... 1...\n",
  4819. " B_centerx (runs, truncation_value) object 149.77+/-0.27 ... 154.1...\n",
  4820. " B_centery (runs, truncation_value) object 147.45+/-0.31 ... 150.4...\n",
  4821. " B_sigmax (runs, truncation_value) object 32.5+/-0.5 ... 15.9+/-0.7\n",
  4822. " B_sigmay (runs, truncation_value) object 33.3+/-0.4 ... 13.8+/-0.5\n",
  4823. " delta (runs, truncation_value) object -16.7+/-2.2 ... -11.9+/...\n",
  4824. "Attributes:\n",
  4825. " IMAGE_SUBCLASS: IMAGE_GRAYSCALE\n",
  4826. " IMAGE_VERSION: 1.2\n",
  4827. " IMAGE_WHITE_IS_ZERO: 0\n",
  4828. " x_start: 810\n",
  4829. " x_end: 1110\n",
  4830. " y_end: 1025\n",
  4831. " y_start: 725\n",
  4832. " x_center: 960\n",
  4833. " y_center: 875\n",
  4834. " x_span: 300\n",
  4835. " y_span: 300"
  4836. ]
  4837. },
  4838. "execution_count": 18,
  4839. "metadata": {},
  4840. "output_type": "execute_result"
  4841. }
  4842. ],
  4843. "source": [
  4844. "uval = fitAnalyser.get_fit_full_result(fitResult)\n",
  4845. "uval"
  4846. ]
  4847. },
  4848. {
  4849. "cell_type": "markdown",
  4850. "metadata": {},
  4851. "source": [
  4852. "## Plot the fit curve"
  4853. ]
  4854. },
  4855. {
  4856. "cell_type": "markdown",
  4857. "metadata": {},
  4858. "source": [
  4859. "In the most of cases, we need not only to know the fit result, but also plot the fit curve. Here we also provide a function to calculate the fit curve."
  4860. ]
  4861. },
  4862. {
  4863. "cell_type": "code",
  4864. "execution_count": 19,
  4865. "metadata": {},
  4866. "outputs": [
  4867. {
  4868. "data": {
  4869. "image/png": "iVBORw0KGgoAAAANSUhEUgAAC7gAAAW6CAYAAABs4i8vAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOzdeXxkVZ3//3eSStJJd7rTC3TTbI0ijYAsgwIKyiKCg8qAooKiuMP8XBEUFxRQ5+vGoojbKMKADvh1dPg6CAqiIIwbuKCyCrI0NL13upNOOp2k7++Pyqk6deqcu1RVaklez8cjj0qq7r11013vnHvP/Zxz26IoigQAAAAAAAAAAAAAAAAAAAAAQIO1N3oHAAAAAAAAAAAAAAAAAAAAAACQKHAHAAAAAAAAAAAAAAAAAAAAADQJCtwBAAAAAAAAAAAAAAAAAAAAAE2BAncAAAAAAAAAAAAAAAAAAAAAQFOgwB0AAAAAAAAAAAAAAAAAAAAA0BQocAcAAAAAAAAAAAAAAAAAAAAANAUK3AEAAAAAAAAAAAAAAAAAAAAATYECdwAAAAAAAAAAAAAAAAAAAABAU6DAHQAAAAAAAAAAAAAAAAAAAADQFChwx5Rqa2tTW1ubbr/99kbvSku6+uqr1dbWpmXLljV6VzBNkMnqkEk0ArmtDrlFvZHZ6pBZNAK5rQ65Rb2R2eqQWTQCua0OuUW9kdnqkFk0ArmtDrlFvZHZ6pBZNCNyXR1yDQAImZEF7ldffbUuvPBCDiyq8KUvfUkXXnih/vznPzd6VzAN1DqTv/zlL3XyySdrp512Und3t3bZZRedfvrp+uMf/1j1tp966il9+MMf1oEHHqi+vj51dnZqhx120NFHH60rrrhCo6OjNfgNsiOTqLcsuW3GTK5cuVKXXnqp3vjGN2r//ffXkiVL1NXVpblz52r//ffX+973Pj344INV718ccot6ytrWNmNuH3/88UIHYdzX+eefX/U++pBZ1Furt7VHHXVUqsyar6lAblFP06GtNR5//HG9733v0957763e3l7NmzdPBx10kD7zmc9oy5YtVe9fCJlFvTVLW7tmzRp97GMf0/7776++vj7Nnj1b++yzj8477zytXbs2dt0777xTX/7yl3XGGWdov/32Uy6XU1tbm4466qiq9ysNcot6aqa2ttLcNro/isyi3lq9rW10X5REblFf06GtbXR/FJlFs7Fz3YyZNRrVF5UGuUYzevDBB/Wd73xH7373u/XCF75Qvb29U9K2/ehHP9Lxxx+vHXfcUbNmzdIee+yhM888U4888khN3wcAYkUz0JFHHhlJii644IJG70rL2n333SNJ0VVXXRW73PLly6Ply5dHv/vd7+qzY9PMVVddFUmKdt9990bvypSqZSYvuOCCSFIkKWpra4vmzZtX+DmXy0Xf+ta3Kt72z372s2jOnDmF7bW3t5dsX1K07777RitXrqz698iKTNbHTMlkGmlz26yZ/MEPflCyXC6Xi+bPnx+1tbUVnuvs7Iy++tWvVrx/SchtfZDbvCxtbbPm9rHHHisss2jRomjx4sXer8997nMV718cMlsfZLao1dvak08+OZhT82W28YIXvKDifYxDbuuD3OZNh7Y2iqLohhtuiGbPnl1Yds6cOSU/77HHHtFjjz1W8f7FIbP1QWaLmqGt/fWvfx3tsMMOhe319PREc+fOLTnuveeee4Lr29m2v4488siK9ykLclsf5DavWdraanLb6P4oMlsfZLao1dvaRvdFRRG5rRdymzcd2tpG90eR2fogs+mZXJvHZstsFDW2LyoNcl0f5DobO9PuVy1s3749eutb31rSx2znure3N/rJT35Sk/cCgCQzcgZ31M+DDz6oBx98UIccckijdwUzwP/9v/9XF110kSTpzDPP1Nq1azUwMKAVK1bopJNO0vj4uM466yz95je/ybztDRs26PWvf72Ghoa022676cYbb9TWrVs1MDCgzZs360tf+pJyuZzuu+8+nXXWWbX+1WqGTKKemjmTu+66q84//3z99Kc/1erVq7Vt2zZt2LBBW7du1a233qqDDz5YY2Njes973lPR/tUSuUU9NXNubXfffbdWrVrl/TrvvPMq+t1rhcyinpo5sz/60Y+COV21apV+8pOfFJZ9+9vfXvk/Qg2QW9RTM+f2r3/9q0499VRt2bJFBx10kH7/+99rcHBQg4ODuvPOO7X33nvrscce0yte8QqNjY1V/W9RKTKLeprKzK5atUqvetWrtHbtWi1btkw///nPtWXLFm3atEn33nuvXvSiF2ndunU64YQTtHHjRu82enp6dMghh+iss87St771LR1//PFV/b5Thdyinpo5t63SH0VmUU/NnFlbM/dFSeQW9dXMuW2V/igyi3q74447JDVfZlulLyoNco16yuVyeu5zn6vTTz9dl156qT74wQ/WdPtf/OIXddVVV0mSLrjgAm3atEmbNm3Sgw8+qBe96EUaHh7W6173Oj322GM1fV8A8Gp0hX0jMIN79dKOUkR1ZsooxVpkcnx8vPC5PP7448teHx0djZ73vOdFkqIjjjgi8/avvvrqwmjEX/7yl95lzj///MLoxS1btmR+j2qQyfqYKZlMIym3rZ7JDRs2RL29vZGk6B3veEfm/UuD3NYHuc1L09Y2e27tWbMaMVsHma0PMls03dvas846qzDTx6ZNmzLvXxrktj7Ibd50aGtPOeWUSFI0e/bs6Omnny5b9+GHH446OzsjSdEVV1yRef+SkNn6ILNFjW5rzz333EIe//jHP5a9vn79+mj+/PmRpOjcc88N7qPtjDPOKMzOVw/ktj7IbV4ztLW1yG2cqe6PIrP1QWaLWr2tbXRfVBSR23oht3kzoa2d6v4oMlsfZDa9l7zkJYW2rBkz2+i+qDTIdX2Q62zc/iDz71eLMtANGzZEfX19kaTozDPP9L6+ZMmSSFJ0+umnV/1+AJBkRhW423/QQ192B4V9UXD16tXR2WefHT3nOc+Jenp6ShqFNCd75jZdvosL9vrbt2+P/v3f/z065JBDor6+vmjOnDnRYYcdFl177bWJv9/9998f/X//3/8XPfe5zy3ctmevvfaKXv/610f/9V//FU1MTJQs/+CDD0Zf+MIXope+9KXRs571rGjWrFlRX19fdOCBB0Yf//jHo7Vr1wZ/j7gvW9KF1ZGRkeiyyy6LXvjCF0b9/f1Rd3d3tNtuu0VvetOboj/96U/B39U+iBwdHY2+8IUvRPvvv3/U29sbzZ07Nzr66KOjm2++OfHfLI39998/khSdffbZscv9/Oc/j6T8LZ2eeOKJwvMDAwPRddddF73hDW+I9ttvv2j+/PmF3/O0006LfvOb3wS3GXcQZy5YnXHGGRWtb+/fZz7zmeiQQw6J+vv7o66urmiXXXaJTj311Nh9q4VaZ9J8HXjggd5M2hf73/e+92XK5C677FJY9wUveIE3kz/+8Y8Ly6xbt45MkslM69v716hMppE2t7fddlvJc0m5PfTQQzO1pZ/97GcL6w4ODnpzu9deexWWef7zn5+5LW1vby90dJLb6pDbxsnS1tq5/dKXvuTNrN2WZj3+tXN7xBFHeI9/7b8NX/va10q257uoSFtLZrOsb+9fs2Y2imZGW/uud72r0M7mcjlyWwPktnGmS1s7Pj4ezZkzJ5IUvfOd7yw877a1HR0dkaRo/vz5ZLYKZLaxmqWt3XvvvSNJ0cte9rIoivz9UTvttFPhM3DooYcmtrXm/3Dp0qUcI5PbVOvb+9esuW2mttbObei6TldXV+E49z/+4z8Sfz+3rTXHyUuWLCGzVSCzjTVd2tpQgTv9UeQ2y/r2/jVrbmdKW2u2LSmaO3cuma0SmW1uWXJtZ/Z73/teptoot62NovJcf+hDH4okRTvuuGOh4P6CCy6IxsbGou7u7khS1NnZGayNeu1rXxtJig4++ODCc7TF5DrL+vb+tXKu49SywP3KK68sbOvxxx/3LnPhhRdGkqKenp5oaGio6vcEgDgzqsD9+uuvjxYvXlwY4Td79uxo8eLFJV9PPvlkYXnzB/tb3/pWtHj
  4870. "text/plain": [
  4871. "<Figure size 3400x1500 with 56 Axes>"
  4872. ]
  4873. },
  4874. "metadata": {},
  4875. "output_type": "display_data"
  4876. }
  4877. ],
  4878. "source": [
  4879. "fitCurve = fitAnalyser.eval(fitResult, x=np.arange(300), y=np.arange(300), dask=\"parallelized\").load()\n",
  4880. "\n",
  4881. "fitCurve.plot.pcolormesh(cmap='jet', vmin=0, col=scanAxis[0], row=scanAxis[1])\n",
  4882. "plt.show()"
  4883. ]
  4884. },
  4885. {
  4886. "cell_type": "markdown",
  4887. "metadata": {},
  4888. "source": [
  4889. "Sometimes, the fit model contains two parts, i.e. the BEC part and the thermal part. People only want to plot one part of the result. In the following, there is an example for that."
  4890. ]
  4891. },
  4892. {
  4893. "cell_type": "code",
  4894. "execution_count": 20,
  4895. "metadata": {},
  4896. "outputs": [
  4897. {
  4898. "name": "stderr",
  4899. "output_type": "stream",
  4900. "text": [
  4901. "f:\\Jianshun\\analyseScript\\Analyser\\FitAnalyser.py:86: RuntimeWarning: invalid value encountered in power\n",
  4902. " res = (1- ((x-centerx)/(sigmax))**2 - ((y-centery)/(sigmay))**2)**(3 / 2)\n"
  4903. ]
  4904. },
  4905. {
  4906. "data": {
  4907. "image/png": "iVBORw0KGgoAAAANSUhEUgAAC6AAAAW6CAYAAABYm+4zAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOzdeXxcZb0/8E/apPuO0EJZCiJrRRBEEBSKLIrKZVNBUMQF8OeKoLggm3pBqKCIogICIoJX5XIVEFkEBEVkk31RKIsgZSm0adO95/dHOtNJmrSTNslk2vf79TqvTGbOmXlmMp88Z575nuc0FEVRBAAAAAAAAAAAAAAAlqNfrRsAAAAAAAAAAAAAAEB9UIAOAAAAAAAAAAAAAEBVFKADAAAAAAAAAAAAAFAVBegAAAAAAAAAAAAAAFRFAToAAAAAAAAAAAAAAFVRgA4AAAAAAAAAAAAAQFUUoAMAAAAAAAAAAAAAUBUF6AAAAAAAAAAAAAAAVEUBOgAAAAAAAAAAAAAAVVGATo9qaGhIQ0NDbr755lo3pS5ddNFFaWhoyIQJE2rdFFYRMrlyZJJakNuVI7f0NpldOTJLLcjtypFbepvMrhyZpRbkduXILb1NZleOzFILcrty5JbeJrMrR2bpi+R65cg1QP1aLQvQL7roopx00kk6/pXwve99LyeddFL+8Y9/1LoprAK6O5M33XRT9ttvv6y99toZOHBg1l133Rx66KG55557Vvq+//3vf+fLX/5ytt566wwfPjxNTU1Zc801M2nSpJxzzjmZO3duNzyDrpNJeltXctsXM/n888/nzDPPzCGHHJKtttoq48aNy4ABAzJixIhstdVW+dznPpdHH310pdu3LHJLb+pqX9sXc/vUU0+VB/CWtRx//PEr3caOyCy9rd772l133bWqzJaWniC39KZVoa8teeqpp/K5z30um222WYYMGZKRI0dmm222ybe+9a3MmjVrpdvXGZmlt/WVvvbFF1/M1772tWy11VYZPnx4hg4dmi222CLHHXdcXnrppWVue+utt+b73/9+DjvssEycODGNjY1paGjIrrvuutLtqobc0pv6Ul+7ormt9XiUzNLb6r2vrfVYVCK39K5Voa+t9XiUzNLXVOa6L2a2pFZjUdWQa/qiRx99ND/72c/y6U9/OjvuuGOGDBnSI33bFVdckb322itrrbVWBg0alA033DBHHnlk/vWvf3Xr4wB1rlgN7bLLLkWS4sQTT6x1U+rWBhtsUCQpLrzwwmWut+mmmxabbrppcccdd/ROw1YxF154YZGk2GCDDWrdlB7VnZk88cQTiyRFkqKhoaEYOXJk+ffGxsbivPPOW+H7/uMf/1gMGzasfH/9+vVrc/9Jii233LJ4/vnnV/p5dJVM9o7VJZPVqDa3fTWTv/71r9us19jYWIwePbpoaGgoX9fU1FT88Ic/XOH2LY/c9g65bdWVvrav5nbKlCnldV73utcVY8eO7XA57bTTVrh9yyKzvUNml6j3vna//fbrNKelpXQfb3nLW1a4jcsit71DblutCn1tURTFlVdeWQwdOrS87rBhw9r8vuGGGxZTpkxZ4fYti8z2Dpldoi/0tX/961+LNddcs3x/gwcPLkaMGNFmv/euu+7qdPvKbFcuu+yyywq3qSvktnfIbau+0teuTG5rPR4ls71DZpeo97621mNRRSG3vUVuW60KfW2tx6NktnfIbPVKuS797GuZLYrajkVVQ657h1x3TWWm2y/dYdGiRcXhhx/eZoy5MtdDhgwprr766m55LKD+rZYzoNN7Hn300Tz66KPZfvvta90UVgP/8z//k5NPPjlJcuSRR+all17Ka6+9lmeffTb77rtvFixYkKOOOiq33357l+972rRp+eAHP5iZM2dm/fXXz1VXXZU5c+bktddey4wZM/K9730vjY2Neeihh3LUUUd191PrNjJJb+rLmVxvvfVy/PHH59prr83UqVMzb968TJs2LXPmzMn111+fbbfdNvPnz89nPvOZFWpfd5JbelNfzm2lO++8My+88EKHy3HHHbdCz727yCy9qS9n9oorrug0py+88EKuvvrq8rof//jHV/xF6AZyS2/qy7l94IEHctBBB2XWrFnZZptt8ve//z3Nzc1pbm7Orbfems022yxTpkzJe97znsyfP3+lX4sVJbP0pp7M7AsvvJD3ve99eemllzJhwoTccMMNmTVrVqZPn5777rsvb3vb2/Lyyy9n7733zquvvtrhfQwePDjbb799jjrqqJx33nnZa6+9Vur59hS5pTf15dzWy3iUzNKb+nJmK/XlsahEbuldfTm39TIeJbP0tltuuSVJ38tsvYxFVUOu6U2NjY3ZfPPNc+ihh+bMM8/MF7/4xW69/zPOOCMXXnhhkuTEE0/M9OnTM3369Dz66KN529velpaWlnzgAx/IlClTuvVxgTpV6wr4WjAD+sqr9ig/Vs7qcpRfd2RywYIF5fflXnvttdTtc+fOLd74xjcWSYqdd965y/d/0UUXlY/mu+mmmzpc5/jjjy8f/Tdr1qwuP8bKkMnesbpkshrLy229Z3LatGnFkCFDiiTFJz7xiS63rxpy2zvktlU1fW1fz23lrFO1mO1CZnuHzC6xqve1Rx11VHmmjOnTp3e5fdWQ294ht61Whb72wAMPLJIUQ4cOLZ577rmltn388ceLpqamIklxzjnndLl9yyOzvUNml6h1X3vssceW83jPPfcsdfsrr7xSjB49ukhSHHvssZ22sdJhhx1Wnt2uN8ht75DbVn2hr+2O3C5LT49HyWzvkNkl6r2vrfVYVFHIbW+R21arQ1/b0+NRMts7ZLZ673jHO8p9WV/MbK3Hoqoh171Drrum/XhQ6fXrjjLQadOmFcOHDy+SFEceeWSHt48bN65IUhx66KEr/XhA/VutCtAr/+F2tlQOIFR+aTd16tTi6KOPLt7whjcUgwcPbvNPu5oPY6XTUHU0+F+5/aJFi4qf/vSnxfbbb18MHz68GDZsWLHDDjsUl1xyyXKf38MPP1z8v//3/4rNN9+8fFqaTTbZpPjgBz9Y/OY3vykWLlzYZv1HH320OP3004t3vvOdxUYbbVQMGjSoGD58eLH11lsXX//614uXXnqp0+exrKXS8r74nD17dnHWWWcVO+64YzFq1Khi4MCBxfrrr198+MMfLu69995On2vlTt7cuXOL008/vdhqq62KIUOGFCNGjCgmTZpU/OEPf1jua1aNrbbaqkhSHH300ctc74YbbiiS1lMWPf300+XrX3vtteKyyy4rPvShDxUTJ04sRo8eXX6eBx98cHH77bd3ep/L2skqfaF02GGHrdD2le371re+VWy//fbFqFGjigEDBhTrrrtucdBBBy2zbd2huzNZWrbeeusOM1n5ZfznPve5LmVy3XXXLW/7lre8pcNM/u53vyuv8/LLL8ukTHZp+8r21SqT1ag2tzfeeGOb65aX27e+9a1d6ktPPfXU8rbNzc0d5naTTTYpr7Pddtt1uS/t169feSBSbleO3NZOV/raytx+73vf6zCzlX1pV/d/K3O78847d7j/W/m/4Uc/+lGb++voSz99rcx2ZfvK9vXVzBbF6tHXHnHEEeV+trGxUW67gdzWzqrS1y5YsKAYNmxYkaT45Cc/Wb6+fV/bv3//IkkxevRomV0JMltbfaWv3WyzzYokxR577FEURcfjUWuvvXb5PfDWt751uX1t6W+4zjrr2EeW26q2r2xfX81tX+prK3Pb2fc6AwYMKO/nXnzxxct9fu372tJ+8rhx42R2Jchsba0qfW1nBejGo+S2K9tXtq+v5nZ16WtL952kGDFihMyuJJnt27qS68rMXnrppV2qjWrf1xbF0rn+0pe+VCQp1lprrXJB/IknnljMnz+/GDhwYJGkaGpq6rQ26v3vf3+RpNh2223L1+mL5bor21e2r55zvSzdWYB+wQUXlO/rqaee6nCdk046qUhSDB48uJg5c+ZKPyZQ31arAvTLL7+8GDt2bPkIuaFDhxZjx45tszzzzDPl9Uv/UM8777xi7NixRZLyjsiydrI6Uk0
  4908. "text/plain": [
  4909. "<Figure size 3400x1500 with 56 Axes>"
  4910. ]
  4911. },
  4912. "metadata": {},
  4913. "output_type": "display_data"
  4914. }
  4915. ],
  4916. "source": [
  4917. "# Create a fit model for the BEC part with prefix string \n",
  4918. "# making the name of parameters as same as its in the fit reuslts.\n",
  4919. "fitModel = ThomasFermi2dModel(prefix='A_')\n",
  4920. "\n",
  4921. "fitAnalyser_BEC = FitAnalyser(fitModel, fitDim=2)\n",
  4922. "fitCurve = fitAnalyser_BEC.eval(fitResult, x=np.arange(300), y=np.arange(300), dask=\"parallelized\").load()\n",
  4923. "\n",
  4924. "fitCurve.plot.pcolormesh(cmap='jet', vmin=0, col=scanAxis[0], row=scanAxis[1])\n",
  4925. "plt.show()"
  4926. ]
  4927. },
  4928. {
  4929. "cell_type": "markdown",
  4930. "metadata": {},
  4931. "source": [
  4932. "## Creat a customized fit model"
  4933. ]
  4934. },
  4935. {
  4936. "cell_type": "code",
  4937. "execution_count": 21,
  4938. "metadata": {},
  4939. "outputs": [
  4940. {
  4941. "name": "stdout",
  4942. "output_type": "stream",
  4943. "text": [
  4944. "params.add(name=\"a\", value=-inf, max=np.inf, min=-np.inf, vary=True)\n",
  4945. "params.add(name=\"b\", value=-inf, max=np.inf, min=-np.inf, vary=True)\n"
  4946. ]
  4947. }
  4948. ],
  4949. "source": [
  4950. "from Analyser.FitAnalyser import NewFitModel\n",
  4951. "\n",
  4952. "\n",
  4953. "def customized_function(x, a, b):\n",
  4954. " return x * a + b\n",
  4955. "\n",
  4956. "customized_fitModel = NewFitModel(customized_function)\n",
  4957. "\n",
  4958. "customized_fitAnalyser = FitAnalyser(customized_fitModel, fitDim=1)\n",
  4959. "\n",
  4960. "customized_fitAnalyser.print_params_set_template()"
  4961. ]
  4962. }
  4963. ],
  4964. "metadata": {
  4965. "kernelspec": {
  4966. "display_name": "base",
  4967. "language": "python",
  4968. "name": "python3"
  4969. },
  4970. "language_info": {
  4971. "codemirror_mode": {
  4972. "name": "ipython",
  4973. "version": 3
  4974. },
  4975. "file_extension": ".py",
  4976. "mimetype": "text/x-python",
  4977. "name": "python",
  4978. "nbconvert_exporter": "python",
  4979. "pygments_lexer": "ipython3",
  4980. "version": "3.9.12"
  4981. },
  4982. "orig_nbformat": 4
  4983. },
  4984. "nbformat": 4,
  4985. "nbformat_minor": 2
  4986. }