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.

4626 lines
1.0 MiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. {
  2. "cells": [
  3. {
  4. "attachments": {},
  5. "cell_type": "markdown",
  6. "metadata": {},
  7. "source": [
  8. "# Import supporting package"
  9. ]
  10. },
  11. {
  12. "cell_type": "code",
  13. "execution_count": 1,
  14. "metadata": {},
  15. "outputs": [],
  16. "source": [
  17. "import xarray as xr\n",
  18. "import numpy as np\n",
  19. "\n",
  20. "from uncertainties import ufloat\n",
  21. "from uncertainties import unumpy as unp\n",
  22. "from uncertainties import umath\n",
  23. "\n",
  24. "import matplotlib.pyplot as plt\n",
  25. "\n",
  26. "from DataContainer.ReadData import read_hdf5_file\n",
  27. "from Analyser.ImagingAnalyser import ImageAnalyser\n",
  28. "from Analyser.FitAnalyser import FitAnalyser\n",
  29. "from Analyser.FitAnalyser import ThomasFermi2dModel, DensityProfileBEC2dModel, Polylog22dModel\n",
  30. "from Analyser.FitAnalyser import NewFitModel\n",
  31. "from ToolFunction.ToolFunction import *\n",
  32. "\n",
  33. "from ToolFunction.HomeMadeXarrayFunction import errorbar, dataarray_plot_errorbar\n",
  34. "xr.plot.dataarray_plot.errorbar = errorbar\n",
  35. "xr.plot.accessor.DataArrayPlotAccessor.errorbar = dataarray_plot_errorbar\n",
  36. "\n",
  37. "imageAnalyser = ImageAnalyser()"
  38. ]
  39. },
  40. {
  41. "attachments": {},
  42. "cell_type": "markdown",
  43. "metadata": {},
  44. "source": [
  45. "## Start a client for parallel computing"
  46. ]
  47. },
  48. {
  49. "cell_type": "code",
  50. "execution_count": 2,
  51. "metadata": {},
  52. "outputs": [
  53. {
  54. "data": {
  55. "text/html": [
  56. "<div>\n",
  57. " <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\"> </div>\n",
  58. " <div style=\"margin-left: 48px;\">\n",
  59. " <h3 style=\"margin-bottom: 0px;\">Client</h3>\n",
  60. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Client-872509c9-fa33-11ed-bec4-80e82ce2fa8e</p>\n",
  61. " <table style=\"width: 100%; text-align: left;\">\n",
  62. "\n",
  63. " <tr>\n",
  64. " \n",
  65. " <td style=\"text-align: left;\"><strong>Connection method:</strong> Cluster object</td>\n",
  66. " <td style=\"text-align: left;\"><strong>Cluster type:</strong> distributed.LocalCluster</td>\n",
  67. " \n",
  68. " </tr>\n",
  69. "\n",
  70. " \n",
  71. " <tr>\n",
  72. " <td style=\"text-align: left;\">\n",
  73. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  74. " </td>\n",
  75. " <td style=\"text-align: left;\"></td>\n",
  76. " </tr>\n",
  77. " \n",
  78. "\n",
  79. " </table>\n",
  80. "\n",
  81. " \n",
  82. "\n",
  83. " \n",
  84. " <details>\n",
  85. " <summary style=\"margin-bottom: 20px;\"><h3 style=\"display: inline;\">Cluster Info</h3></summary>\n",
  86. " <div class=\"jp-RenderedHTMLCommon jp-RenderedHTML jp-mod-trusted jp-OutputArea-output\">\n",
  87. " <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\">\n",
  88. " </div>\n",
  89. " <div style=\"margin-left: 48px;\">\n",
  90. " <h3 style=\"margin-bottom: 0px; margin-top: 0px;\">LocalCluster</h3>\n",
  91. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">4642b3f5</p>\n",
  92. " <table style=\"width: 100%; text-align: left;\">\n",
  93. " <tr>\n",
  94. " <td style=\"text-align: left;\">\n",
  95. " <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  96. " </td>\n",
  97. " <td style=\"text-align: left;\">\n",
  98. " <strong>Workers:</strong> 6\n",
  99. " </td>\n",
  100. " </tr>\n",
  101. " <tr>\n",
  102. " <td style=\"text-align: left;\">\n",
  103. " <strong>Total threads:</strong> 60\n",
  104. " </td>\n",
  105. " <td style=\"text-align: left;\">\n",
  106. " <strong>Total memory:</strong> 55.88 GiB\n",
  107. " </td>\n",
  108. " </tr>\n",
  109. " \n",
  110. " <tr>\n",
  111. " <td style=\"text-align: left;\"><strong>Status:</strong> running</td>\n",
  112. " <td style=\"text-align: left;\"><strong>Using processes:</strong> True</td>\n",
  113. "</tr>\n",
  114. "\n",
  115. " \n",
  116. " </table>\n",
  117. "\n",
  118. " <details>\n",
  119. " <summary style=\"margin-bottom: 20px;\">\n",
  120. " <h3 style=\"display: inline;\">Scheduler Info</h3>\n",
  121. " </summary>\n",
  122. "\n",
  123. " <div style=\"\">\n",
  124. " <div>\n",
  125. " <div style=\"width: 24px; height: 24px; background-color: #FFF7E5; border: 3px solid #FF6132; border-radius: 5px; position: absolute;\"> </div>\n",
  126. " <div style=\"margin-left: 48px;\">\n",
  127. " <h3 style=\"margin-bottom: 0px;\">Scheduler</h3>\n",
  128. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Scheduler-1a89e1f0-65bd-4d05-8165-fa14c1b0a473</p>\n",
  129. " <table style=\"width: 100%; text-align: left;\">\n",
  130. " <tr>\n",
  131. " <td style=\"text-align: left;\">\n",
  132. " <strong>Comm:</strong> tcp://127.0.0.1:55717\n",
  133. " </td>\n",
  134. " <td style=\"text-align: left;\">\n",
  135. " <strong>Workers:</strong> 6\n",
  136. " </td>\n",
  137. " </tr>\n",
  138. " <tr>\n",
  139. " <td style=\"text-align: left;\">\n",
  140. " <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  141. " </td>\n",
  142. " <td style=\"text-align: left;\">\n",
  143. " <strong>Total threads:</strong> 60\n",
  144. " </td>\n",
  145. " </tr>\n",
  146. " <tr>\n",
  147. " <td style=\"text-align: left;\">\n",
  148. " <strong>Started:</strong> Just now\n",
  149. " </td>\n",
  150. " <td style=\"text-align: left;\">\n",
  151. " <strong>Total memory:</strong> 55.88 GiB\n",
  152. " </td>\n",
  153. " </tr>\n",
  154. " </table>\n",
  155. " </div>\n",
  156. " </div>\n",
  157. "\n",
  158. " <details style=\"margin-left: 48px;\">\n",
  159. " <summary style=\"margin-bottom: 20px;\">\n",
  160. " <h3 style=\"display: inline;\">Workers</h3>\n",
  161. " </summary>\n",
  162. "\n",
  163. " \n",
  164. " <div style=\"margin-bottom: 20px;\">\n",
  165. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  166. " <div style=\"margin-left: 48px;\">\n",
  167. " <details>\n",
  168. " <summary>\n",
  169. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 0</h4>\n",
  170. " </summary>\n",
  171. " <table style=\"width: 100%; text-align: left;\">\n",
  172. " <tr>\n",
  173. " <td style=\"text-align: left;\">\n",
  174. " <strong>Comm: </strong> tcp://127.0.0.1:55753\n",
  175. " </td>\n",
  176. " <td style=\"text-align: left;\">\n",
  177. " <strong>Total threads: </strong> 10\n",
  178. " </td>\n",
  179. " </tr>\n",
  180. " <tr>\n",
  181. " <td style=\"text-align: left;\">\n",
  182. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:55754/status\" target=\"_blank\">http://127.0.0.1:55754/status</a>\n",
  183. " </td>\n",
  184. " <td style=\"text-align: left;\">\n",
  185. " <strong>Memory: </strong> 9.31 GiB\n",
  186. " </td>\n",
  187. " </tr>\n",
  188. " <tr>\n",
  189. " <td style=\"text-align: left;\">\n",
  190. " <strong>Nanny: </strong> tcp://127.0.0.1:55720\n",
  191. " </td>\n",
  192. " <td style=\"text-align: left;\"></td>\n",
  193. " </tr>\n",
  194. " <tr>\n",
  195. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  196. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-yeq8m5dh\n",
  197. " </td>\n",
  198. " </tr>\n",
  199. "\n",
  200. " \n",
  201. "\n",
  202. " \n",
  203. "\n",
  204. " </table>\n",
  205. " </details>\n",
  206. " </div>\n",
  207. " </div>\n",
  208. " \n",
  209. " <div style=\"margin-bottom: 20px;\">\n",
  210. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  211. " <div style=\"margin-left: 48px;\">\n",
  212. " <details>\n",
  213. " <summary>\n",
  214. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 1</h4>\n",
  215. " </summary>\n",
  216. " <table style=\"width: 100%; text-align: left;\">\n",
  217. " <tr>\n",
  218. " <td style=\"text-align: left;\">\n",
  219. " <strong>Comm: </strong> tcp://127.0.0.1:55759\n",
  220. " </td>\n",
  221. " <td style=\"text-align: left;\">\n",
  222. " <strong>Total threads: </strong> 10\n",
  223. " </td>\n",
  224. " </tr>\n",
  225. " <tr>\n",
  226. " <td style=\"text-align: left;\">\n",
  227. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:55760/status\" target=\"_blank\">http://127.0.0.1:55760/status</a>\n",
  228. " </td>\n",
  229. " <td style=\"text-align: left;\">\n",
  230. " <strong>Memory: </strong> 9.31 GiB\n",
  231. " </td>\n",
  232. " </tr>\n",
  233. " <tr>\n",
  234. " <td style=\"text-align: left;\">\n",
  235. " <strong>Nanny: </strong> tcp://127.0.0.1:55721\n",
  236. " </td>\n",
  237. " <td style=\"text-align: left;\"></td>\n",
  238. " </tr>\n",
  239. " <tr>\n",
  240. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  241. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-ysfyfwa1\n",
  242. " </td>\n",
  243. " </tr>\n",
  244. "\n",
  245. " \n",
  246. "\n",
  247. " \n",
  248. "\n",
  249. " </table>\n",
  250. " </details>\n",
  251. " </div>\n",
  252. " </div>\n",
  253. " \n",
  254. " <div style=\"margin-bottom: 20px;\">\n",
  255. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  256. " <div style=\"margin-left: 48px;\">\n",
  257. " <details>\n",
  258. " <summary>\n",
  259. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 2</h4>\n",
  260. " </summary>\n",
  261. " <table style=\"width: 100%; text-align: left;\">\n",
  262. " <tr>\n",
  263. " <td style=\"text-align: left;\">\n",
  264. " <strong>Comm: </strong> tcp://127.0.0.1:55744\n",
  265. " </td>\n",
  266. " <td style=\"text-align: left;\">\n",
  267. " <strong>Total threads: </strong> 10\n",
  268. " </td>\n",
  269. " </tr>\n",
  270. " <tr>\n",
  271. " <td style=\"text-align: left;\">\n",
  272. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:55745/status\" target=\"_blank\">http://127.0.0.1:55745/status</a>\n",
  273. " </td>\n",
  274. " <td style=\"text-align: left;\">\n",
  275. " <strong>Memory: </strong> 9.31 GiB\n",
  276. " </td>\n",
  277. " </tr>\n",
  278. " <tr>\n",
  279. " <td style=\"text-align: left;\">\n",
  280. " <strong>Nanny: </strong> tcp://127.0.0.1:55722\n",
  281. " </td>\n",
  282. " <td style=\"text-align: left;\"></td>\n",
  283. " </tr>\n",
  284. " <tr>\n",
  285. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  286. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-qy7ydspm\n",
  287. " </td>\n",
  288. " </tr>\n",
  289. "\n",
  290. " \n",
  291. "\n",
  292. " \n",
  293. "\n",
  294. " </table>\n",
  295. " </details>\n",
  296. " </div>\n",
  297. " </div>\n",
  298. " \n",
  299. " <div style=\"margin-bottom: 20px;\">\n",
  300. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  301. " <div style=\"margin-left: 48px;\">\n",
  302. " <details>\n",
  303. " <summary>\n",
  304. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 3</h4>\n",
  305. " </summary>\n",
  306. " <table style=\"width: 100%; text-align: left;\">\n",
  307. " <tr>\n",
  308. " <td style=\"text-align: left;\">\n",
  309. " <strong>Comm: </strong> tcp://127.0.0.1:55748\n",
  310. " </td>\n",
  311. " <td style=\"text-align: left;\">\n",
  312. " <strong>Total threads: </strong> 10\n",
  313. " </td>\n",
  314. " </tr>\n",
  315. " <tr>\n",
  316. " <td style=\"text-align: left;\">\n",
  317. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:55751/status\" target=\"_blank\">http://127.0.0.1:55751/status</a>\n",
  318. " </td>\n",
  319. " <td style=\"text-align: left;\">\n",
  320. " <strong>Memory: </strong> 9.31 GiB\n",
  321. " </td>\n",
  322. " </tr>\n",
  323. " <tr>\n",
  324. " <td style=\"text-align: left;\">\n",
  325. " <strong>Nanny: </strong> tcp://127.0.0.1:55723\n",
  326. " </td>\n",
  327. " <td style=\"text-align: left;\"></td>\n",
  328. " </tr>\n",
  329. " <tr>\n",
  330. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  331. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-zml_1qx2\n",
  332. " </td>\n",
  333. " </tr>\n",
  334. "\n",
  335. " \n",
  336. "\n",
  337. " \n",
  338. "\n",
  339. " </table>\n",
  340. " </details>\n",
  341. " </div>\n",
  342. " </div>\n",
  343. " \n",
  344. " <div style=\"margin-bottom: 20px;\">\n",
  345. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  346. " <div style=\"margin-left: 48px;\">\n",
  347. " <details>\n",
  348. " <summary>\n",
  349. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 4</h4>\n",
  350. " </summary>\n",
  351. " <table style=\"width: 100%; text-align: left;\">\n",
  352. " <tr>\n",
  353. " <td style=\"text-align: left;\">\n",
  354. " <strong>Comm: </strong> tcp://127.0.0.1:55756\n",
  355. " </td>\n",
  356. " <td style=\"text-align: left;\">\n",
  357. " <strong>Total threads: </strong> 10\n",
  358. " </td>\n",
  359. " </tr>\n",
  360. " <tr>\n",
  361. " <td style=\"text-align: left;\">\n",
  362. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:55757/status\" target=\"_blank\">http://127.0.0.1:55757/status</a>\n",
  363. " </td>\n",
  364. " <td style=\"text-align: left;\">\n",
  365. " <strong>Memory: </strong> 9.31 GiB\n",
  366. " </td>\n",
  367. " </tr>\n",
  368. " <tr>\n",
  369. " <td style=\"text-align: left;\">\n",
  370. " <strong>Nanny: </strong> tcp://127.0.0.1:55724\n",
  371. " </td>\n",
  372. " <td style=\"text-align: left;\"></td>\n",
  373. " </tr>\n",
  374. " <tr>\n",
  375. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  376. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-5dojxxrc\n",
  377. " </td>\n",
  378. " </tr>\n",
  379. "\n",
  380. " \n",
  381. "\n",
  382. " \n",
  383. "\n",
  384. " </table>\n",
  385. " </details>\n",
  386. " </div>\n",
  387. " </div>\n",
  388. " \n",
  389. " <div style=\"margin-bottom: 20px;\">\n",
  390. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  391. " <div style=\"margin-left: 48px;\">\n",
  392. " <details>\n",
  393. " <summary>\n",
  394. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 5</h4>\n",
  395. " </summary>\n",
  396. " <table style=\"width: 100%; text-align: left;\">\n",
  397. " <tr>\n",
  398. " <td style=\"text-align: left;\">\n",
  399. " <strong>Comm: </strong> tcp://127.0.0.1:55747\n",
  400. " </td>\n",
  401. " <td style=\"text-align: left;\">\n",
  402. " <strong>Total threads: </strong> 10\n",
  403. " </td>\n",
  404. " </tr>\n",
  405. " <tr>\n",
  406. " <td style=\"text-align: left;\">\n",
  407. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:55749/status\" target=\"_blank\">http://127.0.0.1:55749/status</a>\n",
  408. " </td>\n",
  409. " <td style=\"text-align: left;\">\n",
  410. " <strong>Memory: </strong> 9.31 GiB\n",
  411. " </td>\n",
  412. " </tr>\n",
  413. " <tr>\n",
  414. " <td style=\"text-align: left;\">\n",
  415. " <strong>Nanny: </strong> tcp://127.0.0.1:55725\n",
  416. " </td>\n",
  417. " <td style=\"text-align: left;\"></td>\n",
  418. " </tr>\n",
  419. " <tr>\n",
  420. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  421. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-51qkvst4\n",
  422. " </td>\n",
  423. " </tr>\n",
  424. "\n",
  425. " \n",
  426. "\n",
  427. " \n",
  428. "\n",
  429. " </table>\n",
  430. " </details>\n",
  431. " </div>\n",
  432. " </div>\n",
  433. " \n",
  434. "\n",
  435. " </details>\n",
  436. "</div>\n",
  437. "\n",
  438. " </details>\n",
  439. " </div>\n",
  440. "</div>\n",
  441. " </details>\n",
  442. " \n",
  443. "\n",
  444. " </div>\n",
  445. "</div>"
  446. ],
  447. "text/plain": [
  448. "<Client: 'tcp://127.0.0.1:55717' processes=6 threads=60, memory=55.88 GiB>"
  449. ]
  450. },
  451. "execution_count": 2,
  452. "metadata": {},
  453. "output_type": "execute_result"
  454. }
  455. ],
  456. "source": [
  457. "from dask.distributed import Client\n",
  458. "client = Client(n_workers=6, threads_per_worker=10, processes=True, memory_limit='10GB')\n",
  459. "client"
  460. ]
  461. },
  462. {
  463. "attachments": {},
  464. "cell_type": "markdown",
  465. "metadata": {},
  466. "source": [
  467. "## Set global path for experiment"
  468. ]
  469. },
  470. {
  471. "cell_type": "code",
  472. "execution_count": 3,
  473. "metadata": {},
  474. "outputs": [],
  475. "source": [
  476. "groupList = [\n",
  477. " \"images/MOT_3D_Camera/in_situ_absorption\",\n",
  478. " \"images/ODT_1_Axis_Camera/in_situ_absorption\",\n",
  479. " \"images/ODT_2_Axis_Camera/in_situ_absorption\",\n",
  480. "]\n",
  481. "\n",
  482. "dskey = {\n",
  483. " \"images/MOT_3D_Camera/in_situ_absorption\": \"camera_1\",\n",
  484. " \"images/ODT_1_Axis_Camera/in_situ_absorption\": \"camera_2\",\n",
  485. " \"images/ODT_2_Axis_Camera/in_situ_absorption\": \"camera_3\",\n",
  486. "}\n"
  487. ]
  488. },
  489. {
  490. "cell_type": "code",
  491. "execution_count": 4,
  492. "metadata": {},
  493. "outputs": [],
  494. "source": [
  495. "img_dir = '//DyLabNAS/Data/'\n",
  496. "SequenceName = \"Evaporative_Cooling\" + \"/\"\n",
  497. "folderPath = img_dir + SequenceName + '2023/05/24'# get_date()"
  498. ]
  499. },
  500. {
  501. "attachments": {},
  502. "cell_type": "markdown",
  503. "metadata": {},
  504. "source": [
  505. "# An example for one experimental run"
  506. ]
  507. },
  508. {
  509. "attachments": {},
  510. "cell_type": "markdown",
  511. "metadata": {},
  512. "source": [
  513. "## Load the data"
  514. ]
  515. },
  516. {
  517. "cell_type": "code",
  518. "execution_count": 5,
  519. "metadata": {},
  520. "outputs": [
  521. {
  522. "data": {
  523. "text/html": [
  524. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  525. "<defs>\n",
  526. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  527. "<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",
  528. "<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",
  529. "<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",
  530. "</symbol>\n",
  531. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  532. "<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",
  533. "<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",
  534. "<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",
  535. "<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",
  536. "</symbol>\n",
  537. "</defs>\n",
  538. "</svg>\n",
  539. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  540. " *\n",
  541. " */\n",
  542. "\n",
  543. ":root {\n",
  544. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  545. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  546. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  547. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  548. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  549. " --xr-background-color: var(--jp-layout-color0, white);\n",
  550. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  551. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  552. "}\n",
  553. "\n",
  554. "html[theme=dark],\n",
  555. "body[data-theme=dark],\n",
  556. "body.vscode-dark {\n",
  557. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  558. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  559. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  560. " --xr-border-color: #1F1F1F;\n",
  561. " --xr-disabled-color: #515151;\n",
  562. " --xr-background-color: #111111;\n",
  563. " --xr-background-color-row-even: #111111;\n",
  564. " --xr-background-color-row-odd: #313131;\n",
  565. "}\n",
  566. "\n",
  567. ".xr-wrap {\n",
  568. " display: block !important;\n",
  569. " min-width: 300px;\n",
  570. " max-width: 700px;\n",
  571. "}\n",
  572. "\n",
  573. ".xr-text-repr-fallback {\n",
  574. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  575. " display: none;\n",
  576. "}\n",
  577. "\n",
  578. ".xr-header {\n",
  579. " padding-top: 6px;\n",
  580. " padding-bottom: 6px;\n",
  581. " margin-bottom: 4px;\n",
  582. " border-bottom: solid 1px var(--xr-border-color);\n",
  583. "}\n",
  584. "\n",
  585. ".xr-header > div,\n",
  586. ".xr-header > ul {\n",
  587. " display: inline;\n",
  588. " margin-top: 0;\n",
  589. " margin-bottom: 0;\n",
  590. "}\n",
  591. "\n",
  592. ".xr-obj-type,\n",
  593. ".xr-array-name {\n",
  594. " margin-left: 2px;\n",
  595. " margin-right: 10px;\n",
  596. "}\n",
  597. "\n",
  598. ".xr-obj-type {\n",
  599. " color: var(--xr-font-color2);\n",
  600. "}\n",
  601. "\n",
  602. ".xr-sections {\n",
  603. " padding-left: 0 !important;\n",
  604. " display: grid;\n",
  605. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  606. "}\n",
  607. "\n",
  608. ".xr-section-item {\n",
  609. " display: contents;\n",
  610. "}\n",
  611. "\n",
  612. ".xr-section-item input {\n",
  613. " display: none;\n",
  614. "}\n",
  615. "\n",
  616. ".xr-section-item input + label {\n",
  617. " color: var(--xr-disabled-color);\n",
  618. "}\n",
  619. "\n",
  620. ".xr-section-item input:enabled + label {\n",
  621. " cursor: pointer;\n",
  622. " color: var(--xr-font-color2);\n",
  623. "}\n",
  624. "\n",
  625. ".xr-section-item input:enabled + label:hover {\n",
  626. " color: var(--xr-font-color0);\n",
  627. "}\n",
  628. "\n",
  629. ".xr-section-summary {\n",
  630. " grid-column: 1;\n",
  631. " color: var(--xr-font-color2);\n",
  632. " font-weight: 500;\n",
  633. "}\n",
  634. "\n",
  635. ".xr-section-summary > span {\n",
  636. " display: inline-block;\n",
  637. " padding-left: 0.5em;\n",
  638. "}\n",
  639. "\n",
  640. ".xr-section-summary-in:disabled + label {\n",
  641. " color: var(--xr-font-color2);\n",
  642. "}\n",
  643. "\n",
  644. ".xr-section-summary-in + label:before {\n",
  645. " display: inline-block;\n",
  646. " content: 'â–º';\n",
  647. " font-size: 11px;\n",
  648. " width: 15px;\n",
  649. " text-align: center;\n",
  650. "}\n",
  651. "\n",
  652. ".xr-section-summary-in:disabled + label:before {\n",
  653. " color: var(--xr-disabled-color);\n",
  654. "}\n",
  655. "\n",
  656. ".xr-section-summary-in:checked + label:before {\n",
  657. " content: 'â–¼';\n",
  658. "}\n",
  659. "\n",
  660. ".xr-section-summary-in:checked + label > span {\n",
  661. " display: none;\n",
  662. "}\n",
  663. "\n",
  664. ".xr-section-summary,\n",
  665. ".xr-section-inline-details {\n",
  666. " padding-top: 4px;\n",
  667. " padding-bottom: 4px;\n",
  668. "}\n",
  669. "\n",
  670. ".xr-section-inline-details {\n",
  671. " grid-column: 2 / -1;\n",
  672. "}\n",
  673. "\n",
  674. ".xr-section-details {\n",
  675. " display: none;\n",
  676. " grid-column: 1 / -1;\n",
  677. " margin-bottom: 5px;\n",
  678. "}\n",
  679. "\n",
  680. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  681. " display: contents;\n",
  682. "}\n",
  683. "\n",
  684. ".xr-array-wrap {\n",
  685. " grid-column: 1 / -1;\n",
  686. " display: grid;\n",
  687. " grid-template-columns: 20px auto;\n",
  688. "}\n",
  689. "\n",
  690. ".xr-array-wrap > label {\n",
  691. " grid-column: 1;\n",
  692. " vertical-align: top;\n",
  693. "}\n",
  694. "\n",
  695. ".xr-preview {\n",
  696. " color: var(--xr-font-color3);\n",
  697. "}\n",
  698. "\n",
  699. ".xr-array-preview,\n",
  700. ".xr-array-data {\n",
  701. " padding: 0 5px !important;\n",
  702. " grid-column: 2;\n",
  703. "}\n",
  704. "\n",
  705. ".xr-array-data,\n",
  706. ".xr-array-in:checked ~ .xr-array-preview {\n",
  707. " display: none;\n",
  708. "}\n",
  709. "\n",
  710. ".xr-array-in:checked ~ .xr-array-data,\n",
  711. ".xr-array-preview {\n",
  712. " display: inline-block;\n",
  713. "}\n",
  714. "\n",
  715. ".xr-dim-list {\n",
  716. " display: inline-block !important;\n",
  717. " list-style: none;\n",
  718. " padding: 0 !important;\n",
  719. " margin: 0;\n",
  720. "}\n",
  721. "\n",
  722. ".xr-dim-list li {\n",
  723. " display: inline-block;\n",
  724. " padding: 0;\n",
  725. " margin: 0;\n",
  726. "}\n",
  727. "\n",
  728. ".xr-dim-list:before {\n",
  729. " content: '(';\n",
  730. "}\n",
  731. "\n",
  732. ".xr-dim-list:after {\n",
  733. " content: ')';\n",
  734. "}\n",
  735. "\n",
  736. ".xr-dim-list li:not(:last-child):after {\n",
  737. " content: ',';\n",
  738. " padding-right: 5px;\n",
  739. "}\n",
  740. "\n",
  741. ".xr-has-index {\n",
  742. " font-weight: bold;\n",
  743. "}\n",
  744. "\n",
  745. ".xr-var-list,\n",
  746. ".xr-var-item {\n",
  747. " display: contents;\n",
  748. "}\n",
  749. "\n",
  750. ".xr-var-item > div,\n",
  751. ".xr-var-item label,\n",
  752. ".xr-var-item > .xr-var-name span {\n",
  753. " background-color: var(--xr-background-color-row-even);\n",
  754. " margin-bottom: 0;\n",
  755. "}\n",
  756. "\n",
  757. ".xr-var-item > .xr-var-name:hover span {\n",
  758. " padding-right: 5px;\n",
  759. "}\n",
  760. "\n",
  761. ".xr-var-list > li:nth-child(odd) > div,\n",
  762. ".xr-var-list > li:nth-child(odd) > label,\n",
  763. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  764. " background-color: var(--xr-background-color-row-odd);\n",
  765. "}\n",
  766. "\n",
  767. ".xr-var-name {\n",
  768. " grid-column: 1;\n",
  769. "}\n",
  770. "\n",
  771. ".xr-var-dims {\n",
  772. " grid-column: 2;\n",
  773. "}\n",
  774. "\n",
  775. ".xr-var-dtype {\n",
  776. " grid-column: 3;\n",
  777. " text-align: right;\n",
  778. " color: var(--xr-font-color2);\n",
  779. "}\n",
  780. "\n",
  781. ".xr-var-preview {\n",
  782. " grid-column: 4;\n",
  783. "}\n",
  784. "\n",
  785. ".xr-index-preview {\n",
  786. " grid-column: 2 / 5;\n",
  787. " color: var(--xr-font-color2);\n",
  788. "}\n",
  789. "\n",
  790. ".xr-var-name,\n",
  791. ".xr-var-dims,\n",
  792. ".xr-var-dtype,\n",
  793. ".xr-preview,\n",
  794. ".xr-attrs dt {\n",
  795. " white-space: nowrap;\n",
  796. " overflow: hidden;\n",
  797. " text-overflow: ellipsis;\n",
  798. " padding-right: 10px;\n",
  799. "}\n",
  800. "\n",
  801. ".xr-var-name:hover,\n",
  802. ".xr-var-dims:hover,\n",
  803. ".xr-var-dtype:hover,\n",
  804. ".xr-attrs dt:hover {\n",
  805. " overflow: visible;\n",
  806. " width: auto;\n",
  807. " z-index: 1;\n",
  808. "}\n",
  809. "\n",
  810. ".xr-var-attrs,\n",
  811. ".xr-var-data,\n",
  812. ".xr-index-data {\n",
  813. " display: none;\n",
  814. " background-color: var(--xr-background-color) !important;\n",
  815. " padding-bottom: 5px !important;\n",
  816. "}\n",
  817. "\n",
  818. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  819. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  820. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  821. " display: block;\n",
  822. "}\n",
  823. "\n",
  824. ".xr-var-data > table {\n",
  825. " float: right;\n",
  826. "}\n",
  827. "\n",
  828. ".xr-var-name span,\n",
  829. ".xr-var-data,\n",
  830. ".xr-index-name div,\n",
  831. ".xr-index-data,\n",
  832. ".xr-attrs {\n",
  833. " padding-left: 25px !important;\n",
  834. "}\n",
  835. "\n",
  836. ".xr-attrs,\n",
  837. ".xr-var-attrs,\n",
  838. ".xr-var-data,\n",
  839. ".xr-index-data {\n",
  840. " grid-column: 1 / -1;\n",
  841. "}\n",
  842. "\n",
  843. "dl.xr-attrs {\n",
  844. " padding: 0;\n",
  845. " margin: 0;\n",
  846. " display: grid;\n",
  847. " grid-template-columns: 125px auto;\n",
  848. "}\n",
  849. "\n",
  850. ".xr-attrs dt,\n",
  851. ".xr-attrs dd {\n",
  852. " padding: 0;\n",
  853. " margin: 0;\n",
  854. " float: left;\n",
  855. " padding-right: 10px;\n",
  856. " width: auto;\n",
  857. "}\n",
  858. "\n",
  859. ".xr-attrs dt {\n",
  860. " font-weight: normal;\n",
  861. " grid-column: 1;\n",
  862. "}\n",
  863. "\n",
  864. ".xr-attrs dt:hover span {\n",
  865. " display: inline-block;\n",
  866. " background: var(--xr-background-color);\n",
  867. " padding-right: 10px;\n",
  868. "}\n",
  869. "\n",
  870. ".xr-attrs dd {\n",
  871. " grid-column: 2;\n",
  872. " white-space: pre-wrap;\n",
  873. " word-break: break-all;\n",
  874. "}\n",
  875. "\n",
  876. ".xr-icon-database,\n",
  877. ".xr-icon-file-text2,\n",
  878. ".xr-no-icon {\n",
  879. " display: inline-block;\n",
  880. " vertical-align: middle;\n",
  881. " width: 1em;\n",
  882. " height: 1.5em !important;\n",
  883. " stroke-width: 0;\n",
  884. " stroke: currentColor;\n",
  885. " fill: currentColor;\n",
  886. "}\n",
  887. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  888. "Dimensions: (odt_hold_time_4: 11, runs: 2, y: 1200, x: 1920)\n",
  889. "Coordinates:\n",
  890. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 0.7 ... 1.7 1.9 2.1\n",
  891. " * runs (runs) float64 0.0 1.0\n",
  892. "Dimensions without coordinates: y, x\n",
  893. "Data variables:\n",
  894. " atoms (odt_hold_time_4, runs, y, x) uint16 dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;\n",
  895. " background (odt_hold_time_4, runs, y, x) uint16 dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;\n",
  896. " dark (odt_hold_time_4, runs, y, x) uint16 dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;\n",
  897. " shotNum (odt_hold_time_4, runs) int64 dask.array&lt;chunksize=(11, 2), meta=np.ndarray&gt;\n",
  898. " OD (odt_hold_time_4, runs, y, x) float64 dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;\n",
  899. "Attributes: (12/120)\n",
  900. " TOF_free: 0.022\n",
  901. " abs_img_freq: 110.858\n",
  902. " absorption_imaging_flag: True\n",
  903. " backup_data: True\n",
  904. " blink_off_time: 0.001\n",
  905. " blink_on_time: 0.001\n",
  906. " ... ...\n",
  907. " z_offset: 0.189\n",
  908. " z_offset_img: 0.189\n",
  909. " odt_hold_time_4: [0.1 0.3 0.5 0.7 0.9 1.1 1.3 1.5 1.7 1...\n",
  910. " runs: [0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1...\n",
  911. " scanAxis: [&#x27;odt_hold_time_4&#x27; &#x27;runs&#x27;]\n",
  912. " scanAxisLength: [22. 22.]</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-1bae38cb-8210-4216-b615-6d70ee154f09' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-1bae38cb-8210-4216-b615-6d70ee154f09' 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'>odt_hold_time_4</span>: 11</li><li><span class='xr-has-index'>runs</span>: 2</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-be065b9f-ff4c-4ae4-ba64-83e71b057339' class='xr-section-summary-in' type='checkbox' checked><label for='section-be065b9f-ff4c-4ae4-ba64-83e71b057339' 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'>odt_hold_time_4</span></div><div class='xr-var-dims'>(odt_hold_time_4)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.1 0.3 0.5 0.7 ... 1.5 1.7 1.9 2.1</div><input id='attrs-3aa0ba34-141d-4042-a8a2-d27de7dd5e25' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3aa0ba34-141d-4042-a8a2-d27de7dd5e25' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d0f7ae7e-adb1-4c86-aadf-1130b55e758b' class='xr-var-data-in' type='checkbox'><label for='data-d0f7ae7e-adb1-4c86-aadf-1130b55e758b' 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, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0</div><input id='attrs-3d54f09f-c3cb-4d22-94d6-649f8b113d33' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3d54f09f-c3cb-4d22-94d6-649f8b113d33' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-56aa1402-3941-4d85-af2f-7a8fa97b6136' class='xr-var-data-in' type='checkbox'><label for='data-56aa1402-3941-4d85-af2f-7a8fa97b6136' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-6265b478-01dc-4948-8f22-2cc5cc493264' class='xr-section-summary-in' type='checkbox' checked><label for='section-6265b478-01dc-4948-8f22-2cc5cc493264' class='xr-section-summary' >Data variables: <span>(5)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>atoms</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-232bdc26-4e60-4cbe-9a01-ef17404c6f98' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-232bdc26-4e60-4cbe-9a01-ef17404c6f98' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3072affd-3ad9-4b15-94b7-f7542da888ff' class='xr-var-data-in' type='checkbox'><label for='data-3072affd-3ad9-4b15-94b7-f7542da888ff' title='Show
  913. " <tr>\n",
  914. " <td>\n",
  915. " <table style=\"border-collapse: collapse;\">\n",
  916. " <thead>\n",
  917. " <tr>\n",
  918. " <td> </td>\n",
  919. " <th> Array </th>\n",
  920. " <th> Chunk </th>\n",
  921. " </tr>\n",
  922. " </thead>\n",
  923. " <tbody>\n",
  924. " \n",
  925. " <tr>\n",
  926. " <th> Bytes </th>\n",
  927. " <td> 96.68 MiB </td>\n",
  928. " <td> 96.68 MiB </td>\n",
  929. " </tr>\n",
  930. " \n",
  931. " <tr>\n",
  932. " <th> Shape </th>\n",
  933. " <td> (11, 2, 1200, 1920) </td>\n",
  934. " <td> (11, 2, 1200, 1920) </td>\n",
  935. " </tr>\n",
  936. " <tr>\n",
  937. " <th> Dask graph </th>\n",
  938. " <td colspan=\"2\"> 1 chunks in 70 graph layers </td>\n",
  939. " </tr>\n",
  940. " <tr>\n",
  941. " <th> Data type </th>\n",
  942. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  943. " </tr>\n",
  944. " </tbody>\n",
  945. " </table>\n",
  946. " </td>\n",
  947. " <td>\n",
  948. " <svg width=\"374\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  949. "\n",
  950. " <!-- Horizontal lines -->\n",
  951. " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
  952. " <line x1=\"0\" y1=\"25\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  953. "\n",
  954. " <!-- Vertical lines -->\n",
  955. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  956. " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  957. "\n",
  958. " <!-- Colored Rectangle -->\n",
  959. " <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",
  960. "\n",
  961. " <!-- Text -->\n",
  962. " <text x=\"12.706308\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >11</text>\n",
  963. " <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",
  964. "\n",
  965. "\n",
  966. " <!-- Horizontal lines -->\n",
  967. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  968. " <line x1=\"95\" y1=\"75\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  969. "\n",
  970. " <!-- Vertical lines -->\n",
  971. " <line x1=\"95\" y1=\"0\" x2=\"95\" y2=\"75\" style=\"stroke-width:2\" />\n",
  972. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  973. "\n",
  974. " <!-- Colored Rectangle -->\n",
  975. " <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",
  976. "\n",
  977. " <!-- Horizontal lines -->\n",
  978. " <line x1=\"95\" y1=\"0\" x2=\"215\" y2=\"0\" style=\"stroke-width:2\" />\n",
  979. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  980. "\n",
  981. " <!-- Vertical lines -->\n",
  982. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  983. " <line x1=\"215\" y1=\"0\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  984. "\n",
  985. " <!-- Colored Rectangle -->\n",
  986. " <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",
  987. "\n",
  988. " <!-- Horizontal lines -->\n",
  989. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  990. " <line x1=\"109\" y1=\"89\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  991. "\n",
  992. " <!-- Vertical lines -->\n",
  993. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  994. " <line x1=\"229\" y1=\"14\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  995. "\n",
  996. " <!-- Colored Rectangle -->\n",
  997. " <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",
  998. "\n",
  999. " <!-- Text -->\n",
  1000. " <text x=\"169.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1001. " <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",
  1002. " <text x=\"92.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,92.474299,102.474299)\">2</text>\n",
  1003. "</svg>\n",
  1004. " </td>\n",
  1005. " </tr>\n",
  1006. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>background</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-842571fe-eff0-4851-96e7-ce59c6d4ffd0' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-842571fe-eff0-4851-96e7-ce59c6d4ffd0' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6b43ad73-6c4b-4cf5-bb85-dd701a9f7bc8' class='xr-var-data-in' type='checkbox'><label for='data-6b43ad73-6c4b-4cf5-bb85-dd701a9f7bc8' 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",
  1007. " <tr>\n",
  1008. " <td>\n",
  1009. " <table style=\"border-collapse: collapse;\">\n",
  1010. " <thead>\n",
  1011. " <tr>\n",
  1012. " <td> </td>\n",
  1013. " <th> Array </th>\n",
  1014. " <th> Chunk </th>\n",
  1015. " </tr>\n",
  1016. " </thead>\n",
  1017. " <tbody>\n",
  1018. " \n",
  1019. " <tr>\n",
  1020. " <th> Bytes </th>\n",
  1021. " <td> 96.68 MiB </td>\n",
  1022. " <td> 96.68 MiB </td>\n",
  1023. " </tr>\n",
  1024. " \n",
  1025. " <tr>\n",
  1026. " <th> Shape </th>\n",
  1027. " <td> (11, 2, 1200, 1920) </td>\n",
  1028. " <td> (11, 2, 1200, 1920) </td>\n",
  1029. " </tr>\n",
  1030. " <tr>\n",
  1031. " <th> Dask graph </th>\n",
  1032. " <td colspan=\"2\"> 1 chunks in 70 graph layers </td>\n",
  1033. " </tr>\n",
  1034. " <tr>\n",
  1035. " <th> Data type </th>\n",
  1036. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  1037. " </tr>\n",
  1038. " </tbody>\n",
  1039. " </table>\n",
  1040. " </td>\n",
  1041. " <td>\n",
  1042. " <svg width=\"374\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1043. "\n",
  1044. " <!-- Horizontal lines -->\n",
  1045. " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1046. " <line x1=\"0\" y1=\"25\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1047. "\n",
  1048. " <!-- Vertical lines -->\n",
  1049. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1050. " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1051. "\n",
  1052. " <!-- Colored Rectangle -->\n",
  1053. " <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",
  1054. "\n",
  1055. " <!-- Text -->\n",
  1056. " <text x=\"12.706308\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >11</text>\n",
  1057. " <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",
  1058. "\n",
  1059. "\n",
  1060. " <!-- Horizontal lines -->\n",
  1061. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1062. " <line x1=\"95\" y1=\"75\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1063. "\n",
  1064. " <!-- Vertical lines -->\n",
  1065. " <line x1=\"95\" y1=\"0\" x2=\"95\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1066. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1067. "\n",
  1068. " <!-- Colored Rectangle -->\n",
  1069. " <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",
  1070. "\n",
  1071. " <!-- Horizontal lines -->\n",
  1072. " <line x1=\"95\" y1=\"0\" x2=\"215\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1073. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1074. "\n",
  1075. " <!-- Vertical lines -->\n",
  1076. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1077. " <line x1=\"215\" y1=\"0\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1078. "\n",
  1079. " <!-- Colored Rectangle -->\n",
  1080. " <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",
  1081. "\n",
  1082. " <!-- Horizontal lines -->\n",
  1083. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1084. " <line x1=\"109\" y1=\"89\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1085. "\n",
  1086. " <!-- Vertical lines -->\n",
  1087. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1088. " <line x1=\"229\" y1=\"14\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1089. "\n",
  1090. " <!-- Colored Rectangle -->\n",
  1091. " <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",
  1092. "\n",
  1093. " <!-- Text -->\n",
  1094. " <text x=\"169.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1095. " <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",
  1096. " <text x=\"92.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,92.474299,102.474299)\">2</text>\n",
  1097. "</svg>\n",
  1098. " </td>\n",
  1099. " </tr>\n",
  1100. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>dark</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-9882db2d-d9cb-4719-a3a7-904c4a1c383d' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9882db2d-d9cb-4719-a3a7-904c4a1c383d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-deb513af-bdf3-45cd-aecd-d7f4289cd895' class='xr-var-data-in' type='checkbox'><label for='data-deb513af-bdf3-45cd-aecd-d7f4289cd895' 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",
  1101. " <tr>\n",
  1102. " <td>\n",
  1103. " <table style=\"border-collapse: collapse;\">\n",
  1104. " <thead>\n",
  1105. " <tr>\n",
  1106. " <td> </td>\n",
  1107. " <th> Array </th>\n",
  1108. " <th> Chunk </th>\n",
  1109. " </tr>\n",
  1110. " </thead>\n",
  1111. " <tbody>\n",
  1112. " \n",
  1113. " <tr>\n",
  1114. " <th> Bytes </th>\n",
  1115. " <td> 96.68 MiB </td>\n",
  1116. " <td> 96.68 MiB </td>\n",
  1117. " </tr>\n",
  1118. " \n",
  1119. " <tr>\n",
  1120. " <th> Shape </th>\n",
  1121. " <td> (11, 2, 1200, 1920) </td>\n",
  1122. " <td> (11, 2, 1200, 1920) </td>\n",
  1123. " </tr>\n",
  1124. " <tr>\n",
  1125. " <th> Dask graph </th>\n",
  1126. " <td colspan=\"2\"> 1 chunks in 70 graph layers </td>\n",
  1127. " </tr>\n",
  1128. " <tr>\n",
  1129. " <th> Data type </th>\n",
  1130. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  1131. " </tr>\n",
  1132. " </tbody>\n",
  1133. " </table>\n",
  1134. " </td>\n",
  1135. " <td>\n",
  1136. " <svg width=\"374\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1137. "\n",
  1138. " <!-- Horizontal lines -->\n",
  1139. " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1140. " <line x1=\"0\" y1=\"25\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1141. "\n",
  1142. " <!-- Vertical lines -->\n",
  1143. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1144. " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1145. "\n",
  1146. " <!-- Colored Rectangle -->\n",
  1147. " <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",
  1148. "\n",
  1149. " <!-- Text -->\n",
  1150. " <text x=\"12.706308\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >11</text>\n",
  1151. " <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",
  1152. "\n",
  1153. "\n",
  1154. " <!-- Horizontal lines -->\n",
  1155. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1156. " <line x1=\"95\" y1=\"75\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1157. "\n",
  1158. " <!-- Vertical lines -->\n",
  1159. " <line x1=\"95\" y1=\"0\" x2=\"95\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1160. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1161. "\n",
  1162. " <!-- Colored Rectangle -->\n",
  1163. " <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",
  1164. "\n",
  1165. " <!-- Horizontal lines -->\n",
  1166. " <line x1=\"95\" y1=\"0\" x2=\"215\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1167. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1168. "\n",
  1169. " <!-- Vertical lines -->\n",
  1170. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1171. " <line x1=\"215\" y1=\"0\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1172. "\n",
  1173. " <!-- Colored Rectangle -->\n",
  1174. " <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",
  1175. "\n",
  1176. " <!-- Horizontal lines -->\n",
  1177. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1178. " <line x1=\"109\" y1=\"89\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1179. "\n",
  1180. " <!-- Vertical lines -->\n",
  1181. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1182. " <line x1=\"229\" y1=\"14\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1183. "\n",
  1184. " <!-- Colored Rectangle -->\n",
  1185. " <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",
  1186. "\n",
  1187. " <!-- Text -->\n",
  1188. " <text x=\"169.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1189. " <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",
  1190. " <text x=\"92.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,92.474299,102.474299)\">2</text>\n",
  1191. "</svg>\n",
  1192. " </td>\n",
  1193. " </tr>\n",
  1194. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>shotNum</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(11, 2), meta=np.ndarray&gt;</div><input id='attrs-a20e5a79-0996-44d4-9409-ae53e674b40a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a20e5a79-0996-44d4-9409-ae53e674b40a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a0fcd018-5e0a-4461-8cac-0fd14c833aee' class='xr-var-data-in' type='checkbox'><label for='data-a0fcd018-5e0a-4461-8cac-0fd14c833aee' 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",
  1195. " <tr>\n",
  1196. " <td>\n",
  1197. " <table style=\"border-collapse: collapse;\">\n",
  1198. " <thead>\n",
  1199. " <tr>\n",
  1200. " <td> </td>\n",
  1201. " <th> Array </th>\n",
  1202. " <th> Chunk </th>\n",
  1203. " </tr>\n",
  1204. " </thead>\n",
  1205. " <tbody>\n",
  1206. " \n",
  1207. " <tr>\n",
  1208. " <th> Bytes </th>\n",
  1209. " <td> 176 B </td>\n",
  1210. " <td> 176 B </td>\n",
  1211. " </tr>\n",
  1212. " \n",
  1213. " <tr>\n",
  1214. " <th> Shape </th>\n",
  1215. " <td> (11, 2) </td>\n",
  1216. " <td> (11, 2) </td>\n",
  1217. " </tr>\n",
  1218. " <tr>\n",
  1219. " <th> Dask graph </th>\n",
  1220. " <td colspan=\"2\"> 1 chunks in 1 graph layer </td>\n",
  1221. " </tr>\n",
  1222. " <tr>\n",
  1223. " <th> Data type </th>\n",
  1224. " <td colspan=\"2\"> int64 numpy.ndarray </td>\n",
  1225. " </tr>\n",
  1226. " </tbody>\n",
  1227. " </table>\n",
  1228. " </td>\n",
  1229. " <td>\n",
  1230. " <svg width=\"91\" height=\"170\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1231. "\n",
  1232. " <!-- Horizontal lines -->\n",
  1233. " <line x1=\"0\" y1=\"0\" x2=\"41\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1234. " <line x1=\"0\" y1=\"120\" x2=\"41\" y2=\"120\" style=\"stroke-width:2\" />\n",
  1235. "\n",
  1236. " <!-- Vertical lines -->\n",
  1237. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"120\" style=\"stroke-width:2\" />\n",
  1238. " <line x1=\"41\" y1=\"0\" x2=\"41\" y2=\"120\" style=\"stroke-width:2\" />\n",
  1239. "\n",
  1240. " <!-- Colored Rectangle -->\n",
  1241. " <polygon points=\"0.0,0.0 41.59732749150097,0.0 41.59732749150097,120.0 0.0,120.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1242. "\n",
  1243. " <!-- Text -->\n",
  1244. " <text x=\"20.798664\" y=\"140.000000\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >2</text>\n",
  1245. " <text x=\"61.597327\" y=\"60.000000\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,61.597327,60.000000)\">11</text>\n",
  1246. "</svg>\n",
  1247. " </td>\n",
  1248. " </tr>\n",
  1249. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>OD</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs, y, x)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(11, 2, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-4183fab5-a825-4ecb-b3fc-7c1cb447528c' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-4183fab5-a825-4ecb-b3fc-7c1cb447528c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9ed73333-8b8e-4839-8e6a-45ff0d97fa44' class='xr-var-data-in' type='checkbox'><label for='data-9ed73333-8b8e-4839-8e6a-45ff0d97fa44' 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",
  1250. " <tr>\n",
  1251. " <td>\n",
  1252. " <table style=\"border-collapse: collapse;\">\n",
  1253. " <thead>\n",
  1254. " <tr>\n",
  1255. " <td> </td>\n",
  1256. " <th> Array </th>\n",
  1257. " <th> Chunk </th>\n",
  1258. " </tr>\n",
  1259. " </thead>\n",
  1260. " <tbody>\n",
  1261. " \n",
  1262. " <tr>\n",
  1263. " <th> Bytes </th>\n",
  1264. " <td> 386.72 MiB </td>\n",
  1265. " <td> 386.72 MiB </td>\n",
  1266. " </tr>\n",
  1267. " \n",
  1268. " <tr>\n",
  1269. " <th> Shape </th>\n",
  1270. " <td> (11, 2, 1200, 1920) </td>\n",
  1271. " <td> (11, 2, 1200, 1920) </td>\n",
  1272. " </tr>\n",
  1273. " <tr>\n",
  1274. " <th> Dask graph </th>\n",
  1275. " <td colspan=\"2\"> 1 chunks in 220 graph layers </td>\n",
  1276. " </tr>\n",
  1277. " <tr>\n",
  1278. " <th> Data type </th>\n",
  1279. " <td colspan=\"2\"> float64 numpy.ndarray </td>\n",
  1280. " </tr>\n",
  1281. " </tbody>\n",
  1282. " </table>\n",
  1283. " </td>\n",
  1284. " <td>\n",
  1285. " <svg width=\"374\" height=\"139\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1286. "\n",
  1287. " <!-- Horizontal lines -->\n",
  1288. " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1289. " <line x1=\"0\" y1=\"25\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1290. "\n",
  1291. " <!-- Vertical lines -->\n",
  1292. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1293. " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" style=\"stroke-width:2\" />\n",
  1294. "\n",
  1295. " <!-- Colored Rectangle -->\n",
  1296. " <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",
  1297. "\n",
  1298. " <!-- Text -->\n",
  1299. " <text x=\"12.706308\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >11</text>\n",
  1300. " <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",
  1301. "\n",
  1302. "\n",
  1303. " <!-- Horizontal lines -->\n",
  1304. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1305. " <line x1=\"95\" y1=\"75\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1306. "\n",
  1307. " <!-- Vertical lines -->\n",
  1308. " <line x1=\"95\" y1=\"0\" x2=\"95\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1309. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1310. "\n",
  1311. " <!-- Colored Rectangle -->\n",
  1312. " <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",
  1313. "\n",
  1314. " <!-- Horizontal lines -->\n",
  1315. " <line x1=\"95\" y1=\"0\" x2=\"215\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1316. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1317. "\n",
  1318. " <!-- Vertical lines -->\n",
  1319. " <line x1=\"95\" y1=\"0\" x2=\"109\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1320. " <line x1=\"215\" y1=\"0\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1321. "\n",
  1322. " <!-- Colored Rectangle -->\n",
  1323. " <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",
  1324. "\n",
  1325. " <!-- Horizontal lines -->\n",
  1326. " <line x1=\"109\" y1=\"14\" x2=\"229\" y2=\"14\" style=\"stroke-width:2\" />\n",
  1327. " <line x1=\"109\" y1=\"89\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1328. "\n",
  1329. " <!-- Vertical lines -->\n",
  1330. " <line x1=\"109\" y1=\"14\" x2=\"109\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1331. " <line x1=\"229\" y1=\"14\" x2=\"229\" y2=\"89\" style=\"stroke-width:2\" />\n",
  1332. "\n",
  1333. " <!-- Colored Rectangle -->\n",
  1334. " <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",
  1335. "\n",
  1336. " <!-- Text -->\n",
  1337. " <text x=\"169.948598\" y=\"109.948598\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1338. " <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",
  1339. " <text x=\"92.474299\" y=\"102.474299\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,92.474299,102.474299)\">2</text>\n",
  1340. "</svg>\n",
  1341. " </td>\n",
  1342. " </tr>\n",
  1343. "</table></div></li></ul></div></li><li class='xr-section-item'><input id='section-0071d0d1-68e9-4e65-b615-5410709ff74f' class='xr-section-summary-in' type='checkbox' ><label for='section-0071d0d1-68e9-4e65-b615-5410709ff74f' 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>odt_hold_time_4</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-f12aa88d-de67-4995-8b51-b23a21473e19' class='xr-index-data-in' type='checkbox'/><label for='index-f12aa88d-de67-4995-8b51-b23a21473e19' 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.1, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1], dtype=&#x27;float64&#x27;, name=&#x27;odt_hold_time_4&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-6a68582e-273c-40eb-9900-17b4fefe3d9b' class='xr-index-data-in' type='checkbox'/><label for='index-6a68582e-273c-40eb-9900-17b4fefe3d9b' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-a616f241-70de-4de5-81af-1b7c8932a296' class='xr-section-summary-in' type='checkbox' ><label for='section-a616f241-70de-4de5-81af-1b7c8932a296' class='xr-section-summary' >Attributes: <span>(120)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>TOF_free :</span></dt><dd>0.022</dd><dt><span>abs_img_freq :</span></dt><dd>110.858</dd><dt><span>absorption_imaging_flag :</span></dt><dd>True</dd><dt><span>backup_data :</span></dt><dd>True</dd><dt><span>blink_off_time :</span></dt><dd>0.001</dd><dt><span>blink_on_time :</span></dt><dd>0.001</dd><dt><span>c_duration :</span></dt><dd>0.2</dd><dt><span>carrier_amp :</span></dt><dd>3</dd><dt><span>carrier_freq :</span></dt><dd>nan</dd><dt><span>carrier_offset :</span></dt><dd>0</dd><dt><span>carrier_phase :</span></dt><dd>0</dd><dt><span>channel_in_use :</span></dt><dd>1</dd><dt><span>cmot_final_current :</span></dt><dd>0.65</dd><dt><span>cmot_hold :</span></dt><dd>0.06</dd><dt><span>cmot_initial_current :</span></dt><dd>0.18</dd><dt><span>compX_current :</span></dt><dd>0</dd><dt><span>compX_current_sg :</span></dt><dd>0.0</dd><dt><span>compX_final_current :</span></dt><dd>0.001</dd><dt><span>compX_initial_current :</span></dt><dd>0</dd><dt><span>compY_current :</span></dt><dd>0</dd><dt><span>compY_current_sg :</span></dt><dd>0.0</dd><dt><span>compY_final_current :</span></dt><dd>0.0</dd><dt><span>compY_initial_current :</span></dt><dd>0</dd><dt><span>compZ_current :</span></dt><dd>0</dd><dt><span>compZ_current_sg :</span></dt><dd>0.189</dd><dt><span>compZ_final_current :</span></dt><dd>0.264</dd><dt><span>compZ_initial_current :</span></dt><dd>0</dd><dt><span>default_camera :</span></dt><dd>0</dd><dt><span>deltaf :</span></dt><dd>0.11</dd><dt><span>evap_1_arm_1_final_pow :</span></dt><dd>0.35</dd><dt><span>evap_1_arm_1_mod_depth_final :</span></dt><dd>0</dd><dt><span>evap_1_arm_1_mod_depth_initial :</span></dt><dd>1.0</dd><dt><span>evap_1_arm_1_mod_ramp_duration :</span></dt><dd>1.15</dd><dt><span>evap_1_arm_1_pow_ramp_duration :</span></dt><dd>1.65</dd><dt><span>evap_1_arm_1_start_pow :</span></dt><dd>7</dd><dt><span>evap_1_arm_2_final_pow :</span></dt><dd>5</dd><dt><span>evap_1_arm_2_ramp_duration :</span></dt><dd>0.5</dd><dt><span>evap_1_arm_2_start_pow :</span></dt><dd>0</dd><dt><span>evap_1_mod_ramp_trunc_value :</span></dt><dd>1</dd><dt><span>evap_1_pow_ramp_trunc_value :</span></dt><dd>1.0</dd><dt><span>evap_1_rate_constant_1 :</span>
  1344. " 1.5 1.7 1.9 2.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.]</dd><dt><span>scanAxis :</span></dt><dd>[&#x27;odt_hold_time_4&#x27; &#x27;runs&#x27;]</dd><dt><span>scanAxisLength :</span></dt><dd>[22. 22.]</dd></dl></div></li></ul></div></div>"
  1345. ],
  1346. "text/plain": [
  1347. "<xarray.Dataset>\n",
  1348. "Dimensions: (odt_hold_time_4: 11, runs: 2, y: 1200, x: 1920)\n",
  1349. "Coordinates:\n",
  1350. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 0.7 ... 1.7 1.9 2.1\n",
  1351. " * runs (runs) float64 0.0 1.0\n",
  1352. "Dimensions without coordinates: y, x\n",
  1353. "Data variables:\n",
  1354. " atoms (odt_hold_time_4, runs, y, x) uint16 dask.array<chunksize=(11, 2, 1200, 1920), meta=np.ndarray>\n",
  1355. " background (odt_hold_time_4, runs, y, x) uint16 dask.array<chunksize=(11, 2, 1200, 1920), meta=np.ndarray>\n",
  1356. " dark (odt_hold_time_4, runs, y, x) uint16 dask.array<chunksize=(11, 2, 1200, 1920), meta=np.ndarray>\n",
  1357. " shotNum (odt_hold_time_4, runs) int64 dask.array<chunksize=(11, 2), meta=np.ndarray>\n",
  1358. " OD (odt_hold_time_4, runs, y, x) float64 dask.array<chunksize=(11, 2, 1200, 1920), meta=np.ndarray>\n",
  1359. "Attributes: (12/120)\n",
  1360. " TOF_free: 0.022\n",
  1361. " abs_img_freq: 110.858\n",
  1362. " absorption_imaging_flag: True\n",
  1363. " backup_data: True\n",
  1364. " blink_off_time: 0.001\n",
  1365. " blink_on_time: 0.001\n",
  1366. " ... ...\n",
  1367. " z_offset: 0.189\n",
  1368. " z_offset_img: 0.189\n",
  1369. " odt_hold_time_4: [0.1 0.3 0.5 0.7 0.9 1.1 1.3 1.5 1.7 1...\n",
  1370. " runs: [0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1...\n",
  1371. " scanAxis: ['odt_hold_time_4' 'runs']\n",
  1372. " scanAxisLength: [22. 22.]"
  1373. ]
  1374. },
  1375. "execution_count": 5,
  1376. "metadata": {},
  1377. "output_type": "execute_result"
  1378. }
  1379. ],
  1380. "source": [
  1381. "shotNum = \"0002\"\n",
  1382. "filePath = folderPath + \"/\" + shotNum + \"/*.h5\"\n",
  1383. "# filePath = \"//DyLabNAS/Data/Evaporative_Cooling/2023/05/12/0065/*.h5\"\n",
  1384. "\n",
  1385. "dataSetDict = {\n",
  1386. " dskey[groupList[i]]: read_hdf5_file(filePath, groupList[i])\n",
  1387. " for i in [0] # range(len(groupList))\n",
  1388. "}\n",
  1389. "\n",
  1390. "dataSet = dataSetDict[\"camera_1\"]\n",
  1391. "dataSet = swap_xy(dataSet)\n",
  1392. "\n",
  1393. "scanAxis = get_scanAxis(dataSet)\n",
  1394. "\n",
  1395. "dataSet = auto_rechunk(dataSet)\n",
  1396. "\n",
  1397. "dataSet = imageAnalyser.get_absorption_images(dataSet)\n",
  1398. "\n",
  1399. "dataSet"
  1400. ]
  1401. },
  1402. {
  1403. "attachments": {},
  1404. "cell_type": "markdown",
  1405. "metadata": {},
  1406. "source": [
  1407. "## Calculate an plot OD images"
  1408. ]
  1409. },
  1410. {
  1411. "cell_type": "code",
  1412. "execution_count": 6,
  1413. "metadata": {},
  1414. "outputs": [
  1415. {
  1416. "data": {
  1417. "image/png": "iVBORw0KGgoAAAANSUhEUgAAC4gAAAJOCAYAAABPtciWAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/bCgiHAAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOy9f5wdRZX3fy5MhAEmYUJICBKYQEAiBgxEMCIyaMTwKMgPFQkbiYIK7voDHsUf7AqoEWFV+K6uoIsSHhajLoIrKyCyyyCyETaSLHn2CUiQwQDhRyAmAYYfA/f7xz2f7s8993Sl7507yYSc9+uVV026q7urq+qcOlV965xKtVqtShAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQbDZs9WmLkAQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEHQHuIH4kEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBK8S4gfiQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAErxLiB+JBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEASvEuIH4kEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBK8S4gfiQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAErxLiB+JBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEASvEuIH4kEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBK8S4gfiQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAErxLiB+KbCX19fVKpVOQvf/lLy/fo6emRSy65ZEjlmDdvnhx77LHJPL29vfKZz3ym5WcsWLBAdtxxx5avD4KRSMhwEGz+hBwHweZPyHEQbP6EHAfB5k/IcRBs3oQMB8HmT8hxEGz+hBwHweZPyHEQbP6EHAdBEASbA/ED8c2UV8vg6xk7J554ovzxj3/cNAVyuOOOO6Sjo0Pe+MY3Dvuz1qxZI3PnzpUxY8bImDFjZO7cuRs0Jq+99lp517veJePGjZNKpSJLly4d9nIGQydkeOMx0mX4vPPOk3333Ve233576e7ullmzZsmdd9457GUNhk7I8cZjpMvxvHnzpFKp1P1785vfPOxlDYZOyPHGY6TLsZVh/Pv7v//7YS9vMDRCjjceI12OH3/8cZk3b57suuuust1228ns2bPl/vvvH/ayBkMn5HjjsTHleP78+fKWt7xFtttuu9LtG2tcmychwxuPkS7Dsca1+RJyvPEY6XIca1ybLyHHG4+RLsexxrX5EnK88RjpchxrXJsvIccbj40lx/39/XLqqafK5MmTpbOzU/baay8599xz5cUXX0xeF2tcQRCMJOIH4sGIo7OzU8aPH7+piyEiImvXrpUPfehD8o53vGOjPG/OnDmydOlSuemmm+Smm26SpUuXyty5c5PXPPvss3LooYfKN77xjY1SxiDYECHDzcnwPvvsI9/97ndl2bJl8rvf/U56enrkyCOPlCeffHKjlDkIPEKOm5NjEZHZs2fLqlWrsn833HDDRihtEBQTctycHLP8rlq1Sn70ox9JpVKRE044YaOUOQg8Qo7Ly3G1WpVjjz1W/vSnP8m//uu/ypIlS2SPPfaQWbNmybPPPrtRyhwEHluyHL/44ovy/ve/X84444zS18QaVzDSCBluToZjjSsYiYQcNyfHIrHGFYw8Qo6bk+NY4wpGIiHH5eU41riCkcqWKsf33nuvvPLKK/L9739f/ud//kcuvvhiueyyy+RLX/pS8rpY4wqCYCQRPxDfBLzwwgvyqU99SsaPHy/bbrutvPWtb5X/+q//qstzww03yD777COdnZ1yxBFHSH9/f3aur69PPvzhD8vatWuzXb/nnXdeqWc/99xz8pGPfES6urpk9913lx/84Ad155ctWyZvf/vbpbOzU3baaSf52Mc+Js8880zh/Z599ln50Ic+JDvssINMnDhRvvWtb5Wuh97eXnnooYfkzDPPzN5DpHFX3XnnnSdvfOMb5Uc/+pHsvvvussMOO8gZZ5whL7/8slx00UWyyy67yPjx42X+/Pl191+7dq187GMfk/Hjx8vo0aPl7W9/u/z3f/936fKJiHz84x+XOXPmyMyZM5u6rhWWL18uN910k1x++eUyc+ZMmTlzpvzTP/2T/Nu//Zvcd999hdfNnTtXvvzlL8usWbOGvYxBjZDhGiHD9bQqw3PmzJFZs2bJnnvuKfvtt598+9vflnXr1sk999wz7GXekgk5rhFyXE+rciwiss0228guu+yS/Rs7duywl3dLJ+S4RshxPa3KMcvvLrvsIv/6r/8qRxxxhOy5557DXuYtmZDjGiHH9bQix/fff7/8/ve/l0svvVTe9KY3yete9zr53ve+J88884wsXLhw2Mu8JRNyXCPkuJHzzz9fzjzzTJk2bVrpa2KNa+MTMlwjZLiRVmQ41rg2DSHHNUKOG2lFjkVijWtTEHJcI+S4kVbkONa4Ng0hxzVCjhtpVo5jjWvTEXJcI+S4ntmzZ8sVV1whRx55pOy5555yzDHHyGc/+1m59tprk9fFGlcQBCOJ+IH4JuDss8+Wn//853LllVfK3XffLVOmTJF3vetd8vTTT4uIyMqVK+X444+X//W//pcsXbpUTjvtNPnCF76QXf+Wt7xFLrnkEhk9enS2+/ezn/1sqWd/61vfkhkzZsiSJUvkE5/4hJxxxhly7733ikjN6Jg9e7Z0d3fLf/3Xf8m//Mu/yC233CJ/8zd/U3i/z33uc3LrrbfKddddJzfffLP09fXJH/7wh1Jlufbaa2W33XaTr3zlK9l7FPHAAw/IjTfeKDfddJMsXLhQfvSjH8m73/1uefjhh+W2226TCy+8UP72b/9Wfv/734tIbWflu9/9bnnsscfkhhtukD/84Q9y4IEHyjve8Y6snjfEFVdcIQ888ICce+65pfKLiOywww7Jf0cddVThtYsWLZIxY8bIIYcckh1785vfLGPGjJH//M//LF2GYPgJGa4RMlxPO2T4xRdflB/84AcyZswYOeCAA0qXO2iekOMaIcf1DEWO+/r6ZPz48bLPPvvIRz/6UXniiSdKlzlojZDjGiHH9bRjPH788cflV7/6lZx66qmlyxy0RshxjZDjelqR4xdeeEFERLbddtvs2NZbby2vec1r5He/+13pcgfNE3JcI+Q42FwJGa4RMtx+Yo1r4xFyXCPkuH3EGtfGJ+S4Rshx+4k1ro1HyHGNkOOhE2tcm46Q4xohxxtm7dq1sYkyCILNi2qwUXnmmWeqo0aNql599dXZsRdffLG66667Vi+66KJqtVqtfvGLX6xOnTq1+sorr2R5Pv/5z1dFpLpmzZpqtVqtXnHFFdUxY8Y09ew99tij+ld/9VfZ/1955ZXq+PHjq5deemm1Wq1Wf/CDH1S7u7urzzzzTJbnV7/6VXWrrbaqPvbYY9VqtVo95ZRTqu9973ur1Wq1un79+uprXvOa6k9+8pMs/1NPPVXt7OysfvrTny5dposvvrjumH23c889t7rddttV161blx1717veVe3p6am+/PLL2bHXve511QsuuKBarVar//7v/14dPXp09fnnn6+791577VX9/ve/v8Fy/fGPf6yOHz++et9992VlOOCAAzZ43f3335/89/DDDxdeO3/+/Oree+/dcHzvvfeufv3rX9/gsx988MGqiFSXLFmywbxB64QMN5YpZLjGUGT4+uuvr26//fbVSqVS3XXXXat33XXXBssatE7IcWOZQo5rtCrHP/nJT6r/9m//Vl22bFn1l7/8ZfWAAw6o7rfffg3vHrSPkOPGMoUc1xiqTV2tVqsXXnhhtbu7uzowMFAqf9AaIceNZQo5rtGKHL/44ovVPfbYo/r+97+/+vTTT1dfeOGF6gUXXFAVkeqRRx65wfIGrRFy3FimkONGWmnfWOPaOIQMN5YpZLiRZts31rg2LiHHjWUKOW6kmfaNNa6NT8hxY5lCjht
  1418. "text/plain": [
  1419. "<Figure size 3400x600 with 23 Axes>"
  1420. ]
  1421. },
  1422. "metadata": {},
  1423. "output_type": "display_data"
  1424. }
  1425. ],
  1426. "source": [
  1427. "imageAnalyser.center = (960, 1050)\n",
  1428. "imageAnalyser.span = (100, 100)\n",
  1429. "imageAnalyser.fraction = (0.1, 0.1)\n",
  1430. "\n",
  1431. "dataSet_cropOD = imageAnalyser.crop_image(dataSet.OD)\n",
  1432. "dataSet_cropOD = imageAnalyser.substract_offset(dataSet_cropOD).load()\n",
  1433. "\n",
  1434. "dataSet_cropOD.plot.pcolormesh(cmap='jet', vmin=0, vmax=1, col=scanAxis[0], row=scanAxis[1])\n",
  1435. "plt.show()"
  1436. ]
  1437. },
  1438. {
  1439. "attachments": {},
  1440. "cell_type": "markdown",
  1441. "metadata": {},
  1442. "source": [
  1443. "## Do a 2D two-peak gaussian fit to the OD images"
  1444. ]
  1445. },
  1446. {
  1447. "attachments": {},
  1448. "cell_type": "markdown",
  1449. "metadata": {},
  1450. "source": [
  1451. "### Do the fit"
  1452. ]
  1453. },
  1454. {
  1455. "cell_type": "code",
  1456. "execution_count": 18,
  1457. "metadata": {},
  1458. "outputs": [],
  1459. "source": [
  1460. "from Analyser.FitAnalyser import ThomasFermi2dModel, DensityProfileBEC2dModel, polylog2_2d\n",
  1461. "\n",
  1462. "fitModel = DensityProfileBEC2dModel()\n",
  1463. "# fitModel = ThomasFermi2dModel()\n",
  1464. "\n",
  1465. "fitAnalyser = FitAnalyser(fitModel, fitDim=2)\n",
  1466. "\n",
  1467. "# fitAnalyser = FitAnalyser(\"Gaussian-2D\", fitDim=2)\n",
  1468. "\n",
  1469. "dataSet_cropOD = dataSet_cropOD.chunk((1,1,100,100))\n",
  1470. "\n",
  1471. "params = fitAnalyser.guess(dataSet_cropOD, guess_kwargs=dict(pureBECThreshold=0.5), dask=\"parallelized\")\n",
  1472. "fitResult = fitAnalyser.fit(dataSet_cropOD, params).load()"
  1473. ]
  1474. },
  1475. {
  1476. "cell_type": "code",
  1477. "execution_count": 19,
  1478. "metadata": {},
  1479. "outputs": [
  1480. {
  1481. "name": "stderr",
  1482. "output_type": "stream",
  1483. "text": [
  1484. "f:\\Jianshun\\analyseScript\\Analyser\\FitAnalyser.py:84: RuntimeWarning: invalid value encountered in power\n",
  1485. " res = (1- ((x-centerx)/(sigmax))**2 - ((y-centery)/(sigmay))**2)**(3 / 2)\n"
  1486. ]
  1487. },
  1488. {
  1489. "data": {
  1490. "text/plain": [
  1491. "<xarray.plot.facetgrid.FacetGrid at 0x1c08392d070>"
  1492. ]
  1493. },
  1494. "execution_count": 19,
  1495. "metadata": {},
  1496. "output_type": "execute_result"
  1497. },
  1498. {
  1499. "data": {
  1500. "image/png": "iVBORw0KGgoAAAANSUhEUgAAC5EAAAJOCAYAAACUDmK0AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/bCgiHAAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOzde3ycZZ3///fk2KRNmqYlJ9qSQlvKSU6ynFwOinhcZcXT4rK6sh53v55+HhZ113oABE91l10Rvwr4VcHvfsHDrqigu4AIKiBFVCi0NtDStKUlaZM2TZpkfn/c1+e+r7nmnmmSNplM8no+Hnlc99z3NTP3TOYz132Y+/PJZLPZrAAAAAAAAAAAAAAAAAAAAAAAs0JFqVcAAAAAAAAAAAAAAAAAAAAAADB1+BE5AAAAAAAAAAAAAAAAAAAAAMwi/IgcAAAAAAAAAAAAAAAAAAAAAGYRfkQOAAAAAAAAAAAAAAAAAAAAALMIPyIHAAAAAAAAAAAAAAAAAAAAgFmEH5EDAAAAAAAAAAAAAAAAAAAAwCzCj8gBAAAAAAAAAAAAAAAAAAAAYBbhR+QAAAAAAAAAAAAAAAAAAAAAMIvwI3IAAAAAAAAAAAAAAAAAAAAAmEX4EXmZuOuuu5TJZNTb2zvhx+js7NSaNWsOaj3e8pa36KKLLira57zzztP73ve+CT/HjTfeqKampgnfH5iOiGGg/BHHQPkjjoHyRxwD5Y84BsobMQyUP+IYKH/EMVD+iGOg/BHHAICZgh+Rl6mZMkCnbRC94Q1v0BNPPFGaFUrxy1/+UlVVVTrppJMm/bl6enp06aWXav78+Zo/f74uvfTSA25w3nbbbXrJS16iRYsWKZPJaO3atZO+njh4xPDUme4xvHr1aq1atUpz587VggULdMEFF+jXv/71pK8rDh5xPHWmexy/5S1vUSaTyfk744wzJn1dcfCI46kz3eM4jGH7+9znPjfp64uDQxxPnekex9u2bdNb3vIWdXR0qL6+Xi996Uv15JNPTvq64uARx1NnKuP4iiuu0FlnnaX6+vox/385xlWeiOGpM91jmGNc5Ys4njrTPY45xlW+iOOpM93jmGNc5Ys4njrTPY45xlW+iOOpM1Vx3NXVpcsuu0zLli1TXV2djjrqKH3iE5/Q0NBQ0ftxjAtAueFH5Jh26urq1NLSUurVkCTt2rVLf/M3f6MXvehFU/J8l1xyidauXauf/OQn+slPfqK1a9fq0ksvLXqfPXv26Oyzz9ZnP/vZKVlH4ECI4fHF8MqVK3Xttdfq0Ucf1b333qvOzk5deOGFevbZZ6dknYE0xPH44liSXvrSl6q7uzv+u/3226dgbYHCiOPxxbEfv93d3frGN76hTCajiy++eErWGUhDHI89jrPZrC666CL96U9/0g9+8AM9/PDDOuKII3TBBRdoz549U7LOQJrZHMdDQ0N63etep3e9611jvg/HuDDdEMPji2GOcWE6Io7HF8cSx7gw/RDH44tjjnFhOiKOxx7HHOPCdDVb4/jxxx/X6OiovvrVr+oPf/iDvvSlL+m6667TRz/60aL34xgXgHLDj8hLYHBwUO95z3vU0tKiOXPm6AUveIEeeOCBnD633367Vq5cqbq6Op1//vnq6uqKl911113627/9W+3atSu+enj16tVjeu69e/fqrW99qxoaGrR06VJdf/31OcsfffRRvfCFL1RdXZ0WLlyot7/97erv7y/4eHv27NHf/M3faN68eWpvb9cXvvCFMb8P5513np566im9//3vj1+HlH913urVq3XSSSfpG9/4hpYuXap58+bpXe96l0ZGRnTNNdeora1NLS0tuuKKK3Ief9euXXr729+ulpYWNTY26oUvfKEeeeSRMa+fJL3jHe/QJZdcojPPPHNc95uIxx57TD/5yU/0v//3/9aZZ56pM888U1/72tf0X//1X1q3bl3B+1166aX653/+Z11wwQWTvo6IEMMRYjjXRGP4kksu0QUXXKAjjzxSxx13nL74xS9q9+7d+t3vfjfp6zybEccR4jjXRONYkmpra9XW1hb/NTc3T/r6znbEcYQ4zjXROPbjt62tTT/4wQ90/vnn68gjj5z0dZ7NiOMIcZxrInH85JNP6le/+pW+8pWv6LTTTtPRRx+tf//3f1d/f79uvvnmSV/n2Yw4jhDH+T75yU/q/e9/v0444YQx34djXFOPGI4Qw/kmEsMc4yoN4jhCHOebSBxLHOMqBeI4Qhznm0gcc4yrNIjjCHGcb7xxzDGu0iGOI8Rxrpe+9KW64YYbdOGFF+rII4/Uq171Kn3wgx/UbbfdVvR+HOMCUG74EXkJfPjDH9att96qm266Sb/97W+1fPlyveQlL9Fzzz0nSdq0aZNe85rX6OUvf7nWrl2rv/u7v9M//uM/xvc/66yztGbNGjU2NsZXEX/wgx8c03N/4Qtf0POf/3w9/PDDeve73613vetdevzxxyVFGyYvfelLtWDBAj3wwAP6j//4D/3sZz/TP/zDPxR8vA996EP6n//5H33ve9/THXfcobvuuksPPfTQmNbltttu0+LFi/WpT30qfh2FbNiwQT/+8Y/1k5/8RDfffLO+8Y1v6BWveIU2b96su+++W1dffbU+/vGP61e/+pWk6ArNV7ziFdq6datuv/12PfTQQzrllFP0ohe9KH6fD+SGG27Qhg0b9IlPfGJM/SVp3rx5Rf9e9rKXFbzv/fffr/nz5+v000+P551xxhmaP3++7rvvvjGvAyYfMRwhhnMdihgeGhrS9ddfr/nz5+vEE08c83pj/IjjCHGc62Di+K677lJLS4tWrlypt73tbdq+ffuY1xkTQxxHiONch2I83rZtm370ox/psssuG/M6Y2KI4whxnGsicTw4OChJmjNnTjyvsrJSNTU1uvfee8e83hg/4jhCHKNcEcMRYvjQ4xjX1CGOI8TxocMxrqlHHEeI40OPY1xThziOEMcHj2NcpUMcR4jjA9u1axcXWgKYebKYUv39/dnq6urst7/97Xje0NBQtqOjI3vNNddks9ls9vLLL88ec8wx2dHR0bjPRz7ykaykbE9PTzabzWZvuOGG7Pz588f13EcccUT2r//6r+Pbo6Oj2ZaWluxXvvKVbDabzV5//fXZBQsWZPv7++M+P/rRj7IVFRXZrVu3ZrPZbPbNb35z9tWvfnU2m81m+/r6sjU1Ndlbbrkl7r9z585sXV1d9r3vfe+Y1+lLX/pSzrzwtX3iE5/I1tfXZ3fv3h3Pe8lLXpLt7OzMjoyMxPOOPvro7FVXXZXNZrPZn//859nGxsbsvn37ch77qKOOyn71q1894Ho98cQT2ZaWluy6devidTjxxBMPeL8nn3yy6N/mzZsL3veKK67IrlixIm/+ihUrsldeeeUBn3vjxo1ZSdmHH374gH0xccRw/joRw5GDieH//M//zM6dOzebyWSyHR0d2d/85jcHXFdMHHGcv07EcWSicXzLLbdk/+u//iv76KOPZn/4wx9mTzzxxOxxxx2X99px6BDH+etEHEcOdps6m81mr7766uyCBQuyAwMDY+qPiSGO89eJOI5MJI6HhoayRxxxRPZ1r3td9rnnnssODg5mr7rqqqyk7IUXXnjA9cXEEMf560Qc55vI/5djXFODGM5fJ2I433j/vxzjmlrEcf46Ecf5xvP/5RjX1COO89eJOM43kf9vNssxrqlCHOevE3Gcb6z/X45xlQZxnL9OxHG69evXZxsbG7Nf+9rXxtSfY1wAykXV1P9sfXbbsGGD9u/fr7PPPjueV11drT/7sz/TY489Jikq3XzGGWfEZUEkHbIyHM973vPi6Uwmo7a2tjiLwGOPPaYTTzxRc+fOjfucffbZGh0d1bp169Ta2pr3WoaGhnLWrbm5WUcfffQhWVdfZ2enGhoa4tutra2qrKxURUVFzjx7LQ899JD6+/u1cOHCnMcZGBjQhg0bij7XyMiILrnkEn3yk5/UypUrx7Wey5cvH1f/kP8/N9lsNnU+SoMYnhhiuHgMn3/++Vq7dq127Nihr33ta3r961+vX//612ppaTmo9UE64nh
  1501. "text/plain": [
  1502. "<Figure size 3400x600 with 23 Axes>"
  1503. ]
  1504. },
  1505. "metadata": {},
  1506. "output_type": "display_data"
  1507. }
  1508. ],
  1509. "source": [
  1510. "fitCurve = fitAnalyser.eval(fitResult, x=np.arange(100), y=np.arange(100), dask=\"parallelized\").load()\n",
  1511. "\n",
  1512. "fitCurve.plot.pcolormesh(cmap='jet', vmin=0, vmax=2, col=scanAxis[0], row=scanAxis[1])"
  1513. ]
  1514. },
  1515. {
  1516. "cell_type": "code",
  1517. "execution_count": 20,
  1518. "metadata": {},
  1519. "outputs": [
  1520. {
  1521. "data": {
  1522. "text/html": [
  1523. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  1524. "<defs>\n",
  1525. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  1526. "<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",
  1527. "<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",
  1528. "<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",
  1529. "</symbol>\n",
  1530. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  1531. "<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",
  1532. "<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",
  1533. "<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",
  1534. "<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",
  1535. "</symbol>\n",
  1536. "</defs>\n",
  1537. "</svg>\n",
  1538. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  1539. " *\n",
  1540. " */\n",
  1541. "\n",
  1542. ":root {\n",
  1543. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  1544. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  1545. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  1546. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  1547. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  1548. " --xr-background-color: var(--jp-layout-color0, white);\n",
  1549. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  1550. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  1551. "}\n",
  1552. "\n",
  1553. "html[theme=dark],\n",
  1554. "body[data-theme=dark],\n",
  1555. "body.vscode-dark {\n",
  1556. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  1557. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  1558. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  1559. " --xr-border-color: #1F1F1F;\n",
  1560. " --xr-disabled-color: #515151;\n",
  1561. " --xr-background-color: #111111;\n",
  1562. " --xr-background-color-row-even: #111111;\n",
  1563. " --xr-background-color-row-odd: #313131;\n",
  1564. "}\n",
  1565. "\n",
  1566. ".xr-wrap {\n",
  1567. " display: block !important;\n",
  1568. " min-width: 300px;\n",
  1569. " max-width: 700px;\n",
  1570. "}\n",
  1571. "\n",
  1572. ".xr-text-repr-fallback {\n",
  1573. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  1574. " display: none;\n",
  1575. "}\n",
  1576. "\n",
  1577. ".xr-header {\n",
  1578. " padding-top: 6px;\n",
  1579. " padding-bottom: 6px;\n",
  1580. " margin-bottom: 4px;\n",
  1581. " border-bottom: solid 1px var(--xr-border-color);\n",
  1582. "}\n",
  1583. "\n",
  1584. ".xr-header > div,\n",
  1585. ".xr-header > ul {\n",
  1586. " display: inline;\n",
  1587. " margin-top: 0;\n",
  1588. " margin-bottom: 0;\n",
  1589. "}\n",
  1590. "\n",
  1591. ".xr-obj-type,\n",
  1592. ".xr-array-name {\n",
  1593. " margin-left: 2px;\n",
  1594. " margin-right: 10px;\n",
  1595. "}\n",
  1596. "\n",
  1597. ".xr-obj-type {\n",
  1598. " color: var(--xr-font-color2);\n",
  1599. "}\n",
  1600. "\n",
  1601. ".xr-sections {\n",
  1602. " padding-left: 0 !important;\n",
  1603. " display: grid;\n",
  1604. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  1605. "}\n",
  1606. "\n",
  1607. ".xr-section-item {\n",
  1608. " display: contents;\n",
  1609. "}\n",
  1610. "\n",
  1611. ".xr-section-item input {\n",
  1612. " display: none;\n",
  1613. "}\n",
  1614. "\n",
  1615. ".xr-section-item input + label {\n",
  1616. " color: var(--xr-disabled-color);\n",
  1617. "}\n",
  1618. "\n",
  1619. ".xr-section-item input:enabled + label {\n",
  1620. " cursor: pointer;\n",
  1621. " color: var(--xr-font-color2);\n",
  1622. "}\n",
  1623. "\n",
  1624. ".xr-section-item input:enabled + label:hover {\n",
  1625. " color: var(--xr-font-color0);\n",
  1626. "}\n",
  1627. "\n",
  1628. ".xr-section-summary {\n",
  1629. " grid-column: 1;\n",
  1630. " color: var(--xr-font-color2);\n",
  1631. " font-weight: 500;\n",
  1632. "}\n",
  1633. "\n",
  1634. ".xr-section-summary > span {\n",
  1635. " display: inline-block;\n",
  1636. " padding-left: 0.5em;\n",
  1637. "}\n",
  1638. "\n",
  1639. ".xr-section-summary-in:disabled + label {\n",
  1640. " color: var(--xr-font-color2);\n",
  1641. "}\n",
  1642. "\n",
  1643. ".xr-section-summary-in + label:before {\n",
  1644. " display: inline-block;\n",
  1645. " content: 'â–º';\n",
  1646. " font-size: 11px;\n",
  1647. " width: 15px;\n",
  1648. " text-align: center;\n",
  1649. "}\n",
  1650. "\n",
  1651. ".xr-section-summary-in:disabled + label:before {\n",
  1652. " color: var(--xr-disabled-color);\n",
  1653. "}\n",
  1654. "\n",
  1655. ".xr-section-summary-in:checked + label:before {\n",
  1656. " content: 'â–¼';\n",
  1657. "}\n",
  1658. "\n",
  1659. ".xr-section-summary-in:checked + label > span {\n",
  1660. " display: none;\n",
  1661. "}\n",
  1662. "\n",
  1663. ".xr-section-summary,\n",
  1664. ".xr-section-inline-details {\n",
  1665. " padding-top: 4px;\n",
  1666. " padding-bottom: 4px;\n",
  1667. "}\n",
  1668. "\n",
  1669. ".xr-section-inline-details {\n",
  1670. " grid-column: 2 / -1;\n",
  1671. "}\n",
  1672. "\n",
  1673. ".xr-section-details {\n",
  1674. " display: none;\n",
  1675. " grid-column: 1 / -1;\n",
  1676. " margin-bottom: 5px;\n",
  1677. "}\n",
  1678. "\n",
  1679. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  1680. " display: contents;\n",
  1681. "}\n",
  1682. "\n",
  1683. ".xr-array-wrap {\n",
  1684. " grid-column: 1 / -1;\n",
  1685. " display: grid;\n",
  1686. " grid-template-columns: 20px auto;\n",
  1687. "}\n",
  1688. "\n",
  1689. ".xr-array-wrap > label {\n",
  1690. " grid-column: 1;\n",
  1691. " vertical-align: top;\n",
  1692. "}\n",
  1693. "\n",
  1694. ".xr-preview {\n",
  1695. " color: var(--xr-font-color3);\n",
  1696. "}\n",
  1697. "\n",
  1698. ".xr-array-preview,\n",
  1699. ".xr-array-data {\n",
  1700. " padding: 0 5px !important;\n",
  1701. " grid-column: 2;\n",
  1702. "}\n",
  1703. "\n",
  1704. ".xr-array-data,\n",
  1705. ".xr-array-in:checked ~ .xr-array-preview {\n",
  1706. " display: none;\n",
  1707. "}\n",
  1708. "\n",
  1709. ".xr-array-in:checked ~ .xr-array-data,\n",
  1710. ".xr-array-preview {\n",
  1711. " display: inline-block;\n",
  1712. "}\n",
  1713. "\n",
  1714. ".xr-dim-list {\n",
  1715. " display: inline-block !important;\n",
  1716. " list-style: none;\n",
  1717. " padding: 0 !important;\n",
  1718. " margin: 0;\n",
  1719. "}\n",
  1720. "\n",
  1721. ".xr-dim-list li {\n",
  1722. " display: inline-block;\n",
  1723. " padding: 0;\n",
  1724. " margin: 0;\n",
  1725. "}\n",
  1726. "\n",
  1727. ".xr-dim-list:before {\n",
  1728. " content: '(';\n",
  1729. "}\n",
  1730. "\n",
  1731. ".xr-dim-list:after {\n",
  1732. " content: ')';\n",
  1733. "}\n",
  1734. "\n",
  1735. ".xr-dim-list li:not(:last-child):after {\n",
  1736. " content: ',';\n",
  1737. " padding-right: 5px;\n",
  1738. "}\n",
  1739. "\n",
  1740. ".xr-has-index {\n",
  1741. " font-weight: bold;\n",
  1742. "}\n",
  1743. "\n",
  1744. ".xr-var-list,\n",
  1745. ".xr-var-item {\n",
  1746. " display: contents;\n",
  1747. "}\n",
  1748. "\n",
  1749. ".xr-var-item > div,\n",
  1750. ".xr-var-item label,\n",
  1751. ".xr-var-item > .xr-var-name span {\n",
  1752. " background-color: var(--xr-background-color-row-even);\n",
  1753. " margin-bottom: 0;\n",
  1754. "}\n",
  1755. "\n",
  1756. ".xr-var-item > .xr-var-name:hover span {\n",
  1757. " padding-right: 5px;\n",
  1758. "}\n",
  1759. "\n",
  1760. ".xr-var-list > li:nth-child(odd) > div,\n",
  1761. ".xr-var-list > li:nth-child(odd) > label,\n",
  1762. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  1763. " background-color: var(--xr-background-color-row-odd);\n",
  1764. "}\n",
  1765. "\n",
  1766. ".xr-var-name {\n",
  1767. " grid-column: 1;\n",
  1768. "}\n",
  1769. "\n",
  1770. ".xr-var-dims {\n",
  1771. " grid-column: 2;\n",
  1772. "}\n",
  1773. "\n",
  1774. ".xr-var-dtype {\n",
  1775. " grid-column: 3;\n",
  1776. " text-align: right;\n",
  1777. " color: var(--xr-font-color2);\n",
  1778. "}\n",
  1779. "\n",
  1780. ".xr-var-preview {\n",
  1781. " grid-column: 4;\n",
  1782. "}\n",
  1783. "\n",
  1784. ".xr-index-preview {\n",
  1785. " grid-column: 2 / 5;\n",
  1786. " color: var(--xr-font-color2);\n",
  1787. "}\n",
  1788. "\n",
  1789. ".xr-var-name,\n",
  1790. ".xr-var-dims,\n",
  1791. ".xr-var-dtype,\n",
  1792. ".xr-preview,\n",
  1793. ".xr-attrs dt {\n",
  1794. " white-space: nowrap;\n",
  1795. " overflow: hidden;\n",
  1796. " text-overflow: ellipsis;\n",
  1797. " padding-right: 10px;\n",
  1798. "}\n",
  1799. "\n",
  1800. ".xr-var-name:hover,\n",
  1801. ".xr-var-dims:hover,\n",
  1802. ".xr-var-dtype:hover,\n",
  1803. ".xr-attrs dt:hover {\n",
  1804. " overflow: visible;\n",
  1805. " width: auto;\n",
  1806. " z-index: 1;\n",
  1807. "}\n",
  1808. "\n",
  1809. ".xr-var-attrs,\n",
  1810. ".xr-var-data,\n",
  1811. ".xr-index-data {\n",
  1812. " display: none;\n",
  1813. " background-color: var(--xr-background-color) !important;\n",
  1814. " padding-bottom: 5px !important;\n",
  1815. "}\n",
  1816. "\n",
  1817. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  1818. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  1819. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  1820. " display: block;\n",
  1821. "}\n",
  1822. "\n",
  1823. ".xr-var-data > table {\n",
  1824. " float: right;\n",
  1825. "}\n",
  1826. "\n",
  1827. ".xr-var-name span,\n",
  1828. ".xr-var-data,\n",
  1829. ".xr-index-name div,\n",
  1830. ".xr-index-data,\n",
  1831. ".xr-attrs {\n",
  1832. " padding-left: 25px !important;\n",
  1833. "}\n",
  1834. "\n",
  1835. ".xr-attrs,\n",
  1836. ".xr-var-attrs,\n",
  1837. ".xr-var-data,\n",
  1838. ".xr-index-data {\n",
  1839. " grid-column: 1 / -1;\n",
  1840. "}\n",
  1841. "\n",
  1842. "dl.xr-attrs {\n",
  1843. " padding: 0;\n",
  1844. " margin: 0;\n",
  1845. " display: grid;\n",
  1846. " grid-template-columns: 125px auto;\n",
  1847. "}\n",
  1848. "\n",
  1849. ".xr-attrs dt,\n",
  1850. ".xr-attrs dd {\n",
  1851. " padding: 0;\n",
  1852. " margin: 0;\n",
  1853. " float: left;\n",
  1854. " padding-right: 10px;\n",
  1855. " width: auto;\n",
  1856. "}\n",
  1857. "\n",
  1858. ".xr-attrs dt {\n",
  1859. " font-weight: normal;\n",
  1860. " grid-column: 1;\n",
  1861. "}\n",
  1862. "\n",
  1863. ".xr-attrs dt:hover span {\n",
  1864. " display: inline-block;\n",
  1865. " background: var(--xr-background-color);\n",
  1866. " padding-right: 10px;\n",
  1867. "}\n",
  1868. "\n",
  1869. ".xr-attrs dd {\n",
  1870. " grid-column: 2;\n",
  1871. " white-space: pre-wrap;\n",
  1872. " word-break: break-all;\n",
  1873. "}\n",
  1874. "\n",
  1875. ".xr-icon-database,\n",
  1876. ".xr-icon-file-text2,\n",
  1877. ".xr-no-icon {\n",
  1878. " display: inline-block;\n",
  1879. " vertical-align: middle;\n",
  1880. " width: 1em;\n",
  1881. " height: 1.5em !important;\n",
  1882. " stroke-width: 0;\n",
  1883. " stroke: currentColor;\n",
  1884. " fill: currentColor;\n",
  1885. "}\n",
  1886. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.DataArray &#x27;OD&#x27; (odt_hold_time_4: 11, runs: 2)&gt;\n",
  1887. "array([[1081.79635997, 917.52224339],\n",
  1888. " [ 0. , 642.32993101],\n",
  1889. " [ 0. , 0. ],\n",
  1890. " [ 0. , 0. ],\n",
  1891. " [ 0. , 0. ],\n",
  1892. " [ 0. , 0. ],\n",
  1893. " [ 0. , 0. ],\n",
  1894. " [ 0. , 0. ],\n",
  1895. " [ 0. , 0. ],\n",
  1896. " [ 0. , 0. ],\n",
  1897. " [ 0. , 0. ]])\n",
  1898. "Coordinates:\n",
  1899. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 0.7 ... 1.7 1.9 2.1\n",
  1900. " * runs (runs) float64 0.0 1.0</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataArray</div><div class='xr-array-name'>'OD'</div><ul class='xr-dim-list'><li><span class='xr-has-index'>odt_hold_time_4</span>: 11</li><li><span class='xr-has-index'>runs</span>: 2</li></ul></div><ul class='xr-sections'><li class='xr-section-item'><div class='xr-array-wrap'><input id='section-4924b5f1-a84f-4639-9f14-c766cd9475df' class='xr-array-in' type='checkbox' checked><label for='section-4924b5f1-a84f-4639-9f14-c766cd9475df' 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>1.082e+03 917.5 0.0 642.3 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0 0.0 0.0 0.0</span></div><div class='xr-array-data'><pre>array([[1081.79635997, 917.52224339],\n",
  1901. " [ 0. , 642.32993101],\n",
  1902. " [ 0. , 0. ],\n",
  1903. " [ 0. , 0. ],\n",
  1904. " [ 0. , 0. ],\n",
  1905. " [ 0. , 0. ],\n",
  1906. " [ 0. , 0. ],\n",
  1907. " [ 0. , 0. ],\n",
  1908. " [ 0. , 0. ],\n",
  1909. " [ 0. , 0. ],\n",
  1910. " [ 0. , 0. ]])</pre></div></div></li><li class='xr-section-item'><input id='section-b6db66f4-f019-4b60-b817-33c539f00d5b' class='xr-section-summary-in' type='checkbox' checked><label for='section-b6db66f4-f019-4b60-b817-33c539f00d5b' 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'>odt_hold_time_4</span></div><div class='xr-var-dims'>(odt_hold_time_4)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.1 0.3 0.5 0.7 ... 1.5 1.7 1.9 2.1</div><input id='attrs-a93c09f5-d6ae-41eb-b41d-b862f4cc907e' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a93c09f5-d6ae-41eb-b41d-b862f4cc907e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-02a4ee37-83d8-47b1-b535-4ab68e398767' class='xr-var-data-in' type='checkbox'><label for='data-02a4ee37-83d8-47b1-b535-4ab68e398767' 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, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0</div><input id='attrs-6e931ca9-70f7-40b9-90d4-a5bd53e2c84b' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-6e931ca9-70f7-40b9-90d4-a5bd53e2c84b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4da1c7d7-fb8b-4b40-995e-be37cc1e3918' class='xr-var-data-in' type='checkbox'><label for='data-4da1c7d7-fb8b-4b40-995e-be37cc1e3918' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-53772ea8-4589-48cc-a655-6d167aae7396' class='xr-section-summary-in' type='checkbox' ><label for='section-53772ea8-4589-48cc-a655-6d167aae7396' 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>odt_hold_time_4</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-f8d56961-2b1e-40ac-a36f-bde7f2151590' class='xr-index-data-in' type='checkbox'/><label for='index-f8d56961-2b1e-40ac-a36f-bde7f2151590' 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.1, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1], dtype=&#x27;float64&#x27;, name=&#x27;odt_hold_time_4&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-f51daf65-7029-4136-9560-011ac03b573e' class='xr-index-data-in' type='checkbox'/><label for='index-f51daf65-7029-4136-9560-011ac03b573e' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-84443327-f0ac-4677-a595-45749cf22e63' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-84443327-f0ac-4677-a595-45749cf22e63' class='xr-section-summary' title='Expand/collapse section'>Attribute
  1911. ],
  1912. "text/plain": [
  1913. "<xarray.DataArray 'OD' (odt_hold_time_4: 11, runs: 2)>\n",
  1914. "array([[1081.79635997, 917.52224339],\n",
  1915. " [ 0. , 642.32993101],\n",
  1916. " [ 0. , 0. ],\n",
  1917. " [ 0. , 0. ],\n",
  1918. " [ 0. , 0. ],\n",
  1919. " [ 0. , 0. ],\n",
  1920. " [ 0. , 0. ],\n",
  1921. " [ 0. , 0. ],\n",
  1922. " [ 0. , 0. ],\n",
  1923. " [ 0. , 0. ],\n",
  1924. " [ 0. , 0. ]])\n",
  1925. "Coordinates:\n",
  1926. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 0.7 ... 1.7 1.9 2.1\n",
  1927. " * runs (runs) float64 0.0 1.0"
  1928. ]
  1929. },
  1930. "execution_count": 20,
  1931. "metadata": {},
  1932. "output_type": "execute_result"
  1933. }
  1934. ],
  1935. "source": [
  1936. "fitModel2 = Polylog22dModel(prefix='thermal_')\n",
  1937. "fitAnalyser2 = FitAnalyser(fitModel2, fitDim=2)\n",
  1938. "fitCurve2 = fitAnalyser2.eval(fitResult, x=np.arange(200), y=np.arange(200), dask=\"parallelized\").load()\n",
  1939. "fitCurve2.sum(dim=['x', 'y'])"
  1940. ]
  1941. },
  1942. {
  1943. "cell_type": "code",
  1944. "execution_count": 21,
  1945. "metadata": {},
  1946. "outputs": [
  1947. {
  1948. "name": "stderr",
  1949. "output_type": "stream",
  1950. "text": [
  1951. "C:\\Users\\data\\AppData\\Roaming\\Python\\Python39\\site-packages\\numpy\\lib\\function_base.py:2246: RuntimeWarning: invalid value encountered in _get_fit_full_result_single (vectorized)\n",
  1952. " outputs = ufunc(*inputs)\n"
  1953. ]
  1954. }
  1955. ],
  1956. "source": [
  1957. "value = fitAnalyser.get_fit_full_result(fitResult)"
  1958. ]
  1959. },
  1960. {
  1961. "cell_type": "code",
  1962. "execution_count": 22,
  1963. "metadata": {},
  1964. "outputs": [
  1965. {
  1966. "data": {
  1967. "text/html": [
  1968. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  1969. "<defs>\n",
  1970. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  1971. "<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",
  1972. "<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",
  1973. "<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",
  1974. "</symbol>\n",
  1975. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  1976. "<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",
  1977. "<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",
  1978. "<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",
  1979. "<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",
  1980. "</symbol>\n",
  1981. "</defs>\n",
  1982. "</svg>\n",
  1983. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  1984. " *\n",
  1985. " */\n",
  1986. "\n",
  1987. ":root {\n",
  1988. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  1989. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  1990. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  1991. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  1992. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  1993. " --xr-background-color: var(--jp-layout-color0, white);\n",
  1994. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  1995. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  1996. "}\n",
  1997. "\n",
  1998. "html[theme=dark],\n",
  1999. "body[data-theme=dark],\n",
  2000. "body.vscode-dark {\n",
  2001. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  2002. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  2003. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  2004. " --xr-border-color: #1F1F1F;\n",
  2005. " --xr-disabled-color: #515151;\n",
  2006. " --xr-background-color: #111111;\n",
  2007. " --xr-background-color-row-even: #111111;\n",
  2008. " --xr-background-color-row-odd: #313131;\n",
  2009. "}\n",
  2010. "\n",
  2011. ".xr-wrap {\n",
  2012. " display: block !important;\n",
  2013. " min-width: 300px;\n",
  2014. " max-width: 700px;\n",
  2015. "}\n",
  2016. "\n",
  2017. ".xr-text-repr-fallback {\n",
  2018. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  2019. " display: none;\n",
  2020. "}\n",
  2021. "\n",
  2022. ".xr-header {\n",
  2023. " padding-top: 6px;\n",
  2024. " padding-bottom: 6px;\n",
  2025. " margin-bottom: 4px;\n",
  2026. " border-bottom: solid 1px var(--xr-border-color);\n",
  2027. "}\n",
  2028. "\n",
  2029. ".xr-header > div,\n",
  2030. ".xr-header > ul {\n",
  2031. " display: inline;\n",
  2032. " margin-top: 0;\n",
  2033. " margin-bottom: 0;\n",
  2034. "}\n",
  2035. "\n",
  2036. ".xr-obj-type,\n",
  2037. ".xr-array-name {\n",
  2038. " margin-left: 2px;\n",
  2039. " margin-right: 10px;\n",
  2040. "}\n",
  2041. "\n",
  2042. ".xr-obj-type {\n",
  2043. " color: var(--xr-font-color2);\n",
  2044. "}\n",
  2045. "\n",
  2046. ".xr-sections {\n",
  2047. " padding-left: 0 !important;\n",
  2048. " display: grid;\n",
  2049. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  2050. "}\n",
  2051. "\n",
  2052. ".xr-section-item {\n",
  2053. " display: contents;\n",
  2054. "}\n",
  2055. "\n",
  2056. ".xr-section-item input {\n",
  2057. " display: none;\n",
  2058. "}\n",
  2059. "\n",
  2060. ".xr-section-item input + label {\n",
  2061. " color: var(--xr-disabled-color);\n",
  2062. "}\n",
  2063. "\n",
  2064. ".xr-section-item input:enabled + label {\n",
  2065. " cursor: pointer;\n",
  2066. " color: var(--xr-font-color2);\n",
  2067. "}\n",
  2068. "\n",
  2069. ".xr-section-item input:enabled + label:hover {\n",
  2070. " color: var(--xr-font-color0);\n",
  2071. "}\n",
  2072. "\n",
  2073. ".xr-section-summary {\n",
  2074. " grid-column: 1;\n",
  2075. " color: var(--xr-font-color2);\n",
  2076. " font-weight: 500;\n",
  2077. "}\n",
  2078. "\n",
  2079. ".xr-section-summary > span {\n",
  2080. " display: inline-block;\n",
  2081. " padding-left: 0.5em;\n",
  2082. "}\n",
  2083. "\n",
  2084. ".xr-section-summary-in:disabled + label {\n",
  2085. " color: var(--xr-font-color2);\n",
  2086. "}\n",
  2087. "\n",
  2088. ".xr-section-summary-in + label:before {\n",
  2089. " display: inline-block;\n",
  2090. " content: 'â–º';\n",
  2091. " font-size: 11px;\n",
  2092. " width: 15px;\n",
  2093. " text-align: center;\n",
  2094. "}\n",
  2095. "\n",
  2096. ".xr-section-summary-in:disabled + label:before {\n",
  2097. " color: var(--xr-disabled-color);\n",
  2098. "}\n",
  2099. "\n",
  2100. ".xr-section-summary-in:checked + label:before {\n",
  2101. " content: 'â–¼';\n",
  2102. "}\n",
  2103. "\n",
  2104. ".xr-section-summary-in:checked + label > span {\n",
  2105. " display: none;\n",
  2106. "}\n",
  2107. "\n",
  2108. ".xr-section-summary,\n",
  2109. ".xr-section-inline-details {\n",
  2110. " padding-top: 4px;\n",
  2111. " padding-bottom: 4px;\n",
  2112. "}\n",
  2113. "\n",
  2114. ".xr-section-inline-details {\n",
  2115. " grid-column: 2 / -1;\n",
  2116. "}\n",
  2117. "\n",
  2118. ".xr-section-details {\n",
  2119. " display: none;\n",
  2120. " grid-column: 1 / -1;\n",
  2121. " margin-bottom: 5px;\n",
  2122. "}\n",
  2123. "\n",
  2124. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  2125. " display: contents;\n",
  2126. "}\n",
  2127. "\n",
  2128. ".xr-array-wrap {\n",
  2129. " grid-column: 1 / -1;\n",
  2130. " display: grid;\n",
  2131. " grid-template-columns: 20px auto;\n",
  2132. "}\n",
  2133. "\n",
  2134. ".xr-array-wrap > label {\n",
  2135. " grid-column: 1;\n",
  2136. " vertical-align: top;\n",
  2137. "}\n",
  2138. "\n",
  2139. ".xr-preview {\n",
  2140. " color: var(--xr-font-color3);\n",
  2141. "}\n",
  2142. "\n",
  2143. ".xr-array-preview,\n",
  2144. ".xr-array-data {\n",
  2145. " padding: 0 5px !important;\n",
  2146. " grid-column: 2;\n",
  2147. "}\n",
  2148. "\n",
  2149. ".xr-array-data,\n",
  2150. ".xr-array-in:checked ~ .xr-array-preview {\n",
  2151. " display: none;\n",
  2152. "}\n",
  2153. "\n",
  2154. ".xr-array-in:checked ~ .xr-array-data,\n",
  2155. ".xr-array-preview {\n",
  2156. " display: inline-block;\n",
  2157. "}\n",
  2158. "\n",
  2159. ".xr-dim-list {\n",
  2160. " display: inline-block !important;\n",
  2161. " list-style: none;\n",
  2162. " padding: 0 !important;\n",
  2163. " margin: 0;\n",
  2164. "}\n",
  2165. "\n",
  2166. ".xr-dim-list li {\n",
  2167. " display: inline-block;\n",
  2168. " padding: 0;\n",
  2169. " margin: 0;\n",
  2170. "}\n",
  2171. "\n",
  2172. ".xr-dim-list:before {\n",
  2173. " content: '(';\n",
  2174. "}\n",
  2175. "\n",
  2176. ".xr-dim-list:after {\n",
  2177. " content: ')';\n",
  2178. "}\n",
  2179. "\n",
  2180. ".xr-dim-list li:not(:last-child):after {\n",
  2181. " content: ',';\n",
  2182. " padding-right: 5px;\n",
  2183. "}\n",
  2184. "\n",
  2185. ".xr-has-index {\n",
  2186. " font-weight: bold;\n",
  2187. "}\n",
  2188. "\n",
  2189. ".xr-var-list,\n",
  2190. ".xr-var-item {\n",
  2191. " display: contents;\n",
  2192. "}\n",
  2193. "\n",
  2194. ".xr-var-item > div,\n",
  2195. ".xr-var-item label,\n",
  2196. ".xr-var-item > .xr-var-name span {\n",
  2197. " background-color: var(--xr-background-color-row-even);\n",
  2198. " margin-bottom: 0;\n",
  2199. "}\n",
  2200. "\n",
  2201. ".xr-var-item > .xr-var-name:hover span {\n",
  2202. " padding-right: 5px;\n",
  2203. "}\n",
  2204. "\n",
  2205. ".xr-var-list > li:nth-child(odd) > div,\n",
  2206. ".xr-var-list > li:nth-child(odd) > label,\n",
  2207. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  2208. " background-color: var(--xr-background-color-row-odd);\n",
  2209. "}\n",
  2210. "\n",
  2211. ".xr-var-name {\n",
  2212. " grid-column: 1;\n",
  2213. "}\n",
  2214. "\n",
  2215. ".xr-var-dims {\n",
  2216. " grid-column: 2;\n",
  2217. "}\n",
  2218. "\n",
  2219. ".xr-var-dtype {\n",
  2220. " grid-column: 3;\n",
  2221. " text-align: right;\n",
  2222. " color: var(--xr-font-color2);\n",
  2223. "}\n",
  2224. "\n",
  2225. ".xr-var-preview {\n",
  2226. " grid-column: 4;\n",
  2227. "}\n",
  2228. "\n",
  2229. ".xr-index-preview {\n",
  2230. " grid-column: 2 / 5;\n",
  2231. " color: var(--xr-font-color2);\n",
  2232. "}\n",
  2233. "\n",
  2234. ".xr-var-name,\n",
  2235. ".xr-var-dims,\n",
  2236. ".xr-var-dtype,\n",
  2237. ".xr-preview,\n",
  2238. ".xr-attrs dt {\n",
  2239. " white-space: nowrap;\n",
  2240. " overflow: hidden;\n",
  2241. " text-overflow: ellipsis;\n",
  2242. " padding-right: 10px;\n",
  2243. "}\n",
  2244. "\n",
  2245. ".xr-var-name:hover,\n",
  2246. ".xr-var-dims:hover,\n",
  2247. ".xr-var-dtype:hover,\n",
  2248. ".xr-attrs dt:hover {\n",
  2249. " overflow: visible;\n",
  2250. " width: auto;\n",
  2251. " z-index: 1;\n",
  2252. "}\n",
  2253. "\n",
  2254. ".xr-var-attrs,\n",
  2255. ".xr-var-data,\n",
  2256. ".xr-index-data {\n",
  2257. " display: none;\n",
  2258. " background-color: var(--xr-background-color) !important;\n",
  2259. " padding-bottom: 5px !important;\n",
  2260. "}\n",
  2261. "\n",
  2262. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  2263. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  2264. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  2265. " display: block;\n",
  2266. "}\n",
  2267. "\n",
  2268. ".xr-var-data > table {\n",
  2269. " float: right;\n",
  2270. "}\n",
  2271. "\n",
  2272. ".xr-var-name span,\n",
  2273. ".xr-var-data,\n",
  2274. ".xr-index-name div,\n",
  2275. ".xr-index-data,\n",
  2276. ".xr-attrs {\n",
  2277. " padding-left: 25px !important;\n",
  2278. "}\n",
  2279. "\n",
  2280. ".xr-attrs,\n",
  2281. ".xr-var-attrs,\n",
  2282. ".xr-var-data,\n",
  2283. ".xr-index-data {\n",
  2284. " grid-column: 1 / -1;\n",
  2285. "}\n",
  2286. "\n",
  2287. "dl.xr-attrs {\n",
  2288. " padding: 0;\n",
  2289. " margin: 0;\n",
  2290. " display: grid;\n",
  2291. " grid-template-columns: 125px auto;\n",
  2292. "}\n",
  2293. "\n",
  2294. ".xr-attrs dt,\n",
  2295. ".xr-attrs dd {\n",
  2296. " padding: 0;\n",
  2297. " margin: 0;\n",
  2298. " float: left;\n",
  2299. " padding-right: 10px;\n",
  2300. " width: auto;\n",
  2301. "}\n",
  2302. "\n",
  2303. ".xr-attrs dt {\n",
  2304. " font-weight: normal;\n",
  2305. " grid-column: 1;\n",
  2306. "}\n",
  2307. "\n",
  2308. ".xr-attrs dt:hover span {\n",
  2309. " display: inline-block;\n",
  2310. " background: var(--xr-background-color);\n",
  2311. " padding-right: 10px;\n",
  2312. "}\n",
  2313. "\n",
  2314. ".xr-attrs dd {\n",
  2315. " grid-column: 2;\n",
  2316. " white-space: pre-wrap;\n",
  2317. " word-break: break-all;\n",
  2318. "}\n",
  2319. "\n",
  2320. ".xr-icon-database,\n",
  2321. ".xr-icon-file-text2,\n",
  2322. ".xr-no-icon {\n",
  2323. " display: inline-block;\n",
  2324. " vertical-align: middle;\n",
  2325. " width: 1em;\n",
  2326. " height: 1.5em !important;\n",
  2327. " stroke-width: 0;\n",
  2328. " stroke: currentColor;\n",
  2329. " fill: currentColor;\n",
  2330. "}\n",
  2331. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  2332. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  2333. "Coordinates:\n",
  2334. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  2335. " * runs (runs) float64 0.0 1.0\n",
  2336. "Data variables:\n",
  2337. " BEC_amplitude (odt_hold_time_4, runs) object (2.5887280763470244+/...\n",
  2338. " thermal_amplitude (odt_hold_time_4, runs) object 1083.3440773230598+/-...\n",
  2339. " BEC_centerx (odt_hold_time_4, runs) object 43.30005082229525+/-n...\n",
  2340. " BEC_centery (odt_hold_time_4, runs) object 49.62090849228923+/-n...\n",
  2341. " thermal_centerx (odt_hold_time_4, runs) object 43.878855163885156+/-...\n",
  2342. " thermal_centery (odt_hold_time_4, runs) object 48.78771309646883+/-n...\n",
  2343. " BEC_sigmax (odt_hold_time_4, runs) object 4.603910530224281+/-n...\n",
  2344. " BEC_sigmay (odt_hold_time_4, runs) object 5.170438723671074+/-n...\n",
  2345. " thermal_sigmax (odt_hold_time_4, runs) object 13.533799535681206+/-...\n",
  2346. " thermal_sigmay (odt_hold_time_4, runs) object 16.240559439120037+/-...\n",
  2347. " thermalAspectRatio (odt_hold_time_4, runs) object 1.1999999997268018+/-...\n",
  2348. " condensate_fraction (odt_hold_time_4, runs) object (2.389571448696065+/-...</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-9aac7c41-b914-49cc-967f-37643aa05e8b' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-9aac7c41-b914-49cc-967f-37643aa05e8b' 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'>odt_hold_time_4</span>: 11</li><li><span class='xr-has-index'>runs</span>: 2</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-4a0df00d-2cae-4dd2-afec-e8c8d280f34d' class='xr-section-summary-in' type='checkbox' checked><label for='section-4a0df00d-2cae-4dd2-afec-e8c8d280f34d' 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'>odt_hold_time_4</span></div><div class='xr-var-dims'>(odt_hold_time_4)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.1 0.3 0.5 0.7 ... 1.5 1.7 1.9 2.1</div><input id='attrs-d4f17955-8df5-443f-a8a3-c4e02ab85044' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-d4f17955-8df5-443f-a8a3-c4e02ab85044' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9a5a2ede-8829-4c99-92bb-db786a1bbb09' class='xr-var-data-in' type='checkbox'><label for='data-9a5a2ede-8829-4c99-92bb-db786a1bbb09' 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, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0</div><input id='attrs-4375fe24-0aee-49a3-bf42-902205677825' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-4375fe24-0aee-49a3-bf42-902205677825' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c989a1d7-3283-43d6-8375-819716440f56' class='xr-var-data-in' type='checkbox'><label for='data-c989a1d7-3283-43d6-8375-819716440f56' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-12cb1b51-8705-4950-ad38-cf980c55684a' class='xr-section-summary-in' type='checkbox' checked><label for='section-12cb1b51-8705-4950-ad38-cf980c55684a' class='xr-section-summary' >Data variables: <span>(12)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>BEC_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>(2.5887280763470244+/-nan)e-08 ....</div><input id='attrs-06712ef6-3d94-4b9b-b2ad-42aee82e316a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-06712ef6-3d94-4b9b-b2ad-42aee82e316a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-766b42c1-f45e-49c1-8bcc-c289032a34c6' class='xr-var-data-in' type='checkbox'><label for='data-766b42c1-f45e-49c1-8bcc-c289032a34c6' title='Show/Hide data repr'><svg class='icon xr-icon-da
  2349. " 330.3191146123149+/-3.369741775896686],\n",
  2350. " [818.0241456126987+/-nan, 407.5479724699931+/-3.9838381201561566],\n",
  2351. " [786.5239297257692+/-nan, 783.196781996065+/-nan],\n",
  2352. " [743.7531049561449+/-nan, 766.6455734287413+/-nan],\n",
  2353. " [762.5471821213941+/-nan, 752.6346492081383+/-nan],\n",
  2354. " [781.8282933590472+/-nan, 733.6948302174906+/-nan],\n",
  2355. " [732.7088855555297+/-nan, 696.67059861035+/-nan],\n",
  2356. " [756.6239103143953+/-nan, 706.7371707070671+/-nan],\n",
  2357. " [719.4959313235112+/-nan, 606.200362434321+/-nan],\n",
  2358. " [699.6043254620331+/-nan, 327.5541254003689+/-nan],\n",
  2359. " [656.9970424791854+/-nan, 641.50562730806+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1083.3440773230598+/-nan ... 0.0...</div><input id='attrs-330495d6-c24f-46c9-b579-9ae530baeb94' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-330495d6-c24f-46c9-b579-9ae530baeb94' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6e3d880a-8cdd-4262-958b-01748e52578c' class='xr-var-data-in' type='checkbox'><label for='data-6e3d880a-8cdd-4262-958b-01748e52578c' 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([[1083.3440773230598+/-nan, 921.1630705757537+/-6.908180021239722],\n",
  2360. " [0.0+/-nan, 644.4891215750944+/-6.701415934447466],\n",
  2361. " [0.0+/-nan, 0.0+/-nan],\n",
  2362. " [0.0+/-nan, 0.0+/-nan],\n",
  2363. " [0.0+/-nan, 0.0+/-nan],\n",
  2364. " [0.0+/-nan, 0.0+/-nan],\n",
  2365. " [0.0+/-nan, 0.0+/-nan],\n",
  2366. " [0.0+/-nan, 0.0+/-nan],\n",
  2367. " [0.0+/-nan, 0.0+/-nan],\n",
  2368. " [0.0+/-nan, 0.0+/-nan],\n",
  2369. " [0.0+/-nan, 0.0+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>43.30005082229525+/-nan ... 44.1...</div><input id='attrs-73c663ba-7ad3-448c-bc6e-5e9b30f0819c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-73c663ba-7ad3-448c-bc6e-5e9b30f0819c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9178389d-711a-417a-9952-aba9a125de96' class='xr-var-data-in' type='checkbox'><label for='data-9178389d-711a-417a-9952-aba9a125de96' 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([[43.30005082229525+/-nan,\n",
  2370. " 46.639416750738654+/-0.02481403969789939],\n",
  2371. " [43.848376338724066+/-nan,\n",
  2372. " 42.68227442061798+/-0.023904378076890005],\n",
  2373. " [44.636976187755764+/-nan, 44.65061354650483+/-nan],\n",
  2374. " [42.16021959553298+/-nan, 46.85028917297581+/-nan],\n",
  2375. " [44.64695075740388+/-nan, 45.560582010777935+/-nan],\n",
  2376. " [43.03521940505446+/-nan, 42.1531922426084+/-nan],\n",
  2377. " [42.653729244078015+/-nan, 44.02078149279512+/-nan],\n",
  2378. " [42.11790167726749+/-nan, 42.67311853575036+/-nan],\n",
  2379. " [44.83966815739852+/-nan, 43.18153200380379+/-nan],\n",
  2380. " [43.87102994804314+/-nan, 43.50545048437619+/-nan],\n",
  2381. " [42.34964293469418+/-nan, 44.13623568768891+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>49.62090849228923+/-nan ... 46.2...</div><input id='attrs-0d797e28-e7f5-4375-82e8-868ad1678c4d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-0d797e28-e7f5-4375-82e8-868ad1678c4d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-196e5b8d-1944-4a54-884e-1f39fae3f44f' class='xr-var-data-in' type='checkbox'><label for='data-196e5b8d-1944-4a54-884e-1f39fae3f44f' 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([[49.62090849228923+/-nan, 44.63420666306719+/-0.08479274206116942],\n",
  2382. " [49.980023208530646+/-nan,\n",
  2383. " 48.90286310644981+/-0.08105262745064175],\n",
  2384. " [48.63653907666492+/-nan, 47.50489252819764+/-nan],\n",
  2385. " [47.95822627861859+/-nan, 49.665511709814226+/-nan],\n",
  2386. " [46.64025092496687+/-nan, 46.41326285304787+/-nan],\n",
  2387. " [48.050194555038466+/-nan, 47.414050067728795+/-nan],\n",
  2388. " [46.498858292012194+/-nan, 48.18302916952895+/-nan],\n",
  2389. " [48.25396622497712+/-nan, 49.460989981355006+/-nan],\n",
  2390. " [48.14381293146851+/-nan, 44.95354995514117+/-nan],\n",
  2391. " [47.8988900451357+/-nan, 47.28159148600039+/-nan],\n",
  2392. " [49.40361365289534+/-nan, 46.21170586185637+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>43.878855163885156+/-nan ... 46....</div><input id='attrs-3f4372fc-e223-4b39-aac5-63ea6b7409e6' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3f4372fc-e223-4b39-aac5-63ea6b7409e6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a7c9c6bc-4130-42c7-952d-28755cb3ebcc' class='xr-var-data-in' type='checkbox'><label for='data-a7c9c6bc-4130-42c7-952d-28755cb3ebcc' 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([[43.878855163885156+/-nan,\n",
  2393. " 48.21785721678167+/-0.11372708523178264],\n",
  2394. " [47.083418743209265+/-nan,\n",
  2395. " 44.908530778481655+/-0.14652473539888153],\n",
  2396. " [46.4204704644393+/-nan, 45.219256341922815+/-nan],\n",
  2397. " [45.664192800680524+/-nan, 49.13015405897451+/-nan],\n",
  2398. " [46.57928297616949+/-nan, 48.021797313291685+/-nan],\n",
  2399. " [45.804742921345+/-nan, 45.216213750320996+/-nan],\n",
  2400. " [45.888433981895396+/-nan, 46.243925129183424+/-nan],\n",
  2401. " [47.37219695365278+/-nan, 43.868997761766934+/-nan],\n",
  2402. " [47.07932512228833+/-nan, 46.61849312668256+/-nan],\n",
  2403. " [47.04160127981655+/-nan, 46.539457735053304+/-nan],\n",
  2404. " [46.9063863648665+/-nan, 46.62839498709959+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>48.78771309646883+/-nan ... 45.8...</div><input id='attrs-495d1825-236d-4b09-af5e-f827c477c1bd' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-495d1825-236d-4b09-af5e-f827c477c1bd' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-aa2d6acc-5530-4816-93a8-5891268dc6db' class='xr-var-data-in' type='checkbox'><label for='data-aa2d6acc-5530-4816-93a8-5891268dc6db' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[48.78771309646883+/-nan, 46.70019438388887+/-0.13474784266512813],\n",
  2405. " [50.15145295689747+/-nan, 47.933648886512984+/-0.1818313748768025],\n",
  2406. " [47.90134584306616+/-nan, 45.958811701233934+/-nan],\n",
  2407. " [48.31500748161067+/-nan, 48.71667514883619+/-nan],\n",
  2408. " [47.33388224542202+/-nan, 47.250077258141765+/-nan],\n",
  2409. " [47.20492733785264+/-nan, 45.79103389119996+/-nan],\n",
  2410. " [46.797403449594114+/-nan, 48.66194291578028+/-nan],\n",
  2411. " [48.858405378727056+/-nan, 46.73933219672723+/-nan],\n",
  2412. " [46.33012645561285+/-nan, 45.25893119030533+/-nan],\n",
  2413. " [49.11597972139846+/-nan, 46.14288400584766+/-nan],\n",
  2414. " [48.5847379030555+/-nan, 45.851362234956945+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>4.603910530224281+/-nan ... 10.7...</div><input id='attrs-a7c9f4ff-d65e-4b56-9e49-213c66733290' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a7c9f4ff-d65e-4b56-9e49-213c66733290' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1972c3f8-2524-48ec-91b1-b821bfec0f05' class='xr-var-data-in' type='checkbox'><label for='data-1972c3f8-2524-48ec-91b1-b821bfec0f05' 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.603910530224281+/-nan, 8.352649113045219+/-0.05135922760852204],\n",
  2415. " [12.869137283829513+/-nan,\n",
  2416. " 9.275465120626505+/-0.05031110384700545],\n",
  2417. " [11.653403598581653+/-nan, 12.014253999720493+/-nan],\n",
  2418. " [11.337947962972816+/-nan, 10.268355381769636+/-nan],\n",
  2419. " [12.497772981394547+/-nan, 11.348775895088973+/-nan],\n",
  2420. " [12.22304710591207+/-nan, 13.066521177521397+/-nan],\n",
  2421. " [11.41957691411171+/-nan, 10.859955180409774+/-nan],\n",
  2422. " [12.242691001581354+/-nan, 13.251947044975832+/-nan],\n",
  2423. " [11.416923759534004+/-nan, 10.384080677114543+/-nan],\n",
  2424. " [10.136653406603052+/-nan, 10.570415495244704+/-nan],\n",
  2425. " [10.496509075367303+/-nan, 10.78547616946959+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>5.170438723671074+/-nan ... 26.8...</div><input id='attrs-c26b1822-faf3-47bf-8856-2b8d901e0f8a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c26b1822-faf3-47bf-8856-2b8d901e0f8a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6799f251-4b6f-4477-a719-5260707b938d' class='xr-var-data-in' type='checkbox'><label for='data-6799f251-4b6f-4477-a719-5260707b938d' 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([[5.170438723671074+/-nan, 24.49629654797614+/-0.1423704022374025],\n",
  2426. " [29.588882220244468+/-nan,\n",
  2427. " 26.095564300343387+/-0.13421172201262788],\n",
  2428. " [27.97557134117523+/-nan, 28.242419712090662+/-nan],\n",
  2429. " [28.045938169523964+/-nan, 28.48361656978289+/-nan],\n",
  2430. " [28.0764639245163+/-nan, 27.83533144848427+/-nan],\n",
  2431. " [28.803147704090247+/-nan, 27.152445717103042+/-nan],\n",
  2432. " [28.2491106970502+/-nan, 27.207209464773143+/-nan],\n",
  2433. " [28.424564964416394+/-nan, 27.906132928577513+/-nan],\n",
  2434. " [27.245792720648637+/-nan, 27.08539895692601+/-nan],\n",
  2435. " [28.564362856932362+/-nan, 24.258760472025855+/-nan],\n",
  2436. " [27.489249684926634+/-nan, 26.86146149801174+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>13.533799535681206+/-nan ... 19....</div><input id='attrs-8a7a88d0-9fcc-44bf-80b5-e2b6a8d8c4dc' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-8a7a88d0-9fcc-44bf-80b5-e2b6a8d8c4dc' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b55b4c2d-8e38-429a-8e9e-d5722432bb79' class='xr-var-data-in' type='checkbox'><label for='data-b55b4c2d-8e38-429a-8e9e-d5722432bb79' 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([[13.533799535681206+/-nan,\n",
  2437. " 22.057116908148686+/-0.18884704218447057],\n",
  2438. " [24.92966931091163+/-nan,\n",
  2439. " 20.822327664670464+/-0.24630874375159836],\n",
  2440. " [21.706258139609965+/-nan, 22.110517694368017+/-nan],\n",
  2441. " [21.166487479001695+/-nan, 22.831687033363398+/-nan],\n",
  2442. " [23.087169453301087+/-nan, 21.216796714447945+/-nan],\n",
  2443. " [25.12748632667367+/-nan, 25.859579965756392+/-nan],\n",
  2444. " [22.998792990092884+/-nan, 20.2869507037467+/-nan],\n",
  2445. " [20.431350504917173+/-nan, 26.790451793056842+/-nan],\n",
  2446. " [24.684318172829713+/-nan, 20.74077356521508+/-nan],\n",
  2447. " [20.427277520052307+/-nan, 21.499283167684585+/-nan],\n",
  2448. " [18.853214886479396+/-nan, 19.994979623726802+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>16.240559439120037+/-nan ... 23....</div><input id='attrs-3ac64044-9086-429e-ad54-f7e5efb32b0b' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3ac64044-9086-429e-ad54-f7e5efb32b0b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4379152d-38ef-4fbd-b5b1-4777e7942a1f' class='xr-var-data-in' type='checkbox'><label for='data-4379152d-38ef-4fbd-b5b1-4777e7942a1f' 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.240559439120037+/-nan,\n",
  2449. " 22.717828926376836+/-0.18021693674512695],\n",
  2450. " [28.98328885126515+/-nan,\n",
  2451. " 21.986226693384694+/-0.23913745363300817],\n",
  2452. " [23.905505753928075+/-nan, 25.998065232689004+/-nan],\n",
  2453. " [24.229551148953487+/-nan, 26.16620726339814+/-nan],\n",
  2454. " [27.704603343961303+/-nan, 24.756163594649202+/-nan],\n",
  2455. " [30.1529835920084+/-nan, 31.03149595890767+/-nan],\n",
  2456. " [27.59855158811146+/-nan, 24.344340844496042+/-nan],\n",
  2457. " [24.517620605900607+/-nan, 32.14854215166821+/-nan],\n",
  2458. " [29.621181807395654+/-nan, 24.888928278258096+/-nan],\n",
  2459. " [24.039855937387976+/-nan, 25.7991398012215+/-nan],\n",
  2460. " [22.623857863775275+/-nan, 23.99397554847216+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermalAspectRatio</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1.1999999997268018+/-nan ... 1.2...</div><input id='attrs-1336a010-aa0c-4382-94c1-e50f8cabba2d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-1336a010-aa0c-4382-94c1-e50f8cabba2d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-333825cb-049d-46a7-9f37-9e30183c8b78' class='xr-var-data-in' type='checkbox'><label for='data-333825cb-049d-46a7-9f37-9e30183c8b78' 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.1999999997268018+/-nan,\n",
  2461. " 1.0299545956518035+/-0.011056405532581637],\n",
  2462. " [1.1626022186575602+/-nan,\n",
  2463. " 1.0558966820356512+/-0.015451505492218236],\n",
  2464. " [1.1013185967002246+/-nan, 1.175823451628689+/-nan],\n",
  2465. " [1.1447128945220844+/-nan, 1.146047912498191+/-nan],\n",
  2466. " [1.2+/-nan, 1.1668190975214965+/-nan],\n",
  2467. " [1.2+/-nan, 1.2+/-nan],\n",
  2468. " [1.2+/-nan, 1.2+/-nan],\n",
  2469. " [1.2+/-nan, 1.2+/-nan],\n",
  2470. " [1.2+/-nan, 1.2+/-nan],\n",
  2471. " [1.1768507043481151+/-nan, 1.2+/-nan],\n",
  2472. " [1.2+/-nan, 1.2+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>condensate_fraction</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>(2.389571448696065+/-nan)e-11 .....</div><input id='attrs-c2847abb-415b-4118-921e-0d4ced058b4e' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c2847abb-415b-4118-921e-0d4ced058b4e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3c24cfb5-201e-4fc9-b4a1-b8526e745134' class='xr-var-data-in' type='checkbox'><label for='data-3c24cfb5-201e-4fc9-b4a1-b8526e745134' 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.3895714486960645e-11+/-nan,\n",
  2473. " 0.2639423225690389+/-0.0028205468881768573],\n",
  2474. " [1.0+/-nan, 0.38738935611383174+/-0.004067944117027406],\n",
  2475. " [1.0+/-nan, 1.0+/-nan],\n",
  2476. " [1.0+/-nan, 1.0+/-nan],\n",
  2477. " [1.0+/-nan, 1.0+/-nan],\n",
  2478. " [1.0+/-nan, 1.0+/-nan],\n",
  2479. " [1.0+/-nan, 1.0+/-nan],\n",
  2480. " [1.0+/-nan, 1.0+/-nan],\n",
  2481. " [1.0+/-nan, 1.0+/-nan],\n",
  2482. " [1.0+/-nan, 1.0+/-nan],\n",
  2483. " [1.0+/-nan, 1.0+/-nan]], dtype=object)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-e826ef88-4db0-4c80-b11a-ef9194959099' class='xr-section-summary-in' type='checkbox' ><label for='section-e826ef88-4db0-4c80-b11a-ef9194959099' 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>odt_hold_time_4</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-e59f2ebf-47ad-447e-89ad-a12316d4b69f' class='xr-index-data-in' type='checkbox'/><label for='index-e59f2ebf-47ad-447e-89ad-a12316d4b69f' 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.1, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1], dtype=&#x27;float64&#x27;, name=&#x27;odt_hold_time_4&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-6a0644ff-012b-476f-ac39-b21aab0edb72' class='xr-index-data-in' type='checkbox'/><label for='index-6a0644ff-012b-476f-ac39-b21aab0edb72' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-f376e18b-2fc5-46f0-b5ef-6b84034e2d55' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-f376e18b-2fc5-46f0-b5ef-6b84034e2d55' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
  2484. ],
  2485. "text/plain": [
  2486. "<xarray.Dataset>\n",
  2487. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  2488. "Coordinates:\n",
  2489. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  2490. " * runs (runs) float64 0.0 1.0\n",
  2491. "Data variables:\n",
  2492. " BEC_amplitude (odt_hold_time_4, runs) object (2.5887280763470244+/...\n",
  2493. " thermal_amplitude (odt_hold_time_4, runs) object 1083.3440773230598+/-...\n",
  2494. " BEC_centerx (odt_hold_time_4, runs) object 43.30005082229525+/-n...\n",
  2495. " BEC_centery (odt_hold_time_4, runs) object 49.62090849228923+/-n...\n",
  2496. " thermal_centerx (odt_hold_time_4, runs) object 43.878855163885156+/-...\n",
  2497. " thermal_centery (odt_hold_time_4, runs) object 48.78771309646883+/-n...\n",
  2498. " BEC_sigmax (odt_hold_time_4, runs) object 4.603910530224281+/-n...\n",
  2499. " BEC_sigmay (odt_hold_time_4, runs) object 5.170438723671074+/-n...\n",
  2500. " thermal_sigmax (odt_hold_time_4, runs) object 13.533799535681206+/-...\n",
  2501. " thermal_sigmay (odt_hold_time_4, runs) object 16.240559439120037+/-...\n",
  2502. " thermalAspectRatio (odt_hold_time_4, runs) object 1.1999999997268018+/-...\n",
  2503. " condensate_fraction (odt_hold_time_4, runs) object (2.389571448696065+/-..."
  2504. ]
  2505. },
  2506. "execution_count": 22,
  2507. "metadata": {},
  2508. "output_type": "execute_result"
  2509. }
  2510. ],
  2511. "source": [
  2512. "value"
  2513. ]
  2514. },
  2515. {
  2516. "attachments": {},
  2517. "cell_type": "markdown",
  2518. "metadata": {},
  2519. "source": [
  2520. "### Get the result of the fit"
  2521. ]
  2522. },
  2523. {
  2524. "cell_type": "code",
  2525. "execution_count": 12,
  2526. "metadata": {},
  2527. "outputs": [
  2528. {
  2529. "data": {
  2530. "text/html": [
  2531. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  2532. "<defs>\n",
  2533. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  2534. "<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",
  2535. "<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",
  2536. "<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",
  2537. "</symbol>\n",
  2538. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  2539. "<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",
  2540. "<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",
  2541. "<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",
  2542. "<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",
  2543. "</symbol>\n",
  2544. "</defs>\n",
  2545. "</svg>\n",
  2546. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  2547. " *\n",
  2548. " */\n",
  2549. "\n",
  2550. ":root {\n",
  2551. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  2552. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  2553. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  2554. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  2555. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  2556. " --xr-background-color: var(--jp-layout-color0, white);\n",
  2557. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  2558. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  2559. "}\n",
  2560. "\n",
  2561. "html[theme=dark],\n",
  2562. "body[data-theme=dark],\n",
  2563. "body.vscode-dark {\n",
  2564. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  2565. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  2566. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  2567. " --xr-border-color: #1F1F1F;\n",
  2568. " --xr-disabled-color: #515151;\n",
  2569. " --xr-background-color: #111111;\n",
  2570. " --xr-background-color-row-even: #111111;\n",
  2571. " --xr-background-color-row-odd: #313131;\n",
  2572. "}\n",
  2573. "\n",
  2574. ".xr-wrap {\n",
  2575. " display: block !important;\n",
  2576. " min-width: 300px;\n",
  2577. " max-width: 700px;\n",
  2578. "}\n",
  2579. "\n",
  2580. ".xr-text-repr-fallback {\n",
  2581. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  2582. " display: none;\n",
  2583. "}\n",
  2584. "\n",
  2585. ".xr-header {\n",
  2586. " padding-top: 6px;\n",
  2587. " padding-bottom: 6px;\n",
  2588. " margin-bottom: 4px;\n",
  2589. " border-bottom: solid 1px var(--xr-border-color);\n",
  2590. "}\n",
  2591. "\n",
  2592. ".xr-header > div,\n",
  2593. ".xr-header > ul {\n",
  2594. " display: inline;\n",
  2595. " margin-top: 0;\n",
  2596. " margin-bottom: 0;\n",
  2597. "}\n",
  2598. "\n",
  2599. ".xr-obj-type,\n",
  2600. ".xr-array-name {\n",
  2601. " margin-left: 2px;\n",
  2602. " margin-right: 10px;\n",
  2603. "}\n",
  2604. "\n",
  2605. ".xr-obj-type {\n",
  2606. " color: var(--xr-font-color2);\n",
  2607. "}\n",
  2608. "\n",
  2609. ".xr-sections {\n",
  2610. " padding-left: 0 !important;\n",
  2611. " display: grid;\n",
  2612. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  2613. "}\n",
  2614. "\n",
  2615. ".xr-section-item {\n",
  2616. " display: contents;\n",
  2617. "}\n",
  2618. "\n",
  2619. ".xr-section-item input {\n",
  2620. " display: none;\n",
  2621. "}\n",
  2622. "\n",
  2623. ".xr-section-item input + label {\n",
  2624. " color: var(--xr-disabled-color);\n",
  2625. "}\n",
  2626. "\n",
  2627. ".xr-section-item input:enabled + label {\n",
  2628. " cursor: pointer;\n",
  2629. " color: var(--xr-font-color2);\n",
  2630. "}\n",
  2631. "\n",
  2632. ".xr-section-item input:enabled + label:hover {\n",
  2633. " color: var(--xr-font-color0);\n",
  2634. "}\n",
  2635. "\n",
  2636. ".xr-section-summary {\n",
  2637. " grid-column: 1;\n",
  2638. " color: var(--xr-font-color2);\n",
  2639. " font-weight: 500;\n",
  2640. "}\n",
  2641. "\n",
  2642. ".xr-section-summary > span {\n",
  2643. " display: inline-block;\n",
  2644. " padding-left: 0.5em;\n",
  2645. "}\n",
  2646. "\n",
  2647. ".xr-section-summary-in:disabled + label {\n",
  2648. " color: var(--xr-font-color2);\n",
  2649. "}\n",
  2650. "\n",
  2651. ".xr-section-summary-in + label:before {\n",
  2652. " display: inline-block;\n",
  2653. " content: 'â–º';\n",
  2654. " font-size: 11px;\n",
  2655. " width: 15px;\n",
  2656. " text-align: center;\n",
  2657. "}\n",
  2658. "\n",
  2659. ".xr-section-summary-in:disabled + label:before {\n",
  2660. " color: var(--xr-disabled-color);\n",
  2661. "}\n",
  2662. "\n",
  2663. ".xr-section-summary-in:checked + label:before {\n",
  2664. " content: 'â–¼';\n",
  2665. "}\n",
  2666. "\n",
  2667. ".xr-section-summary-in:checked + label > span {\n",
  2668. " display: none;\n",
  2669. "}\n",
  2670. "\n",
  2671. ".xr-section-summary,\n",
  2672. ".xr-section-inline-details {\n",
  2673. " padding-top: 4px;\n",
  2674. " padding-bottom: 4px;\n",
  2675. "}\n",
  2676. "\n",
  2677. ".xr-section-inline-details {\n",
  2678. " grid-column: 2 / -1;\n",
  2679. "}\n",
  2680. "\n",
  2681. ".xr-section-details {\n",
  2682. " display: none;\n",
  2683. " grid-column: 1 / -1;\n",
  2684. " margin-bottom: 5px;\n",
  2685. "}\n",
  2686. "\n",
  2687. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  2688. " display: contents;\n",
  2689. "}\n",
  2690. "\n",
  2691. ".xr-array-wrap {\n",
  2692. " grid-column: 1 / -1;\n",
  2693. " display: grid;\n",
  2694. " grid-template-columns: 20px auto;\n",
  2695. "}\n",
  2696. "\n",
  2697. ".xr-array-wrap > label {\n",
  2698. " grid-column: 1;\n",
  2699. " vertical-align: top;\n",
  2700. "}\n",
  2701. "\n",
  2702. ".xr-preview {\n",
  2703. " color: var(--xr-font-color3);\n",
  2704. "}\n",
  2705. "\n",
  2706. ".xr-array-preview,\n",
  2707. ".xr-array-data {\n",
  2708. " padding: 0 5px !important;\n",
  2709. " grid-column: 2;\n",
  2710. "}\n",
  2711. "\n",
  2712. ".xr-array-data,\n",
  2713. ".xr-array-in:checked ~ .xr-array-preview {\n",
  2714. " display: none;\n",
  2715. "}\n",
  2716. "\n",
  2717. ".xr-array-in:checked ~ .xr-array-data,\n",
  2718. ".xr-array-preview {\n",
  2719. " display: inline-block;\n",
  2720. "}\n",
  2721. "\n",
  2722. ".xr-dim-list {\n",
  2723. " display: inline-block !important;\n",
  2724. " list-style: none;\n",
  2725. " padding: 0 !important;\n",
  2726. " margin: 0;\n",
  2727. "}\n",
  2728. "\n",
  2729. ".xr-dim-list li {\n",
  2730. " display: inline-block;\n",
  2731. " padding: 0;\n",
  2732. " margin: 0;\n",
  2733. "}\n",
  2734. "\n",
  2735. ".xr-dim-list:before {\n",
  2736. " content: '(';\n",
  2737. "}\n",
  2738. "\n",
  2739. ".xr-dim-list:after {\n",
  2740. " content: ')';\n",
  2741. "}\n",
  2742. "\n",
  2743. ".xr-dim-list li:not(:last-child):after {\n",
  2744. " content: ',';\n",
  2745. " padding-right: 5px;\n",
  2746. "}\n",
  2747. "\n",
  2748. ".xr-has-index {\n",
  2749. " font-weight: bold;\n",
  2750. "}\n",
  2751. "\n",
  2752. ".xr-var-list,\n",
  2753. ".xr-var-item {\n",
  2754. " display: contents;\n",
  2755. "}\n",
  2756. "\n",
  2757. ".xr-var-item > div,\n",
  2758. ".xr-var-item label,\n",
  2759. ".xr-var-item > .xr-var-name span {\n",
  2760. " background-color: var(--xr-background-color-row-even);\n",
  2761. " margin-bottom: 0;\n",
  2762. "}\n",
  2763. "\n",
  2764. ".xr-var-item > .xr-var-name:hover span {\n",
  2765. " padding-right: 5px;\n",
  2766. "}\n",
  2767. "\n",
  2768. ".xr-var-list > li:nth-child(odd) > div,\n",
  2769. ".xr-var-list > li:nth-child(odd) > label,\n",
  2770. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  2771. " background-color: var(--xr-background-color-row-odd);\n",
  2772. "}\n",
  2773. "\n",
  2774. ".xr-var-name {\n",
  2775. " grid-column: 1;\n",
  2776. "}\n",
  2777. "\n",
  2778. ".xr-var-dims {\n",
  2779. " grid-column: 2;\n",
  2780. "}\n",
  2781. "\n",
  2782. ".xr-var-dtype {\n",
  2783. " grid-column: 3;\n",
  2784. " text-align: right;\n",
  2785. " color: var(--xr-font-color2);\n",
  2786. "}\n",
  2787. "\n",
  2788. ".xr-var-preview {\n",
  2789. " grid-column: 4;\n",
  2790. "}\n",
  2791. "\n",
  2792. ".xr-index-preview {\n",
  2793. " grid-column: 2 / 5;\n",
  2794. " color: var(--xr-font-color2);\n",
  2795. "}\n",
  2796. "\n",
  2797. ".xr-var-name,\n",
  2798. ".xr-var-dims,\n",
  2799. ".xr-var-dtype,\n",
  2800. ".xr-preview,\n",
  2801. ".xr-attrs dt {\n",
  2802. " white-space: nowrap;\n",
  2803. " overflow: hidden;\n",
  2804. " text-overflow: ellipsis;\n",
  2805. " padding-right: 10px;\n",
  2806. "}\n",
  2807. "\n",
  2808. ".xr-var-name:hover,\n",
  2809. ".xr-var-dims:hover,\n",
  2810. ".xr-var-dtype:hover,\n",
  2811. ".xr-attrs dt:hover {\n",
  2812. " overflow: visible;\n",
  2813. " width: auto;\n",
  2814. " z-index: 1;\n",
  2815. "}\n",
  2816. "\n",
  2817. ".xr-var-attrs,\n",
  2818. ".xr-var-data,\n",
  2819. ".xr-index-data {\n",
  2820. " display: none;\n",
  2821. " background-color: var(--xr-background-color) !important;\n",
  2822. " padding-bottom: 5px !important;\n",
  2823. "}\n",
  2824. "\n",
  2825. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  2826. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  2827. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  2828. " display: block;\n",
  2829. "}\n",
  2830. "\n",
  2831. ".xr-var-data > table {\n",
  2832. " float: right;\n",
  2833. "}\n",
  2834. "\n",
  2835. ".xr-var-name span,\n",
  2836. ".xr-var-data,\n",
  2837. ".xr-index-name div,\n",
  2838. ".xr-index-data,\n",
  2839. ".xr-attrs {\n",
  2840. " padding-left: 25px !important;\n",
  2841. "}\n",
  2842. "\n",
  2843. ".xr-attrs,\n",
  2844. ".xr-var-attrs,\n",
  2845. ".xr-var-data,\n",
  2846. ".xr-index-data {\n",
  2847. " grid-column: 1 / -1;\n",
  2848. "}\n",
  2849. "\n",
  2850. "dl.xr-attrs {\n",
  2851. " padding: 0;\n",
  2852. " margin: 0;\n",
  2853. " display: grid;\n",
  2854. " grid-template-columns: 125px auto;\n",
  2855. "}\n",
  2856. "\n",
  2857. ".xr-attrs dt,\n",
  2858. ".xr-attrs dd {\n",
  2859. " padding: 0;\n",
  2860. " margin: 0;\n",
  2861. " float: left;\n",
  2862. " padding-right: 10px;\n",
  2863. " width: auto;\n",
  2864. "}\n",
  2865. "\n",
  2866. ".xr-attrs dt {\n",
  2867. " font-weight: normal;\n",
  2868. " grid-column: 1;\n",
  2869. "}\n",
  2870. "\n",
  2871. ".xr-attrs dt:hover span {\n",
  2872. " display: inline-block;\n",
  2873. " background: var(--xr-background-color);\n",
  2874. " padding-right: 10px;\n",
  2875. "}\n",
  2876. "\n",
  2877. ".xr-attrs dd {\n",
  2878. " grid-column: 2;\n",
  2879. " white-space: pre-wrap;\n",
  2880. " word-break: break-all;\n",
  2881. "}\n",
  2882. "\n",
  2883. ".xr-icon-database,\n",
  2884. ".xr-icon-file-text2,\n",
  2885. ".xr-no-icon {\n",
  2886. " display: inline-block;\n",
  2887. " vertical-align: middle;\n",
  2888. " width: 1em;\n",
  2889. " height: 1.5em !important;\n",
  2890. " stroke-width: 0;\n",
  2891. " stroke: currentColor;\n",
  2892. " fill: currentColor;\n",
  2893. "}\n",
  2894. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  2895. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  2896. "Coordinates:\n",
  2897. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  2898. " * runs (runs) float64 0.0 1.0\n",
  2899. "Data variables:\n",
  2900. " BEC_amplitude (odt_hold_time_4, runs) float64 2.589e-08 ... 641.5\n",
  2901. " thermal_amplitude (odt_hold_time_4, runs) float64 1.083e+03 921.2 ... 0.0\n",
  2902. " BEC_centerx (odt_hold_time_4, runs) float64 43.3 46.64 ... 44.14\n",
  2903. " BEC_centery (odt_hold_time_4, runs) float64 49.62 44.63 ... 46.21\n",
  2904. " thermal_centerx (odt_hold_time_4, runs) float64 43.88 48.22 ... 46.63\n",
  2905. " thermal_centery (odt_hold_time_4, runs) float64 48.79 46.7 ... 45.85\n",
  2906. " BEC_sigmax (odt_hold_time_4, runs) float64 4.604 8.353 ... 10.79\n",
  2907. " BEC_sigmay (odt_hold_time_4, runs) float64 5.17 24.5 ... 26.86\n",
  2908. " thermal_sigmax (odt_hold_time_4, runs) float64 13.53 22.06 ... 19.99\n",
  2909. " thermal_sigmay (odt_hold_time_4, runs) float64 16.24 22.72 ... 23.99\n",
  2910. " thermalAspectRatio (odt_hold_time_4, runs) float64 1.2 1.03 ... 1.2 1.2\n",
  2911. " condensate_fraction (odt_hold_time_4, runs) float64 2.39e-11 0.2639 ... 1.0</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-8ce51918-aad5-40c8-9ca5-54c87dab5cfb' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-8ce51918-aad5-40c8-9ca5-54c87dab5cfb' 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'>odt_hold_time_4</span>: 11</li><li><span class='xr-has-index'>runs</span>: 2</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-1ec63109-845b-433a-aa27-5f23cf2b32d2' class='xr-section-summary-in' type='checkbox' checked><label for='section-1ec63109-845b-433a-aa27-5f23cf2b32d2' 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'>odt_hold_time_4</span></div><div class='xr-var-dims'>(odt_hold_time_4)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.1 0.3 0.5 0.7 ... 1.5 1.7 1.9 2.1</div><input id='attrs-b5be8374-f7f1-4501-89ec-627c19f5101a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b5be8374-f7f1-4501-89ec-627c19f5101a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bcde028a-999a-4066-8feb-8ff0a134f409' class='xr-var-data-in' type='checkbox'><label for='data-bcde028a-999a-4066-8feb-8ff0a134f409' 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, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0</div><input id='attrs-03e68017-e8b9-42a0-8aed-c8c3d4179647' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-03e68017-e8b9-42a0-8aed-c8c3d4179647' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-62675086-16c5-4d9a-97a1-970345c401fe' class='xr-var-data-in' type='checkbox'><label for='data-62675086-16c5-4d9a-97a1-970345c401fe' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-ae4ff0a8-db56-4a0f-a312-c26167360651' class='xr-section-summary-in' type='checkbox' checked><label for='section-ae4ff0a8-db56-4a0f-a312-c26167360651' class='xr-section-summary' >Data variables: <span>(12)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>BEC_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>2.589e-08 330.3 ... 657.0 641.5</div><input id='attrs-8f9a75f0-2fdc-41e1-a663-16609a855be6' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-8f9a75f0-2fdc-41e1-a663-16609a855be6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-8dfb6ba0-b47a-44a7-955f-ccb861f6dfba' class='xr-var-data-in' type='checkbox'><label for='data-8dfb6ba0-b47a-44a7-955f-ccb861f6dfba' title='Show/Hide data repr'><svg class='icon xr-icon-datab
  2912. " [4.85991864e+02, 4.07547972e+02],\n",
  2913. " [5.41829812e+01, 1.29161843e+01],\n",
  2914. " [5.32965114e+00, 1.89817031e+01],\n",
  2915. " [7.62547182e+02, 7.52634649e+02],\n",
  2916. " [7.81828293e+02, 7.33694830e+02],\n",
  2917. " [7.32708886e+02, 6.96670599e+02],\n",
  2918. " [7.56623910e+02, 7.06737171e+02],\n",
  2919. " [7.19495931e+02, 6.06200362e+02],\n",
  2920. " [6.99604325e+02, 1.98902282e+02],\n",
  2921. " [6.56997042e+02, 6.41505627e+02]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.083e+03 921.2 685.9 ... 0.0 0.0</div><input id='attrs-54f0a207-9b1f-4853-bdbc-a3b44d0b19f4' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-54f0a207-9b1f-4853-bdbc-a3b44d0b19f4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-8ccf275a-c7db-470e-8c9d-4613457c1335' class='xr-var-data-in' type='checkbox'><label for='data-8ccf275a-c7db-470e-8c9d-4613457c1335' 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([[1083.34407732, 921.16307058],\n",
  2922. " [ 685.88616347, 644.48912158],\n",
  2923. " [ 904.64350522, 900.41641903],\n",
  2924. " [ 842.3171615 , 878.05278032],\n",
  2925. " [ 0. , 0. ],\n",
  2926. " [ 0. , 0. ],\n",
  2927. " [ 0. , 0. ],\n",
  2928. " [ 0. , 0. ],\n",
  2929. " [ 0. , 0. ],\n",
  2930. " [ 0. , 254.40717727],\n",
  2931. " [ 0. , 0. ]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>43.3 46.64 43.67 ... 42.35 44.14</div><input id='attrs-2f7b8104-5f82-4d2d-8df8-2d26239c117e' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-2f7b8104-5f82-4d2d-8df8-2d26239c117e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d8bc3e16-e404-4c1d-a5e1-af0a6186873e' class='xr-var-data-in' type='checkbox'><label for='data-d8bc3e16-e404-4c1d-a5e1-af0a6186873e' 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([[43.30005082, 46.63941675],\n",
  2932. " [43.67267043, 42.68227442],\n",
  2933. " [44.49538663, 44.73007319],\n",
  2934. " [42.02375324, 46.76134207],\n",
  2935. " [44.64695076, 45.56058201],\n",
  2936. " [43.03521941, 42.15319224],\n",
  2937. " [42.65372924, 44.02078149],\n",
  2938. " [42.11790168, 42.67311854],\n",
  2939. " [44.83966816, 43.181532 ],\n",
  2940. " [43.87102995, 43.41141356],\n",
  2941. " [42.34964293, 44.13623569]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>49.62 44.63 49.86 ... 49.4 46.21</div><input id='attrs-add27d3e-944a-4afa-98b7-59531bb5fa16' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-add27d3e-944a-4afa-98b7-59531bb5fa16' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4a5e608d-13ee-4161-bffe-9e8e599d05c9' class='xr-var-data-in' type='checkbox'><label for='data-4a5e608d-13ee-4161-bffe-9e8e599d05c9' 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([[49.62090849, 44.63420666],\n",
  2942. " [49.85705296, 48.90286311],\n",
  2943. " [48.12462906, 48.29135974],\n",
  2944. " [47.89748359, 49.91644058],\n",
  2945. " [46.64025092, 46.41326285],\n",
  2946. " [48.05019456, 47.41405007],\n",
  2947. " [46.49885829, 48.18302917],\n",
  2948. " [48.25396622, 49.46098998],\n",
  2949. " [48.14381293, 44.95354996],\n",
  2950. " [47.89889005, 47.38369685],\n",
  2951. " [49.40361365, 46.21170586]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>43.88 48.22 46.04 ... 46.91 46.63</div><input id='attrs-03f49807-0be4-4338-93c7-25393dc73cbe' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-03f49807-0be4-4338-93c7-25393dc73cbe' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e3dfe0ae-2df5-454a-b784-c62bd842fb6b' class='xr-var-data-in' type='checkbox'><label for='data-e3dfe0ae-2df5-454a-b784-c62bd842fb6b' 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([[43.87885516, 48.21785722],\n",
  2952. " [46.04360494, 44.90853078],\n",
  2953. " [44.81891483, 44.73264934],\n",
  2954. " [42.33536249, 46.99425649],\n",
  2955. " [46.57928298, 48.02179731],\n",
  2956. " [45.80474292, 45.21621375],\n",
  2957. " [45.88843398, 46.24392513],\n",
  2958. " [47.37219695, 43.86899776],\n",
  2959. " [47.07932512, 46.61849313],\n",
  2960. " [47.04160128, 45.19703678],\n",
  2961. " [46.90638636, 46.62839499]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>48.79 46.7 50.11 ... 48.58 45.85</div><input id='attrs-580c244b-916c-4815-8744-129ac3a53f67' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-580c244b-916c-4815-8744-129ac3a53f67' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1b689cc9-2c77-4f81-b7f5-6bc1f357cc4a' class='xr-var-data-in' type='checkbox'><label for='data-1b689cc9-2c77-4f81-b7f5-6bc1f357cc4a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[48.7877131 , 46.70019438],\n",
  2962. " [50.11228918, 47.93364889],\n",
  2963. " [48.60558591, 47.42479999],\n",
  2964. " [48.07852839, 49.52158272],\n",
  2965. " [47.33388225, 47.25007726],\n",
  2966. " [47.20492734, 45.79103389],\n",
  2967. " [46.79740345, 48.66194292],\n",
  2968. " [48.85840538, 46.7393322 ],\n",
  2969. " [46.33012646, 45.25893119],\n",
  2970. " [49.11597972, 46.6231204 ],\n",
  2971. " [48.5847379 , 45.85136223]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>4.604 8.353 9.783 ... 10.5 10.79</div><input id='attrs-edd22b17-c9e7-46d3-8829-ae18d88f0c5a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-edd22b17-c9e7-46d3-8829-ae18d88f0c5a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-2c6aa538-de3c-45ee-a1e4-d26589573173' class='xr-var-data-in' type='checkbox'><label for='data-2c6aa538-de3c-45ee-a1e4-d26589573173' 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.60391053, 8.35264911],\n",
  2972. " [ 9.78316062, 9.27546512],\n",
  2973. " [ 3.63459544, 2.29632255],\n",
  2974. " [ 1.92776218, 2.10852719],\n",
  2975. " [12.49777298, 11.3487759 ],\n",
  2976. " [12.22304711, 13.06652118],\n",
  2977. " [11.41957691, 10.85995518],\n",
  2978. " [12.242691 , 13.25194704],\n",
  2979. " [11.41692376, 10.38408068],\n",
  2980. " [10.13665341, 8.31755421],\n",
  2981. " [10.49650908, 10.78547617]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>5.17 24.5 27.92 ... 27.49 26.86</div><input id='attrs-e74d7445-77dc-481a-9cc5-b692ac38721a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-e74d7445-77dc-481a-9cc5-b692ac38721a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b42935a4-8b47-4dea-89c4-42394cc54b02' class='xr-var-data-in' type='checkbox'><label for='data-b42935a4-8b47-4dea-89c4-42394cc54b02' 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([[ 5.17043872, 24.49629655],\n",
  2982. " [27.91910633, 26.0955643 ],\n",
  2983. " [11.28195197, 6.63511505],\n",
  2984. " [ 5.66143735, 6.20607996],\n",
  2985. " [28.07646392, 27.83533145],\n",
  2986. " [28.8031477 , 27.15244572],\n",
  2987. " [28.2491107 , 27.20720946],\n",
  2988. " [28.42456496, 27.90613293],\n",
  2989. " [27.24579272, 27.08539896],\n",
  2990. " [28.56436286, 22.28223522],\n",
  2991. " [27.48924968, 26.8614615 ]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>13.53 22.06 21.53 ... 18.85 19.99</div><input id='attrs-41c9d041-341e-41d2-a3df-fdbe5155ab14' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-41c9d041-341e-41d2-a3df-fdbe5155ab14' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-35671589-ab86-4c04-baf0-290a140be547' class='xr-var-data-in' type='checkbox'><label for='data-35671589-ab86-4c04-baf0-290a140be547' 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([[13.53379954, 22.05711691],\n",
  2992. " [21.52672143, 20.82232766],\n",
  2993. " [12.35782731, 11.64979579],\n",
  2994. " [11.03986395, 11.17134348],\n",
  2995. " [23.08716945, 21.21679671],\n",
  2996. " [25.12748633, 25.85957997],\n",
  2997. " [22.99879299, 20.2869507 ],\n",
  2998. " [20.4313505 , 26.79045179],\n",
  2999. " [24.68431817, 20.74077357],\n",
  3000. " [20.42727752, 16.48271091],\n",
  3001. " [18.85321489, 19.99497962]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>16.24 22.72 22.83 ... 22.62 23.99</div><input id='attrs-accbfd0f-619c-4b56-8615-c8c7dadb34bf' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-accbfd0f-619c-4b56-8615-c8c7dadb34bf' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-967a499c-04a3-4e03-a6f6-ba9e7fc7d0b7' class='xr-var-data-in' type='checkbox'><label for='data-967a499c-04a3-4e03-a6f6-ba9e7fc7d0b7' 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.24055944, 22.71782893],\n",
  3002. " [22.82543105, 21.98622669],\n",
  3003. " [14.82932114, 13.97973361],\n",
  3004. " [13.24783439, 13.4055875 ],\n",
  3005. " [27.70460334, 24.75616359],\n",
  3006. " [30.15298359, 31.03149596],\n",
  3007. " [27.59855159, 24.34434084],\n",
  3008. " [24.51762061, 32.14854215],\n",
  3009. " [29.62118181, 24.88892828],\n",
  3010. " [24.03985594, 19.77925309],\n",
  3011. " [22.62385786, 23.99397555]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermalAspectRatio</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.2 1.03 1.06 1.056 ... 1.2 1.2 1.2</div><input id='attrs-3d01d652-68b1-4ec2-aafb-cfa49200f957' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3d01d652-68b1-4ec2-aafb-cfa49200f957' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bb639d5d-09a2-41a0-a508-ba611ccae709' class='xr-var-data-in' type='checkbox'><label for='data-bb639d5d-09a2-41a0-a508-ba611ccae709' 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.2 , 1.0299546 ],\n",
  3012. " [1.06033012, 1.05589668],\n",
  3013. " [1.1999942 , 1.19999817],\n",
  3014. " [1.19999979, 1.19999779],\n",
  3015. " [1.2 , 1.1668191 ],\n",
  3016. " [1.2 , 1.2 ],\n",
  3017. " [1.2 , 1.2 ],\n",
  3018. " [1.2 , 1.2 ],\n",
  3019. " [1.2 , 1.2 ],\n",
  3020. " [1.1768507 , 1.2 ],\n",
  3021. " [1.2 , 1.2 ]])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>condensate_fraction</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>2.39e-11 0.2639 0.4147 ... 1.0 1.0</div><input id='attrs-8763a04b-ccfc-433a-aacb-1ad79fa645c6' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-8763a04b-ccfc-433a-aacb-1ad79fa645c6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b8e4caa8-2b67-407b-81d3-d72154c6f658' class='xr-var-data-in' type='checkbox'><label for='data-b8e4caa8-2b67-407b-81d3-d72154c6f658' 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.38957145e-11, 2.63942323e-01],\n",
  3022. " [4.14711986e-01, 3.87389356e-01],\n",
  3023. " [5.65096834e-02, 1.41418189e-02],\n",
  3024. " [6.28758471e-03, 2.11605055e-02],\n",
  3025. " [1.00000000e+00, 1.00000000e+00],\n",
  3026. " [1.00000000e+00, 1.00000000e+00],\n",
  3027. " [1.00000000e+00, 1.00000000e+00],\n",
  3028. " [1.00000000e+00, 1.00000000e+00],\n",
  3029. " [1.00000000e+00, 1.00000000e+00],\n",
  3030. " [1.00000000e+00, 4.38778141e-01],\n",
  3031. " [1.00000000e+00, 1.00000000e+00]])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-59913daf-3cb3-48aa-b78f-1c2bf4b6c3d5' class='xr-section-summary-in' type='checkbox' ><label for='section-59913daf-3cb3-48aa-b78f-1c2bf4b6c3d5' 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>odt_hold_time_4</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-7a7675ae-5cba-469a-97a1-a08e7feff7dd' class='xr-index-data-in' type='checkbox'/><label for='index-7a7675ae-5cba-469a-97a1-a08e7feff7dd' 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.1, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1], dtype=&#x27;float64&#x27;, name=&#x27;odt_hold_time_4&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-52d65964-421d-4286-a9b0-efb50d356f2f' class='xr-index-data-in' type='checkbox'/><label for='index-52d65964-421d-4286-a9b0-efb50d356f2f' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-37cf692b-3b78-4c08-aeaf-017d722e3e5d' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-37cf692b-3b78-4c08-aeaf-017d722e3e5d' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
  3032. ],
  3033. "text/plain": [
  3034. "<xarray.Dataset>\n",
  3035. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  3036. "Coordinates:\n",
  3037. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  3038. " * runs (runs) float64 0.0 1.0\n",
  3039. "Data variables:\n",
  3040. " BEC_amplitude (odt_hold_time_4, runs) float64 2.589e-08 ... 641.5\n",
  3041. " thermal_amplitude (odt_hold_time_4, runs) float64 1.083e+03 921.2 ... 0.0\n",
  3042. " BEC_centerx (odt_hold_time_4, runs) float64 43.3 46.64 ... 44.14\n",
  3043. " BEC_centery (odt_hold_time_4, runs) float64 49.62 44.63 ... 46.21\n",
  3044. " thermal_centerx (odt_hold_time_4, runs) float64 43.88 48.22 ... 46.63\n",
  3045. " thermal_centery (odt_hold_time_4, runs) float64 48.79 46.7 ... 45.85\n",
  3046. " BEC_sigmax (odt_hold_time_4, runs) float64 4.604 8.353 ... 10.79\n",
  3047. " BEC_sigmay (odt_hold_time_4, runs) float64 5.17 24.5 ... 26.86\n",
  3048. " thermal_sigmax (odt_hold_time_4, runs) float64 13.53 22.06 ... 19.99\n",
  3049. " thermal_sigmay (odt_hold_time_4, runs) float64 16.24 22.72 ... 23.99\n",
  3050. " thermalAspectRatio (odt_hold_time_4, runs) float64 1.2 1.03 ... 1.2 1.2\n",
  3051. " condensate_fraction (odt_hold_time_4, runs) float64 2.39e-11 0.2639 ... 1.0"
  3052. ]
  3053. },
  3054. "execution_count": 12,
  3055. "metadata": {},
  3056. "output_type": "execute_result"
  3057. }
  3058. ],
  3059. "source": [
  3060. "fitAnalyser.get_fit_value(fitResult)"
  3061. ]
  3062. },
  3063. {
  3064. "cell_type": "code",
  3065. "execution_count": 13,
  3066. "metadata": {},
  3067. "outputs": [
  3068. {
  3069. "data": {
  3070. "text/html": [
  3071. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  3072. "<defs>\n",
  3073. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  3074. "<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",
  3075. "<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",
  3076. "<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",
  3077. "</symbol>\n",
  3078. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  3079. "<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",
  3080. "<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",
  3081. "<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",
  3082. "<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",
  3083. "</symbol>\n",
  3084. "</defs>\n",
  3085. "</svg>\n",
  3086. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  3087. " *\n",
  3088. " */\n",
  3089. "\n",
  3090. ":root {\n",
  3091. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  3092. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  3093. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  3094. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  3095. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  3096. " --xr-background-color: var(--jp-layout-color0, white);\n",
  3097. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  3098. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  3099. "}\n",
  3100. "\n",
  3101. "html[theme=dark],\n",
  3102. "body[data-theme=dark],\n",
  3103. "body.vscode-dark {\n",
  3104. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  3105. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  3106. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  3107. " --xr-border-color: #1F1F1F;\n",
  3108. " --xr-disabled-color: #515151;\n",
  3109. " --xr-background-color: #111111;\n",
  3110. " --xr-background-color-row-even: #111111;\n",
  3111. " --xr-background-color-row-odd: #313131;\n",
  3112. "}\n",
  3113. "\n",
  3114. ".xr-wrap {\n",
  3115. " display: block !important;\n",
  3116. " min-width: 300px;\n",
  3117. " max-width: 700px;\n",
  3118. "}\n",
  3119. "\n",
  3120. ".xr-text-repr-fallback {\n",
  3121. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  3122. " display: none;\n",
  3123. "}\n",
  3124. "\n",
  3125. ".xr-header {\n",
  3126. " padding-top: 6px;\n",
  3127. " padding-bottom: 6px;\n",
  3128. " margin-bottom: 4px;\n",
  3129. " border-bottom: solid 1px var(--xr-border-color);\n",
  3130. "}\n",
  3131. "\n",
  3132. ".xr-header > div,\n",
  3133. ".xr-header > ul {\n",
  3134. " display: inline;\n",
  3135. " margin-top: 0;\n",
  3136. " margin-bottom: 0;\n",
  3137. "}\n",
  3138. "\n",
  3139. ".xr-obj-type,\n",
  3140. ".xr-array-name {\n",
  3141. " margin-left: 2px;\n",
  3142. " margin-right: 10px;\n",
  3143. "}\n",
  3144. "\n",
  3145. ".xr-obj-type {\n",
  3146. " color: var(--xr-font-color2);\n",
  3147. "}\n",
  3148. "\n",
  3149. ".xr-sections {\n",
  3150. " padding-left: 0 !important;\n",
  3151. " display: grid;\n",
  3152. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  3153. "}\n",
  3154. "\n",
  3155. ".xr-section-item {\n",
  3156. " display: contents;\n",
  3157. "}\n",
  3158. "\n",
  3159. ".xr-section-item input {\n",
  3160. " display: none;\n",
  3161. "}\n",
  3162. "\n",
  3163. ".xr-section-item input + label {\n",
  3164. " color: var(--xr-disabled-color);\n",
  3165. "}\n",
  3166. "\n",
  3167. ".xr-section-item input:enabled + label {\n",
  3168. " cursor: pointer;\n",
  3169. " color: var(--xr-font-color2);\n",
  3170. "}\n",
  3171. "\n",
  3172. ".xr-section-item input:enabled + label:hover {\n",
  3173. " color: var(--xr-font-color0);\n",
  3174. "}\n",
  3175. "\n",
  3176. ".xr-section-summary {\n",
  3177. " grid-column: 1;\n",
  3178. " color: var(--xr-font-color2);\n",
  3179. " font-weight: 500;\n",
  3180. "}\n",
  3181. "\n",
  3182. ".xr-section-summary > span {\n",
  3183. " display: inline-block;\n",
  3184. " padding-left: 0.5em;\n",
  3185. "}\n",
  3186. "\n",
  3187. ".xr-section-summary-in:disabled + label {\n",
  3188. " color: var(--xr-font-color2);\n",
  3189. "}\n",
  3190. "\n",
  3191. ".xr-section-summary-in + label:before {\n",
  3192. " display: inline-block;\n",
  3193. " content: 'â–º';\n",
  3194. " font-size: 11px;\n",
  3195. " width: 15px;\n",
  3196. " text-align: center;\n",
  3197. "}\n",
  3198. "\n",
  3199. ".xr-section-summary-in:disabled + label:before {\n",
  3200. " color: var(--xr-disabled-color);\n",
  3201. "}\n",
  3202. "\n",
  3203. ".xr-section-summary-in:checked + label:before {\n",
  3204. " content: 'â–¼';\n",
  3205. "}\n",
  3206. "\n",
  3207. ".xr-section-summary-in:checked + label > span {\n",
  3208. " display: none;\n",
  3209. "}\n",
  3210. "\n",
  3211. ".xr-section-summary,\n",
  3212. ".xr-section-inline-details {\n",
  3213. " padding-top: 4px;\n",
  3214. " padding-bottom: 4px;\n",
  3215. "}\n",
  3216. "\n",
  3217. ".xr-section-inline-details {\n",
  3218. " grid-column: 2 / -1;\n",
  3219. "}\n",
  3220. "\n",
  3221. ".xr-section-details {\n",
  3222. " display: none;\n",
  3223. " grid-column: 1 / -1;\n",
  3224. " margin-bottom: 5px;\n",
  3225. "}\n",
  3226. "\n",
  3227. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  3228. " display: contents;\n",
  3229. "}\n",
  3230. "\n",
  3231. ".xr-array-wrap {\n",
  3232. " grid-column: 1 / -1;\n",
  3233. " display: grid;\n",
  3234. " grid-template-columns: 20px auto;\n",
  3235. "}\n",
  3236. "\n",
  3237. ".xr-array-wrap > label {\n",
  3238. " grid-column: 1;\n",
  3239. " vertical-align: top;\n",
  3240. "}\n",
  3241. "\n",
  3242. ".xr-preview {\n",
  3243. " color: var(--xr-font-color3);\n",
  3244. "}\n",
  3245. "\n",
  3246. ".xr-array-preview,\n",
  3247. ".xr-array-data {\n",
  3248. " padding: 0 5px !important;\n",
  3249. " grid-column: 2;\n",
  3250. "}\n",
  3251. "\n",
  3252. ".xr-array-data,\n",
  3253. ".xr-array-in:checked ~ .xr-array-preview {\n",
  3254. " display: none;\n",
  3255. "}\n",
  3256. "\n",
  3257. ".xr-array-in:checked ~ .xr-array-data,\n",
  3258. ".xr-array-preview {\n",
  3259. " display: inline-block;\n",
  3260. "}\n",
  3261. "\n",
  3262. ".xr-dim-list {\n",
  3263. " display: inline-block !important;\n",
  3264. " list-style: none;\n",
  3265. " padding: 0 !important;\n",
  3266. " margin: 0;\n",
  3267. "}\n",
  3268. "\n",
  3269. ".xr-dim-list li {\n",
  3270. " display: inline-block;\n",
  3271. " padding: 0;\n",
  3272. " margin: 0;\n",
  3273. "}\n",
  3274. "\n",
  3275. ".xr-dim-list:before {\n",
  3276. " content: '(';\n",
  3277. "}\n",
  3278. "\n",
  3279. ".xr-dim-list:after {\n",
  3280. " content: ')';\n",
  3281. "}\n",
  3282. "\n",
  3283. ".xr-dim-list li:not(:last-child):after {\n",
  3284. " content: ',';\n",
  3285. " padding-right: 5px;\n",
  3286. "}\n",
  3287. "\n",
  3288. ".xr-has-index {\n",
  3289. " font-weight: bold;\n",
  3290. "}\n",
  3291. "\n",
  3292. ".xr-var-list,\n",
  3293. ".xr-var-item {\n",
  3294. " display: contents;\n",
  3295. "}\n",
  3296. "\n",
  3297. ".xr-var-item > div,\n",
  3298. ".xr-var-item label,\n",
  3299. ".xr-var-item > .xr-var-name span {\n",
  3300. " background-color: var(--xr-background-color-row-even);\n",
  3301. " margin-bottom: 0;\n",
  3302. "}\n",
  3303. "\n",
  3304. ".xr-var-item > .xr-var-name:hover span {\n",
  3305. " padding-right: 5px;\n",
  3306. "}\n",
  3307. "\n",
  3308. ".xr-var-list > li:nth-child(odd) > div,\n",
  3309. ".xr-var-list > li:nth-child(odd) > label,\n",
  3310. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  3311. " background-color: var(--xr-background-color-row-odd);\n",
  3312. "}\n",
  3313. "\n",
  3314. ".xr-var-name {\n",
  3315. " grid-column: 1;\n",
  3316. "}\n",
  3317. "\n",
  3318. ".xr-var-dims {\n",
  3319. " grid-column: 2;\n",
  3320. "}\n",
  3321. "\n",
  3322. ".xr-var-dtype {\n",
  3323. " grid-column: 3;\n",
  3324. " text-align: right;\n",
  3325. " color: var(--xr-font-color2);\n",
  3326. "}\n",
  3327. "\n",
  3328. ".xr-var-preview {\n",
  3329. " grid-column: 4;\n",
  3330. "}\n",
  3331. "\n",
  3332. ".xr-index-preview {\n",
  3333. " grid-column: 2 / 5;\n",
  3334. " color: var(--xr-font-color2);\n",
  3335. "}\n",
  3336. "\n",
  3337. ".xr-var-name,\n",
  3338. ".xr-var-dims,\n",
  3339. ".xr-var-dtype,\n",
  3340. ".xr-preview,\n",
  3341. ".xr-attrs dt {\n",
  3342. " white-space: nowrap;\n",
  3343. " overflow: hidden;\n",
  3344. " text-overflow: ellipsis;\n",
  3345. " padding-right: 10px;\n",
  3346. "}\n",
  3347. "\n",
  3348. ".xr-var-name:hover,\n",
  3349. ".xr-var-dims:hover,\n",
  3350. ".xr-var-dtype:hover,\n",
  3351. ".xr-attrs dt:hover {\n",
  3352. " overflow: visible;\n",
  3353. " width: auto;\n",
  3354. " z-index: 1;\n",
  3355. "}\n",
  3356. "\n",
  3357. ".xr-var-attrs,\n",
  3358. ".xr-var-data,\n",
  3359. ".xr-index-data {\n",
  3360. " display: none;\n",
  3361. " background-color: var(--xr-background-color) !important;\n",
  3362. " padding-bottom: 5px !important;\n",
  3363. "}\n",
  3364. "\n",
  3365. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  3366. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  3367. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  3368. " display: block;\n",
  3369. "}\n",
  3370. "\n",
  3371. ".xr-var-data > table {\n",
  3372. " float: right;\n",
  3373. "}\n",
  3374. "\n",
  3375. ".xr-var-name span,\n",
  3376. ".xr-var-data,\n",
  3377. ".xr-index-name div,\n",
  3378. ".xr-index-data,\n",
  3379. ".xr-attrs {\n",
  3380. " padding-left: 25px !important;\n",
  3381. "}\n",
  3382. "\n",
  3383. ".xr-attrs,\n",
  3384. ".xr-var-attrs,\n",
  3385. ".xr-var-data,\n",
  3386. ".xr-index-data {\n",
  3387. " grid-column: 1 / -1;\n",
  3388. "}\n",
  3389. "\n",
  3390. "dl.xr-attrs {\n",
  3391. " padding: 0;\n",
  3392. " margin: 0;\n",
  3393. " display: grid;\n",
  3394. " grid-template-columns: 125px auto;\n",
  3395. "}\n",
  3396. "\n",
  3397. ".xr-attrs dt,\n",
  3398. ".xr-attrs dd {\n",
  3399. " padding: 0;\n",
  3400. " margin: 0;\n",
  3401. " float: left;\n",
  3402. " padding-right: 10px;\n",
  3403. " width: auto;\n",
  3404. "}\n",
  3405. "\n",
  3406. ".xr-attrs dt {\n",
  3407. " font-weight: normal;\n",
  3408. " grid-column: 1;\n",
  3409. "}\n",
  3410. "\n",
  3411. ".xr-attrs dt:hover span {\n",
  3412. " display: inline-block;\n",
  3413. " background: var(--xr-background-color);\n",
  3414. " padding-right: 10px;\n",
  3415. "}\n",
  3416. "\n",
  3417. ".xr-attrs dd {\n",
  3418. " grid-column: 2;\n",
  3419. " white-space: pre-wrap;\n",
  3420. " word-break: break-all;\n",
  3421. "}\n",
  3422. "\n",
  3423. ".xr-icon-database,\n",
  3424. ".xr-icon-file-text2,\n",
  3425. ".xr-no-icon {\n",
  3426. " display: inline-block;\n",
  3427. " vertical-align: middle;\n",
  3428. " width: 1em;\n",
  3429. " height: 1.5em !important;\n",
  3430. " stroke-width: 0;\n",
  3431. " stroke: currentColor;\n",
  3432. " fill: currentColor;\n",
  3433. "}\n",
  3434. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  3435. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  3436. "Coordinates:\n",
  3437. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  3438. " * runs (runs) float64 0.0 1.0\n",
  3439. "Data variables:\n",
  3440. " BEC_amplitude (odt_hold_time_4, runs) object None 3.37 ... None None\n",
  3441. " thermal_amplitude (odt_hold_time_4, runs) object None 6.908 ... None None\n",
  3442. " BEC_centerx (odt_hold_time_4, runs) object None 0.02481 ... None\n",
  3443. " BEC_centery (odt_hold_time_4, runs) object None 0.08479 ... None\n",
  3444. " thermal_centerx (odt_hold_time_4, runs) object None 0.1137 ... None\n",
  3445. " thermal_centery (odt_hold_time_4, runs) object None 0.1347 ... None\n",
  3446. " BEC_sigmax (odt_hold_time_4, runs) object None 0.05136 ... None\n",
  3447. " BEC_sigmay (odt_hold_time_4, runs) object None 0.1424 ... None\n",
  3448. " thermal_sigmax (odt_hold_time_4, runs) object None 0.1888 ... None\n",
  3449. " thermal_sigmay (odt_hold_time_4, runs) object None ... None\n",
  3450. " thermalAspectRatio (odt_hold_time_4, runs) object None 0.01106 ... None\n",
  3451. " condensate_fraction (odt_hold_time_4, runs) object None ... None</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-4a24d302-891c-4b55-b33d-b8fa9f1b7b5d' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-4a24d302-891c-4b55-b33d-b8fa9f1b7b5d' 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'>odt_hold_time_4</span>: 11</li><li><span class='xr-has-index'>runs</span>: 2</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-8b7bdb60-3dc2-4ee6-a4cb-02f2af4d1194' class='xr-section-summary-in' type='checkbox' checked><label for='section-8b7bdb60-3dc2-4ee6-a4cb-02f2af4d1194' 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'>odt_hold_time_4</span></div><div class='xr-var-dims'>(odt_hold_time_4)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.1 0.3 0.5 0.7 ... 1.5 1.7 1.9 2.1</div><input id='attrs-fed65f17-9009-43d2-a087-fefebf4e0882' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-fed65f17-9009-43d2-a087-fefebf4e0882' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-2d908c3f-95c5-4b88-af13-41e88f1f1351' class='xr-var-data-in' type='checkbox'><label for='data-2d908c3f-95c5-4b88-af13-41e88f1f1351' 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, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0</div><input id='attrs-c743ba54-ef51-4638-8959-c11977453d48' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c743ba54-ef51-4638-8959-c11977453d48' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d1584a89-1b27-4802-8811-863c43631318' class='xr-var-data-in' type='checkbox'><label for='data-d1584a89-1b27-4802-8811-863c43631318' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-935c5226-4577-473a-a6bb-30f6cd26019f' class='xr-section-summary-in' type='checkbox' checked><label for='section-935c5226-4577-473a-a6bb-30f6cd26019f' class='xr-section-summary' >Data variables: <span>(12)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>BEC_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 3.37 4.406 ... None None None</div><input id='attrs-c06296d0-3246-4499-a797-21ad727caefc' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c06296d0-3246-4499-a797-21ad727caefc' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-24547109-dbfe-4e74-bb93-d11a3abe254e' class='xr-var-data-in' type='checkbox'><label for='data-24547109-dbfe-4e74-bb93-d11a3abe254e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use
  3452. " [4.405566543882409, 3.9838381201561566],\n",
  3453. " [None, None],\n",
  3454. " [None, None],\n",
  3455. " [None, None],\n",
  3456. " [None, None],\n",
  3457. " [None, None],\n",
  3458. " [None, None],\n",
  3459. " [None, None],\n",
  3460. " [None, None],\n",
  3461. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 6.908 7.163 ... None None None</div><input id='attrs-f1707311-2833-42d9-a5af-12b0809982f0' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-f1707311-2833-42d9-a5af-12b0809982f0' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fcbb737d-0075-46fa-a883-a16f2a1ed088' class='xr-var-data-in' type='checkbox'><label for='data-fcbb737d-0075-46fa-a883-a16f2a1ed088' 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([[None, 6.908180021239722],\n",
  3462. " [7.1631524860274824, 6.701415934447466],\n",
  3463. " [None, None],\n",
  3464. " [None, None],\n",
  3465. " [None, None],\n",
  3466. " [None, None],\n",
  3467. " [None, None],\n",
  3468. " [None, None],\n",
  3469. " [None, None],\n",
  3470. " [None, None],\n",
  3471. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.02481 0.02296 ... None None</div><input id='attrs-3bc3e69b-1045-458f-827e-26ab52b3b08c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3bc3e69b-1045-458f-827e-26ab52b3b08c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-749be1bc-2a46-4349-991a-9229ffd81011' class='xr-var-data-in' type='checkbox'><label for='data-749be1bc-2a46-4349-991a-9229ffd81011' 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([[None, 0.02481403969789939],\n",
  3472. " [0.022964344902726534, 0.023904378076890005],\n",
  3473. " [None, None],\n",
  3474. " [None, None],\n",
  3475. " [None, None],\n",
  3476. " [None, None],\n",
  3477. " [None, None],\n",
  3478. " [None, None],\n",
  3479. " [None, None],\n",
  3480. " [None, None],\n",
  3481. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.08479 0.0795 ... None None</div><input id='attrs-d8ec53ca-1619-4fba-bb9c-ab199a752468' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-d8ec53ca-1619-4fba-bb9c-ab199a752468' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0a2245d0-5e4f-4632-962a-542654c8203b' class='xr-var-data-in' type='checkbox'><label for='data-0a2245d0-5e4f-4632-962a-542654c8203b' 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([[None, 0.08479274206116942],\n",
  3482. " [0.07950492037358668, 0.08105262745064175],\n",
  3483. " [None, None],\n",
  3484. " [None, None],\n",
  3485. " [None, None],\n",
  3486. " [None, None],\n",
  3487. " [None, None],\n",
  3488. " [None, None],\n",
  3489. " [None, None],\n",
  3490. " [None, None],\n",
  3491. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.1137 0.1506 ... None None</div><input id='attrs-e788ca3c-8ea6-41c1-afb1-6bbe39630bb7' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-e788ca3c-8ea6-41c1-afb1-6bbe39630bb7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-92f566ab-3fa2-4c94-ade3-113e026c7245' class='xr-var-data-in' type='checkbox'><label for='data-92f566ab-3fa2-4c94-ade3-113e026c7245' 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([[None, 0.11372708523178264],\n",
  3492. " [0.15063309674050376, 0.14652473539888153],\n",
  3493. " [None, None],\n",
  3494. " [None, None],\n",
  3495. " [None, None],\n",
  3496. " [None, None],\n",
  3497. " [None, None],\n",
  3498. " [None, None],\n",
  3499. " [None, None],\n",
  3500. " [None, None],\n",
  3501. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.1347 0.1894 ... None None</div><input id='attrs-dd0c5a3c-a91b-4466-afd7-5c70c2760ba3' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-dd0c5a3c-a91b-4466-afd7-5c70c2760ba3' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f303369d-aba9-4eea-90ad-50c894f07cdc' class='xr-var-data-in' type='checkbox'><label for='data-f303369d-aba9-4eea-90ad-50c894f07cdc' 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([[None, 0.13474784266512813],\n",
  3502. " [0.18936637840887163, 0.1818313748768025],\n",
  3503. " [None, None],\n",
  3504. " [None, None],\n",
  3505. " [None, None],\n",
  3506. " [None, None],\n",
  3507. " [None, None],\n",
  3508. " [None, None],\n",
  3509. " [None, None],\n",
  3510. " [None, None],\n",
  3511. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.05136 0.04877 ... None None</div><input id='attrs-41ee306e-1965-4463-b473-44bfe3398ab8' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-41ee306e-1965-4463-b473-44bfe3398ab8' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3aa58fdc-6d18-441e-ba61-872bea88adeb' class='xr-var-data-in' type='checkbox'><label for='data-3aa58fdc-6d18-441e-ba61-872bea88adeb' 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([[None, 0.05135922760852204],\n",
  3512. " [0.04877051594634713, 0.05031110384700545],\n",
  3513. " [None, None],\n",
  3514. " [None, None],\n",
  3515. " [None, None],\n",
  3516. " [None, None],\n",
  3517. " [None, None],\n",
  3518. " [None, None],\n",
  3519. " [None, None],\n",
  3520. " [None, None],\n",
  3521. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.1424 0.1319 ... None None</div><input id='attrs-fc811dc1-8dda-4e60-8305-d6eb3080880a' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-fc811dc1-8dda-4e60-8305-d6eb3080880a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-943ccd97-a6f1-4e34-bdff-b78235f19265' class='xr-var-data-in' type='checkbox'><label for='data-943ccd97-a6f1-4e34-bdff-b78235f19265' 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([[None, 0.1423704022374025],\n",
  3522. " [0.13190872611813256, 0.13421172201262788],\n",
  3523. " [None, None],\n",
  3524. " [None, None],\n",
  3525. " [None, None],\n",
  3526. " [None, None],\n",
  3527. " [None, None],\n",
  3528. " [None, None],\n",
  3529. " [None, None],\n",
  3530. " [None, None],\n",
  3531. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.1888 0.2553 ... None None</div><input id='attrs-b9c5e85a-16a4-4766-a696-b171e32fa352' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b9c5e85a-16a4-4766-a696-b171e32fa352' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-24fead53-4fea-4efc-8075-f1c65f65d23c' class='xr-var-data-in' type='checkbox'><label for='data-24fead53-4fea-4efc-8075-f1c65f65d23c' 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([[None, 0.18884704218447057],\n",
  3532. " [0.255322105533515, 0.24630874375159836],\n",
  3533. " [None, None],\n",
  3534. " [None, None],\n",
  3535. " [None, None],\n",
  3536. " [None, None],\n",
  3537. " [None, None],\n",
  3538. " [None, None],\n",
  3539. " [None, None],\n",
  3540. " [None, None],\n",
  3541. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.18021693674512695 ... None</div><input id='attrs-0b1ab248-63b9-449d-a124-19219eff0cb5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-0b1ab248-63b9-449d-a124-19219eff0cb5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bdd77e4a-d20a-4d24-b5a9-3f3f224ea91e' class='xr-var-data-in' type='checkbox'><label for='data-bdd77e4a-d20a-4d24-b5a9-3f3f224ea91e' 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([[None, 0.18021693674512695],\n",
  3542. " [0.2488363469846332, 0.23913745363300817],\n",
  3543. " [None, None],\n",
  3544. " [None, None],\n",
  3545. " [None, None],\n",
  3546. " [None, None],\n",
  3547. " [None, None],\n",
  3548. " [None, None],\n",
  3549. " [None, None],\n",
  3550. " [None, None],\n",
  3551. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermalAspectRatio</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.01106 0.01554 ... None None</div><input id='attrs-3dedf3d9-5ad7-44db-9462-c1d8f75d2427' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3dedf3d9-5ad7-44db-9462-c1d8f75d2427' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-32875bdb-be54-4056-97ec-171931b77423' class='xr-var-data-in' type='checkbox'><label for='data-32875bdb-be54-4056-97ec-171931b77423' 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([[None, 0.011056405532581637],\n",
  3552. " [0.015544745441584365, 0.015451505492218236],\n",
  3553. " [None, None],\n",
  3554. " [None, None],\n",
  3555. " [None, None],\n",
  3556. " [None, None],\n",
  3557. " [None, None],\n",
  3558. " [None, None],\n",
  3559. " [None, None],\n",
  3560. " [None, None],\n",
  3561. " [None, None]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>condensate_fraction</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>None 0.0028205468881768573 ... None</div><input id='attrs-68f8ad0f-35fc-4f4c-8dde-5eeda8476872' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-68f8ad0f-35fc-4f4c-8dde-5eeda8476872' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1aed0c7e-8377-4180-b524-58da3a49ebaf' class='xr-var-data-in' type='checkbox'><label for='data-1aed0c7e-8377-4180-b524-58da3a49ebaf' 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([[None, 0.0028205468881768573],\n",
  3562. " [0.004059881769920059, 0.004067944117027406],\n",
  3563. " [None, None],\n",
  3564. " [None, None],\n",
  3565. " [None, None],\n",
  3566. " [None, None],\n",
  3567. " [None, None],\n",
  3568. " [None, None],\n",
  3569. " [None, None],\n",
  3570. " [None, None],\n",
  3571. " [None, None]], dtype=object)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-d17fc933-4782-4f05-9b93-f88b234a87c2' class='xr-section-summary-in' type='checkbox' ><label for='section-d17fc933-4782-4f05-9b93-f88b234a87c2' 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>odt_hold_time_4</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-8f85c754-902a-46ae-901f-85f4a31a393b' class='xr-index-data-in' type='checkbox'/><label for='index-8f85c754-902a-46ae-901f-85f4a31a393b' 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.1, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1], dtype=&#x27;float64&#x27;, name=&#x27;odt_hold_time_4&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-37a69866-255b-45a9-8eec-bff1b605e666' class='xr-index-data-in' type='checkbox'/><label for='index-37a69866-255b-45a9-8eec-bff1b605e666' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-04d5ef27-6e2e-492e-aed1-70cbb7577c5d' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-04d5ef27-6e2e-492e-aed1-70cbb7577c5d' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
  3572. ],
  3573. "text/plain": [
  3574. "<xarray.Dataset>\n",
  3575. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  3576. "Coordinates:\n",
  3577. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  3578. " * runs (runs) float64 0.0 1.0\n",
  3579. "Data variables:\n",
  3580. " BEC_amplitude (odt_hold_time_4, runs) object None 3.37 ... None None\n",
  3581. " thermal_amplitude (odt_hold_time_4, runs) object None 6.908 ... None None\n",
  3582. " BEC_centerx (odt_hold_time_4, runs) object None 0.02481 ... None\n",
  3583. " BEC_centery (odt_hold_time_4, runs) object None 0.08479 ... None\n",
  3584. " thermal_centerx (odt_hold_time_4, runs) object None 0.1137 ... None\n",
  3585. " thermal_centery (odt_hold_time_4, runs) object None 0.1347 ... None\n",
  3586. " BEC_sigmax (odt_hold_time_4, runs) object None 0.05136 ... None\n",
  3587. " BEC_sigmay (odt_hold_time_4, runs) object None 0.1424 ... None\n",
  3588. " thermal_sigmax (odt_hold_time_4, runs) object None 0.1888 ... None\n",
  3589. " thermal_sigmay (odt_hold_time_4, runs) object None ... None\n",
  3590. " thermalAspectRatio (odt_hold_time_4, runs) object None 0.01106 ... None\n",
  3591. " condensate_fraction (odt_hold_time_4, runs) object None ... None"
  3592. ]
  3593. },
  3594. "execution_count": 13,
  3595. "metadata": {},
  3596. "output_type": "execute_result"
  3597. }
  3598. ],
  3599. "source": [
  3600. "fitAnalyser.get_fit_std(fitResult)"
  3601. ]
  3602. },
  3603. {
  3604. "cell_type": "code",
  3605. "execution_count": 14,
  3606. "metadata": {},
  3607. "outputs": [
  3608. {
  3609. "data": {
  3610. "text/html": [
  3611. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  3612. "<defs>\n",
  3613. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  3614. "<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",
  3615. "<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",
  3616. "<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",
  3617. "</symbol>\n",
  3618. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  3619. "<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",
  3620. "<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",
  3621. "<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",
  3622. "<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",
  3623. "</symbol>\n",
  3624. "</defs>\n",
  3625. "</svg>\n",
  3626. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  3627. " *\n",
  3628. " */\n",
  3629. "\n",
  3630. ":root {\n",
  3631. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  3632. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  3633. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  3634. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  3635. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  3636. " --xr-background-color: var(--jp-layout-color0, white);\n",
  3637. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  3638. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  3639. "}\n",
  3640. "\n",
  3641. "html[theme=dark],\n",
  3642. "body[data-theme=dark],\n",
  3643. "body.vscode-dark {\n",
  3644. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  3645. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  3646. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  3647. " --xr-border-color: #1F1F1F;\n",
  3648. " --xr-disabled-color: #515151;\n",
  3649. " --xr-background-color: #111111;\n",
  3650. " --xr-background-color-row-even: #111111;\n",
  3651. " --xr-background-color-row-odd: #313131;\n",
  3652. "}\n",
  3653. "\n",
  3654. ".xr-wrap {\n",
  3655. " display: block !important;\n",
  3656. " min-width: 300px;\n",
  3657. " max-width: 700px;\n",
  3658. "}\n",
  3659. "\n",
  3660. ".xr-text-repr-fallback {\n",
  3661. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  3662. " display: none;\n",
  3663. "}\n",
  3664. "\n",
  3665. ".xr-header {\n",
  3666. " padding-top: 6px;\n",
  3667. " padding-bottom: 6px;\n",
  3668. " margin-bottom: 4px;\n",
  3669. " border-bottom: solid 1px var(--xr-border-color);\n",
  3670. "}\n",
  3671. "\n",
  3672. ".xr-header > div,\n",
  3673. ".xr-header > ul {\n",
  3674. " display: inline;\n",
  3675. " margin-top: 0;\n",
  3676. " margin-bottom: 0;\n",
  3677. "}\n",
  3678. "\n",
  3679. ".xr-obj-type,\n",
  3680. ".xr-array-name {\n",
  3681. " margin-left: 2px;\n",
  3682. " margin-right: 10px;\n",
  3683. "}\n",
  3684. "\n",
  3685. ".xr-obj-type {\n",
  3686. " color: var(--xr-font-color2);\n",
  3687. "}\n",
  3688. "\n",
  3689. ".xr-sections {\n",
  3690. " padding-left: 0 !important;\n",
  3691. " display: grid;\n",
  3692. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  3693. "}\n",
  3694. "\n",
  3695. ".xr-section-item {\n",
  3696. " display: contents;\n",
  3697. "}\n",
  3698. "\n",
  3699. ".xr-section-item input {\n",
  3700. " display: none;\n",
  3701. "}\n",
  3702. "\n",
  3703. ".xr-section-item input + label {\n",
  3704. " color: var(--xr-disabled-color);\n",
  3705. "}\n",
  3706. "\n",
  3707. ".xr-section-item input:enabled + label {\n",
  3708. " cursor: pointer;\n",
  3709. " color: var(--xr-font-color2);\n",
  3710. "}\n",
  3711. "\n",
  3712. ".xr-section-item input:enabled + label:hover {\n",
  3713. " color: var(--xr-font-color0);\n",
  3714. "}\n",
  3715. "\n",
  3716. ".xr-section-summary {\n",
  3717. " grid-column: 1;\n",
  3718. " color: var(--xr-font-color2);\n",
  3719. " font-weight: 500;\n",
  3720. "}\n",
  3721. "\n",
  3722. ".xr-section-summary > span {\n",
  3723. " display: inline-block;\n",
  3724. " padding-left: 0.5em;\n",
  3725. "}\n",
  3726. "\n",
  3727. ".xr-section-summary-in:disabled + label {\n",
  3728. " color: var(--xr-font-color2);\n",
  3729. "}\n",
  3730. "\n",
  3731. ".xr-section-summary-in + label:before {\n",
  3732. " display: inline-block;\n",
  3733. " content: 'â–º';\n",
  3734. " font-size: 11px;\n",
  3735. " width: 15px;\n",
  3736. " text-align: center;\n",
  3737. "}\n",
  3738. "\n",
  3739. ".xr-section-summary-in:disabled + label:before {\n",
  3740. " color: var(--xr-disabled-color);\n",
  3741. "}\n",
  3742. "\n",
  3743. ".xr-section-summary-in:checked + label:before {\n",
  3744. " content: 'â–¼';\n",
  3745. "}\n",
  3746. "\n",
  3747. ".xr-section-summary-in:checked + label > span {\n",
  3748. " display: none;\n",
  3749. "}\n",
  3750. "\n",
  3751. ".xr-section-summary,\n",
  3752. ".xr-section-inline-details {\n",
  3753. " padding-top: 4px;\n",
  3754. " padding-bottom: 4px;\n",
  3755. "}\n",
  3756. "\n",
  3757. ".xr-section-inline-details {\n",
  3758. " grid-column: 2 / -1;\n",
  3759. "}\n",
  3760. "\n",
  3761. ".xr-section-details {\n",
  3762. " display: none;\n",
  3763. " grid-column: 1 / -1;\n",
  3764. " margin-bottom: 5px;\n",
  3765. "}\n",
  3766. "\n",
  3767. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  3768. " display: contents;\n",
  3769. "}\n",
  3770. "\n",
  3771. ".xr-array-wrap {\n",
  3772. " grid-column: 1 / -1;\n",
  3773. " display: grid;\n",
  3774. " grid-template-columns: 20px auto;\n",
  3775. "}\n",
  3776. "\n",
  3777. ".xr-array-wrap > label {\n",
  3778. " grid-column: 1;\n",
  3779. " vertical-align: top;\n",
  3780. "}\n",
  3781. "\n",
  3782. ".xr-preview {\n",
  3783. " color: var(--xr-font-color3);\n",
  3784. "}\n",
  3785. "\n",
  3786. ".xr-array-preview,\n",
  3787. ".xr-array-data {\n",
  3788. " padding: 0 5px !important;\n",
  3789. " grid-column: 2;\n",
  3790. "}\n",
  3791. "\n",
  3792. ".xr-array-data,\n",
  3793. ".xr-array-in:checked ~ .xr-array-preview {\n",
  3794. " display: none;\n",
  3795. "}\n",
  3796. "\n",
  3797. ".xr-array-in:checked ~ .xr-array-data,\n",
  3798. ".xr-array-preview {\n",
  3799. " display: inline-block;\n",
  3800. "}\n",
  3801. "\n",
  3802. ".xr-dim-list {\n",
  3803. " display: inline-block !important;\n",
  3804. " list-style: none;\n",
  3805. " padding: 0 !important;\n",
  3806. " margin: 0;\n",
  3807. "}\n",
  3808. "\n",
  3809. ".xr-dim-list li {\n",
  3810. " display: inline-block;\n",
  3811. " padding: 0;\n",
  3812. " margin: 0;\n",
  3813. "}\n",
  3814. "\n",
  3815. ".xr-dim-list:before {\n",
  3816. " content: '(';\n",
  3817. "}\n",
  3818. "\n",
  3819. ".xr-dim-list:after {\n",
  3820. " content: ')';\n",
  3821. "}\n",
  3822. "\n",
  3823. ".xr-dim-list li:not(:last-child):after {\n",
  3824. " content: ',';\n",
  3825. " padding-right: 5px;\n",
  3826. "}\n",
  3827. "\n",
  3828. ".xr-has-index {\n",
  3829. " font-weight: bold;\n",
  3830. "}\n",
  3831. "\n",
  3832. ".xr-var-list,\n",
  3833. ".xr-var-item {\n",
  3834. " display: contents;\n",
  3835. "}\n",
  3836. "\n",
  3837. ".xr-var-item > div,\n",
  3838. ".xr-var-item label,\n",
  3839. ".xr-var-item > .xr-var-name span {\n",
  3840. " background-color: var(--xr-background-color-row-even);\n",
  3841. " margin-bottom: 0;\n",
  3842. "}\n",
  3843. "\n",
  3844. ".xr-var-item > .xr-var-name:hover span {\n",
  3845. " padding-right: 5px;\n",
  3846. "}\n",
  3847. "\n",
  3848. ".xr-var-list > li:nth-child(odd) > div,\n",
  3849. ".xr-var-list > li:nth-child(odd) > label,\n",
  3850. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  3851. " background-color: var(--xr-background-color-row-odd);\n",
  3852. "}\n",
  3853. "\n",
  3854. ".xr-var-name {\n",
  3855. " grid-column: 1;\n",
  3856. "}\n",
  3857. "\n",
  3858. ".xr-var-dims {\n",
  3859. " grid-column: 2;\n",
  3860. "}\n",
  3861. "\n",
  3862. ".xr-var-dtype {\n",
  3863. " grid-column: 3;\n",
  3864. " text-align: right;\n",
  3865. " color: var(--xr-font-color2);\n",
  3866. "}\n",
  3867. "\n",
  3868. ".xr-var-preview {\n",
  3869. " grid-column: 4;\n",
  3870. "}\n",
  3871. "\n",
  3872. ".xr-index-preview {\n",
  3873. " grid-column: 2 / 5;\n",
  3874. " color: var(--xr-font-color2);\n",
  3875. "}\n",
  3876. "\n",
  3877. ".xr-var-name,\n",
  3878. ".xr-var-dims,\n",
  3879. ".xr-var-dtype,\n",
  3880. ".xr-preview,\n",
  3881. ".xr-attrs dt {\n",
  3882. " white-space: nowrap;\n",
  3883. " overflow: hidden;\n",
  3884. " text-overflow: ellipsis;\n",
  3885. " padding-right: 10px;\n",
  3886. "}\n",
  3887. "\n",
  3888. ".xr-var-name:hover,\n",
  3889. ".xr-var-dims:hover,\n",
  3890. ".xr-var-dtype:hover,\n",
  3891. ".xr-attrs dt:hover {\n",
  3892. " overflow: visible;\n",
  3893. " width: auto;\n",
  3894. " z-index: 1;\n",
  3895. "}\n",
  3896. "\n",
  3897. ".xr-var-attrs,\n",
  3898. ".xr-var-data,\n",
  3899. ".xr-index-data {\n",
  3900. " display: none;\n",
  3901. " background-color: var(--xr-background-color) !important;\n",
  3902. " padding-bottom: 5px !important;\n",
  3903. "}\n",
  3904. "\n",
  3905. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  3906. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  3907. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  3908. " display: block;\n",
  3909. "}\n",
  3910. "\n",
  3911. ".xr-var-data > table {\n",
  3912. " float: right;\n",
  3913. "}\n",
  3914. "\n",
  3915. ".xr-var-name span,\n",
  3916. ".xr-var-data,\n",
  3917. ".xr-index-name div,\n",
  3918. ".xr-index-data,\n",
  3919. ".xr-attrs {\n",
  3920. " padding-left: 25px !important;\n",
  3921. "}\n",
  3922. "\n",
  3923. ".xr-attrs,\n",
  3924. ".xr-var-attrs,\n",
  3925. ".xr-var-data,\n",
  3926. ".xr-index-data {\n",
  3927. " grid-column: 1 / -1;\n",
  3928. "}\n",
  3929. "\n",
  3930. "dl.xr-attrs {\n",
  3931. " padding: 0;\n",
  3932. " margin: 0;\n",
  3933. " display: grid;\n",
  3934. " grid-template-columns: 125px auto;\n",
  3935. "}\n",
  3936. "\n",
  3937. ".xr-attrs dt,\n",
  3938. ".xr-attrs dd {\n",
  3939. " padding: 0;\n",
  3940. " margin: 0;\n",
  3941. " float: left;\n",
  3942. " padding-right: 10px;\n",
  3943. " width: auto;\n",
  3944. "}\n",
  3945. "\n",
  3946. ".xr-attrs dt {\n",
  3947. " font-weight: normal;\n",
  3948. " grid-column: 1;\n",
  3949. "}\n",
  3950. "\n",
  3951. ".xr-attrs dt:hover span {\n",
  3952. " display: inline-block;\n",
  3953. " background: var(--xr-background-color);\n",
  3954. " padding-right: 10px;\n",
  3955. "}\n",
  3956. "\n",
  3957. ".xr-attrs dd {\n",
  3958. " grid-column: 2;\n",
  3959. " white-space: pre-wrap;\n",
  3960. " word-break: break-all;\n",
  3961. "}\n",
  3962. "\n",
  3963. ".xr-icon-database,\n",
  3964. ".xr-icon-file-text2,\n",
  3965. ".xr-no-icon {\n",
  3966. " display: inline-block;\n",
  3967. " vertical-align: middle;\n",
  3968. " width: 1em;\n",
  3969. " height: 1.5em !important;\n",
  3970. " stroke-width: 0;\n",
  3971. " stroke: currentColor;\n",
  3972. " fill: currentColor;\n",
  3973. "}\n",
  3974. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  3975. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  3976. "Coordinates:\n",
  3977. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  3978. " * runs (runs) float64 0.0 1.0\n",
  3979. "Data variables:\n",
  3980. " BEC_amplitude (odt_hold_time_4, runs) object (2.5887280763470244+/...\n",
  3981. " thermal_amplitude (odt_hold_time_4, runs) object 1083.3440773230598+/-...\n",
  3982. " BEC_centerx (odt_hold_time_4, runs) object 43.30005082229525+/-n...\n",
  3983. " BEC_centery (odt_hold_time_4, runs) object 49.62090849228923+/-n...\n",
  3984. " thermal_centerx (odt_hold_time_4, runs) object 43.878855163885156+/-...\n",
  3985. " thermal_centery (odt_hold_time_4, runs) object 48.78771309646883+/-n...\n",
  3986. " BEC_sigmax (odt_hold_time_4, runs) object 4.603910530224281+/-n...\n",
  3987. " BEC_sigmay (odt_hold_time_4, runs) object 5.170438723671074+/-n...\n",
  3988. " thermal_sigmax (odt_hold_time_4, runs) object 13.533799535681206+/-...\n",
  3989. " thermal_sigmay (odt_hold_time_4, runs) object 16.240559439120037+/-...\n",
  3990. " thermalAspectRatio (odt_hold_time_4, runs) object 1.1999999997268018+/-...\n",
  3991. " condensate_fraction (odt_hold_time_4, runs) object (2.389571448696065+/-...</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-3222f126-7015-4613-bd15-b26f8e3c31fb' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-3222f126-7015-4613-bd15-b26f8e3c31fb' 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'>odt_hold_time_4</span>: 11</li><li><span class='xr-has-index'>runs</span>: 2</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-70706daa-a5bc-4d06-a035-25b08e68fb8d' class='xr-section-summary-in' type='checkbox' checked><label for='section-70706daa-a5bc-4d06-a035-25b08e68fb8d' 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'>odt_hold_time_4</span></div><div class='xr-var-dims'>(odt_hold_time_4)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.1 0.3 0.5 0.7 ... 1.5 1.7 1.9 2.1</div><input id='attrs-7bece6d1-b679-4b1d-b529-d8f133bfee4c' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-7bece6d1-b679-4b1d-b529-d8f133bfee4c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fcabea11-b978-455c-8acf-a0a8e6881cf5' class='xr-var-data-in' type='checkbox'><label for='data-fcabea11-b978-455c-8acf-a0a8e6881cf5' 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, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>runs</span></div><div class='xr-var-dims'>(runs)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.0</div><input id='attrs-d688076d-165e-4332-b532-28f6b4438093' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-d688076d-165e-4332-b532-28f6b4438093' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6b296814-66de-4202-9ef9-7a27a1be9a90' class='xr-var-data-in' type='checkbox'><label for='data-6b296814-66de-4202-9ef9-7a27a1be9a90' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([0., 1.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-6520953f-80c3-4cf1-aa35-202e608534dc' class='xr-section-summary-in' type='checkbox' checked><label for='section-6520953f-80c3-4cf1-aa35-202e608534dc' class='xr-section-summary' >Data variables: <span>(12)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>BEC_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>(2.5887280763470244+/-nan)e-08 ....</div><input id='attrs-22f46653-3434-47b7-99a3-63e9b9ca8c00' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-22f46653-3434-47b7-99a3-63e9b9ca8c00' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-95fd2236-e9e9-4360-a91a-2bcb7b2a0630' class='xr-var-data-in' type='checkbox'><label for='data-95fd2236-e9e9-4360-a91a-2bcb7b2a0630' title='Show/Hide data repr'><svg class='icon xr-icon-da
  3992. " 330.3191146123149+/-3.369741775896686],\n",
  3993. " [485.99186440895227+/-4.405566543882409,\n",
  3994. " 407.5479724699931+/-3.9838381201561566],\n",
  3995. " [54.18298121481062+/-nan, 12.91618426327025+/-nan],\n",
  3996. " [5.329651142234264+/-nan, 18.98170308605742+/-nan],\n",
  3997. " [762.5471821213941+/-nan, 752.6346492081383+/-nan],\n",
  3998. " [781.8282933590472+/-nan, 733.6948302174906+/-nan],\n",
  3999. " [732.7088855555297+/-nan, 696.67059861035+/-nan],\n",
  4000. " [756.6239103143953+/-nan, 706.7371707070671+/-nan],\n",
  4001. " [719.4959313235112+/-nan, 606.200362434321+/-nan],\n",
  4002. " [699.6043254620331+/-nan, 198.90228173317684+/-nan],\n",
  4003. " [656.9970424791854+/-nan, 641.50562730806+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_amplitude</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1083.3440773230598+/-nan ... 0.0...</div><input id='attrs-4d17cf59-49f4-4b4e-9da7-61c3a1e7d2fe' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-4d17cf59-49f4-4b4e-9da7-61c3a1e7d2fe' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-781b238b-8524-482a-917a-42499a508122' class='xr-var-data-in' type='checkbox'><label for='data-781b238b-8524-482a-917a-42499a508122' 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([[1083.3440773230598+/-nan, 921.1630705757537+/-6.908180021239722],\n",
  4004. " [685.8861634655618+/-7.1631524860274824,\n",
  4005. " 644.4891215750944+/-6.701415934447466],\n",
  4006. " [904.6435052246203+/-nan, 900.416419032038+/-nan],\n",
  4007. " [842.3171614986505+/-nan, 878.0527803246405+/-nan],\n",
  4008. " [0.0+/-nan, 0.0+/-nan],\n",
  4009. " [0.0+/-nan, 0.0+/-nan],\n",
  4010. " [0.0+/-nan, 0.0+/-nan],\n",
  4011. " [0.0+/-nan, 0.0+/-nan],\n",
  4012. " [0.0+/-nan, 0.0+/-nan],\n",
  4013. " [0.0+/-nan, 254.40717727230435+/-nan],\n",
  4014. " [0.0+/-nan, 0.0+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>43.30005082229525+/-nan ... 44.1...</div><input id='attrs-a1e92b3a-b08b-43f4-b493-8f5cae2082a8' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-a1e92b3a-b08b-43f4-b493-8f5cae2082a8' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ba0516c8-4995-443d-b654-793fa75a330f' class='xr-var-data-in' type='checkbox'><label for='data-ba0516c8-4995-443d-b654-793fa75a330f' 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([[43.30005082229525+/-nan,\n",
  4015. " 46.639416750738654+/-0.02481403969789939],\n",
  4016. " [43.67267042930716+/-0.022964344902726534,\n",
  4017. " 42.68227442061798+/-0.023904378076890005],\n",
  4018. " [44.49538662724631+/-nan, 44.7300731915568+/-nan],\n",
  4019. " [42.02375324206722+/-nan, 46.76134207244452+/-nan],\n",
  4020. " [44.64695075740388+/-nan, 45.560582010777935+/-nan],\n",
  4021. " [43.03521940505446+/-nan, 42.1531922426084+/-nan],\n",
  4022. " [42.653729244078015+/-nan, 44.02078149279512+/-nan],\n",
  4023. " [42.11790167726749+/-nan, 42.67311853575036+/-nan],\n",
  4024. " [44.83966815739852+/-nan, 43.18153200380379+/-nan],\n",
  4025. " [43.87102994804314+/-nan, 43.41141355641146+/-nan],\n",
  4026. " [42.34964293469418+/-nan, 44.13623568768891+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>49.62090849228923+/-nan ... 46.2...</div><input id='attrs-6f432856-5694-4158-b782-b85c2a81973f' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-6f432856-5694-4158-b782-b85c2a81973f' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-cfa11cf7-737b-43bf-89fa-3a3e53cb2daa' class='xr-var-data-in' type='checkbox'><label for='data-cfa11cf7-737b-43bf-89fa-3a3e53cb2daa' 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([[49.62090849228923+/-nan, 44.63420666306719+/-0.08479274206116942],\n",
  4027. " [49.85705295725956+/-0.07950492037358668,\n",
  4028. " 48.90286310644981+/-0.08105262745064175],\n",
  4029. " [48.12462905727586+/-nan, 48.291359740781324+/-nan],\n",
  4030. " [47.8974835936954+/-nan, 49.916440575871775+/-nan],\n",
  4031. " [46.64025092496687+/-nan, 46.41326285304787+/-nan],\n",
  4032. " [48.050194555038466+/-nan, 47.414050067728795+/-nan],\n",
  4033. " [46.498858292012194+/-nan, 48.18302916952895+/-nan],\n",
  4034. " [48.25396622497712+/-nan, 49.460989981355006+/-nan],\n",
  4035. " [48.14381293146851+/-nan, 44.95354995514117+/-nan],\n",
  4036. " [47.8988900451357+/-nan, 47.383696846790166+/-nan],\n",
  4037. " [49.40361365289534+/-nan, 46.21170586185637+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centerx</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>43.878855163885156+/-nan ... 46....</div><input id='attrs-c4d113ef-3d7a-4214-a334-48749a96270d' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c4d113ef-3d7a-4214-a334-48749a96270d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f0a6575e-dbae-4062-b7cc-a2e329760f32' class='xr-var-data-in' type='checkbox'><label for='data-f0a6575e-dbae-4062-b7cc-a2e329760f32' 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([[43.878855163885156+/-nan,\n",
  4038. " 48.21785721678167+/-0.11372708523178264],\n",
  4039. " [46.04360494406567+/-0.15063309674050376,\n",
  4040. " 44.908530778481655+/-0.14652473539888153],\n",
  4041. " [44.818914825661366+/-nan, 44.7326493427528+/-nan],\n",
  4042. " [42.33536248942856+/-nan, 46.99425648876918+/-nan],\n",
  4043. " [46.57928297616949+/-nan, 48.021797313291685+/-nan],\n",
  4044. " [45.804742921345+/-nan, 45.216213750320996+/-nan],\n",
  4045. " [45.888433981895396+/-nan, 46.243925129183424+/-nan],\n",
  4046. " [47.37219695365278+/-nan, 43.868997761766934+/-nan],\n",
  4047. " [47.07932512228833+/-nan, 46.61849312668256+/-nan],\n",
  4048. " [47.04160127981655+/-nan, 45.19703677526844+/-nan],\n",
  4049. " [46.9063863648665+/-nan, 46.62839498709959+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_centery</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>48.78771309646883+/-nan ... 45.8...</div><input id='attrs-fe9dae46-9c8c-468c-af7a-0262d9aa1d69' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-fe9dae46-9c8c-468c-af7a-0262d9aa1d69' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-39a7f20d-d8cd-48b3-9e66-21f4a2ef8fb6' class='xr-var-data-in' type='checkbox'><label for='data-39a7f20d-d8cd-48b3-9e66-21f4a2ef8fb6' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([[48.78771309646883+/-nan, 46.70019438388887+/-0.13474784266512813],\n",
  4050. " [50.112289177254645+/-0.18936637840887163,\n",
  4051. " 47.933648886512984+/-0.1818313748768025],\n",
  4052. " [48.60558590547917+/-nan, 47.42479999423601+/-nan],\n",
  4053. " [48.078528392333645+/-nan, 49.52158272107226+/-nan],\n",
  4054. " [47.33388224542202+/-nan, 47.250077258141765+/-nan],\n",
  4055. " [47.20492733785264+/-nan, 45.79103389119996+/-nan],\n",
  4056. " [46.797403449594114+/-nan, 48.66194291578028+/-nan],\n",
  4057. " [48.858405378727056+/-nan, 46.73933219672723+/-nan],\n",
  4058. " [46.33012645561285+/-nan, 45.25893119030533+/-nan],\n",
  4059. " [49.11597972139846+/-nan, 46.62312040198454+/-nan],\n",
  4060. " [48.5847379030555+/-nan, 45.851362234956945+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>4.603910530224281+/-nan ... 10.7...</div><input id='attrs-ee71c2d1-ae4e-46cd-af2b-3803546d1aa8' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-ee71c2d1-ae4e-46cd-af2b-3803546d1aa8' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bd0837e7-42c3-436c-8045-a66fbfb0e4ed' class='xr-var-data-in' type='checkbox'><label for='data-bd0837e7-42c3-436c-8045-a66fbfb0e4ed' 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.603910530224281+/-nan, 8.352649113045219+/-0.05135922760852204],\n",
  4061. " [9.783160618178648+/-0.04877051594634713,\n",
  4062. " 9.275465120626505+/-0.05031110384700545],\n",
  4063. " [3.6345954409126575+/-nan, 2.296322550497831+/-nan],\n",
  4064. " [1.9277621794936328+/-nan, 2.108527190040693+/-nan],\n",
  4065. " [12.497772981394547+/-nan, 11.348775895088973+/-nan],\n",
  4066. " [12.22304710591207+/-nan, 13.066521177521397+/-nan],\n",
  4067. " [11.41957691411171+/-nan, 10.859955180409774+/-nan],\n",
  4068. " [12.242691001581354+/-nan, 13.251947044975832+/-nan],\n",
  4069. " [11.416923759534004+/-nan, 10.384080677114543+/-nan],\n",
  4070. " [10.136653406603052+/-nan, 8.317554207998212+/-nan],\n",
  4071. " [10.496509075367303+/-nan, 10.78547616946959+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>BEC_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>5.170438723671074+/-nan ... 26.8...</div><input id='attrs-3d60f219-6f3b-4f69-9c3c-7869ec90b0d4' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-3d60f219-6f3b-4f69-9c3c-7869ec90b0d4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-661fd93c-3930-4f37-a375-76fde0a84c86' class='xr-var-data-in' type='checkbox'><label for='data-661fd93c-3930-4f37-a375-76fde0a84c86' 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([[5.170438723671074+/-nan, 24.49629654797614+/-0.1423704022374025],\n",
  4072. " [27.91910633445377+/-0.13190872611813256,\n",
  4073. " 26.095564300343387+/-0.13421172201262788],\n",
  4074. " [11.28195196851584+/-nan, 6.635115053116057+/-nan],\n",
  4075. " [5.661437348413206+/-nan, 6.206079957191367+/-nan],\n",
  4076. " [28.0764639245163+/-nan, 27.83533144848427+/-nan],\n",
  4077. " [28.803147704090247+/-nan, 27.152445717103042+/-nan],\n",
  4078. " [28.2491106970502+/-nan, 27.207209464773143+/-nan],\n",
  4079. " [28.424564964416394+/-nan, 27.906132928577513+/-nan],\n",
  4080. " [27.245792720648637+/-nan, 27.08539895692601+/-nan],\n",
  4081. " [28.564362856932362+/-nan, 22.28223522070913+/-nan],\n",
  4082. " [27.489249684926634+/-nan, 26.86146149801174+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmax</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>13.533799535681206+/-nan ... 19....</div><input id='attrs-012eea9a-8e86-478b-8f77-f99c109889f4' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-012eea9a-8e86-478b-8f77-f99c109889f4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4b842cb4-e5f9-461f-9c97-5d8f1f7ed859' class='xr-var-data-in' type='checkbox'><label for='data-4b842cb4-e5f9-461f-9c97-5d8f1f7ed859' 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([[13.533799535681206+/-nan,\n",
  4083. " 22.057116908148686+/-0.18884704218447057],\n",
  4084. " [21.526721430672524+/-0.255322105533515,\n",
  4085. " 20.822327664670464+/-0.24630874375159836],\n",
  4086. " [12.357827310273686+/-nan, 11.649795791973553+/-nan],\n",
  4087. " [11.039863953939202+/-nan, 11.171343482889819+/-nan],\n",
  4088. " [23.087169453301087+/-nan, 21.216796714447945+/-nan],\n",
  4089. " [25.12748632667367+/-nan, 25.859579965756392+/-nan],\n",
  4090. " [22.998792990092884+/-nan, 20.2869507037467+/-nan],\n",
  4091. " [20.431350504917173+/-nan, 26.790451793056842+/-nan],\n",
  4092. " [24.684318172829713+/-nan, 20.74077356521508+/-nan],\n",
  4093. " [20.427277520052307+/-nan, 16.4827109098726+/-nan],\n",
  4094. " [18.853214886479396+/-nan, 19.994979623726802+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermal_sigmay</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>16.240559439120037+/-nan ... 23....</div><input id='attrs-2ca63c64-6f17-4686-9ef4-5bae14a674d4' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-2ca63c64-6f17-4686-9ef4-5bae14a674d4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0aa2e171-8473-457d-a864-4afb74a58964' class='xr-var-data-in' type='checkbox'><label for='data-0aa2e171-8473-457d-a864-4afb74a58964' 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.240559439120037+/-nan,\n",
  4095. " 22.717828926376836+/-0.18021693674512695],\n",
  4096. " [22.825431045519323+/-0.2488363469846332,\n",
  4097. " 21.986226693384694+/-0.23913745363300817],\n",
  4098. " [14.829321141349977+/-nan, 13.97973360823843+/-nan],\n",
  4099. " [13.24783438856341+/-nan, 13.405587500869597+/-nan],\n",
  4100. " [27.704603343961303+/-nan, 24.756163594649202+/-nan],\n",
  4101. " [30.1529835920084+/-nan, 31.03149595890767+/-nan],\n",
  4102. " [27.59855158811146+/-nan, 24.344340844496042+/-nan],\n",
  4103. " [24.517620605900607+/-nan, 32.14854215166821+/-nan],\n",
  4104. " [29.621181807395654+/-nan, 24.888928278258096+/-nan],\n",
  4105. " [24.039855937387976+/-nan, 19.77925309184712+/-nan],\n",
  4106. " [22.623857863775275+/-nan, 23.99397554847216+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>thermalAspectRatio</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1.1999999997268018+/-nan ... 1.2...</div><input id='attrs-8802b781-dc6d-4ff4-983e-f538fc8bb9b1' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-8802b781-dc6d-4ff4-983e-f538fc8bb9b1' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bb7d7f9e-8133-4045-af26-14c6469247fd' class='xr-var-data-in' type='checkbox'><label for='data-bb7d7f9e-8133-4045-af26-14c6469247fd' 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.1999999997268018+/-nan,\n",
  4107. " 1.0299545956518035+/-0.011056405532581637],\n",
  4108. " [1.0603301166426728+/-0.015544745441584365,\n",
  4109. " 1.0558966820356512+/-0.015451505492218236],\n",
  4110. " [1.1999942035944793+/-nan, 1.199998168025413+/-nan],\n",
  4111. " [1.199999786576751+/-nan, 1.1999977909014952+/-nan],\n",
  4112. " [1.2+/-nan, 1.1668190975214965+/-nan],\n",
  4113. " [1.2+/-nan, 1.2+/-nan],\n",
  4114. " [1.2+/-nan, 1.2+/-nan],\n",
  4115. " [1.2+/-nan, 1.2+/-nan],\n",
  4116. " [1.2+/-nan, 1.2+/-nan],\n",
  4117. " [1.1768507043481151+/-nan, 1.2+/-nan],\n",
  4118. " [1.2+/-nan, 1.2+/-nan]], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>condensate_fraction</span></div><div class='xr-var-dims'>(odt_hold_time_4, runs)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>(2.389571448696065+/-nan)e-11 .....</div><input id='attrs-f3de1d42-6b66-401e-ba4a-24f9d71b7389' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-f3de1d42-6b66-401e-ba4a-24f9d71b7389' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7b8ce570-6d2a-42a2-aeb3-dbf991c83fc4' class='xr-var-data-in' type='checkbox'><label for='data-7b8ce570-6d2a-42a2-aeb3-dbf991c83fc4' 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.3895714486960645e-11+/-nan,\n",
  4119. " 0.2639423225690389+/-0.0028205468881768573],\n",
  4120. " [0.41471198610184434+/-0.004059881769920059,\n",
  4121. " 0.38738935611383174+/-0.004067944117027406],\n",
  4122. " [0.05650968343189731+/-nan, 0.01414181889124356+/-nan],\n",
  4123. " [0.006287584714239031+/-nan, 0.021160505462270888+/-nan],\n",
  4124. " [1.0+/-nan, 1.0+/-nan],\n",
  4125. " [1.0+/-nan, 1.0+/-nan],\n",
  4126. " [1.0+/-nan, 1.0+/-nan],\n",
  4127. " [1.0+/-nan, 1.0+/-nan],\n",
  4128. " [1.0+/-nan, 1.0+/-nan],\n",
  4129. " [1.0+/-nan, 0.4387781410287576+/-nan],\n",
  4130. " [1.0+/-nan, 1.0+/-nan]], dtype=object)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-0dd45cfb-e37c-41a2-8fda-a93106db7475' class='xr-section-summary-in' type='checkbox' ><label for='section-0dd45cfb-e37c-41a2-8fda-a93106db7475' 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>odt_hold_time_4</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-f3cdebaf-570c-44a5-b544-b6414e846dfd' class='xr-index-data-in' type='checkbox'/><label for='index-f3cdebaf-570c-44a5-b544-b6414e846dfd' 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.1, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1], dtype=&#x27;float64&#x27;, name=&#x27;odt_hold_time_4&#x27;))</pre></div></li><li class='xr-var-item'><div class='xr-index-name'><div>runs</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-a2d16270-76bb-4e00-b591-5063b0a6dc69' class='xr-index-data-in' type='checkbox'/><label for='index-a2d16270-76bb-4e00-b591-5063b0a6dc69' title='Show/Hide index repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-index-data'><pre>PandasIndex(Float64Index([0.0, 1.0], dtype=&#x27;float64&#x27;, name=&#x27;runs&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-c55cad70-1ccb-4318-bfb9-837439498cc5' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-c55cad70-1ccb-4318-bfb9-837439498cc5' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(0)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'></dl></div></li></ul></div></div>"
  4131. ],
  4132. "text/plain": [
  4133. "<xarray.Dataset>\n",
  4134. "Dimensions: (odt_hold_time_4: 11, runs: 2)\n",
  4135. "Coordinates:\n",
  4136. " * odt_hold_time_4 (odt_hold_time_4) float64 0.1 0.3 0.5 ... 1.7 1.9 2.1\n",
  4137. " * runs (runs) float64 0.0 1.0\n",
  4138. "Data variables:\n",
  4139. " BEC_amplitude (odt_hold_time_4, runs) object (2.5887280763470244+/...\n",
  4140. " thermal_amplitude (odt_hold_time_4, runs) object 1083.3440773230598+/-...\n",
  4141. " BEC_centerx (odt_hold_time_4, runs) object 43.30005082229525+/-n...\n",
  4142. " BEC_centery (odt_hold_time_4, runs) object 49.62090849228923+/-n...\n",
  4143. " thermal_centerx (odt_hold_time_4, runs) object 43.878855163885156+/-...\n",
  4144. " thermal_centery (odt_hold_time_4, runs) object 48.78771309646883+/-n...\n",
  4145. " BEC_sigmax (odt_hold_time_4, runs) object 4.603910530224281+/-n...\n",
  4146. " BEC_sigmay (odt_hold_time_4, runs) object 5.170438723671074+/-n...\n",
  4147. " thermal_sigmax (odt_hold_time_4, runs) object 13.533799535681206+/-...\n",
  4148. " thermal_sigmay (odt_hold_time_4, runs) object 16.240559439120037+/-...\n",
  4149. " thermalAspectRatio (odt_hold_time_4, runs) object 1.1999999997268018+/-...\n",
  4150. " condensate_fraction (odt_hold_time_4, runs) object (2.389571448696065+/-..."
  4151. ]
  4152. },
  4153. "execution_count": 14,
  4154. "metadata": {},
  4155. "output_type": "execute_result"
  4156. }
  4157. ],
  4158. "source": [
  4159. "fitAnalyser.get_fit_full_result(fitResult)"
  4160. ]
  4161. },
  4162. {
  4163. "attachments": {},
  4164. "cell_type": "markdown",
  4165. "metadata": {},
  4166. "source": [
  4167. "## Get the Ncount"
  4168. ]
  4169. },
  4170. {
  4171. "attachments": {},
  4172. "cell_type": "markdown",
  4173. "metadata": {},
  4174. "source": [
  4175. "### Calculate the mean and standard deviation"
  4176. ]
  4177. },
  4178. {
  4179. "cell_type": "code",
  4180. "execution_count": 15,
  4181. "metadata": {},
  4182. "outputs": [
  4183. {
  4184. "data": {
  4185. "image/png": "iVBORw0KGgoAAAANSUhEUgAAAkQAAAGxCAYAAACDV6ltAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/bCgiHAAAACXBIWXMAAA9hAAAPYQGoP6dpAABC8UlEQVR4nO3deXgV5f3//9fJvpAcsnBOEgiLLAEMooJCENnXitRqiy1tKkpxBUsRLdb22+ivFUur2EJdPwgqIrZVXAoNi2wioBJBQSAsggRIyEJyspKTZX5/BEYOIUCAcJLM83Fd5yJn5j1z7puTkZf33DNjMwzDEAAAgIX5eLsBAAAA3kYgAgAAlkcgAgAAlkcgAgAAlkcgAgAAlkcgAgAAlkcgAgAAlkcgAgAAlufn7QY0FdXV1Tp69KjCwsJks9m83RwAAHABDMNQUVGR4uLi5ONT9zgQgegCHT16VPHx8d5uBgAAuAgZGRlq06ZNnesJRBcoLCxMUs1faHh4uJdbAwAALkRhYaHi4+PNf8frQiC6QKdOk4WHhxOIAABoYs433YVJ1QAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRAAAwPIIRF5U6q5U+xlL1X7GUpW6K73dHAAALItABAAALI9ABAAALM+rgWjmzJm64YYbFBYWJofDodtuu03p6ekeNRMmTJDNZvN49e3b16OmvLxcU6ZMUXR0tEJDQzV27FgdPnzYoyY/P1/Jycmy2+2y2+1KTk5WQUFBQ3cRAAA0AV4NROvWrdNDDz2kzZs3a+XKlaqsrNSIESNUUlLiUTdq1ChlZmaar2XLlnmsnzp1qpYsWaLFixdrw4YNKi4u1pgxY1RVVWXWjB8/Xtu2bVNqaqpSU1O1bds2JScnX5F+AgCAxs3Pmx+emprq8X7+/PlyOBxKS0vTgAEDzOWBgYGKiYk56z5cLpfmzZunN998U8OGDZMkLVy4UPHx8Vq1apVGjhypXbt2KTU1VZs3b1afPn0kSa+++qqSkpKUnp6uhISEBuohAABoChrVHCKXyyVJioyM9Fi+du1aORwOdenSRZMmTVJ2dra5Li0tTRUVFRoxYoS5LC4uTomJidq4caMkadOmTbLb7WYYkqS+ffvKbrebNQAAwLq8OkJ0OsMwNG3aNPXv31+JiYnm8tGjR+snP/mJ2rVrpwMHDugPf/iDhgwZorS0NAUGBiorK0sBAQGKiIjw2J/T6VRWVpYkKSsrSw6Ho9ZnOhwOs+ZM5eXlKi8vN98XFhZejm4CAIBGqNEEosmTJ+vrr7/Whg0bPJbfeeed5s+JiYnq3bu32rVrp6VLl+r222+vc3+GYchms5nvT/+5rprTzZw5U08++WR9uwEAAJqgRnHKbMqUKfrwww+1Zs0atWnT5py1sbGxateunfbu3StJiomJkdvtVn5+vkdddna2nE6nWXPs2LFa+8rJyTFrzvT444/L5XKZr4yMjIvpGgAAaAK8GogMw9DkyZP13nvvafXq1erQocN5t8nLy1NGRoZiY2MlSb169ZK/v79Wrlxp1mRmZmrHjh3q16+fJCkpKUkul0uff/65WfPZZ5/J5XKZNWcKDAxUeHi4xwsAADRPXj1l9tBDD2nRokX64IMPFBYWZs7nsdvtCg4OVnFxsVJSUnTHHXcoNjZWBw8e1O9+9ztFR0frRz/6kVk7ceJEPfLII4qKilJkZKSmT5+uHj16mFeddevWTaNGjdKkSZP08ssvS5LuvfdejRkzhivMAACAdwPRiy++KEkaNGiQx/L58+drwoQJ8vX11fbt2/XGG2+ooKBAsbGxGjx4sN555x2FhYWZ9bNnz5afn5/GjRunsrIyDR06VAsWLJCvr69Z89Zbb+nhhx82r0YbO3as5s6d2/CdBAAAjZ7NMAzD241oCgoLC2W32+VyuS7b6bNSd6W6/7/lkqSdT41USECjmeMOAECzcKH/fjeKSdUAAADeRCACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyACAACWRyBCvZS6K9V+xlK1n7FUpe5KbzcHAIDLgkAEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsj0AEAAAsz6uBaObMmbrhhhsUFhYmh8Oh2267Tenp6R41hmEoJSVFcXFxCg4O1qBBg/TNN9941JSXl2vKlCmKjo5WaGioxo4dq8OHD3vU5OfnKzk5WXa7XXa7XcnJySooKGjoLqKRKHVXqv2MpWo/Y6lK3ZXebg4AoJHxaiBat26dHnroIW3evFkrV65UZWWlRowYoZKSErNm1qxZeu655zR37lx98cUXiomJ0fDhw1VUVGTWTJ06VUuWLNHixYu1YcMGFRcXa8yYMaqqqjJrxo8fr23btik1NVWpqanatm2bkpOTr2h/AQBA4+TnzQ9PTU31eD9//nw5HA6lpaVpwIABMgxDzz//vJ544gndfvvtkqTXX39dTqdTixYt0n333SeXy6V58+bpzTff1LBhwyRJCxcuVHx8vFatWqWRI0dq165dSk1N1ebNm9WnTx9J0quvvqqkpCSlp6crISHhynYcAAA0Ko1qDpHL5ZIkRUZGSpIOHDigrKwsjRgxwqwJDAzUwIEDtXHjRklSWlqaKioqPGri4uKUmJho1mzatEl2u90MQ5LUt29f2e12s+ZM5eXlKiws9HgBAIDmqdEEIsMwNG3aNPXv31+JiYmSpKysLEmS0+n0qHU6nea6rKwsBQQEKCIi4pw1Doej1mc6HA6z5kwzZ8405xvZ7XbFx8dfWgcBAECj1WgC0eTJk/X111/r7bffrrXOZrN5vDcMo9ayM51Zc7b6c+3n8ccfl8vlMl8ZGRkX0g0AANAENYpANGXKFH344Ydas2aN2rRpYy6PiYmRpFqjONnZ2eaoUUxMjNxut/Lz889Zc+zYsVqfm5OTU2v06ZTAwECFh4d7vAAAQPPk1UBkGIYmT56s9957T6tXr1aHDh081nfo0EExMTFauXKlucztdmvdunXq16+fJKlXr17y9/f3qMnMzNSOHTvMmqSkJLlcLn3++edmzWeffSaXy2XWAI0NtwoAgCvHq1eZPfTQQ1q0aJE++OADhYWFmSNBdrtdwcHBstlsmjp1qp5++ml17txZnTt31tNPP62QkBCNHz/erJ04caIeeeQRRUVFKTIyUtOnT1ePHj3Mq866deumUaNGadKkSXr55ZclSffee6/GjBnDFWYAAMC7gejFF1+UJA0aNMhj+fz58zVhwgRJ0mOPPaaysjI9+OCDys/PV58+fbRixQqFhYWZ9bNnz5afn5/GjRunsrIyDR06VAsWLJCvr69Z89Zbb+nhhx82r0YbO3as5s6d27AdBAAATYJXA5FhGOetsdlsSklJUUpKSp01QUFBmjNnjubMmVNnTWRkpBYuXHgxzQQAAM1co5hUDQAA4E0EIgAAYHkEIgAAYHkEIgAAYHkEIgAAYHkEIgCWxg0wAUgEIgAAAAIRAAAAgQjAZcPpJwBNFYEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIAABYHoEIANDgePAvGjsCEQAAsDwCEQAAsDwCEQAAsDwCEQA0MczHAS4/AhEAALA8AhEAALA8AhEAALA
  4186. "text/plain": [
  4187. "<Figure size 640x480 with 1 Axes>"
  4188. ]
  4189. },
  4190. "metadata": {},
  4191. "output_type": "display_data"
  4192. }
  4193. ],
  4194. "source": [
  4195. "Ncount = imageAnalyser.get_Ncount(dataSet_cropOD)\n",
  4196. "\n",
  4197. "Ncount.load()\n",
  4198. "Ncount_mean = calculate_mean(Ncount)\n",
  4199. "Ncount_std = calculate_std(Ncount)\n",
  4200. "Ncount_mean.plot.errorbar(yerr=Ncount_std)\n",
  4201. "plt.show()"
  4202. ]
  4203. },
  4204. {
  4205. "attachments": {},
  4206. "cell_type": "markdown",
  4207. "metadata": {},
  4208. "source": [
  4209. "### Do a 1D fit"
  4210. ]
  4211. },
  4212. {
  4213. "cell_type": "code",
  4214. "execution_count": 16,
  4215. "metadata": {},
  4216. "outputs": [
  4217. {
  4218. "data": {
  4219. "text/html": [
  4220. "<table><tr><th> name </th><th> value </th><th> initial value </th><th> min </th><th> max </th><th> vary </th></tr><tr><td> amplitude </td><td> 1.00000000 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td></tr><tr><td> center </td><td> 0.00000000 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td></tr><tr><td> sigma </td><td> 1.00000000 </td><td> None </td><td> -inf </td><td> inf </td><td> True </td></tr></table>"
  4221. ],
  4222. "text/plain": [
  4223. "Parameters([('amplitude', <Parameter 'amplitude', value=1.0, bounds=[-inf:inf]>), ('center', <Parameter 'center', value=0.0, bounds=[-inf:inf]>), ('sigma', <Parameter 'sigma', value=1.0, bounds=[-inf:inf]>)])"
  4224. ]
  4225. },
  4226. "execution_count": 16,
  4227. "metadata": {},
  4228. "output_type": "execute_result"
  4229. }
  4230. ],
  4231. "source": [
  4232. "def gaussian(x, amplitude=1.0, center=0.0, sigma=1.0):\n",
  4233. " \"\"\"Return a 1-dimensional Gaussian function.\n",
  4234. "\n",
  4235. " gaussian(x, amplitude, center, sigma) =\n",
  4236. " (amplitude/(s2pi*sigma)) * exp(-(1.0*x-center)**2 / (2*sigma**2))\n",
  4237. "\n",
  4238. " \"\"\"\n",
  4239. " return ((amplitude/(max(1e-10, np.sqrt(2*np.pi)*sigma)))\n",
  4240. " * np.exp(-(1.0*x-center)**2 / max(1e-10, (2*sigma**2))))\n",
  4241. "\n",
  4242. "fitModel = NewFitModel(gaussian)\n",
  4243. "\n",
  4244. "fitModel.make_params()"
  4245. ]
  4246. },
  4247. {
  4248. "cell_type": "code",
  4249. "execution_count": 17,
  4250. "metadata": {},
  4251. "outputs": [
  4252. {
  4253. "ename": "KeyError",
  4254. "evalue": "'sin_mod_freq'",
  4255. "output_type": "error",
  4256. "traceback": [
  4257. "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
  4258. "\u001b[1;31mKeyError\u001b[0m Traceback (most recent call last)",
  4259. "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python39\\site-packages\\xarray\\core\\dataarray.py:805\u001b[0m, in \u001b[0;36mDataArray._getitem_coord\u001b[1;34m(self, key)\u001b[0m\n\u001b[0;32m 804\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m--> 805\u001b[0m var \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_coords[key]\n\u001b[0;32m 806\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mKeyError\u001b[39;00m:\n",
  4260. "\u001b[1;31mKeyError\u001b[0m: 'sin_mod_freq'",
  4261. "\nDuring handling of the above exception, another exception occurred:\n",
  4262. "\u001b[1;31mKeyError\u001b[0m Traceback (most recent call last)",
  4263. "\u001b[1;32mf:\\Jianshun\\analyseScript\\Example.ipynb Cell 29\u001b[0m in \u001b[0;36m3\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X34sZmlsZQ%3D%3D?line=0'>1</a>\u001b[0m fitAnalyser \u001b[39m=\u001b[39m FitAnalyser(fitModel, fitDim\u001b[39m=\u001b[39m\u001b[39m1\u001b[39m)\n\u001b[1;32m----> <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X34sZmlsZQ%3D%3D?line=2'>3</a>\u001b[0m params \u001b[39m=\u001b[39m fitAnalyser\u001b[39m.\u001b[39;49mguess(Ncount_mean, x\u001b[39m=\u001b[39;49m\u001b[39m\"\u001b[39;49m\u001b[39msin_mod_freq\u001b[39;49m\u001b[39m\"\u001b[39;49m, dask\u001b[39m=\u001b[39;49m\u001b[39m\"\u001b[39;49m\u001b[39mparallelized\u001b[39;49m\u001b[39m\"\u001b[39;49m)\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X34sZmlsZQ%3D%3D?line=3'>4</a>\u001b[0m fitResult \u001b[39m=\u001b[39m fitAnalyser\u001b[39m.\u001b[39mfit(Ncount_mean, params, x\u001b[39m=\u001b[39m\u001b[39m\"\u001b[39m\u001b[39msin_mod_freq\u001b[39m\u001b[39m\"\u001b[39m)\u001b[39m.\u001b[39mload()\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X34sZmlsZQ%3D%3D?line=5'>6</a>\u001b[0m plot_x \u001b[39m=\u001b[39m np\u001b[39m.\u001b[39mlinspace(Ncount_mean[\u001b[39m\"\u001b[39m\u001b[39msin_mod_freq\u001b[39m\u001b[39m\"\u001b[39m]\u001b[39m.\u001b[39mmin(), Ncount_mean[\u001b[39m\"\u001b[39m\u001b[39msin_mod_freq\u001b[39m\u001b[39m\"\u001b[39m]\u001b[39m.\u001b[39mmax(), \u001b[39m100\u001b[39m)\n",
  4264. "File \u001b[1;32mf:\\Jianshun\\analyseScript\\Analyser\\FitAnalyser.py:491\u001b[0m, in \u001b[0;36mFitAnalyser.guess\u001b[1;34m(self, dataArray, x, y, guess_kwargs, input_core_dims, dask, vectorize, keep_attrs, daskKwargs, **kwargs)\u001b[0m\n\u001b[0;32m 485\u001b[0m \u001b[39mif\u001b[39;00m input_core_dims \u001b[39mis\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[0;32m 486\u001b[0m kwargs\u001b[39m.\u001b[39mupdate(\n\u001b[0;32m 487\u001b[0m {\n\u001b[0;32m 488\u001b[0m \u001b[39m\"\u001b[39m\u001b[39minput_core_dims\u001b[39m\u001b[39m\"\u001b[39m: [[x]],\n\u001b[0;32m 489\u001b[0m }\n\u001b[0;32m 490\u001b[0m )\n\u001b[1;32m--> 491\u001b[0m x \u001b[39m=\u001b[39m dataArray[x]\u001b[39m.\u001b[39mto_numpy()\n\u001b[0;32m 493\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mfitDim \u001b[39m==\u001b[39m \u001b[39m1\u001b[39m:\n\u001b[0;32m 495\u001b[0m guess_kwargs\u001b[39m.\u001b[39mupdate(\n\u001b[0;32m 496\u001b[0m {\n\u001b[0;32m 497\u001b[0m \u001b[39m'\u001b[39m\u001b[39mx\u001b[39m\u001b[39m'\u001b[39m:x, \n\u001b[0;32m 498\u001b[0m }\n\u001b[0;32m 499\u001b[0m )\n",
  4265. "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python39\\site-packages\\xarray\\core\\dataarray.py:814\u001b[0m, in \u001b[0;36mDataArray.__getitem__\u001b[1;34m(self, key)\u001b[0m\n\u001b[0;32m 812\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39m__getitem__\u001b[39m(\u001b[39mself\u001b[39m: T_DataArray, key: Any) \u001b[39m-\u001b[39m\u001b[39m>\u001b[39m T_DataArray:\n\u001b[0;32m 813\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39misinstance\u001b[39m(key, \u001b[39mstr\u001b[39m):\n\u001b[1;32m--> 814\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_getitem_coord(key)\n\u001b[0;32m 815\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m 816\u001b[0m \u001b[39m# xarray-style array indexing\u001b[39;00m\n\u001b[0;32m 817\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39misel(indexers\u001b[39m=\u001b[39m\u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_item_key_to_dict(key))\n",
  4266. "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python39\\site-packages\\xarray\\core\\dataarray.py:808\u001b[0m, in \u001b[0;36mDataArray._getitem_coord\u001b[1;34m(self, key)\u001b[0m\n\u001b[0;32m 806\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mKeyError\u001b[39;00m:\n\u001b[0;32m 807\u001b[0m dim_sizes \u001b[39m=\u001b[39m \u001b[39mdict\u001b[39m(\u001b[39mzip\u001b[39m(\u001b[39mself\u001b[39m\u001b[39m.\u001b[39mdims, \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mshape))\n\u001b[1;32m--> 808\u001b[0m _, key, var \u001b[39m=\u001b[39m _get_virtual_variable(\u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_coords, key, dim_sizes)\n\u001b[0;32m 810\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_replace_maybe_drop_dims(var, name\u001b[39m=\u001b[39mkey)\n",
  4267. "File \u001b[1;32m~\\AppData\\Roaming\\Python\\Python39\\site-packages\\xarray\\core\\dataset.py:185\u001b[0m, in \u001b[0;36m_get_virtual_variable\u001b[1;34m(variables, key, dim_sizes)\u001b[0m\n\u001b[0;32m 183\u001b[0m split_key \u001b[39m=\u001b[39m key\u001b[39m.\u001b[39msplit(\u001b[39m\"\u001b[39m\u001b[39m.\u001b[39m\u001b[39m\"\u001b[39m, \u001b[39m1\u001b[39m)\n\u001b[0;32m 184\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mlen\u001b[39m(split_key) \u001b[39m!=\u001b[39m \u001b[39m2\u001b[39m:\n\u001b[1;32m--> 185\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mKeyError\u001b[39;00m(key)\n\u001b[0;32m 187\u001b[0m ref_name, var_name \u001b[39m=\u001b[39m split_key\n\u001b[0;32m 188\u001b[0m ref_var \u001b[39m=\u001b[39m variables[ref_name]\n",
  4268. "\u001b[1;31mKeyError\u001b[0m: 'sin_mod_freq'"
  4269. ]
  4270. }
  4271. ],
  4272. "source": [
  4273. "fitAnalyser = FitAnalyser(fitModel, fitDim=1)\n",
  4274. "\n",
  4275. "params = fitAnalyser.guess(Ncount_mean, x=\"sin_mod_freq\", dask=\"parallelized\")\n",
  4276. "fitResult = fitAnalyser.fit(Ncount_mean, params, x=\"sin_mod_freq\").load()\n",
  4277. "\n",
  4278. "plot_x = np.linspace(Ncount_mean[\"sin_mod_freq\"].min(), Ncount_mean[\"sin_mod_freq\"].max(), 100)\n",
  4279. "\n",
  4280. "fitCurve = fitAnalyser.eval(fitResult, x=plot_x, dask=\"parallelized\").load()\n",
  4281. "\n",
  4282. "fig = plt.figure()\n",
  4283. "ax = fig.gca()\n",
  4284. "\n",
  4285. "Ncount_mean.plot.errorbar(ax=ax, yerr=Ncount_std)\n",
  4286. "fitCurve.plot.errorbar(ax=ax, fmt='--g')\n",
  4287. "\n",
  4288. "plt.show()"
  4289. ]
  4290. },
  4291. {
  4292. "cell_type": "code",
  4293. "execution_count": null,
  4294. "metadata": {},
  4295. "outputs": [],
  4296. "source": [
  4297. "fitCurve = fitCurve.rename(dict(x='final_amp'))\n",
  4298. "plot_dataSe = xr.combine_nested([Ncount_mean, fitCurve], ['plot'])\n",
  4299. "\n",
  4300. "fig = plt.figure()\n",
  4301. "ax = fig.gca()\n",
  4302. "plot_dataSe.sel(plot=[0, 1]).plot.errorbar(ax=ax, hue='plot', x='final_amp', fmt=['ob', '-g'])\n",
  4303. "plt.show()\n"
  4304. ]
  4305. },
  4306. {
  4307. "attachments": {},
  4308. "cell_type": "markdown",
  4309. "metadata": {},
  4310. "source": [
  4311. "# Select data and remove bad shot"
  4312. ]
  4313. },
  4314. {
  4315. "cell_type": "code",
  4316. "execution_count": null,
  4317. "metadata": {},
  4318. "outputs": [],
  4319. "source": [
  4320. "plot_dataSe.where( (Ncount_mean[scanAxis[0]]<2e-4) & (Ncount_mean[scanAxis[0]]>1e-4) )"
  4321. ]
  4322. },
  4323. {
  4324. "cell_type": "code",
  4325. "execution_count": null,
  4326. "metadata": {},
  4327. "outputs": [],
  4328. "source": []
  4329. },
  4330. {
  4331. "cell_type": "code",
  4332. "execution_count": null,
  4333. "metadata": {},
  4334. "outputs": [],
  4335. "source": []
  4336. },
  4337. {
  4338. "cell_type": "code",
  4339. "execution_count": null,
  4340. "metadata": {},
  4341. "outputs": [],
  4342. "source": [
  4343. "img_dir = '//DyLabNAS/Data/'\n",
  4344. "SequenceName = \"Evaporative_Cooling\" + \"/\"\n",
  4345. "folderPath = img_dir + SequenceName + '2023/05/17'"
  4346. ]
  4347. },
  4348. {
  4349. "cell_type": "code",
  4350. "execution_count": null,
  4351. "metadata": {},
  4352. "outputs": [],
  4353. "source": [
  4354. "groupList = [\n",
  4355. " \"images/MOT_3D_Camera/in_situ_absorption\",\n",
  4356. " \"images/ODT_1_Axis_Camera/in_situ_absorption\",\n",
  4357. " \"images/ODT_2_Axis_Camera/in_situ_absorption\",\n",
  4358. "]\n",
  4359. "\n",
  4360. "dskey = {\n",
  4361. " \"images/MOT_3D_Camera/in_situ_absorption\": \"camera_0\",\n",
  4362. " \"images/ODT_1_Axis_Camera/in_situ_absorption\": \"camera_1\",\n",
  4363. " \"images/ODT_2_Axis_Camera/in_situ_absorption\": \"camera_2\",\n",
  4364. "}"
  4365. ]
  4366. },
  4367. {
  4368. "cell_type": "code",
  4369. "execution_count": null,
  4370. "metadata": {},
  4371. "outputs": [],
  4372. "source": [
  4373. "dataSet"
  4374. ]
  4375. },
  4376. {
  4377. "cell_type": "code",
  4378. "execution_count": null,
  4379. "metadata": {},
  4380. "outputs": [],
  4381. "source": [
  4382. "shotNum = \"0023\"\n",
  4383. "filePath = folderPath + \"/\" + shotNum + \"/*.h5\"\n",
  4384. "\n",
  4385. "dataSetDict = {\n",
  4386. " dskey[groupList[i]]: read_hdf5_file(filePath, groupList[i])\n",
  4387. " for i in [0]\n",
  4388. "}\n",
  4389. "\n",
  4390. "dataSet = dataSetDict[\"camera_0\"]\n",
  4391. "\n",
  4392. "print_scanAxis(dataSet)\n",
  4393. "\n",
  4394. "scanAxis = get_scanAxis(dataSet)\n",
  4395. "\n",
  4396. "dataSet = auto_rechunk(dataSet)\n",
  4397. "\n",
  4398. "dataSet = imageAnalyser.get_absorption_images(dataSet)\n",
  4399. "\n",
  4400. "imageAnalyser.center = (280, 959)\n",
  4401. "imageAnalyser.span = (350, 350)\n",
  4402. "imageAnalyser.fraction = (0.1, 0.1)\n",
  4403. "\n",
  4404. "dataSet_cropOD = imageAnalyser.crop_image(dataSet.OD)\n",
  4405. "dataSet_cropOD = imageAnalyser.substract_offset(dataSet_cropOD).load()\n",
  4406. "\n",
  4407. "Ncount = imageAnalyser.get_Ncount(dataSet_cropOD)\n",
  4408. "Ncount_mean = Ncount.mean(dim='runs')\n",
  4409. "Ncount_std = Ncount.std(dim='runs')\n",
  4410. "\n",
  4411. "fig = plt.figure()\n",
  4412. "ax = fig.gca()\n",
  4413. "Ncount_mean.plot.errorbar(ax=ax, yerr = Ncount_std, fmt='ob')\n",
  4414. "\n",
  4415. "plt.ylabel('NCount')\n",
  4416. "plt.tight_layout()\n",
  4417. "#plt.ylim([0, 800])\n",
  4418. "plt.grid(visible=1)\n",
  4419. "plt.show()"
  4420. ]
  4421. },
  4422. {
  4423. "cell_type": "code",
  4424. "execution_count": null,
  4425. "metadata": {},
  4426. "outputs": [],
  4427. "source": [
  4428. "def sinc_func(x, amplitude=1.0, center=0.0, sigma=1.0, offset=0.0):\n",
  4429. " x = np.where(x==center, 1e-15, x)\n",
  4430. " return amplitude * ( np.sin(np.pi*(x-center)*sigma) / (np.pi*( (x-center) )* max(sigma, 1e-15) ) ) + offset\n",
  4431. "\n",
  4432. "fitModel = NewFitModel(sinc_func)\n",
  4433. "\n",
  4434. "fitModel.make_params()"
  4435. ]
  4436. },
  4437. {
  4438. "cell_type": "code",
  4439. "execution_count": null,
  4440. "metadata": {},
  4441. "outputs": [],
  4442. "source": [
  4443. "fitAnalyser = FitAnalyser(fitModel, fitDim=1)\n",
  4444. "# params = fitAnalyser.guess(Ncount_mean_1, x=scanAxis[0], guess_kwargs=dict(negative=True), dask=\"parallelized\")\n",
  4445. "params = fitAnalyser.fitModel.make_params()\n",
  4446. "params.add(name=\"amplitude\", value= -5000, max=np.inf, min=-np.inf, vary=True)\n",
  4447. "params.add(name=\"center\", value= 4.24, max=np.inf, min=-np.inf, vary=True)\n",
  4448. "params.add(name=\"sigma\", value= 100, max=np.inf, min= 0, vary=True)\n",
  4449. "params.add(name=\"offset\", value= 7000, max=np.inf, min=-np.inf, vary=True)\n",
  4450. "\n",
  4451. "fitResult = fitAnalyser.fit(Ncount_mean, params, x=scanAxis[0]).load()\n",
  4452. "freqdata = np.linspace(4.21, 4.27, 500)\n",
  4453. "fitCurve = fitAnalyser.eval(fitResult, x=freqdata, dask=\"parallelized\").load()\n",
  4454. "fitCurve = fitCurve.assign_coords({'x':np.array(freqdata)})\n",
  4455. "\n",
  4456. "fig = plt.figure()\n",
  4457. "ax = fig.gca()\n",
  4458. "\n",
  4459. "Ncount_mean.plot.errorbar(ax=ax, yerr = Ncount_std, fmt='ob')\n",
  4460. "fitCurve.plot.errorbar(ax=ax, fmt='--g')\n",
  4461. "plt.xlabel('Center Frequency (MHz)')\n",
  4462. "plt.ylabel('NCount')\n",
  4463. "plt.tight_layout()\n",
  4464. "plt.grid(visible=1)\n",
  4465. "plt.show()"
  4466. ]
  4467. },
  4468. {
  4469. "cell_type": "code",
  4470. "execution_count": null,
  4471. "metadata": {},
  4472. "outputs": [],
  4473. "source": [
  4474. "fitResult.item()"
  4475. ]
  4476. },
  4477. {
  4478. "cell_type": "code",
  4479. "execution_count": null,
  4480. "metadata": {},
  4481. "outputs": [],
  4482. "source": [
  4483. "import lmfit\n",
  4484. "\n",
  4485. "def sinc_func(x, amplitude=1.0, center=0.0, sigma=1.0, offset=0.0):\n",
  4486. " x = np.where(x==center, 1e-5, x)\n",
  4487. " return amplitude * ( np.sin(np.pi*(x-center)*max(sigma, 1e-5)) / (np.pi*( (x-center) )* max(sigma, 1e-5) ) ) + offset\n",
  4488. "\n",
  4489. "def _fit_1D(data, params, x):\n",
  4490. " \n",
  4491. " print(x)\n",
  4492. " print(data)\n",
  4493. " \n",
  4494. " res = fitModel.fit(data=data, x=x, params=params, nan_policy='omit')\n",
  4495. " \n",
  4496. " print(111)\n",
  4497. " \n",
  4498. " # print(res.items())\n",
  4499. " \n",
  4500. " return 1\n",
  4501. "\n",
  4502. "def fit(dataArray, paramsArray, x=None, y=None, input_core_dims=None, dask='parallelized', vectorize=True, keep_attrs=True, daskKwargs=None, **kwargs):\n",
  4503. " \n",
  4504. " kwargs.update(\n",
  4505. " {\n",
  4506. " \"dask\": dask,\n",
  4507. " \"vectorize\": vectorize,\n",
  4508. " \"input_core_dims\": input_core_dims,\n",
  4509. " 'keep_attrs': keep_attrs,\n",
  4510. " }\n",
  4511. " )\n",
  4512. " \n",
  4513. " fitModel = NewFitModel(sinc_func)\n",
  4514. "\n",
  4515. " if not daskKwargs is None:\n",
  4516. " kwargs.update({\"dask_gufunc_kwargs\": daskKwargs})\n",
  4517. " \n",
  4518. " if isinstance(paramsArray, type(fitModel.make_params())):\n",
  4519. "\n",
  4520. " if input_core_dims is None:\n",
  4521. " kwargs.update(\n",
  4522. " {\n",
  4523. " \"input_core_dims\": [['x']],\n",
  4524. " }\n",
  4525. " )\n",
  4526. "\n",
  4527. " if x is None:\n",
  4528. " if 'x' in dataArray.dims:\n",
  4529. " x = dataArray['x'].to_numpy()\n",
  4530. " else:\n",
  4531. " if isinstance(x, str):\n",
  4532. " if input_core_dims is None:\n",
  4533. " kwargs.update(\n",
  4534. " {\n",
  4535. " \"input_core_dims\": [[x]],\n",
  4536. " }\n",
  4537. " )\n",
  4538. " x = dataArray[x].to_numpy()\n",
  4539. "\n",
  4540. " return xr.apply_ufunc(_fit_1D, dataArray, kwargs={'params':paramsArray,'x':x},\n",
  4541. " output_dtypes=[type(lmfit.model.ModelResult(fitModel, fitModel.make_params()))], \n",
  4542. " **kwargs)\n"
  4543. ]
  4544. },
  4545. {
  4546. "cell_type": "code",
  4547. "execution_count": null,
  4548. "metadata": {},
  4549. "outputs": [],
  4550. "source": [
  4551. "params = fitAnalyser.fitModel.make_params()\n",
  4552. "params.add(name=\"amplitude\", value= -6000, max=np.inf, min=-np.inf, vary=True)\n",
  4553. "params.add(name=\"center\", value= 4.24, max=np.inf, min=-np.inf, vary=True)\n",
  4554. "params.add(name=\"sigma\", value= 1, max=np.inf, min= 0, vary=True)\n",
  4555. "params.add(name=\"offset\", value= 6000, max=np.inf, min=-np.inf, vary=True)"
  4556. ]
  4557. },
  4558. {
  4559. "cell_type": "code",
  4560. "execution_count": null,
  4561. "metadata": {},
  4562. "outputs": [],
  4563. "source": [
  4564. "fitResult = fit(Ncount_mean, params, x=scanAxis[0]).load()"
  4565. ]
  4566. },
  4567. {
  4568. "cell_type": "code",
  4569. "execution_count": null,
  4570. "metadata": {},
  4571. "outputs": [],
  4572. "source": [
  4573. "def sinc_func(x, amplitude=1.0, center=0.0, sigma=1.0, offset=0.0):\n",
  4574. " x = np.where(x==center, 1e-5, x)\n",
  4575. " return amplitude * ( np.sin(np.pi*(x-center)*max(sigma, 1e-5)) / (np.pi*( (x-center) )* max(sigma, 1e-5) ) ) + offset\n",
  4576. "\n",
  4577. "fitModel = NewFitModel(sinc_func)\n",
  4578. "\n",
  4579. "fitModel.make_params()\n",
  4580. "\n",
  4581. "data = Ncount_mean.to_numpy()\n",
  4582. "x = Ncount_mean.carrier_freq.to_numpy()\n",
  4583. "\n",
  4584. "fitModel.fit(data=data, x=x, params=params, nan_policy='omit')"
  4585. ]
  4586. },
  4587. {
  4588. "cell_type": "code",
  4589. "execution_count": null,
  4590. "metadata": {},
  4591. "outputs": [],
  4592. "source": [
  4593. "np.where(x==0, 1, 2)"
  4594. ]
  4595. },
  4596. {
  4597. "cell_type": "code",
  4598. "execution_count": null,
  4599. "metadata": {},
  4600. "outputs": [],
  4601. "source": []
  4602. }
  4603. ],
  4604. "metadata": {
  4605. "kernelspec": {
  4606. "display_name": "Python 3",
  4607. "language": "python",
  4608. "name": "python3"
  4609. },
  4610. "language_info": {
  4611. "codemirror_mode": {
  4612. "name": "ipython",
  4613. "version": 3
  4614. },
  4615. "file_extension": ".py",
  4616. "mimetype": "text/x-python",
  4617. "name": "python",
  4618. "nbconvert_exporter": "python",
  4619. "pygments_lexer": "ipython3",
  4620. "version": "3.9.13"
  4621. },
  4622. "orig_nbformat": 4
  4623. },
  4624. "nbformat": 4,
  4625. "nbformat_minor": 2
  4626. }