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.

3320 lines
2.3 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. {
  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 NewFitModel\n",
  30. "from ToolFunction.ToolFunction import *\n",
  31. "\n",
  32. "from ToolFunction.HomeMadeXarrayFunction import errorbar, dataarray_plot_errorbar\n",
  33. "xr.plot.dataarray_plot.errorbar = errorbar\n",
  34. "xr.plot.accessor.DataArrayPlotAccessor.errorbar = dataarray_plot_errorbar\n",
  35. "\n",
  36. "imageAnalyser = ImageAnalyser()"
  37. ]
  38. },
  39. {
  40. "attachments": {},
  41. "cell_type": "markdown",
  42. "metadata": {},
  43. "source": [
  44. "## Start a client for parallel computing"
  45. ]
  46. },
  47. {
  48. "cell_type": "code",
  49. "execution_count": 2,
  50. "metadata": {},
  51. "outputs": [
  52. {
  53. "data": {
  54. "text/html": [
  55. "<div>\n",
  56. " <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\"> </div>\n",
  57. " <div style=\"margin-left: 48px;\">\n",
  58. " <h3 style=\"margin-bottom: 0px;\">Client</h3>\n",
  59. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Client-4c16e830-f491-11ed-afbc-80e82ce2fa8e</p>\n",
  60. " <table style=\"width: 100%; text-align: left;\">\n",
  61. "\n",
  62. " <tr>\n",
  63. " \n",
  64. " <td style=\"text-align: left;\"><strong>Connection method:</strong> Cluster object</td>\n",
  65. " <td style=\"text-align: left;\"><strong>Cluster type:</strong> distributed.LocalCluster</td>\n",
  66. " \n",
  67. " </tr>\n",
  68. "\n",
  69. " \n",
  70. " <tr>\n",
  71. " <td style=\"text-align: left;\">\n",
  72. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  73. " </td>\n",
  74. " <td style=\"text-align: left;\"></td>\n",
  75. " </tr>\n",
  76. " \n",
  77. "\n",
  78. " </table>\n",
  79. "\n",
  80. " \n",
  81. "\n",
  82. " \n",
  83. " <details>\n",
  84. " <summary style=\"margin-bottom: 20px;\"><h3 style=\"display: inline;\">Cluster Info</h3></summary>\n",
  85. " <div class=\"jp-RenderedHTMLCommon jp-RenderedHTML jp-mod-trusted jp-OutputArea-output\">\n",
  86. " <div style=\"width: 24px; height: 24px; background-color: #e1e1e1; border: 3px solid #9D9D9D; border-radius: 5px; position: absolute;\">\n",
  87. " </div>\n",
  88. " <div style=\"margin-left: 48px;\">\n",
  89. " <h3 style=\"margin-bottom: 0px; margin-top: 0px;\">LocalCluster</h3>\n",
  90. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">7792c6a6</p>\n",
  91. " <table style=\"width: 100%; text-align: left;\">\n",
  92. " <tr>\n",
  93. " <td style=\"text-align: left;\">\n",
  94. " <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  95. " </td>\n",
  96. " <td style=\"text-align: left;\">\n",
  97. " <strong>Workers:</strong> 6\n",
  98. " </td>\n",
  99. " </tr>\n",
  100. " <tr>\n",
  101. " <td style=\"text-align: left;\">\n",
  102. " <strong>Total threads:</strong> 60\n",
  103. " </td>\n",
  104. " <td style=\"text-align: left;\">\n",
  105. " <strong>Total memory:</strong> 55.88 GiB\n",
  106. " </td>\n",
  107. " </tr>\n",
  108. " \n",
  109. " <tr>\n",
  110. " <td style=\"text-align: left;\"><strong>Status:</strong> running</td>\n",
  111. " <td style=\"text-align: left;\"><strong>Using processes:</strong> True</td>\n",
  112. "</tr>\n",
  113. "\n",
  114. " \n",
  115. " </table>\n",
  116. "\n",
  117. " <details>\n",
  118. " <summary style=\"margin-bottom: 20px;\">\n",
  119. " <h3 style=\"display: inline;\">Scheduler Info</h3>\n",
  120. " </summary>\n",
  121. "\n",
  122. " <div style=\"\">\n",
  123. " <div>\n",
  124. " <div style=\"width: 24px; height: 24px; background-color: #FFF7E5; border: 3px solid #FF6132; border-radius: 5px; position: absolute;\"> </div>\n",
  125. " <div style=\"margin-left: 48px;\">\n",
  126. " <h3 style=\"margin-bottom: 0px;\">Scheduler</h3>\n",
  127. " <p style=\"color: #9D9D9D; margin-bottom: 0px;\">Scheduler-728ebb44-86df-4773-92bb-8f5c392c0e07</p>\n",
  128. " <table style=\"width: 100%; text-align: left;\">\n",
  129. " <tr>\n",
  130. " <td style=\"text-align: left;\">\n",
  131. " <strong>Comm:</strong> tcp://127.0.0.1:51119\n",
  132. " </td>\n",
  133. " <td style=\"text-align: left;\">\n",
  134. " <strong>Workers:</strong> 6\n",
  135. " </td>\n",
  136. " </tr>\n",
  137. " <tr>\n",
  138. " <td style=\"text-align: left;\">\n",
  139. " <strong>Dashboard:</strong> <a href=\"http://127.0.0.1:8787/status\" target=\"_blank\">http://127.0.0.1:8787/status</a>\n",
  140. " </td>\n",
  141. " <td style=\"text-align: left;\">\n",
  142. " <strong>Total threads:</strong> 60\n",
  143. " </td>\n",
  144. " </tr>\n",
  145. " <tr>\n",
  146. " <td style=\"text-align: left;\">\n",
  147. " <strong>Started:</strong> Just now\n",
  148. " </td>\n",
  149. " <td style=\"text-align: left;\">\n",
  150. " <strong>Total memory:</strong> 55.88 GiB\n",
  151. " </td>\n",
  152. " </tr>\n",
  153. " </table>\n",
  154. " </div>\n",
  155. " </div>\n",
  156. "\n",
  157. " <details style=\"margin-left: 48px;\">\n",
  158. " <summary style=\"margin-bottom: 20px;\">\n",
  159. " <h3 style=\"display: inline;\">Workers</h3>\n",
  160. " </summary>\n",
  161. "\n",
  162. " \n",
  163. " <div style=\"margin-bottom: 20px;\">\n",
  164. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  165. " <div style=\"margin-left: 48px;\">\n",
  166. " <details>\n",
  167. " <summary>\n",
  168. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 0</h4>\n",
  169. " </summary>\n",
  170. " <table style=\"width: 100%; text-align: left;\">\n",
  171. " <tr>\n",
  172. " <td style=\"text-align: left;\">\n",
  173. " <strong>Comm: </strong> tcp://127.0.0.1:51152\n",
  174. " </td>\n",
  175. " <td style=\"text-align: left;\">\n",
  176. " <strong>Total threads: </strong> 10\n",
  177. " </td>\n",
  178. " </tr>\n",
  179. " <tr>\n",
  180. " <td style=\"text-align: left;\">\n",
  181. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:51154/status\" target=\"_blank\">http://127.0.0.1:51154/status</a>\n",
  182. " </td>\n",
  183. " <td style=\"text-align: left;\">\n",
  184. " <strong>Memory: </strong> 9.31 GiB\n",
  185. " </td>\n",
  186. " </tr>\n",
  187. " <tr>\n",
  188. " <td style=\"text-align: left;\">\n",
  189. " <strong>Nanny: </strong> tcp://127.0.0.1:51122\n",
  190. " </td>\n",
  191. " <td style=\"text-align: left;\"></td>\n",
  192. " </tr>\n",
  193. " <tr>\n",
  194. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  195. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-h2e02ha_\n",
  196. " </td>\n",
  197. " </tr>\n",
  198. "\n",
  199. " \n",
  200. "\n",
  201. " \n",
  202. "\n",
  203. " </table>\n",
  204. " </details>\n",
  205. " </div>\n",
  206. " </div>\n",
  207. " \n",
  208. " <div style=\"margin-bottom: 20px;\">\n",
  209. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  210. " <div style=\"margin-left: 48px;\">\n",
  211. " <details>\n",
  212. " <summary>\n",
  213. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 1</h4>\n",
  214. " </summary>\n",
  215. " <table style=\"width: 100%; text-align: left;\">\n",
  216. " <tr>\n",
  217. " <td style=\"text-align: left;\">\n",
  218. " <strong>Comm: </strong> tcp://127.0.0.1:51146\n",
  219. " </td>\n",
  220. " <td style=\"text-align: left;\">\n",
  221. " <strong>Total threads: </strong> 10\n",
  222. " </td>\n",
  223. " </tr>\n",
  224. " <tr>\n",
  225. " <td style=\"text-align: left;\">\n",
  226. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:51147/status\" target=\"_blank\">http://127.0.0.1:51147/status</a>\n",
  227. " </td>\n",
  228. " <td style=\"text-align: left;\">\n",
  229. " <strong>Memory: </strong> 9.31 GiB\n",
  230. " </td>\n",
  231. " </tr>\n",
  232. " <tr>\n",
  233. " <td style=\"text-align: left;\">\n",
  234. " <strong>Nanny: </strong> tcp://127.0.0.1:51123\n",
  235. " </td>\n",
  236. " <td style=\"text-align: left;\"></td>\n",
  237. " </tr>\n",
  238. " <tr>\n",
  239. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  240. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-qno9380b\n",
  241. " </td>\n",
  242. " </tr>\n",
  243. "\n",
  244. " \n",
  245. "\n",
  246. " \n",
  247. "\n",
  248. " </table>\n",
  249. " </details>\n",
  250. " </div>\n",
  251. " </div>\n",
  252. " \n",
  253. " <div style=\"margin-bottom: 20px;\">\n",
  254. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  255. " <div style=\"margin-left: 48px;\">\n",
  256. " <details>\n",
  257. " <summary>\n",
  258. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 2</h4>\n",
  259. " </summary>\n",
  260. " <table style=\"width: 100%; text-align: left;\">\n",
  261. " <tr>\n",
  262. " <td style=\"text-align: left;\">\n",
  263. " <strong>Comm: </strong> tcp://127.0.0.1:51158\n",
  264. " </td>\n",
  265. " <td style=\"text-align: left;\">\n",
  266. " <strong>Total threads: </strong> 10\n",
  267. " </td>\n",
  268. " </tr>\n",
  269. " <tr>\n",
  270. " <td style=\"text-align: left;\">\n",
  271. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:51159/status\" target=\"_blank\">http://127.0.0.1:51159/status</a>\n",
  272. " </td>\n",
  273. " <td style=\"text-align: left;\">\n",
  274. " <strong>Memory: </strong> 9.31 GiB\n",
  275. " </td>\n",
  276. " </tr>\n",
  277. " <tr>\n",
  278. " <td style=\"text-align: left;\">\n",
  279. " <strong>Nanny: </strong> tcp://127.0.0.1:51124\n",
  280. " </td>\n",
  281. " <td style=\"text-align: left;\"></td>\n",
  282. " </tr>\n",
  283. " <tr>\n",
  284. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  285. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-g4faphle\n",
  286. " </td>\n",
  287. " </tr>\n",
  288. "\n",
  289. " \n",
  290. "\n",
  291. " \n",
  292. "\n",
  293. " </table>\n",
  294. " </details>\n",
  295. " </div>\n",
  296. " </div>\n",
  297. " \n",
  298. " <div style=\"margin-bottom: 20px;\">\n",
  299. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  300. " <div style=\"margin-left: 48px;\">\n",
  301. " <details>\n",
  302. " <summary>\n",
  303. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 3</h4>\n",
  304. " </summary>\n",
  305. " <table style=\"width: 100%; text-align: left;\">\n",
  306. " <tr>\n",
  307. " <td style=\"text-align: left;\">\n",
  308. " <strong>Comm: </strong> tcp://127.0.0.1:51149\n",
  309. " </td>\n",
  310. " <td style=\"text-align: left;\">\n",
  311. " <strong>Total threads: </strong> 10\n",
  312. " </td>\n",
  313. " </tr>\n",
  314. " <tr>\n",
  315. " <td style=\"text-align: left;\">\n",
  316. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:51150/status\" target=\"_blank\">http://127.0.0.1:51150/status</a>\n",
  317. " </td>\n",
  318. " <td style=\"text-align: left;\">\n",
  319. " <strong>Memory: </strong> 9.31 GiB\n",
  320. " </td>\n",
  321. " </tr>\n",
  322. " <tr>\n",
  323. " <td style=\"text-align: left;\">\n",
  324. " <strong>Nanny: </strong> tcp://127.0.0.1:51125\n",
  325. " </td>\n",
  326. " <td style=\"text-align: left;\"></td>\n",
  327. " </tr>\n",
  328. " <tr>\n",
  329. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  330. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-wnk0crus\n",
  331. " </td>\n",
  332. " </tr>\n",
  333. "\n",
  334. " \n",
  335. "\n",
  336. " \n",
  337. "\n",
  338. " </table>\n",
  339. " </details>\n",
  340. " </div>\n",
  341. " </div>\n",
  342. " \n",
  343. " <div style=\"margin-bottom: 20px;\">\n",
  344. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  345. " <div style=\"margin-left: 48px;\">\n",
  346. " <details>\n",
  347. " <summary>\n",
  348. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 4</h4>\n",
  349. " </summary>\n",
  350. " <table style=\"width: 100%; text-align: left;\">\n",
  351. " <tr>\n",
  352. " <td style=\"text-align: left;\">\n",
  353. " <strong>Comm: </strong> tcp://127.0.0.1:51153\n",
  354. " </td>\n",
  355. " <td style=\"text-align: left;\">\n",
  356. " <strong>Total threads: </strong> 10\n",
  357. " </td>\n",
  358. " </tr>\n",
  359. " <tr>\n",
  360. " <td style=\"text-align: left;\">\n",
  361. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:51155/status\" target=\"_blank\">http://127.0.0.1:51155/status</a>\n",
  362. " </td>\n",
  363. " <td style=\"text-align: left;\">\n",
  364. " <strong>Memory: </strong> 9.31 GiB\n",
  365. " </td>\n",
  366. " </tr>\n",
  367. " <tr>\n",
  368. " <td style=\"text-align: left;\">\n",
  369. " <strong>Nanny: </strong> tcp://127.0.0.1:51126\n",
  370. " </td>\n",
  371. " <td style=\"text-align: left;\"></td>\n",
  372. " </tr>\n",
  373. " <tr>\n",
  374. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  375. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-fmryn_7r\n",
  376. " </td>\n",
  377. " </tr>\n",
  378. "\n",
  379. " \n",
  380. "\n",
  381. " \n",
  382. "\n",
  383. " </table>\n",
  384. " </details>\n",
  385. " </div>\n",
  386. " </div>\n",
  387. " \n",
  388. " <div style=\"margin-bottom: 20px;\">\n",
  389. " <div style=\"width: 24px; height: 24px; background-color: #DBF5FF; border: 3px solid #4CC9FF; border-radius: 5px; position: absolute;\"> </div>\n",
  390. " <div style=\"margin-left: 48px;\">\n",
  391. " <details>\n",
  392. " <summary>\n",
  393. " <h4 style=\"margin-bottom: 0px; display: inline;\">Worker: 5</h4>\n",
  394. " </summary>\n",
  395. " <table style=\"width: 100%; text-align: left;\">\n",
  396. " <tr>\n",
  397. " <td style=\"text-align: left;\">\n",
  398. " <strong>Comm: </strong> tcp://127.0.0.1:51161\n",
  399. " </td>\n",
  400. " <td style=\"text-align: left;\">\n",
  401. " <strong>Total threads: </strong> 10\n",
  402. " </td>\n",
  403. " </tr>\n",
  404. " <tr>\n",
  405. " <td style=\"text-align: left;\">\n",
  406. " <strong>Dashboard: </strong> <a href=\"http://127.0.0.1:51162/status\" target=\"_blank\">http://127.0.0.1:51162/status</a>\n",
  407. " </td>\n",
  408. " <td style=\"text-align: left;\">\n",
  409. " <strong>Memory: </strong> 9.31 GiB\n",
  410. " </td>\n",
  411. " </tr>\n",
  412. " <tr>\n",
  413. " <td style=\"text-align: left;\">\n",
  414. " <strong>Nanny: </strong> tcp://127.0.0.1:51127\n",
  415. " </td>\n",
  416. " <td style=\"text-align: left;\"></td>\n",
  417. " </tr>\n",
  418. " <tr>\n",
  419. " <td colspan=\"2\" style=\"text-align: left;\">\n",
  420. " <strong>Local directory: </strong> C:\\Users\\data\\AppData\\Local\\Temp\\dask-worker-space\\worker-cv7o44ht\n",
  421. " </td>\n",
  422. " </tr>\n",
  423. "\n",
  424. " \n",
  425. "\n",
  426. " \n",
  427. "\n",
  428. " </table>\n",
  429. " </details>\n",
  430. " </div>\n",
  431. " </div>\n",
  432. " \n",
  433. "\n",
  434. " </details>\n",
  435. "</div>\n",
  436. "\n",
  437. " </details>\n",
  438. " </div>\n",
  439. "</div>\n",
  440. " </details>\n",
  441. " \n",
  442. "\n",
  443. " </div>\n",
  444. "</div>"
  445. ],
  446. "text/plain": [
  447. "<Client: 'tcp://127.0.0.1:51119' processes=6 threads=60, memory=55.88 GiB>"
  448. ]
  449. },
  450. "execution_count": 2,
  451. "metadata": {},
  452. "output_type": "execute_result"
  453. }
  454. ],
  455. "source": [
  456. "from dask.distributed import Client\n",
  457. "client = Client(n_workers=6, threads_per_worker=10, processes=True, memory_limit='10GB')\n",
  458. "client"
  459. ]
  460. },
  461. {
  462. "attachments": {},
  463. "cell_type": "markdown",
  464. "metadata": {},
  465. "source": [
  466. "## Set global path for experiment"
  467. ]
  468. },
  469. {
  470. "cell_type": "code",
  471. "execution_count": 3,
  472. "metadata": {},
  473. "outputs": [],
  474. "source": [
  475. "groupList = [\n",
  476. " \"images/MOT_3D_Camera/in_situ_absorption\",\n",
  477. " \"images/ODT_1_Axis_Camera/in_situ_absorption\",\n",
  478. " \"images/ODT_2_Axis_Camera/in_situ_absorption\",\n",
  479. "]\n",
  480. "\n",
  481. "dskey = {\n",
  482. " \"images/MOT_3D_Camera/in_situ_absorption\": \"camera_1\",\n",
  483. " \"images/ODT_1_Axis_Camera/in_situ_absorption\": \"camera_2\",\n",
  484. " \"images/ODT_2_Axis_Camera/in_situ_absorption\": \"camera_3\",\n",
  485. "}\n"
  486. ]
  487. },
  488. {
  489. "cell_type": "code",
  490. "execution_count": 4,
  491. "metadata": {},
  492. "outputs": [],
  493. "source": [
  494. "img_dir = '//DyLabNAS/Data/'\n",
  495. "SequenceName = \"Repetition_scan\" + \"/\"\n",
  496. "folderPath = img_dir + SequenceName + '2023/' + get_date()"
  497. ]
  498. },
  499. {
  500. "attachments": {},
  501. "cell_type": "markdown",
  502. "metadata": {},
  503. "source": [
  504. "# An example for one experimental run"
  505. ]
  506. },
  507. {
  508. "attachments": {},
  509. "cell_type": "markdown",
  510. "metadata": {},
  511. "source": [
  512. "## Load the data"
  513. ]
  514. },
  515. {
  516. "cell_type": "code",
  517. "execution_count": 5,
  518. "metadata": {},
  519. "outputs": [
  520. {
  521. "data": {
  522. "text/html": [
  523. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  524. "<defs>\n",
  525. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  526. "<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",
  527. "<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",
  528. "<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",
  529. "</symbol>\n",
  530. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  531. "<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",
  532. "<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",
  533. "<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",
  534. "<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",
  535. "</symbol>\n",
  536. "</defs>\n",
  537. "</svg>\n",
  538. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  539. " *\n",
  540. " */\n",
  541. "\n",
  542. ":root {\n",
  543. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  544. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  545. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  546. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  547. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  548. " --xr-background-color: var(--jp-layout-color0, white);\n",
  549. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  550. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  551. "}\n",
  552. "\n",
  553. "html[theme=dark],\n",
  554. "body[data-theme=dark],\n",
  555. "body.vscode-dark {\n",
  556. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  557. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  558. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  559. " --xr-border-color: #1F1F1F;\n",
  560. " --xr-disabled-color: #515151;\n",
  561. " --xr-background-color: #111111;\n",
  562. " --xr-background-color-row-even: #111111;\n",
  563. " --xr-background-color-row-odd: #313131;\n",
  564. "}\n",
  565. "\n",
  566. ".xr-wrap {\n",
  567. " display: block !important;\n",
  568. " min-width: 300px;\n",
  569. " max-width: 700px;\n",
  570. "}\n",
  571. "\n",
  572. ".xr-text-repr-fallback {\n",
  573. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  574. " display: none;\n",
  575. "}\n",
  576. "\n",
  577. ".xr-header {\n",
  578. " padding-top: 6px;\n",
  579. " padding-bottom: 6px;\n",
  580. " margin-bottom: 4px;\n",
  581. " border-bottom: solid 1px var(--xr-border-color);\n",
  582. "}\n",
  583. "\n",
  584. ".xr-header > div,\n",
  585. ".xr-header > ul {\n",
  586. " display: inline;\n",
  587. " margin-top: 0;\n",
  588. " margin-bottom: 0;\n",
  589. "}\n",
  590. "\n",
  591. ".xr-obj-type,\n",
  592. ".xr-array-name {\n",
  593. " margin-left: 2px;\n",
  594. " margin-right: 10px;\n",
  595. "}\n",
  596. "\n",
  597. ".xr-obj-type {\n",
  598. " color: var(--xr-font-color2);\n",
  599. "}\n",
  600. "\n",
  601. ".xr-sections {\n",
  602. " padding-left: 0 !important;\n",
  603. " display: grid;\n",
  604. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  605. "}\n",
  606. "\n",
  607. ".xr-section-item {\n",
  608. " display: contents;\n",
  609. "}\n",
  610. "\n",
  611. ".xr-section-item input {\n",
  612. " display: none;\n",
  613. "}\n",
  614. "\n",
  615. ".xr-section-item input + label {\n",
  616. " color: var(--xr-disabled-color);\n",
  617. "}\n",
  618. "\n",
  619. ".xr-section-item input:enabled + label {\n",
  620. " cursor: pointer;\n",
  621. " color: var(--xr-font-color2);\n",
  622. "}\n",
  623. "\n",
  624. ".xr-section-item input:enabled + label:hover {\n",
  625. " color: var(--xr-font-color0);\n",
  626. "}\n",
  627. "\n",
  628. ".xr-section-summary {\n",
  629. " grid-column: 1;\n",
  630. " color: var(--xr-font-color2);\n",
  631. " font-weight: 500;\n",
  632. "}\n",
  633. "\n",
  634. ".xr-section-summary > span {\n",
  635. " display: inline-block;\n",
  636. " padding-left: 0.5em;\n",
  637. "}\n",
  638. "\n",
  639. ".xr-section-summary-in:disabled + label {\n",
  640. " color: var(--xr-font-color2);\n",
  641. "}\n",
  642. "\n",
  643. ".xr-section-summary-in + label:before {\n",
  644. " display: inline-block;\n",
  645. " content: 'â–º';\n",
  646. " font-size: 11px;\n",
  647. " width: 15px;\n",
  648. " text-align: center;\n",
  649. "}\n",
  650. "\n",
  651. ".xr-section-summary-in:disabled + label:before {\n",
  652. " color: var(--xr-disabled-color);\n",
  653. "}\n",
  654. "\n",
  655. ".xr-section-summary-in:checked + label:before {\n",
  656. " content: 'â–¼';\n",
  657. "}\n",
  658. "\n",
  659. ".xr-section-summary-in:checked + label > span {\n",
  660. " display: none;\n",
  661. "}\n",
  662. "\n",
  663. ".xr-section-summary,\n",
  664. ".xr-section-inline-details {\n",
  665. " padding-top: 4px;\n",
  666. " padding-bottom: 4px;\n",
  667. "}\n",
  668. "\n",
  669. ".xr-section-inline-details {\n",
  670. " grid-column: 2 / -1;\n",
  671. "}\n",
  672. "\n",
  673. ".xr-section-details {\n",
  674. " display: none;\n",
  675. " grid-column: 1 / -1;\n",
  676. " margin-bottom: 5px;\n",
  677. "}\n",
  678. "\n",
  679. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  680. " display: contents;\n",
  681. "}\n",
  682. "\n",
  683. ".xr-array-wrap {\n",
  684. " grid-column: 1 / -1;\n",
  685. " display: grid;\n",
  686. " grid-template-columns: 20px auto;\n",
  687. "}\n",
  688. "\n",
  689. ".xr-array-wrap > label {\n",
  690. " grid-column: 1;\n",
  691. " vertical-align: top;\n",
  692. "}\n",
  693. "\n",
  694. ".xr-preview {\n",
  695. " color: var(--xr-font-color3);\n",
  696. "}\n",
  697. "\n",
  698. ".xr-array-preview,\n",
  699. ".xr-array-data {\n",
  700. " padding: 0 5px !important;\n",
  701. " grid-column: 2;\n",
  702. "}\n",
  703. "\n",
  704. ".xr-array-data,\n",
  705. ".xr-array-in:checked ~ .xr-array-preview {\n",
  706. " display: none;\n",
  707. "}\n",
  708. "\n",
  709. ".xr-array-in:checked ~ .xr-array-data,\n",
  710. ".xr-array-preview {\n",
  711. " display: inline-block;\n",
  712. "}\n",
  713. "\n",
  714. ".xr-dim-list {\n",
  715. " display: inline-block !important;\n",
  716. " list-style: none;\n",
  717. " padding: 0 !important;\n",
  718. " margin: 0;\n",
  719. "}\n",
  720. "\n",
  721. ".xr-dim-list li {\n",
  722. " display: inline-block;\n",
  723. " padding: 0;\n",
  724. " margin: 0;\n",
  725. "}\n",
  726. "\n",
  727. ".xr-dim-list:before {\n",
  728. " content: '(';\n",
  729. "}\n",
  730. "\n",
  731. ".xr-dim-list:after {\n",
  732. " content: ')';\n",
  733. "}\n",
  734. "\n",
  735. ".xr-dim-list li:not(:last-child):after {\n",
  736. " content: ',';\n",
  737. " padding-right: 5px;\n",
  738. "}\n",
  739. "\n",
  740. ".xr-has-index {\n",
  741. " font-weight: bold;\n",
  742. "}\n",
  743. "\n",
  744. ".xr-var-list,\n",
  745. ".xr-var-item {\n",
  746. " display: contents;\n",
  747. "}\n",
  748. "\n",
  749. ".xr-var-item > div,\n",
  750. ".xr-var-item label,\n",
  751. ".xr-var-item > .xr-var-name span {\n",
  752. " background-color: var(--xr-background-color-row-even);\n",
  753. " margin-bottom: 0;\n",
  754. "}\n",
  755. "\n",
  756. ".xr-var-item > .xr-var-name:hover span {\n",
  757. " padding-right: 5px;\n",
  758. "}\n",
  759. "\n",
  760. ".xr-var-list > li:nth-child(odd) > div,\n",
  761. ".xr-var-list > li:nth-child(odd) > label,\n",
  762. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  763. " background-color: var(--xr-background-color-row-odd);\n",
  764. "}\n",
  765. "\n",
  766. ".xr-var-name {\n",
  767. " grid-column: 1;\n",
  768. "}\n",
  769. "\n",
  770. ".xr-var-dims {\n",
  771. " grid-column: 2;\n",
  772. "}\n",
  773. "\n",
  774. ".xr-var-dtype {\n",
  775. " grid-column: 3;\n",
  776. " text-align: right;\n",
  777. " color: var(--xr-font-color2);\n",
  778. "}\n",
  779. "\n",
  780. ".xr-var-preview {\n",
  781. " grid-column: 4;\n",
  782. "}\n",
  783. "\n",
  784. ".xr-index-preview {\n",
  785. " grid-column: 2 / 5;\n",
  786. " color: var(--xr-font-color2);\n",
  787. "}\n",
  788. "\n",
  789. ".xr-var-name,\n",
  790. ".xr-var-dims,\n",
  791. ".xr-var-dtype,\n",
  792. ".xr-preview,\n",
  793. ".xr-attrs dt {\n",
  794. " white-space: nowrap;\n",
  795. " overflow: hidden;\n",
  796. " text-overflow: ellipsis;\n",
  797. " padding-right: 10px;\n",
  798. "}\n",
  799. "\n",
  800. ".xr-var-name:hover,\n",
  801. ".xr-var-dims:hover,\n",
  802. ".xr-var-dtype:hover,\n",
  803. ".xr-attrs dt:hover {\n",
  804. " overflow: visible;\n",
  805. " width: auto;\n",
  806. " z-index: 1;\n",
  807. "}\n",
  808. "\n",
  809. ".xr-var-attrs,\n",
  810. ".xr-var-data,\n",
  811. ".xr-index-data {\n",
  812. " display: none;\n",
  813. " background-color: var(--xr-background-color) !important;\n",
  814. " padding-bottom: 5px !important;\n",
  815. "}\n",
  816. "\n",
  817. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  818. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  819. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  820. " display: block;\n",
  821. "}\n",
  822. "\n",
  823. ".xr-var-data > table {\n",
  824. " float: right;\n",
  825. "}\n",
  826. "\n",
  827. ".xr-var-name span,\n",
  828. ".xr-var-data,\n",
  829. ".xr-index-name div,\n",
  830. ".xr-index-data,\n",
  831. ".xr-attrs {\n",
  832. " padding-left: 25px !important;\n",
  833. "}\n",
  834. "\n",
  835. ".xr-attrs,\n",
  836. ".xr-var-attrs,\n",
  837. ".xr-var-data,\n",
  838. ".xr-index-data {\n",
  839. " grid-column: 1 / -1;\n",
  840. "}\n",
  841. "\n",
  842. "dl.xr-attrs {\n",
  843. " padding: 0;\n",
  844. " margin: 0;\n",
  845. " display: grid;\n",
  846. " grid-template-columns: 125px auto;\n",
  847. "}\n",
  848. "\n",
  849. ".xr-attrs dt,\n",
  850. ".xr-attrs dd {\n",
  851. " padding: 0;\n",
  852. " margin: 0;\n",
  853. " float: left;\n",
  854. " padding-right: 10px;\n",
  855. " width: auto;\n",
  856. "}\n",
  857. "\n",
  858. ".xr-attrs dt {\n",
  859. " font-weight: normal;\n",
  860. " grid-column: 1;\n",
  861. "}\n",
  862. "\n",
  863. ".xr-attrs dt:hover span {\n",
  864. " display: inline-block;\n",
  865. " background: var(--xr-background-color);\n",
  866. " padding-right: 10px;\n",
  867. "}\n",
  868. "\n",
  869. ".xr-attrs dd {\n",
  870. " grid-column: 2;\n",
  871. " white-space: pre-wrap;\n",
  872. " word-break: break-all;\n",
  873. "}\n",
  874. "\n",
  875. ".xr-icon-database,\n",
  876. ".xr-icon-file-text2,\n",
  877. ".xr-no-icon {\n",
  878. " display: inline-block;\n",
  879. " vertical-align: middle;\n",
  880. " width: 1em;\n",
  881. " height: 1.5em !important;\n",
  882. " stroke-width: 0;\n",
  883. " stroke: currentColor;\n",
  884. " fill: currentColor;\n",
  885. "}\n",
  886. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  887. "Dimensions: (sin_mod_freq: 37, y: 1200, x: 1920)\n",
  888. "Coordinates:\n",
  889. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  890. "Dimensions without coordinates: y, x\n",
  891. "Data variables:\n",
  892. " atoms (sin_mod_freq, y, x) uint16 dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;\n",
  893. " background (sin_mod_freq, y, x) uint16 dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;\n",
  894. " dark (sin_mod_freq, y, x) uint16 dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;\n",
  895. " shotNum (sin_mod_freq) int64 dask.array&lt;chunksize=(37,), meta=np.ndarray&gt;\n",
  896. " OD (sin_mod_freq, y, x) float64 dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;\n",
  897. "Attributes: (12/109)\n",
  898. " TOF_free: 0.01\n",
  899. " abs_img_freq: 110.858\n",
  900. " absorption_imaging_flag: True\n",
  901. " backup_data: True\n",
  902. " blink_off_time: 0.001\n",
  903. " blink_on_time: 0.001\n",
  904. " ... ...\n",
  905. " y_offset_img: 0\n",
  906. " z_offset: 0.189\n",
  907. " z_offset_img: 0.189\n",
  908. " sin_mod_freq: [ 65. 66. 67. 68. 69. 70. 71. 7...\n",
  909. " scanAxis: [&#x27;sin_mod_freq&#x27;]\n",
  910. " scanAxisLength: [37.]</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-57a1413a-d91a-4579-a579-291f4098a77b' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-57a1413a-d91a-4579-a579-291f4098a77b' 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'>sin_mod_freq</span>: 37</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-f606e9be-20fc-456c-a852-372817f27075' class='xr-section-summary-in' type='checkbox' checked><label for='section-f606e9be-20fc-456c-a852-372817f27075' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>sin_mod_freq</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>65.0 66.0 67.0 ... 99.0 100.0 101.0</div><input id='attrs-c9ce61a7-e4b0-43e5-9d99-3611a91f34b4' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c9ce61a7-e4b0-43e5-9d99-3611a91f34b4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-60adcb2a-fdcc-46fd-8a97-d82a3fde4554' class='xr-var-data-in' type='checkbox'><label for='data-60adcb2a-fdcc-46fd-8a97-d82a3fde4554' 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([ 65., 66., 67., 68., 69., 70., 71., 72., 73., 74., 75., 76.,\n",
  911. " 77., 78., 79., 80., 81., 82., 83., 84., 85., 86., 87., 88.,\n",
  912. " 89., 90., 91., 92., 93., 94., 95., 96., 97., 98., 99., 100.,\n",
  913. " 101.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-1564266c-5361-4638-84a9-1cd32b72001e' class='xr-section-summary-in' type='checkbox' checked><label for='section-1564266c-5361-4638-84a9-1cd32b72001e' 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'>(sin_mod_freq, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-7cb12d71-d598-477a-b402-53183d9bcd65' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7cb12d71-d598-477a-b402-53183d9bcd65' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-8b0ee154-2d4d-497b-ab12-ed0e21df5eb1' class='xr-var-data-in' type='checkbox'><label for='data-8b0ee154-2d4d-497b-ab12-ed0e21df5eb1' 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",
  914. " <tr>\n",
  915. " <td>\n",
  916. " <table style=\"border-collapse: collapse;\">\n",
  917. " <thead>\n",
  918. " <tr>\n",
  919. " <td> </td>\n",
  920. " <th> Array </th>\n",
  921. " <th> Chunk </th>\n",
  922. " </tr>\n",
  923. " </thead>\n",
  924. " <tbody>\n",
  925. " \n",
  926. " <tr>\n",
  927. " <th> Bytes </th>\n",
  928. " <td> 162.60 MiB </td>\n",
  929. " <td> 127.44 MiB </td>\n",
  930. " </tr>\n",
  931. " \n",
  932. " <tr>\n",
  933. " <th> Shape </th>\n",
  934. " <td> (37, 1200, 1920) </td>\n",
  935. " <td> (29, 1200, 1920) </td>\n",
  936. " </tr>\n",
  937. " <tr>\n",
  938. " <th> Dask graph </th>\n",
  939. " <td colspan=\"2\"> 2 chunks in 113 graph layers </td>\n",
  940. " </tr>\n",
  941. " <tr>\n",
  942. " <th> Data type </th>\n",
  943. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  944. " </tr>\n",
  945. " </tbody>\n",
  946. " </table>\n",
  947. " </td>\n",
  948. " <td>\n",
  949. " <svg width=\"196\" height=\"141\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  950. "\n",
  951. " <!-- Horizontal lines -->\n",
  952. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  953. " <line x1=\"10\" y1=\"75\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  954. "\n",
  955. " <!-- Vertical lines -->\n",
  956. " <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
  957. " <line x1=\"23\" y1=\"13\" x2=\"23\" y2=\"88\" />\n",
  958. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  959. "\n",
  960. " <!-- Colored Rectangle -->\n",
  961. " <polygon points=\"10.0,0.0 26.954332251750458,16.954332251750458 26.954332251750458,91.95433225175046 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  962. "\n",
  963. " <!-- Horizontal lines -->\n",
  964. " <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
  965. " <line x1=\"23\" y1=\"13\" x2=\"143\" y2=\"13\" />\n",
  966. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  967. "\n",
  968. " <!-- Vertical lines -->\n",
  969. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  970. " <line x1=\"130\" y1=\"0\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  971. "\n",
  972. " <!-- Colored Rectangle -->\n",
  973. " <polygon points=\"10.0,0.0 130.0,0.0 146.95433225175046,16.954332251750458 26.954332251750458,16.954332251750458\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  974. "\n",
  975. " <!-- Horizontal lines -->\n",
  976. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  977. " <line x1=\"26\" y1=\"91\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  978. "\n",
  979. " <!-- Vertical lines -->\n",
  980. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  981. " <line x1=\"146\" y1=\"16\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  982. "\n",
  983. " <!-- Colored Rectangle -->\n",
  984. " <polygon points=\"26.954332251750458,16.954332251750458 146.95433225175046,16.954332251750458 146.95433225175046,91.95433225175046 26.954332251750458,91.95433225175046\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  985. "\n",
  986. " <!-- Text -->\n",
  987. " <text x=\"86.954332\" y=\"111.954332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  988. " <text x=\"166.954332\" y=\"54.454332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,166.954332,54.454332)\">1200</text>\n",
  989. " <text x=\"8.477166\" y=\"103.477166\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,8.477166,103.477166)\">37</text>\n",
  990. "</svg>\n",
  991. " </td>\n",
  992. " </tr>\n",
  993. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>background</span></div><div class='xr-var-dims'>(sin_mod_freq, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-05bc41c2-4d39-42f7-bc71-b743652763ab' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-05bc41c2-4d39-42f7-bc71-b743652763ab' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fa6c6dd6-1f3f-4afa-b397-93a104b2ea0e' class='xr-var-data-in' type='checkbox'><label for='data-fa6c6dd6-1f3f-4afa-b397-93a104b2ea0e' 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",
  994. " <tr>\n",
  995. " <td>\n",
  996. " <table style=\"border-collapse: collapse;\">\n",
  997. " <thead>\n",
  998. " <tr>\n",
  999. " <td> </td>\n",
  1000. " <th> Array </th>\n",
  1001. " <th> Chunk </th>\n",
  1002. " </tr>\n",
  1003. " </thead>\n",
  1004. " <tbody>\n",
  1005. " \n",
  1006. " <tr>\n",
  1007. " <th> Bytes </th>\n",
  1008. " <td> 162.60 MiB </td>\n",
  1009. " <td> 127.44 MiB </td>\n",
  1010. " </tr>\n",
  1011. " \n",
  1012. " <tr>\n",
  1013. " <th> Shape </th>\n",
  1014. " <td> (37, 1200, 1920) </td>\n",
  1015. " <td> (29, 1200, 1920) </td>\n",
  1016. " </tr>\n",
  1017. " <tr>\n",
  1018. " <th> Dask graph </th>\n",
  1019. " <td colspan=\"2\"> 2 chunks in 113 graph layers </td>\n",
  1020. " </tr>\n",
  1021. " <tr>\n",
  1022. " <th> Data type </th>\n",
  1023. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  1024. " </tr>\n",
  1025. " </tbody>\n",
  1026. " </table>\n",
  1027. " </td>\n",
  1028. " <td>\n",
  1029. " <svg width=\"196\" height=\"141\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1030. "\n",
  1031. " <!-- Horizontal lines -->\n",
  1032. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1033. " <line x1=\"10\" y1=\"75\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1034. "\n",
  1035. " <!-- Vertical lines -->\n",
  1036. " <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1037. " <line x1=\"23\" y1=\"13\" x2=\"23\" y2=\"88\" />\n",
  1038. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1039. "\n",
  1040. " <!-- Colored Rectangle -->\n",
  1041. " <polygon points=\"10.0,0.0 26.954332251750458,16.954332251750458 26.954332251750458,91.95433225175046 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1042. "\n",
  1043. " <!-- Horizontal lines -->\n",
  1044. " <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1045. " <line x1=\"23\" y1=\"13\" x2=\"143\" y2=\"13\" />\n",
  1046. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1047. "\n",
  1048. " <!-- Vertical lines -->\n",
  1049. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1050. " <line x1=\"130\" y1=\"0\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1051. "\n",
  1052. " <!-- Colored Rectangle -->\n",
  1053. " <polygon points=\"10.0,0.0 130.0,0.0 146.95433225175046,16.954332251750458 26.954332251750458,16.954332251750458\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1054. "\n",
  1055. " <!-- Horizontal lines -->\n",
  1056. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1057. " <line x1=\"26\" y1=\"91\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1058. "\n",
  1059. " <!-- Vertical lines -->\n",
  1060. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1061. " <line x1=\"146\" y1=\"16\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1062. "\n",
  1063. " <!-- Colored Rectangle -->\n",
  1064. " <polygon points=\"26.954332251750458,16.954332251750458 146.95433225175046,16.954332251750458 146.95433225175046,91.95433225175046 26.954332251750458,91.95433225175046\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1065. "\n",
  1066. " <!-- Text -->\n",
  1067. " <text x=\"86.954332\" y=\"111.954332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1068. " <text x=\"166.954332\" y=\"54.454332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,166.954332,54.454332)\">1200</text>\n",
  1069. " <text x=\"8.477166\" y=\"103.477166\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,8.477166,103.477166)\">37</text>\n",
  1070. "</svg>\n",
  1071. " </td>\n",
  1072. " </tr>\n",
  1073. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>dark</span></div><div class='xr-var-dims'>(sin_mod_freq, y, x)</div><div class='xr-var-dtype'>uint16</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-c848c4a0-8a59-49d9-b765-3596b289862b' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-c848c4a0-8a59-49d9-b765-3596b289862b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-951db309-9e61-487e-93b7-bb8285e9001a' class='xr-var-data-in' type='checkbox'><label for='data-951db309-9e61-487e-93b7-bb8285e9001a' 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",
  1074. " <tr>\n",
  1075. " <td>\n",
  1076. " <table style=\"border-collapse: collapse;\">\n",
  1077. " <thead>\n",
  1078. " <tr>\n",
  1079. " <td> </td>\n",
  1080. " <th> Array </th>\n",
  1081. " <th> Chunk </th>\n",
  1082. " </tr>\n",
  1083. " </thead>\n",
  1084. " <tbody>\n",
  1085. " \n",
  1086. " <tr>\n",
  1087. " <th> Bytes </th>\n",
  1088. " <td> 162.60 MiB </td>\n",
  1089. " <td> 127.44 MiB </td>\n",
  1090. " </tr>\n",
  1091. " \n",
  1092. " <tr>\n",
  1093. " <th> Shape </th>\n",
  1094. " <td> (37, 1200, 1920) </td>\n",
  1095. " <td> (29, 1200, 1920) </td>\n",
  1096. " </tr>\n",
  1097. " <tr>\n",
  1098. " <th> Dask graph </th>\n",
  1099. " <td colspan=\"2\"> 2 chunks in 113 graph layers </td>\n",
  1100. " </tr>\n",
  1101. " <tr>\n",
  1102. " <th> Data type </th>\n",
  1103. " <td colspan=\"2\"> uint16 numpy.ndarray </td>\n",
  1104. " </tr>\n",
  1105. " </tbody>\n",
  1106. " </table>\n",
  1107. " </td>\n",
  1108. " <td>\n",
  1109. " <svg width=\"196\" height=\"141\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1110. "\n",
  1111. " <!-- Horizontal lines -->\n",
  1112. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1113. " <line x1=\"10\" y1=\"75\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1114. "\n",
  1115. " <!-- Vertical lines -->\n",
  1116. " <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1117. " <line x1=\"23\" y1=\"13\" x2=\"23\" y2=\"88\" />\n",
  1118. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1119. "\n",
  1120. " <!-- Colored Rectangle -->\n",
  1121. " <polygon points=\"10.0,0.0 26.954332251750458,16.954332251750458 26.954332251750458,91.95433225175046 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1122. "\n",
  1123. " <!-- Horizontal lines -->\n",
  1124. " <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1125. " <line x1=\"23\" y1=\"13\" x2=\"143\" y2=\"13\" />\n",
  1126. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1127. "\n",
  1128. " <!-- Vertical lines -->\n",
  1129. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1130. " <line x1=\"130\" y1=\"0\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1131. "\n",
  1132. " <!-- Colored Rectangle -->\n",
  1133. " <polygon points=\"10.0,0.0 130.0,0.0 146.95433225175046,16.954332251750458 26.954332251750458,16.954332251750458\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1134. "\n",
  1135. " <!-- Horizontal lines -->\n",
  1136. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1137. " <line x1=\"26\" y1=\"91\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1138. "\n",
  1139. " <!-- Vertical lines -->\n",
  1140. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1141. " <line x1=\"146\" y1=\"16\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1142. "\n",
  1143. " <!-- Colored Rectangle -->\n",
  1144. " <polygon points=\"26.954332251750458,16.954332251750458 146.95433225175046,16.954332251750458 146.95433225175046,91.95433225175046 26.954332251750458,91.95433225175046\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1145. "\n",
  1146. " <!-- Text -->\n",
  1147. " <text x=\"86.954332\" y=\"111.954332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1148. " <text x=\"166.954332\" y=\"54.454332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,166.954332,54.454332)\">1200</text>\n",
  1149. " <text x=\"8.477166\" y=\"103.477166\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,8.477166,103.477166)\">37</text>\n",
  1150. "</svg>\n",
  1151. " </td>\n",
  1152. " </tr>\n",
  1153. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>shotNum</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(37,), meta=np.ndarray&gt;</div><input id='attrs-b7b8c64f-3f56-40ba-a02a-082135ec4729' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b7b8c64f-3f56-40ba-a02a-082135ec4729' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fad5bc38-d913-4276-b188-b4cbfac0641f' class='xr-var-data-in' type='checkbox'><label for='data-fad5bc38-d913-4276-b188-b4cbfac0641f' 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",
  1154. " <tr>\n",
  1155. " <td>\n",
  1156. " <table style=\"border-collapse: collapse;\">\n",
  1157. " <thead>\n",
  1158. " <tr>\n",
  1159. " <td> </td>\n",
  1160. " <th> Array </th>\n",
  1161. " <th> Chunk </th>\n",
  1162. " </tr>\n",
  1163. " </thead>\n",
  1164. " <tbody>\n",
  1165. " \n",
  1166. " <tr>\n",
  1167. " <th> Bytes </th>\n",
  1168. " <td> 296 B </td>\n",
  1169. " <td> 296 B </td>\n",
  1170. " </tr>\n",
  1171. " \n",
  1172. " <tr>\n",
  1173. " <th> Shape </th>\n",
  1174. " <td> (37,) </td>\n",
  1175. " <td> (37,) </td>\n",
  1176. " </tr>\n",
  1177. " <tr>\n",
  1178. " <th> Dask graph </th>\n",
  1179. " <td colspan=\"2\"> 1 chunks in 1 graph layer </td>\n",
  1180. " </tr>\n",
  1181. " <tr>\n",
  1182. " <th> Data type </th>\n",
  1183. " <td colspan=\"2\"> int64 numpy.ndarray </td>\n",
  1184. " </tr>\n",
  1185. " </tbody>\n",
  1186. " </table>\n",
  1187. " </td>\n",
  1188. " <td>\n",
  1189. " <svg width=\"170\" height=\"80\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1190. "\n",
  1191. " <!-- Horizontal lines -->\n",
  1192. " <line x1=\"0\" y1=\"0\" x2=\"120\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1193. " <line x1=\"0\" y1=\"30\" x2=\"120\" y2=\"30\" style=\"stroke-width:2\" />\n",
  1194. "\n",
  1195. " <!-- Vertical lines -->\n",
  1196. " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"30\" style=\"stroke-width:2\" />\n",
  1197. " <line x1=\"120\" y1=\"0\" x2=\"120\" y2=\"30\" style=\"stroke-width:2\" />\n",
  1198. "\n",
  1199. " <!-- Colored Rectangle -->\n",
  1200. " <polygon points=\"0.0,0.0 120.0,0.0 120.0,30.769621904823087 0.0,30.769621904823087\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1201. "\n",
  1202. " <!-- Text -->\n",
  1203. " <text x=\"60.000000\" y=\"50.769622\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >37</text>\n",
  1204. " <text x=\"140.000000\" y=\"15.384811\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,140.000000,15.384811)\">1</text>\n",
  1205. "</svg>\n",
  1206. " </td>\n",
  1207. " </tr>\n",
  1208. "</table></div></li><li class='xr-var-item'><div class='xr-var-name'><span>OD</span></div><div class='xr-var-dims'>(sin_mod_freq, y, x)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>dask.array&lt;chunksize=(29, 1200, 1920), meta=np.ndarray&gt;</div><input id='attrs-64421666-efde-4859-a275-b4f177273aba' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-64421666-efde-4859-a275-b4f177273aba' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e804bef4-59b4-4c5d-97d6-52fa58f39970' class='xr-var-data-in' type='checkbox'><label for='data-e804bef4-59b4-4c5d-97d6-52fa58f39970' 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",
  1209. " <tr>\n",
  1210. " <td>\n",
  1211. " <table style=\"border-collapse: collapse;\">\n",
  1212. " <thead>\n",
  1213. " <tr>\n",
  1214. " <td> </td>\n",
  1215. " <th> Array </th>\n",
  1216. " <th> Chunk </th>\n",
  1217. " </tr>\n",
  1218. " </thead>\n",
  1219. " <tbody>\n",
  1220. " \n",
  1221. " <tr>\n",
  1222. " <th> Bytes </th>\n",
  1223. " <td> 650.39 MiB </td>\n",
  1224. " <td> 509.77 MiB </td>\n",
  1225. " </tr>\n",
  1226. " \n",
  1227. " <tr>\n",
  1228. " <th> Shape </th>\n",
  1229. " <td> (37, 1200, 1920) </td>\n",
  1230. " <td> (29, 1200, 1920) </td>\n",
  1231. " </tr>\n",
  1232. " <tr>\n",
  1233. " <th> Dask graph </th>\n",
  1234. " <td colspan=\"2\"> 2 chunks in 349 graph layers </td>\n",
  1235. " </tr>\n",
  1236. " <tr>\n",
  1237. " <th> Data type </th>\n",
  1238. " <td colspan=\"2\"> float64 numpy.ndarray </td>\n",
  1239. " </tr>\n",
  1240. " </tbody>\n",
  1241. " </table>\n",
  1242. " </td>\n",
  1243. " <td>\n",
  1244. " <svg width=\"196\" height=\"141\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n",
  1245. "\n",
  1246. " <!-- Horizontal lines -->\n",
  1247. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1248. " <line x1=\"10\" y1=\"75\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1249. "\n",
  1250. " <!-- Vertical lines -->\n",
  1251. " <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"75\" style=\"stroke-width:2\" />\n",
  1252. " <line x1=\"23\" y1=\"13\" x2=\"23\" y2=\"88\" />\n",
  1253. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1254. "\n",
  1255. " <!-- Colored Rectangle -->\n",
  1256. " <polygon points=\"10.0,0.0 26.954332251750458,16.954332251750458 26.954332251750458,91.95433225175046 10.0,75.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1257. "\n",
  1258. " <!-- Horizontal lines -->\n",
  1259. " <line x1=\"10\" y1=\"0\" x2=\"130\" y2=\"0\" style=\"stroke-width:2\" />\n",
  1260. " <line x1=\"23\" y1=\"13\" x2=\"143\" y2=\"13\" />\n",
  1261. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1262. "\n",
  1263. " <!-- Vertical lines -->\n",
  1264. " <line x1=\"10\" y1=\"0\" x2=\"26\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1265. " <line x1=\"130\" y1=\"0\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1266. "\n",
  1267. " <!-- Colored Rectangle -->\n",
  1268. " <polygon points=\"10.0,0.0 130.0,0.0 146.95433225175046,16.954332251750458 26.954332251750458,16.954332251750458\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1269. "\n",
  1270. " <!-- Horizontal lines -->\n",
  1271. " <line x1=\"26\" y1=\"16\" x2=\"146\" y2=\"16\" style=\"stroke-width:2\" />\n",
  1272. " <line x1=\"26\" y1=\"91\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1273. "\n",
  1274. " <!-- Vertical lines -->\n",
  1275. " <line x1=\"26\" y1=\"16\" x2=\"26\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1276. " <line x1=\"146\" y1=\"16\" x2=\"146\" y2=\"91\" style=\"stroke-width:2\" />\n",
  1277. "\n",
  1278. " <!-- Colored Rectangle -->\n",
  1279. " <polygon points=\"26.954332251750458,16.954332251750458 146.95433225175046,16.954332251750458 146.95433225175046,91.95433225175046 26.954332251750458,91.95433225175046\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n",
  1280. "\n",
  1281. " <!-- Text -->\n",
  1282. " <text x=\"86.954332\" y=\"111.954332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >1920</text>\n",
  1283. " <text x=\"166.954332\" y=\"54.454332\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,166.954332,54.454332)\">1200</text>\n",
  1284. " <text x=\"8.477166\" y=\"103.477166\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,8.477166,103.477166)\">37</text>\n",
  1285. "</svg>\n",
  1286. " </td>\n",
  1287. " </tr>\n",
  1288. "</table></div></li></ul></div></li><li class='xr-section-item'><input id='section-99d3f0f7-2dc5-4e1b-a9a8-eb5e8eaf89a6' class='xr-section-summary-in' type='checkbox' ><label for='section-99d3f0f7-2dc5-4e1b-a9a8-eb5e8eaf89a6' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>sin_mod_freq</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-445382f2-44cb-458a-9fe1-0e4f1c21b11a' class='xr-index-data-in' type='checkbox'/><label for='index-445382f2-44cb-458a-9fe1-0e4f1c21b11a' 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([ 65.0, 66.0, 67.0, 68.0, 69.0, 70.0, 71.0, 72.0, 73.0,\n",
  1289. " 74.0, 75.0, 76.0, 77.0, 78.0, 79.0, 80.0, 81.0, 82.0,\n",
  1290. " 83.0, 84.0, 85.0, 86.0, 87.0, 88.0, 89.0, 90.0, 91.0,\n",
  1291. " 92.0, 93.0, 94.0, 95.0, 96.0, 97.0, 98.0, 99.0, 100.0,\n",
  1292. " 101.0],\n",
  1293. " dtype=&#x27;float64&#x27;, name=&#x27;sin_mod_freq&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-a2d0a646-a4ba-4c4a-b1ce-dedd8e84e93f' class='xr-section-summary-in' type='checkbox' ><label for='section-a2d0a646-a4ba-4c4a-b1ce-dedd8e84e93f' class='xr-section-summary' >Attributes: <span>(109)</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.01</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>cmot_final_current :</span></dt><dd>0.65</dd><dt><span>cmot_hold :</span></dt><dd>0.06</dd><dt><span>cmot_initial_current :</span></dt><dd>0.18</dd><dt><span>compX_current :</span></dt><dd>0.005</dd><dt><span>compX_current_sg :</span></dt><dd>0</dd><dt><span>compX_final_current :</span></dt><dd>0.005</dd><dt><span>compX_initial_current :</span></dt><dd>0.005</dd><dt><span>compY_current :</span></dt><dd>0</dd><dt><span>compY_current_sg :</span></dt><dd>0</dd><dt><span>compY_final_current :</span></dt><dd>0.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.271</dd><dt><span>compZ_initial_current :</span></dt><dd>0</dd><dt><span>default_camera :</span></dt><dd>0</dd><dt><span>evap_1_arm_1_final_pow :</span></dt><dd>0.35</dd><dt><span>evap_1_arm_1_mod_depth_final :</span></dt><dd>0</dd><dt><span>evap_1_arm_1_mod_depth_initial :</span></dt><dd>1.0</dd><dt><span>evap_1_arm_1_mod_ramp_duration :</span></dt><dd>1.15</dd><dt><span>evap_1_arm_1_pow_ramp_duration :</span></dt><dd>1.65</dd><dt><span>evap_1_arm_1_start_pow :</span></dt><dd>7</dd><dt><span>evap_1_arm_2_final_pow :</span></dt><dd>5</dd><dt><span>evap_1_arm_2_ramp_duration :</span></dt><dd>0.5</dd><dt><span>evap_1_arm_2_start_pow :</span></dt><dd>0</dd><dt><span>evap_1_mod_ramp_trunc_value :</span></dt><dd>1</dd><dt><span>evap_1_pow_ramp_trunc_value :</span></dt><dd>1.0</dd><dt><span>evap_1_rate_constant_1 :</span></dt><dd>0.525</dd><dt><span>evap_1_rate_constant_2 :</span></dt><dd>0.51</dd><dt><span>evap_2_arm_1_final_pow :</span></dt><dd>0.1</dd><dt><span>evap_2_arm_1_start_pow :</span></dt><dd>0.35</dd><dt><span>evap_2_arm_2_final_pow :</span></dt><dd>1.71</dd><dt><span>evap_2_arm_2_start_pow :</span></dt><dd>5</dd><dt><span>evap_2_ramp_duration :</span></dt><dd>0.5</dd><dt><span>evap_2_ramp_trunc_value :</span></dt><dd>1.0</dd><dt><span>evap_2_rate_constant_1 :</span></dt><dd>0.37</dd><dt><span>evap_2_rate_constant_2 :</span></dt><dd>0.71</dd><dt><span>evap_3_arm_1_final_pow :</span></dt><dd>0.1038</dd><dt><span>evap_3_arm_1_mod_depth_final :</span></dt><dd>0.43</dd><dt><span>evap_3_arm_1_mod_depth_initial :</span></dt><dd>0</dd><dt><span>evap_3_arm_1_start_pow :</span></dt><dd>0.1</dd><dt><span>evap_3_ramp_duration :</span></dt><dd>0.1</dd><dt><span>evap_3_ramp_trunc_value :</span></dt><dd>1.0</dd><dt><span>evap_3_rate_constant_1 :</span></dt><dd>-0.879</dd><dt><span>evap_3_rate_constant_2 :</span></dt><dd>-0.297</dd><dt><span>final_amp :</span></dt><dd>0.0001</dd><dt><span>final_freq :</span></dt><dd>104.0</dd><dt><span>final_pow_1 :</span></dt><dd>0.1038</dd><dt><span>final_pow_2 :</span></dt><dd>1.71</dd><dt><span>gradCoil_current :</span></dt><dd>0.18</dd><dt><span>gradCoil_current_sg :</span></dt><dd>0</dd><dt><span>imaging_method :</span></dt><dd>in_situ_absorption</dd><dt><span>imaging_pulse_duration :</span></dt><dd>2.5e-05</dd><dt><span>imaging_wavelength :</span></dt><dd>4.21291e-07</dd><dt><span>initial_amp :</span></dt><dd>0.62</dd><dt><span>initial_freq :</span></dt><dd>102.13</dd><dt><span>mod_depth_fin :</span></dt><dd>0.43</dd><dt><span>mod_depth_ini :</span></dt><dd>0</dd><d
  1294. " 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92.\n",
  1295. " 93. 94. 95. 96. 97. 98. 99. 100. 101.]</dd><dt><span>scanAxis :</span></dt><dd>[&#x27;sin_mod_freq&#x27;]</dd><dt><span>scanAxisLength :</span></dt><dd>[37.]</dd></dl></div></li></ul></div></div>"
  1296. ],
  1297. "text/plain": [
  1298. "<xarray.Dataset>\n",
  1299. "Dimensions: (sin_mod_freq: 37, y: 1200, x: 1920)\n",
  1300. "Coordinates:\n",
  1301. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  1302. "Dimensions without coordinates: y, x\n",
  1303. "Data variables:\n",
  1304. " atoms (sin_mod_freq, y, x) uint16 dask.array<chunksize=(29, 1200, 1920), meta=np.ndarray>\n",
  1305. " background (sin_mod_freq, y, x) uint16 dask.array<chunksize=(29, 1200, 1920), meta=np.ndarray>\n",
  1306. " dark (sin_mod_freq, y, x) uint16 dask.array<chunksize=(29, 1200, 1920), meta=np.ndarray>\n",
  1307. " shotNum (sin_mod_freq) int64 dask.array<chunksize=(37,), meta=np.ndarray>\n",
  1308. " OD (sin_mod_freq, y, x) float64 dask.array<chunksize=(29, 1200, 1920), meta=np.ndarray>\n",
  1309. "Attributes: (12/109)\n",
  1310. " TOF_free: 0.01\n",
  1311. " abs_img_freq: 110.858\n",
  1312. " absorption_imaging_flag: True\n",
  1313. " backup_data: True\n",
  1314. " blink_off_time: 0.001\n",
  1315. " blink_on_time: 0.001\n",
  1316. " ... ...\n",
  1317. " y_offset_img: 0\n",
  1318. " z_offset: 0.189\n",
  1319. " z_offset_img: 0.189\n",
  1320. " sin_mod_freq: [ 65. 66. 67. 68. 69. 70. 71. 7...\n",
  1321. " scanAxis: ['sin_mod_freq']\n",
  1322. " scanAxisLength: [37.]"
  1323. ]
  1324. },
  1325. "execution_count": 5,
  1326. "metadata": {},
  1327. "output_type": "execute_result"
  1328. }
  1329. ],
  1330. "source": [
  1331. "shotNum = \"0065\"\n",
  1332. "filePath = folderPath + \"/\" + shotNum + \"/*.h5\"\n",
  1333. "filePath = \"//DyLabNAS/Data/Evaporative_Cooling/2023/05/12/0065/*.h5\"\n",
  1334. "\n",
  1335. "dataSetDict = {\n",
  1336. " dskey[groupList[i]]: read_hdf5_file(filePath, groupList[i])\n",
  1337. " for i in [0] # range(len(groupList))\n",
  1338. "}\n",
  1339. "\n",
  1340. "dataSet = dataSetDict[\"camera_1\"]\n",
  1341. "dataSet = swap_xy(dataSet)\n",
  1342. "\n",
  1343. "scanAxis = get_scanAxis(dataSet)\n",
  1344. "\n",
  1345. "dataSet = auto_rechunk(dataSet)\n",
  1346. "\n",
  1347. "dataSet = imageAnalyser.get_absorption_images(dataSet)\n",
  1348. "\n",
  1349. "dataSet"
  1350. ]
  1351. },
  1352. {
  1353. "attachments": {},
  1354. "cell_type": "markdown",
  1355. "metadata": {},
  1356. "source": [
  1357. "## Calculate an plot OD images"
  1358. ]
  1359. },
  1360. {
  1361. "cell_type": "code",
  1362. "execution_count": 6,
  1363. "metadata": {},
  1364. "outputs": [
  1365. {
  1366. "data": {
  1367. "image/png": "iVBORw0KGgoAAAANSUhEUgAAJXAAAAEiCAYAAADWGnWWAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOy9f5ydVXXv/wnMAAPOcBlkAhlkRhwgEQNpoICGGqwR4baoUMW+aAVv6Q9ft1q1XqtX7UW9V/zRSuv1Z+lFq1Zv1S9gS+8VS1pINVVSDUiwCRJ1ggyYcJ3oDDLQjDzfP85Z2Z+9Zu1zzsSB5Dnzeb9eec2T5zznefaz915rr73W2vssqaqqghBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCHIActL8LIIQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQJQ7a3wUQQgghhBBCCCGEEEIIIYQQQgghh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xYnkuFEnWVYuVmLF8lw4kCW4d/+7d/GLbfcgk9/+tPYsmULzj//fKxbtw4TExN7r1F+1uJD8puou/wqN2txIhlO1FmGlZu1eJEMJ+osw4BysxYrkuFE3WX
  1368. "text/plain": [
  1369. "<Figure size 11200x300 with 38 Axes>"
  1370. ]
  1371. },
  1372. "metadata": {},
  1373. "output_type": "display_data"
  1374. }
  1375. ],
  1376. "source": [
  1377. "imageAnalyser.center = (959, 280)\n",
  1378. "imageAnalyser.span = (150, 200)\n",
  1379. "imageAnalyser.fraction = (0.1, 0.1)\n",
  1380. "\n",
  1381. "dataSet_cropOD = imageAnalyser.crop_image(dataSet.OD)\n",
  1382. "dataSet_cropOD = imageAnalyser.substract_offset(dataSet_cropOD).load()\n",
  1383. "\n",
  1384. "dataSet_cropOD.plot.pcolormesh(cmap='jet', vmin=0, col=scanAxis[0], row=scanAxis[1])\n",
  1385. "plt.show()"
  1386. ]
  1387. },
  1388. {
  1389. "attachments": {},
  1390. "cell_type": "markdown",
  1391. "metadata": {},
  1392. "source": [
  1393. "## Do a 2D two-peak gaussian fit to the OD images"
  1394. ]
  1395. },
  1396. {
  1397. "attachments": {},
  1398. "cell_type": "markdown",
  1399. "metadata": {},
  1400. "source": [
  1401. "### Do the fit"
  1402. ]
  1403. },
  1404. {
  1405. "cell_type": "code",
  1406. "execution_count": 7,
  1407. "metadata": {},
  1408. "outputs": [],
  1409. "source": [
  1410. "fitAnalyser = FitAnalyser(\"Gaussian-2D\", fitDim=2)\n",
  1411. "\n",
  1412. "params = fitAnalyser.guess(dataSet_cropOD, dask=\"parallelized\")\n",
  1413. "fitResult = fitAnalyser.fit(dataSet_cropOD, params).load()"
  1414. ]
  1415. },
  1416. {
  1417. "cell_type": "code",
  1418. "execution_count": 8,
  1419. "metadata": {},
  1420. "outputs": [
  1421. {
  1422. "data": {
  1423. "text/plain": [
  1424. "<xarray.plot.facetgrid.FacetGrid at 0x227b2a71d60>"
  1425. ]
  1426. },
  1427. "execution_count": 8,
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llnxdVXX722jflZ24/8Hjb2/JqbtT3J8GFjzrC5WduXDB825gxHmJu1XcnwYWPPcM38rO1Dfg9bhvyam7X9yPBhY8+wuVnbkwwfNvYMm5+1PcnwYWPPsPlZ24/8Hjbm/JqbtX3I7GGLnNkbb7wxTj/99HjDG97QuE2fuVjPe97z4v3vf3+85z3vib/5m7+JG264IX74h384br311sbjvve9743nPe958ZKXvCQuvfTS+M//+T/HOeecE1ddddVM/4wMJ7+HbYf83nTTTfGDP/iD8Wu/9mu9zy2/AAAslIrReN/73lc94AEPqHbv3l0dd9xx1WMf+9jqhhtuqKqqqs4777zqyU9+8tq2Z555ZvVLv/RL1Yte9KLqDne4Q3X88cdX559/fu9zRUT15je/uXrCE55Q7dmzp7rvfe9bfepTn6quuOKK6swzz6yOOuqo6owzzqi++tWvrtvvTW96U3Wve92rWl1dre5zn/tU73jHO9at/8pXvlL95//8n6tdu3ZV97vf/aq/+Iu/qCKiev/739/rmtKf888/v7ryyiuriKje+973VmeeeWa1a9eu6g//8A+rqqqqP/zDP6zue9/7Vrt27apOPfXU6o1vfOO6433mM5+pHvSgB1W7du2qHvrQh1YXXXRRFRHVpZde2vvvaahf+ZVfqX7gB36gdZv8v2Uf5557bvWDP/iD65Y9/vGPr378x3986CWyiWR4e2T46U9/evVf/+t/HXRcGR4HGd4eGc49+clPrv7Lf/kvrdvI8DjI8PbI8GmnnVb9xm/8xrplD3nIQ6qXvvSljfvI8OKT3+XP7+WXX15FRPWlL31pbdmBAweq4447rvqDP/iDxv3kdxxkePwZzj33uc+tvvu
  1434. "text/plain": [
  1435. "<Figure size 11200x300 with 38 Axes>"
  1436. ]
  1437. },
  1438. "metadata": {},
  1439. "output_type": "display_data"
  1440. }
  1441. ],
  1442. "source": [
  1443. "fitCurve = fitAnalyser.eval(fitResult, x=np.arange(150), y=np.arange(200), dask=\"parallelized\").load()\n",
  1444. "\n",
  1445. "fitCurve.plot.pcolormesh(cmap='jet', vmin=0, col=scanAxis[0], row=scanAxis[1])"
  1446. ]
  1447. },
  1448. {
  1449. "attachments": {},
  1450. "cell_type": "markdown",
  1451. "metadata": {},
  1452. "source": [
  1453. "### Get the result of the fit"
  1454. ]
  1455. },
  1456. {
  1457. "cell_type": "code",
  1458. "execution_count": 9,
  1459. "metadata": {},
  1460. "outputs": [
  1461. {
  1462. "data": {
  1463. "text/html": [
  1464. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  1465. "<defs>\n",
  1466. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  1467. "<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",
  1468. "<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",
  1469. "<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",
  1470. "</symbol>\n",
  1471. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  1472. "<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",
  1473. "<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",
  1474. "<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",
  1475. "<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",
  1476. "</symbol>\n",
  1477. "</defs>\n",
  1478. "</svg>\n",
  1479. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  1480. " *\n",
  1481. " */\n",
  1482. "\n",
  1483. ":root {\n",
  1484. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  1485. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  1486. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  1487. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  1488. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  1489. " --xr-background-color: var(--jp-layout-color0, white);\n",
  1490. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  1491. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  1492. "}\n",
  1493. "\n",
  1494. "html[theme=dark],\n",
  1495. "body[data-theme=dark],\n",
  1496. "body.vscode-dark {\n",
  1497. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  1498. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  1499. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  1500. " --xr-border-color: #1F1F1F;\n",
  1501. " --xr-disabled-color: #515151;\n",
  1502. " --xr-background-color: #111111;\n",
  1503. " --xr-background-color-row-even: #111111;\n",
  1504. " --xr-background-color-row-odd: #313131;\n",
  1505. "}\n",
  1506. "\n",
  1507. ".xr-wrap {\n",
  1508. " display: block !important;\n",
  1509. " min-width: 300px;\n",
  1510. " max-width: 700px;\n",
  1511. "}\n",
  1512. "\n",
  1513. ".xr-text-repr-fallback {\n",
  1514. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  1515. " display: none;\n",
  1516. "}\n",
  1517. "\n",
  1518. ".xr-header {\n",
  1519. " padding-top: 6px;\n",
  1520. " padding-bottom: 6px;\n",
  1521. " margin-bottom: 4px;\n",
  1522. " border-bottom: solid 1px var(--xr-border-color);\n",
  1523. "}\n",
  1524. "\n",
  1525. ".xr-header > div,\n",
  1526. ".xr-header > ul {\n",
  1527. " display: inline;\n",
  1528. " margin-top: 0;\n",
  1529. " margin-bottom: 0;\n",
  1530. "}\n",
  1531. "\n",
  1532. ".xr-obj-type,\n",
  1533. ".xr-array-name {\n",
  1534. " margin-left: 2px;\n",
  1535. " margin-right: 10px;\n",
  1536. "}\n",
  1537. "\n",
  1538. ".xr-obj-type {\n",
  1539. " color: var(--xr-font-color2);\n",
  1540. "}\n",
  1541. "\n",
  1542. ".xr-sections {\n",
  1543. " padding-left: 0 !important;\n",
  1544. " display: grid;\n",
  1545. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  1546. "}\n",
  1547. "\n",
  1548. ".xr-section-item {\n",
  1549. " display: contents;\n",
  1550. "}\n",
  1551. "\n",
  1552. ".xr-section-item input {\n",
  1553. " display: none;\n",
  1554. "}\n",
  1555. "\n",
  1556. ".xr-section-item input + label {\n",
  1557. " color: var(--xr-disabled-color);\n",
  1558. "}\n",
  1559. "\n",
  1560. ".xr-section-item input:enabled + label {\n",
  1561. " cursor: pointer;\n",
  1562. " color: var(--xr-font-color2);\n",
  1563. "}\n",
  1564. "\n",
  1565. ".xr-section-item input:enabled + label:hover {\n",
  1566. " color: var(--xr-font-color0);\n",
  1567. "}\n",
  1568. "\n",
  1569. ".xr-section-summary {\n",
  1570. " grid-column: 1;\n",
  1571. " color: var(--xr-font-color2);\n",
  1572. " font-weight: 500;\n",
  1573. "}\n",
  1574. "\n",
  1575. ".xr-section-summary > span {\n",
  1576. " display: inline-block;\n",
  1577. " padding-left: 0.5em;\n",
  1578. "}\n",
  1579. "\n",
  1580. ".xr-section-summary-in:disabled + label {\n",
  1581. " color: var(--xr-font-color2);\n",
  1582. "}\n",
  1583. "\n",
  1584. ".xr-section-summary-in + label:before {\n",
  1585. " display: inline-block;\n",
  1586. " content: 'â–º';\n",
  1587. " font-size: 11px;\n",
  1588. " width: 15px;\n",
  1589. " text-align: center;\n",
  1590. "}\n",
  1591. "\n",
  1592. ".xr-section-summary-in:disabled + label:before {\n",
  1593. " color: var(--xr-disabled-color);\n",
  1594. "}\n",
  1595. "\n",
  1596. ".xr-section-summary-in:checked + label:before {\n",
  1597. " content: 'â–¼';\n",
  1598. "}\n",
  1599. "\n",
  1600. ".xr-section-summary-in:checked + label > span {\n",
  1601. " display: none;\n",
  1602. "}\n",
  1603. "\n",
  1604. ".xr-section-summary,\n",
  1605. ".xr-section-inline-details {\n",
  1606. " padding-top: 4px;\n",
  1607. " padding-bottom: 4px;\n",
  1608. "}\n",
  1609. "\n",
  1610. ".xr-section-inline-details {\n",
  1611. " grid-column: 2 / -1;\n",
  1612. "}\n",
  1613. "\n",
  1614. ".xr-section-details {\n",
  1615. " display: none;\n",
  1616. " grid-column: 1 / -1;\n",
  1617. " margin-bottom: 5px;\n",
  1618. "}\n",
  1619. "\n",
  1620. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  1621. " display: contents;\n",
  1622. "}\n",
  1623. "\n",
  1624. ".xr-array-wrap {\n",
  1625. " grid-column: 1 / -1;\n",
  1626. " display: grid;\n",
  1627. " grid-template-columns: 20px auto;\n",
  1628. "}\n",
  1629. "\n",
  1630. ".xr-array-wrap > label {\n",
  1631. " grid-column: 1;\n",
  1632. " vertical-align: top;\n",
  1633. "}\n",
  1634. "\n",
  1635. ".xr-preview {\n",
  1636. " color: var(--xr-font-color3);\n",
  1637. "}\n",
  1638. "\n",
  1639. ".xr-array-preview,\n",
  1640. ".xr-array-data {\n",
  1641. " padding: 0 5px !important;\n",
  1642. " grid-column: 2;\n",
  1643. "}\n",
  1644. "\n",
  1645. ".xr-array-data,\n",
  1646. ".xr-array-in:checked ~ .xr-array-preview {\n",
  1647. " display: none;\n",
  1648. "}\n",
  1649. "\n",
  1650. ".xr-array-in:checked ~ .xr-array-data,\n",
  1651. ".xr-array-preview {\n",
  1652. " display: inline-block;\n",
  1653. "}\n",
  1654. "\n",
  1655. ".xr-dim-list {\n",
  1656. " display: inline-block !important;\n",
  1657. " list-style: none;\n",
  1658. " padding: 0 !important;\n",
  1659. " margin: 0;\n",
  1660. "}\n",
  1661. "\n",
  1662. ".xr-dim-list li {\n",
  1663. " display: inline-block;\n",
  1664. " padding: 0;\n",
  1665. " margin: 0;\n",
  1666. "}\n",
  1667. "\n",
  1668. ".xr-dim-list:before {\n",
  1669. " content: '(';\n",
  1670. "}\n",
  1671. "\n",
  1672. ".xr-dim-list:after {\n",
  1673. " content: ')';\n",
  1674. "}\n",
  1675. "\n",
  1676. ".xr-dim-list li:not(:last-child):after {\n",
  1677. " content: ',';\n",
  1678. " padding-right: 5px;\n",
  1679. "}\n",
  1680. "\n",
  1681. ".xr-has-index {\n",
  1682. " font-weight: bold;\n",
  1683. "}\n",
  1684. "\n",
  1685. ".xr-var-list,\n",
  1686. ".xr-var-item {\n",
  1687. " display: contents;\n",
  1688. "}\n",
  1689. "\n",
  1690. ".xr-var-item > div,\n",
  1691. ".xr-var-item label,\n",
  1692. ".xr-var-item > .xr-var-name span {\n",
  1693. " background-color: var(--xr-background-color-row-even);\n",
  1694. " margin-bottom: 0;\n",
  1695. "}\n",
  1696. "\n",
  1697. ".xr-var-item > .xr-var-name:hover span {\n",
  1698. " padding-right: 5px;\n",
  1699. "}\n",
  1700. "\n",
  1701. ".xr-var-list > li:nth-child(odd) > div,\n",
  1702. ".xr-var-list > li:nth-child(odd) > label,\n",
  1703. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  1704. " background-color: var(--xr-background-color-row-odd);\n",
  1705. "}\n",
  1706. "\n",
  1707. ".xr-var-name {\n",
  1708. " grid-column: 1;\n",
  1709. "}\n",
  1710. "\n",
  1711. ".xr-var-dims {\n",
  1712. " grid-column: 2;\n",
  1713. "}\n",
  1714. "\n",
  1715. ".xr-var-dtype {\n",
  1716. " grid-column: 3;\n",
  1717. " text-align: right;\n",
  1718. " color: var(--xr-font-color2);\n",
  1719. "}\n",
  1720. "\n",
  1721. ".xr-var-preview {\n",
  1722. " grid-column: 4;\n",
  1723. "}\n",
  1724. "\n",
  1725. ".xr-index-preview {\n",
  1726. " grid-column: 2 / 5;\n",
  1727. " color: var(--xr-font-color2);\n",
  1728. "}\n",
  1729. "\n",
  1730. ".xr-var-name,\n",
  1731. ".xr-var-dims,\n",
  1732. ".xr-var-dtype,\n",
  1733. ".xr-preview,\n",
  1734. ".xr-attrs dt {\n",
  1735. " white-space: nowrap;\n",
  1736. " overflow: hidden;\n",
  1737. " text-overflow: ellipsis;\n",
  1738. " padding-right: 10px;\n",
  1739. "}\n",
  1740. "\n",
  1741. ".xr-var-name:hover,\n",
  1742. ".xr-var-dims:hover,\n",
  1743. ".xr-var-dtype:hover,\n",
  1744. ".xr-attrs dt:hover {\n",
  1745. " overflow: visible;\n",
  1746. " width: auto;\n",
  1747. " z-index: 1;\n",
  1748. "}\n",
  1749. "\n",
  1750. ".xr-var-attrs,\n",
  1751. ".xr-var-data,\n",
  1752. ".xr-index-data {\n",
  1753. " display: none;\n",
  1754. " background-color: var(--xr-background-color) !important;\n",
  1755. " padding-bottom: 5px !important;\n",
  1756. "}\n",
  1757. "\n",
  1758. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  1759. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  1760. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  1761. " display: block;\n",
  1762. "}\n",
  1763. "\n",
  1764. ".xr-var-data > table {\n",
  1765. " float: right;\n",
  1766. "}\n",
  1767. "\n",
  1768. ".xr-var-name span,\n",
  1769. ".xr-var-data,\n",
  1770. ".xr-index-name div,\n",
  1771. ".xr-index-data,\n",
  1772. ".xr-attrs {\n",
  1773. " padding-left: 25px !important;\n",
  1774. "}\n",
  1775. "\n",
  1776. ".xr-attrs,\n",
  1777. ".xr-var-attrs,\n",
  1778. ".xr-var-data,\n",
  1779. ".xr-index-data {\n",
  1780. " grid-column: 1 / -1;\n",
  1781. "}\n",
  1782. "\n",
  1783. "dl.xr-attrs {\n",
  1784. " padding: 0;\n",
  1785. " margin: 0;\n",
  1786. " display: grid;\n",
  1787. " grid-template-columns: 125px auto;\n",
  1788. "}\n",
  1789. "\n",
  1790. ".xr-attrs dt,\n",
  1791. ".xr-attrs dd {\n",
  1792. " padding: 0;\n",
  1793. " margin: 0;\n",
  1794. " float: left;\n",
  1795. " padding-right: 10px;\n",
  1796. " width: auto;\n",
  1797. "}\n",
  1798. "\n",
  1799. ".xr-attrs dt {\n",
  1800. " font-weight: normal;\n",
  1801. " grid-column: 1;\n",
  1802. "}\n",
  1803. "\n",
  1804. ".xr-attrs dt:hover span {\n",
  1805. " display: inline-block;\n",
  1806. " background: var(--xr-background-color);\n",
  1807. " padding-right: 10px;\n",
  1808. "}\n",
  1809. "\n",
  1810. ".xr-attrs dd {\n",
  1811. " grid-column: 2;\n",
  1812. " white-space: pre-wrap;\n",
  1813. " word-break: break-all;\n",
  1814. "}\n",
  1815. "\n",
  1816. ".xr-icon-database,\n",
  1817. ".xr-icon-file-text2,\n",
  1818. ".xr-no-icon {\n",
  1819. " display: inline-block;\n",
  1820. " vertical-align: middle;\n",
  1821. " width: 1em;\n",
  1822. " height: 1.5em !important;\n",
  1823. " stroke-width: 0;\n",
  1824. " stroke: currentColor;\n",
  1825. " fill: currentColor;\n",
  1826. "}\n",
  1827. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  1828. "Dimensions: (sin_mod_freq: 37)\n",
  1829. "Coordinates:\n",
  1830. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  1831. "Data variables:\n",
  1832. " amplitude (sin_mod_freq) float64 1.808e+03 1.824e+03 ... 1.838e+03\n",
  1833. " centerx (sin_mod_freq) float64 73.1 74.3 72.99 ... 73.44 73.32 73.94\n",
  1834. " centery (sin_mod_freq) float64 102.0 101.4 102.1 ... 101.7 102.4 102.6\n",
  1835. " sigmax (sin_mod_freq) float64 13.57 13.13 13.86 ... 14.41 14.1 14.47\n",
  1836. " sigmay (sin_mod_freq) float64 14.06 13.93 14.49 ... 14.98 14.53 14.95\n",
  1837. " fwhmx (sin_mod_freq) float64 31.95 30.93 32.63 ... 33.94 33.21 34.08\n",
  1838. " fwhmy (sin_mod_freq) float64 33.12 32.8 34.11 ... 35.29 34.22 35.21\n",
  1839. " height (sin_mod_freq) float64 14.88 15.66 15.11 ... 12.13 12.67 13.34</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-b16ca569-424f-49fb-9624-e80ad59ef0ca' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-b16ca569-424f-49fb-9624-e80ad59ef0ca' 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'>sin_mod_freq</span>: 37</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-9a359b01-9c2b-46af-a2a0-d462271c3b0c' class='xr-section-summary-in' type='checkbox' checked><label for='section-9a359b01-9c2b-46af-a2a0-d462271c3b0c' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>sin_mod_freq</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>65.0 66.0 67.0 ... 99.0 100.0 101.0</div><input id='attrs-9a06a662-aff5-4a41-8e42-64faaaf903eb' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-9a06a662-aff5-4a41-8e42-64faaaf903eb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-048ed711-76a4-4a48-bb3b-94d3b8dd1c3c' class='xr-var-data-in' type='checkbox'><label for='data-048ed711-76a4-4a48-bb3b-94d3b8dd1c3c' 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([ 65., 66., 67., 68., 69., 70., 71., 72., 73., 74., 75., 76.,\n",
  1840. " 77., 78., 79., 80., 81., 82., 83., 84., 85., 86., 87., 88.,\n",
  1841. " 89., 90., 91., 92., 93., 94., 95., 96., 97., 98., 99., 100.,\n",
  1842. " 101.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-1a5994d9-6c25-4135-bd3e-2811c25b3649' class='xr-section-summary-in' type='checkbox' checked><label for='section-1a5994d9-6c25-4135-bd3e-2811c25b3649' class='xr-section-summary' >Data variables: <span>(8)</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>amplitude</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>1.808e+03 1.824e+03 ... 1.838e+03</div><input id='attrs-69c255fd-e596-4d70-8fc6-4c2dc651ba8e' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-69c255fd-e596-4d70-8fc6-4c2dc651ba8e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d0fb36f1-8b63-4112-a8fe-66496ff31713' class='xr-var-data-in' type='checkbox'><label for='data-d0fb36f1-8b63-4112-a8fe-66496ff31713' 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([1807.93528127, 1823.85154775, 1930.52699446, 2043.21337596,\n",
  1843. " 1755.28170587, 1928.90722727, 1643.95095489, 1283.65467467,\n",
  1844. " 808.72834012, 865.21929277, 1035.53685034, 1106.42181287,\n",
  1845. " 1412.38825624, 1371.48258955, 1196.81425677, 915.16240689,\n",
  1846. " 1146.63503079, 865.02846807, 1084.08216459, 967.18640745,\n",
  1847. " 1051.010351 , 1050.16006046, 1215.44969246, 1362.91431476,\n",
  1848. " 1217.75835749, 1272.49697584, 1481.75493508, 1464.34592017,\n",
  1849. " 1657.25602169, 1696.49246918, 1796.62378969, 1634.71899161,\n",
  1850. " 1840.97400511, 1842.53816907, 1668.38908365, 1652.79358228,\n",
  1851. " 1838.30544459])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>centerx</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>73.1 74.3 72.99 ... 73.32 73.94</div><input id='attrs-03fafef3-da1e-4c90-987a-2c1d7dea1bc6' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-03fafef3-da1e-4c90-987a-2c1d7dea1bc6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9032f8ec-9c8d-4dd2-8f3f-eeb362b81121' class='xr-var-data-in' type='checkbox'><label for='data-9032f8ec-9c8d-4dd2-8f3f-eeb362b81121' 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([73.09504892, 74.2961648 , 72.99174212, 74.04348413, 73.22260606,\n",
  1852. " 74.18857612, 72.78553034, 74.97292592, 73.71314922, 72.01768796,\n",
  1853. " 74.64580353, 72.19659785, 75.62422128, 72.47608378, 74.504872 ,\n",
  1854. " 73.11416511, 73.66486606, 72.66877375, 73.70722415, 73.6648867 ,\n",
  1855. " 73.39905462, 73.7277819 , 73.47676618, 73.88127094, 73.05124233,\n",
  1856. " 73.61076109, 74.44622984, 73.64707412, 74.68086049, 73.38788184,\n",
  1857. " 73.8291442 , 73.54267863, 74.76275625, 73.73687047, 73.4383767 ,\n",
  1858. " 73.31801867, 73.93961529])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>centery</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>102.0 101.4 102.1 ... 102.4 102.6</div><input id='attrs-5b07a723-b710-420d-828a-4721d4d2d180' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-5b07a723-b710-420d-828a-4721d4d2d180' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0c45e941-4f12-4a94-a4a3-139718de7ce1' class='xr-var-data-in' type='checkbox'><label for='data-0c45e941-4f12-4a94-a4a3-139718de7ce1' 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([102.02065787, 101.40658166, 102.09392519, 102.25438654,\n",
  1859. " 102.2670119 , 102.52475183, 102.1406389 , 102.26768833,\n",
  1860. " 102.57357475, 102.05818657, 102.5193245 , 101.8701202 ,\n",
  1861. " 102.41939658, 103.10524973, 102.48141228, 102.63252011,\n",
  1862. " 102.48212386, 101.59476336, 102.20244382, 102.4378397 ,\n",
  1863. " 102.67450561, 102.67557878, 101.89233182, 102.33627655,\n",
  1864. " 102.70081039, 102.72444145, 101.89323699, 102.57296304,\n",
  1865. " 102.522762 , 102.08813975, 102.82408395, 101.05807313,\n",
  1866. " 103.08641643, 102.65939138, 101.65246632, 102.35511604,\n",
  1867. " 102.56255368])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>sigmax</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>13.57 13.13 13.86 ... 14.1 14.47</div><input id='attrs-c4082315-03e8-4c20-bee8-f95ca23f5ef5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c4082315-03e8-4c20-bee8-f95ca23f5ef5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-85ba9d5c-c018-4688-ab53-3ffec042e0fd' class='xr-var-data-in' type='checkbox'><label for='data-85ba9d5c-c018-4688-ab53-3ffec042e0fd' 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.5691735 , 13.13430177, 13.85572302, 13.75440855, 13.720683 ,\n",
  1868. " 14.52516874, 14.52583428, 14.89688471, 17.03144916, 16.75918137,\n",
  1869. " 17.01356513, 15.73297018, 15.20840342, 15.25850408, 15.49555383,\n",
  1870. " 16.05883375, 16.15979326, 16.05513176, 16.11833107, 16.37001508,\n",
  1871. " 15.87933474, 16.39350716, 15.96794591, 15.66836669, 16.01693447,\n",
  1872. " 15.29321879, 14.87997156, 15.21032252, 14.91656733, 14.57482083,\n",
  1873. " 15.40894035, 14.20511874, 14.40218836, 14.6416765 , 14.41249798,\n",
  1874. " 14.10096203, 14.4723655 ])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>sigmay</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>14.06 13.93 14.49 ... 14.53 14.95</div><input id='attrs-59d7f0fd-07a0-485d-a321-a7f1d2dc39bb' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-59d7f0fd-07a0-485d-a321-a7f1d2dc39bb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1057992d-a9da-443d-8d9a-d0601bb47dcc' class='xr-var-data-in' type='checkbox'><label for='data-1057992d-a9da-443d-8d9a-d0601bb47dcc' 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([14.06347139, 13.9298189 , 14.4858854 , 14.39934646, 14.27531429,\n",
  1875. " 15.17673738, 14.82353887, 15.05124818, 16.953293 , 16.72497202,\n",
  1876. " 16.80107317, 15.8311623 , 15.41953837, 15.43527348, 15.61410368,\n",
  1877. " 15.90018414, 16.18510711, 15.94420795, 16.47725015, 16.45599857,\n",
  1878. " 16.23727608, 16.38777376, 16.00877073, 15.87241749, 16.18279681,\n",
  1879. " 15.3962658 , 15.10517002, 15.38423864, 14.97613875, 14.91383042,\n",
  1880. " 15.4906641 , 14.79252339, 15.06554254, 14.96508184, 14.98475356,\n",
  1881. " 14.53172023, 14.95164104])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhmx</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>31.95 30.93 32.63 ... 33.21 34.08</div><input id='attrs-20b8310d-5bfa-4b1e-b5a8-f32aede111be' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-20b8310d-5bfa-4b1e-b5a8-f32aede111be' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e62025aa-b49e-4657-8e52-5f13f9b847c2' class='xr-var-data-in' type='checkbox'><label for='data-e62025aa-b49e-4657-8e52-5f13f9b847c2' 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([31.95296115, 30.9289165 , 32.62773368, 32.38915634, 32.30973875,\n",
  1882. " 34.20415786, 34.20572508, 35.07948204, 40.10599712, 39.46485547,\n",
  1883. " 40.06388344, 37.04831283, 35.81305255, 35.93103059, 36.48924008,\n",
  1884. " 37.8156629 , 38.05340437, 37.80694536, 37.95576838, 38.5484389 ,\n",
  1885. " 37.39297502, 38.60375853, 37.60163839, 36.89618325, 37.71699762,\n",
  1886. " 36.01277746, 35.03965462, 35.81757167, 35.12583107, 34.32107959,\n",
  1887. " 36.28528092, 33.45049772, 33.91456118, 34.47851266, 33.9388385 ,\n",
  1888. " 33.2052274 , 34.07981572])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhmy</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>33.12 32.8 34.11 ... 34.22 35.21</div><input id='attrs-b0154a41-1124-41f7-a6d6-38eddd2d0057' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b0154a41-1124-41f7-a6d6-38eddd2d0057' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7fe05271-c015-41c8-b7b7-dbb0e5098425' class='xr-var-data-in' type='checkbox'><label for='data-7fe05271-c015-41c8-b7b7-dbb0e5098425' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([33.11694369, 32.80221615, 34.11165266, 33.90786903, 33.6157956 ,\n",
  1889. " 35.73848472, 34.90676581, 35.44298023, 39.92195342, 39.38429861,\n",
  1890. " 39.56350313, 37.27953762, 36.31023736, 36.34729069, 36.76840363,\n",
  1891. " 37.44207162, 38.11301392, 37.54573976, 38.80095819, 38.75091454,\n",
  1892. " 38.23586246, 38.59025741, 37.69777349, 37.37668616, 38.10757359,\n",
  1893. " 36.25543463, 35.56995646, 36.22711283, 35.26611106, 35.11938614,\n",
  1894. " 36.47772564, 34.83372993, 35.47664087, 35.24007403, 35.28639738,\n",
  1895. " 34.21958544, 35.20842336])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>height</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>14.88 15.66 15.11 ... 12.67 13.34</div><input id='attrs-8641450c-34bf-41c7-a7e3-4abc77174512' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-8641450c-34bf-41c7-a7e3-4abc77174512' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ccbdc5eb-958a-45be-a9dc-a9a565b530bd' class='xr-var-data-in' type='checkbox'><label for='data-ccbdc5eb-958a-45be-a9dc-a9a565b530bd' 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([14.88184648, 15.65874295, 15.10850561, 16.20499463, 14.07684364,\n",
  1896. " 13.74458414, 11.99266617, 8.99290702, 4.39963716, 4.84872846,\n",
  1897. " 5.69053471, 6.97777687, 9.46060633, 9.14710957, 7.77002581,\n",
  1898. " 5.62991562, 6.88642302, 5.30803094, 6.41176006, 5.6397095 ,\n",
  1899. " 6.40296878, 6.14021435, 7.46878263, 8.60838372, 7.37985805,\n",
  1900. " 8.48911324, 10.35543944, 9.82990047, 11.65307999, 12.25968695,\n",
  1901. " 11.82317737, 12.22013053, 13.327671 , 13.20889413, 12.13468046,\n",
  1902. " 12.66988626, 13.34471058])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-99363739-3a85-453a-a7fd-55b609c1de7c' class='xr-section-summary-in' type='checkbox' ><label for='section-99363739-3a85-453a-a7fd-55b609c1de7c' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>sin_mod_freq</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-ed47bed7-852a-4fb0-95ef-eb2ec3b29863' class='xr-index-data-in' type='checkbox'/><label for='index-ed47bed7-852a-4fb0-95ef-eb2ec3b29863' 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([ 65.0, 66.0, 67.0, 68.0, 69.0, 70.0, 71.0, 72.0, 73.0,\n",
  1903. " 74.0, 75.0, 76.0, 77.0, 78.0, 79.0, 80.0, 81.0, 82.0,\n",
  1904. " 83.0, 84.0, 85.0, 86.0, 87.0, 88.0, 89.0, 90.0, 91.0,\n",
  1905. " 92.0, 93.0, 94.0, 95.0, 96.0, 97.0, 98.0, 99.0, 100.0,\n",
  1906. " 101.0],\n",
  1907. " dtype=&#x27;float64&#x27;, name=&#x27;sin_mod_freq&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-4f9e0301-7ad5-4e4d-a1ea-0c8b7f72e5fe' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-4f9e0301-7ad5-4e4d-a1ea-0c8b7f72e5fe' 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>"
  1908. ],
  1909. "text/plain": [
  1910. "<xarray.Dataset>\n",
  1911. "Dimensions: (sin_mod_freq: 37)\n",
  1912. "Coordinates:\n",
  1913. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  1914. "Data variables:\n",
  1915. " amplitude (sin_mod_freq) float64 1.808e+03 1.824e+03 ... 1.838e+03\n",
  1916. " centerx (sin_mod_freq) float64 73.1 74.3 72.99 ... 73.44 73.32 73.94\n",
  1917. " centery (sin_mod_freq) float64 102.0 101.4 102.1 ... 101.7 102.4 102.6\n",
  1918. " sigmax (sin_mod_freq) float64 13.57 13.13 13.86 ... 14.41 14.1 14.47\n",
  1919. " sigmay (sin_mod_freq) float64 14.06 13.93 14.49 ... 14.98 14.53 14.95\n",
  1920. " fwhmx (sin_mod_freq) float64 31.95 30.93 32.63 ... 33.94 33.21 34.08\n",
  1921. " fwhmy (sin_mod_freq) float64 33.12 32.8 34.11 ... 35.29 34.22 35.21\n",
  1922. " height (sin_mod_freq) float64 14.88 15.66 15.11 ... 12.13 12.67 13.34"
  1923. ]
  1924. },
  1925. "execution_count": 9,
  1926. "metadata": {},
  1927. "output_type": "execute_result"
  1928. }
  1929. ],
  1930. "source": [
  1931. "fitAnalyser.get_fit_value(fitResult)"
  1932. ]
  1933. },
  1934. {
  1935. "cell_type": "code",
  1936. "execution_count": 10,
  1937. "metadata": {},
  1938. "outputs": [
  1939. {
  1940. "data": {
  1941. "text/html": [
  1942. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  1943. "<defs>\n",
  1944. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  1945. "<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",
  1946. "<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",
  1947. "<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",
  1948. "</symbol>\n",
  1949. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  1950. "<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",
  1951. "<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",
  1952. "<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",
  1953. "<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",
  1954. "</symbol>\n",
  1955. "</defs>\n",
  1956. "</svg>\n",
  1957. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  1958. " *\n",
  1959. " */\n",
  1960. "\n",
  1961. ":root {\n",
  1962. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  1963. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  1964. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  1965. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  1966. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  1967. " --xr-background-color: var(--jp-layout-color0, white);\n",
  1968. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  1969. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  1970. "}\n",
  1971. "\n",
  1972. "html[theme=dark],\n",
  1973. "body[data-theme=dark],\n",
  1974. "body.vscode-dark {\n",
  1975. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  1976. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  1977. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  1978. " --xr-border-color: #1F1F1F;\n",
  1979. " --xr-disabled-color: #515151;\n",
  1980. " --xr-background-color: #111111;\n",
  1981. " --xr-background-color-row-even: #111111;\n",
  1982. " --xr-background-color-row-odd: #313131;\n",
  1983. "}\n",
  1984. "\n",
  1985. ".xr-wrap {\n",
  1986. " display: block !important;\n",
  1987. " min-width: 300px;\n",
  1988. " max-width: 700px;\n",
  1989. "}\n",
  1990. "\n",
  1991. ".xr-text-repr-fallback {\n",
  1992. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  1993. " display: none;\n",
  1994. "}\n",
  1995. "\n",
  1996. ".xr-header {\n",
  1997. " padding-top: 6px;\n",
  1998. " padding-bottom: 6px;\n",
  1999. " margin-bottom: 4px;\n",
  2000. " border-bottom: solid 1px var(--xr-border-color);\n",
  2001. "}\n",
  2002. "\n",
  2003. ".xr-header > div,\n",
  2004. ".xr-header > ul {\n",
  2005. " display: inline;\n",
  2006. " margin-top: 0;\n",
  2007. " margin-bottom: 0;\n",
  2008. "}\n",
  2009. "\n",
  2010. ".xr-obj-type,\n",
  2011. ".xr-array-name {\n",
  2012. " margin-left: 2px;\n",
  2013. " margin-right: 10px;\n",
  2014. "}\n",
  2015. "\n",
  2016. ".xr-obj-type {\n",
  2017. " color: var(--xr-font-color2);\n",
  2018. "}\n",
  2019. "\n",
  2020. ".xr-sections {\n",
  2021. " padding-left: 0 !important;\n",
  2022. " display: grid;\n",
  2023. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  2024. "}\n",
  2025. "\n",
  2026. ".xr-section-item {\n",
  2027. " display: contents;\n",
  2028. "}\n",
  2029. "\n",
  2030. ".xr-section-item input {\n",
  2031. " display: none;\n",
  2032. "}\n",
  2033. "\n",
  2034. ".xr-section-item input + label {\n",
  2035. " color: var(--xr-disabled-color);\n",
  2036. "}\n",
  2037. "\n",
  2038. ".xr-section-item input:enabled + label {\n",
  2039. " cursor: pointer;\n",
  2040. " color: var(--xr-font-color2);\n",
  2041. "}\n",
  2042. "\n",
  2043. ".xr-section-item input:enabled + label:hover {\n",
  2044. " color: var(--xr-font-color0);\n",
  2045. "}\n",
  2046. "\n",
  2047. ".xr-section-summary {\n",
  2048. " grid-column: 1;\n",
  2049. " color: var(--xr-font-color2);\n",
  2050. " font-weight: 500;\n",
  2051. "}\n",
  2052. "\n",
  2053. ".xr-section-summary > span {\n",
  2054. " display: inline-block;\n",
  2055. " padding-left: 0.5em;\n",
  2056. "}\n",
  2057. "\n",
  2058. ".xr-section-summary-in:disabled + label {\n",
  2059. " color: var(--xr-font-color2);\n",
  2060. "}\n",
  2061. "\n",
  2062. ".xr-section-summary-in + label:before {\n",
  2063. " display: inline-block;\n",
  2064. " content: 'â–º';\n",
  2065. " font-size: 11px;\n",
  2066. " width: 15px;\n",
  2067. " text-align: center;\n",
  2068. "}\n",
  2069. "\n",
  2070. ".xr-section-summary-in:disabled + label:before {\n",
  2071. " color: var(--xr-disabled-color);\n",
  2072. "}\n",
  2073. "\n",
  2074. ".xr-section-summary-in:checked + label:before {\n",
  2075. " content: 'â–¼';\n",
  2076. "}\n",
  2077. "\n",
  2078. ".xr-section-summary-in:checked + label > span {\n",
  2079. " display: none;\n",
  2080. "}\n",
  2081. "\n",
  2082. ".xr-section-summary,\n",
  2083. ".xr-section-inline-details {\n",
  2084. " padding-top: 4px;\n",
  2085. " padding-bottom: 4px;\n",
  2086. "}\n",
  2087. "\n",
  2088. ".xr-section-inline-details {\n",
  2089. " grid-column: 2 / -1;\n",
  2090. "}\n",
  2091. "\n",
  2092. ".xr-section-details {\n",
  2093. " display: none;\n",
  2094. " grid-column: 1 / -1;\n",
  2095. " margin-bottom: 5px;\n",
  2096. "}\n",
  2097. "\n",
  2098. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  2099. " display: contents;\n",
  2100. "}\n",
  2101. "\n",
  2102. ".xr-array-wrap {\n",
  2103. " grid-column: 1 / -1;\n",
  2104. " display: grid;\n",
  2105. " grid-template-columns: 20px auto;\n",
  2106. "}\n",
  2107. "\n",
  2108. ".xr-array-wrap > label {\n",
  2109. " grid-column: 1;\n",
  2110. " vertical-align: top;\n",
  2111. "}\n",
  2112. "\n",
  2113. ".xr-preview {\n",
  2114. " color: var(--xr-font-color3);\n",
  2115. "}\n",
  2116. "\n",
  2117. ".xr-array-preview,\n",
  2118. ".xr-array-data {\n",
  2119. " padding: 0 5px !important;\n",
  2120. " grid-column: 2;\n",
  2121. "}\n",
  2122. "\n",
  2123. ".xr-array-data,\n",
  2124. ".xr-array-in:checked ~ .xr-array-preview {\n",
  2125. " display: none;\n",
  2126. "}\n",
  2127. "\n",
  2128. ".xr-array-in:checked ~ .xr-array-data,\n",
  2129. ".xr-array-preview {\n",
  2130. " display: inline-block;\n",
  2131. "}\n",
  2132. "\n",
  2133. ".xr-dim-list {\n",
  2134. " display: inline-block !important;\n",
  2135. " list-style: none;\n",
  2136. " padding: 0 !important;\n",
  2137. " margin: 0;\n",
  2138. "}\n",
  2139. "\n",
  2140. ".xr-dim-list li {\n",
  2141. " display: inline-block;\n",
  2142. " padding: 0;\n",
  2143. " margin: 0;\n",
  2144. "}\n",
  2145. "\n",
  2146. ".xr-dim-list:before {\n",
  2147. " content: '(';\n",
  2148. "}\n",
  2149. "\n",
  2150. ".xr-dim-list:after {\n",
  2151. " content: ')';\n",
  2152. "}\n",
  2153. "\n",
  2154. ".xr-dim-list li:not(:last-child):after {\n",
  2155. " content: ',';\n",
  2156. " padding-right: 5px;\n",
  2157. "}\n",
  2158. "\n",
  2159. ".xr-has-index {\n",
  2160. " font-weight: bold;\n",
  2161. "}\n",
  2162. "\n",
  2163. ".xr-var-list,\n",
  2164. ".xr-var-item {\n",
  2165. " display: contents;\n",
  2166. "}\n",
  2167. "\n",
  2168. ".xr-var-item > div,\n",
  2169. ".xr-var-item label,\n",
  2170. ".xr-var-item > .xr-var-name span {\n",
  2171. " background-color: var(--xr-background-color-row-even);\n",
  2172. " margin-bottom: 0;\n",
  2173. "}\n",
  2174. "\n",
  2175. ".xr-var-item > .xr-var-name:hover span {\n",
  2176. " padding-right: 5px;\n",
  2177. "}\n",
  2178. "\n",
  2179. ".xr-var-list > li:nth-child(odd) > div,\n",
  2180. ".xr-var-list > li:nth-child(odd) > label,\n",
  2181. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  2182. " background-color: var(--xr-background-color-row-odd);\n",
  2183. "}\n",
  2184. "\n",
  2185. ".xr-var-name {\n",
  2186. " grid-column: 1;\n",
  2187. "}\n",
  2188. "\n",
  2189. ".xr-var-dims {\n",
  2190. " grid-column: 2;\n",
  2191. "}\n",
  2192. "\n",
  2193. ".xr-var-dtype {\n",
  2194. " grid-column: 3;\n",
  2195. " text-align: right;\n",
  2196. " color: var(--xr-font-color2);\n",
  2197. "}\n",
  2198. "\n",
  2199. ".xr-var-preview {\n",
  2200. " grid-column: 4;\n",
  2201. "}\n",
  2202. "\n",
  2203. ".xr-index-preview {\n",
  2204. " grid-column: 2 / 5;\n",
  2205. " color: var(--xr-font-color2);\n",
  2206. "}\n",
  2207. "\n",
  2208. ".xr-var-name,\n",
  2209. ".xr-var-dims,\n",
  2210. ".xr-var-dtype,\n",
  2211. ".xr-preview,\n",
  2212. ".xr-attrs dt {\n",
  2213. " white-space: nowrap;\n",
  2214. " overflow: hidden;\n",
  2215. " text-overflow: ellipsis;\n",
  2216. " padding-right: 10px;\n",
  2217. "}\n",
  2218. "\n",
  2219. ".xr-var-name:hover,\n",
  2220. ".xr-var-dims:hover,\n",
  2221. ".xr-var-dtype:hover,\n",
  2222. ".xr-attrs dt:hover {\n",
  2223. " overflow: visible;\n",
  2224. " width: auto;\n",
  2225. " z-index: 1;\n",
  2226. "}\n",
  2227. "\n",
  2228. ".xr-var-attrs,\n",
  2229. ".xr-var-data,\n",
  2230. ".xr-index-data {\n",
  2231. " display: none;\n",
  2232. " background-color: var(--xr-background-color) !important;\n",
  2233. " padding-bottom: 5px !important;\n",
  2234. "}\n",
  2235. "\n",
  2236. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  2237. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  2238. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  2239. " display: block;\n",
  2240. "}\n",
  2241. "\n",
  2242. ".xr-var-data > table {\n",
  2243. " float: right;\n",
  2244. "}\n",
  2245. "\n",
  2246. ".xr-var-name span,\n",
  2247. ".xr-var-data,\n",
  2248. ".xr-index-name div,\n",
  2249. ".xr-index-data,\n",
  2250. ".xr-attrs {\n",
  2251. " padding-left: 25px !important;\n",
  2252. "}\n",
  2253. "\n",
  2254. ".xr-attrs,\n",
  2255. ".xr-var-attrs,\n",
  2256. ".xr-var-data,\n",
  2257. ".xr-index-data {\n",
  2258. " grid-column: 1 / -1;\n",
  2259. "}\n",
  2260. "\n",
  2261. "dl.xr-attrs {\n",
  2262. " padding: 0;\n",
  2263. " margin: 0;\n",
  2264. " display: grid;\n",
  2265. " grid-template-columns: 125px auto;\n",
  2266. "}\n",
  2267. "\n",
  2268. ".xr-attrs dt,\n",
  2269. ".xr-attrs dd {\n",
  2270. " padding: 0;\n",
  2271. " margin: 0;\n",
  2272. " float: left;\n",
  2273. " padding-right: 10px;\n",
  2274. " width: auto;\n",
  2275. "}\n",
  2276. "\n",
  2277. ".xr-attrs dt {\n",
  2278. " font-weight: normal;\n",
  2279. " grid-column: 1;\n",
  2280. "}\n",
  2281. "\n",
  2282. ".xr-attrs dt:hover span {\n",
  2283. " display: inline-block;\n",
  2284. " background: var(--xr-background-color);\n",
  2285. " padding-right: 10px;\n",
  2286. "}\n",
  2287. "\n",
  2288. ".xr-attrs dd {\n",
  2289. " grid-column: 2;\n",
  2290. " white-space: pre-wrap;\n",
  2291. " word-break: break-all;\n",
  2292. "}\n",
  2293. "\n",
  2294. ".xr-icon-database,\n",
  2295. ".xr-icon-file-text2,\n",
  2296. ".xr-no-icon {\n",
  2297. " display: inline-block;\n",
  2298. " vertical-align: middle;\n",
  2299. " width: 1em;\n",
  2300. " height: 1.5em !important;\n",
  2301. " stroke-width: 0;\n",
  2302. " stroke: currentColor;\n",
  2303. " fill: currentColor;\n",
  2304. "}\n",
  2305. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  2306. "Dimensions: (sin_mod_freq: 37)\n",
  2307. "Coordinates:\n",
  2308. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  2309. "Data variables:\n",
  2310. " amplitude (sin_mod_freq) float64 4.983 4.902 5.145 ... 5.149 4.996 5.165\n",
  2311. " centerx (sin_mod_freq) float64 0.0374 0.0353 ... 0.04263 0.04066\n",
  2312. " centery (sin_mod_freq) float64 0.03876 0.03744 ... 0.04393 0.04201\n",
  2313. " sigmax (sin_mod_freq) float64 0.0374 0.0353 ... 0.04263 0.04066\n",
  2314. " sigmay (sin_mod_freq) float64 0.03876 0.03744 ... 0.04393 0.04201\n",
  2315. " fwhmx (sin_mod_freq) float64 0.08806 0.08313 ... 0.1004 0.09574\n",
  2316. " fwhmy (sin_mod_freq) float64 0.09127 0.08816 ... 0.1034 0.09892\n",
  2317. " height (sin_mod_freq) float64 0.04101 0.04209 ... 0.0383 0.03749</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-cac0d698-2d75-429b-a3ca-38fed65cef65' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-cac0d698-2d75-429b-a3ca-38fed65cef65' 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'>sin_mod_freq</span>: 37</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-3aa534af-2aca-4001-b652-f387349711a3' class='xr-section-summary-in' type='checkbox' checked><label for='section-3aa534af-2aca-4001-b652-f387349711a3' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>sin_mod_freq</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>65.0 66.0 67.0 ... 99.0 100.0 101.0</div><input id='attrs-c779c951-7e15-4018-b465-7a0d30285dd5' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c779c951-7e15-4018-b465-7a0d30285dd5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-01389afa-a2e5-403c-a4a3-288ae7dd7796' class='xr-var-data-in' type='checkbox'><label for='data-01389afa-a2e5-403c-a4a3-288ae7dd7796' 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([ 65., 66., 67., 68., 69., 70., 71., 72., 73., 74., 75., 76.,\n",
  2318. " 77., 78., 79., 80., 81., 82., 83., 84., 85., 86., 87., 88.,\n",
  2319. " 89., 90., 91., 92., 93., 94., 95., 96., 97., 98., 99., 100.,\n",
  2320. " 101.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-28d2b246-837b-4cdc-adb9-47eebb2a0260' class='xr-section-summary-in' type='checkbox' checked><label for='section-28d2b246-837b-4cdc-adb9-47eebb2a0260' class='xr-section-summary' >Data variables: <span>(8)</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>amplitude</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>4.983 4.902 5.145 ... 4.996 5.165</div><input id='attrs-7ddaa2ed-a5f4-46c4-bc75-c6847fc26932' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-7ddaa2ed-a5f4-46c4-bc75-c6847fc26932' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4653bac4-f020-46db-9bee-ce5793b9b6b4' class='xr-var-data-in' type='checkbox'><label for='data-4653bac4-f020-46db-9bee-ce5793b9b6b4' 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.98266213, 4.9018281 , 5.14479386, 5.14442997, 4.86529692,\n",
  2321. " 5.34609263, 5.1097508 , 5.1617247 , 5.69705651, 5.89572879,\n",
  2322. " 5.78177404, 5.53785205, 5.20287401, 5.39181656, 5.36781952,\n",
  2323. " 5.39325699, 5.68167692, 5.51096182, 5.51376788, 5.56567199,\n",
  2324. " 5.45334662, 5.54583049, 5.4727448 , 5.38871563, 5.54963612,\n",
  2325. " 5.21836749, 5.14053489, 5.34020993, 5.26880024, 5.13042965,\n",
  2326. " 5.3829478 , 5.07450941, 5.17017526, 5.1489505 , 5.14911231,\n",
  2327. " 4.99648472, 5.16450928])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>centerx</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0374 0.0353 ... 0.04263 0.04066</div><input id='attrs-edaebb91-c2f7-4e6e-b1b4-68706f5d6200' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-edaebb91-c2f7-4e6e-b1b4-68706f5d6200' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-cf3be500-3116-4804-ab11-6c5a45d1e5a2' class='xr-var-data-in' type='checkbox'><label for='data-cf3be500-3116-4804-ab11-6c5a45d1e5a2' 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.03739685, 0.03530027, 0.03692505, 0.03463122, 0.03803077,\n",
  2328. " 0.04025705, 0.04514956, 0.05990229, 0.11997833, 0.11419663,\n",
  2329. " 0.09499302, 0.07874793, 0.05602331, 0.05998719, 0.06949439,\n",
  2330. " 0.09463008, 0.08007261, 0.10228334, 0.08198005, 0.09420169,\n",
  2331. " 0.08239179, 0.08656959, 0.0718938 , 0.06194711, 0.07299034,\n",
  2332. " 0.06271671, 0.05162148, 0.05546782, 0.04742076, 0.04407622,\n",
  2333. " 0.04616704, 0.04409588, 0.04044664, 0.04091482, 0.04448065,\n",
  2334. " 0.04262786, 0.04065761])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>centery</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.03876 0.03744 ... 0.04393 0.04201</div><input id='attrs-b342a352-1401-491f-8bbc-908cfb145283' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-b342a352-1401-491f-8bbc-908cfb145283' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-35a1e03d-229b-48b8-9a7a-37f649774ce6' class='xr-var-data-in' type='checkbox'><label for='data-35a1e03d-229b-48b8-9a7a-37f649774ce6' 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.03875935, 0.03743946, 0.03860445, 0.03625476, 0.03956924,\n",
  2335. " 0.04206379, 0.04607504, 0.06052306, 0.11942617, 0.11397052,\n",
  2336. " 0.09380765, 0.07923845, 0.05680222, 0.06068179, 0.07003664,\n",
  2337. " 0.09371249, 0.08020002, 0.10157981, 0.08380485, 0.09469552,\n",
  2338. " 0.08425091, 0.0865484 , 0.07208946, 0.06275968, 0.0737563 ,\n",
  2339. " 0.06314083, 0.05240361, 0.05610598, 0.04761736, 0.04510225,\n",
  2340. " 0.04641279, 0.04591886, 0.0423105 , 0.041822 , 0.04624768,\n",
  2341. " 0.0439303 , 0.04200607])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>sigmax</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0374 0.0353 ... 0.04263 0.04066</div><input id='attrs-245f2957-a1a4-4bb5-9893-82537a88f854' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-245f2957-a1a4-4bb5-9893-82537a88f854' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b3c4913c-19eb-4b31-9982-cd5891c41a2e' class='xr-var-data-in' type='checkbox'><label for='data-b3c4913c-19eb-4b31-9982-cd5891c41a2e' 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.03739685, 0.03530027, 0.03692505, 0.03463121, 0.03803077,\n",
  2342. " 0.04025705, 0.04514956, 0.05990229, 0.11997834, 0.11419664,\n",
  2343. " 0.09499305, 0.07874792, 0.05602331, 0.05998719, 0.06949441,\n",
  2344. " 0.09463009, 0.08007261, 0.10228335, 0.08198006, 0.0942017 ,\n",
  2345. " 0.08239179, 0.08656961, 0.07189379, 0.06194711, 0.07299033,\n",
  2346. " 0.06271671, 0.05162148, 0.05546782, 0.04742077, 0.04407622,\n",
  2347. " 0.04616705, 0.04409588, 0.04044664, 0.04091483, 0.04448065,\n",
  2348. " 0.04262786, 0.04065762])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>sigmay</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.03876 0.03744 ... 0.04393 0.04201</div><input id='attrs-0135726a-76be-466d-adfc-7f50a7def6ab' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-0135726a-76be-466d-adfc-7f50a7def6ab' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-dc92b54c-8286-4461-820b-ed418497e09d' class='xr-var-data-in' type='checkbox'><label for='data-dc92b54c-8286-4461-820b-ed418497e09d' 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.03875935, 0.03743946, 0.03860444, 0.03625475, 0.03956923,\n",
  2349. " 0.04206379, 0.04607504, 0.06052306, 0.11942617, 0.11397049,\n",
  2350. " 0.09380766, 0.07923845, 0.05680221, 0.06068179, 0.07003661,\n",
  2351. " 0.09371244, 0.08020001, 0.10157981, 0.08380486, 0.09469553,\n",
  2352. " 0.0842509 , 0.08654838, 0.07208941, 0.06275966, 0.07375626,\n",
  2353. " 0.06314083, 0.05240361, 0.05610597, 0.04761734, 0.04510226,\n",
  2354. " 0.04641279, 0.04591886, 0.04231049, 0.04182199, 0.04624768,\n",
  2355. " 0.0439303 , 0.04200607])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhmx</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.08806 0.08313 ... 0.1004 0.09574</div><input id='attrs-c7d25169-f854-4556-9ce2-f3d0bdb6e468' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c7d25169-f854-4556-9ce2-f3d0bdb6e468' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-657a67a5-bc4d-4c91-a9ee-34ccf6935ff1' class='xr-var-data-in' type='checkbox'><label for='data-657a67a5-bc4d-4c91-a9ee-34ccf6935ff1' 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.08806284, 0.08312579, 0.08695185, 0.08155028, 0.08955563,\n",
  2356. " 0.0947981 , 0.10631909, 0.1410591 , 0.28252741, 0.26891253,\n",
  2357. " 0.22369154, 0.18543718, 0.13192482, 0.14125904, 0.16364682,\n",
  2358. " 0.22283683, 0.18855659, 0.24085888, 0.19304828, 0.22182804,\n",
  2359. " 0.19401783, 0.20385584, 0.16929693, 0.1458743 , 0.1718791 ,\n",
  2360. " 0.14768657, 0.1215593 , 0.13061673, 0.11166738, 0.10379157,\n",
  2361. " 0.10871508, 0.10383785, 0.09524457, 0.09634705, 0.10474393,\n",
  2362. " 0.10038094, 0.09574137])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhmy</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.09127 0.08816 ... 0.1034 0.09892</div><input id='attrs-08f2b605-675f-4040-a823-c543e1969070' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-08f2b605-675f-4040-a823-c543e1969070' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bed4eb15-4f5c-4fd8-beec-61a5e3282dfd' class='xr-var-data-in' type='checkbox'><label for='data-bed4eb15-4f5c-4fd8-beec-61a5e3282dfd' 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.09127129, 0.08816319, 0.09090652, 0.08537342, 0.09317842,\n",
  2363. " 0.09905265, 0.10849844, 0.1425209 , 0.28122714, 0.26838 ,\n",
  2364. " 0.22090016, 0.18659229, 0.13375899, 0.1428947 , 0.16492362,\n",
  2365. " 0.22067594, 0.18885659, 0.23920217, 0.19734535, 0.22299093,\n",
  2366. " 0.1983957 , 0.20380585, 0.16975759, 0.1477877 , 0.17368273,\n",
  2367. " 0.14868529, 0.12340107, 0.13211945, 0.11213027, 0.1062077 ,\n",
  2368. " 0.10929377, 0.10813065, 0.0996336 , 0.09848326, 0.10890495,\n",
  2369. " 0.10344794, 0.09891673])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>height</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.04101 0.04209 ... 0.0383 0.03749</div><input id='attrs-4009f69a-78a7-40af-bdc0-a8ef70793600' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-4009f69a-78a7-40af-bdc0-a8ef70793600' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-cf180fb6-5d4a-432d-9ac1-d5de65f346ce' class='xr-var-data-in' type='checkbox'><label for='data-cf180fb6-5d4a-432d-9ac1-d5de65f346ce' 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.0410147 , 0.04208569, 0.04026369, 0.04080119, 0.03901854,\n",
  2370. " 0.03809403, 0.03727596, 0.03616165, 0.03099311, 0.03304012,\n",
  2371. " 0.03177254, 0.03492552, 0.03485046, 0.03596079, 0.03484961,\n",
  2372. " 0.03317852, 0.034123 , 0.0338167 , 0.03261096, 0.0324537 ,\n",
  2373. " 0.03322293, 0.03242648, 0.03363007, 0.03403604, 0.03363285,\n",
  2374. " 0.03481384, 0.03592531, 0.03584817, 0.03704872, 0.03707528,\n",
  2375. " 0.03542401, 0.03793384, 0.0374294 , 0.03691256, 0.03745109,\n",
  2376. " 0.03830176, 0.03749056])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-d8dcef1b-1ff1-49e4-810f-2dd69ffd339a' class='xr-section-summary-in' type='checkbox' ><label for='section-d8dcef1b-1ff1-49e4-810f-2dd69ffd339a' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>sin_mod_freq</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-99628903-ae7a-49a8-99ac-e32bb8623e5e' class='xr-index-data-in' type='checkbox'/><label for='index-99628903-ae7a-49a8-99ac-e32bb8623e5e' 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([ 65.0, 66.0, 67.0, 68.0, 69.0, 70.0, 71.0, 72.0, 73.0,\n",
  2377. " 74.0, 75.0, 76.0, 77.0, 78.0, 79.0, 80.0, 81.0, 82.0,\n",
  2378. " 83.0, 84.0, 85.0, 86.0, 87.0, 88.0, 89.0, 90.0, 91.0,\n",
  2379. " 92.0, 93.0, 94.0, 95.0, 96.0, 97.0, 98.0, 99.0, 100.0,\n",
  2380. " 101.0],\n",
  2381. " dtype=&#x27;float64&#x27;, name=&#x27;sin_mod_freq&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-a547d877-6292-4f5e-ad89-da4c7791d161' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-a547d877-6292-4f5e-ad89-da4c7791d161' 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>"
  2382. ],
  2383. "text/plain": [
  2384. "<xarray.Dataset>\n",
  2385. "Dimensions: (sin_mod_freq: 37)\n",
  2386. "Coordinates:\n",
  2387. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  2388. "Data variables:\n",
  2389. " amplitude (sin_mod_freq) float64 4.983 4.902 5.145 ... 5.149 4.996 5.165\n",
  2390. " centerx (sin_mod_freq) float64 0.0374 0.0353 ... 0.04263 0.04066\n",
  2391. " centery (sin_mod_freq) float64 0.03876 0.03744 ... 0.04393 0.04201\n",
  2392. " sigmax (sin_mod_freq) float64 0.0374 0.0353 ... 0.04263 0.04066\n",
  2393. " sigmay (sin_mod_freq) float64 0.03876 0.03744 ... 0.04393 0.04201\n",
  2394. " fwhmx (sin_mod_freq) float64 0.08806 0.08313 ... 0.1004 0.09574\n",
  2395. " fwhmy (sin_mod_freq) float64 0.09127 0.08816 ... 0.1034 0.09892\n",
  2396. " height (sin_mod_freq) float64 0.04101 0.04209 ... 0.0383 0.03749"
  2397. ]
  2398. },
  2399. "execution_count": 10,
  2400. "metadata": {},
  2401. "output_type": "execute_result"
  2402. }
  2403. ],
  2404. "source": [
  2405. "fitAnalyser.get_fit_std(fitResult)"
  2406. ]
  2407. },
  2408. {
  2409. "cell_type": "code",
  2410. "execution_count": 11,
  2411. "metadata": {},
  2412. "outputs": [
  2413. {
  2414. "data": {
  2415. "text/html": [
  2416. "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n",
  2417. "<defs>\n",
  2418. "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n",
  2419. "<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",
  2420. "<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",
  2421. "<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",
  2422. "</symbol>\n",
  2423. "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n",
  2424. "<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",
  2425. "<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",
  2426. "<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",
  2427. "<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",
  2428. "</symbol>\n",
  2429. "</defs>\n",
  2430. "</svg>\n",
  2431. "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n",
  2432. " *\n",
  2433. " */\n",
  2434. "\n",
  2435. ":root {\n",
  2436. " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n",
  2437. " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n",
  2438. " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n",
  2439. " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n",
  2440. " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n",
  2441. " --xr-background-color: var(--jp-layout-color0, white);\n",
  2442. " --xr-background-color-row-even: var(--jp-layout-color1, white);\n",
  2443. " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n",
  2444. "}\n",
  2445. "\n",
  2446. "html[theme=dark],\n",
  2447. "body[data-theme=dark],\n",
  2448. "body.vscode-dark {\n",
  2449. " --xr-font-color0: rgba(255, 255, 255, 1);\n",
  2450. " --xr-font-color2: rgba(255, 255, 255, 0.54);\n",
  2451. " --xr-font-color3: rgba(255, 255, 255, 0.38);\n",
  2452. " --xr-border-color: #1F1F1F;\n",
  2453. " --xr-disabled-color: #515151;\n",
  2454. " --xr-background-color: #111111;\n",
  2455. " --xr-background-color-row-even: #111111;\n",
  2456. " --xr-background-color-row-odd: #313131;\n",
  2457. "}\n",
  2458. "\n",
  2459. ".xr-wrap {\n",
  2460. " display: block !important;\n",
  2461. " min-width: 300px;\n",
  2462. " max-width: 700px;\n",
  2463. "}\n",
  2464. "\n",
  2465. ".xr-text-repr-fallback {\n",
  2466. " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n",
  2467. " display: none;\n",
  2468. "}\n",
  2469. "\n",
  2470. ".xr-header {\n",
  2471. " padding-top: 6px;\n",
  2472. " padding-bottom: 6px;\n",
  2473. " margin-bottom: 4px;\n",
  2474. " border-bottom: solid 1px var(--xr-border-color);\n",
  2475. "}\n",
  2476. "\n",
  2477. ".xr-header > div,\n",
  2478. ".xr-header > ul {\n",
  2479. " display: inline;\n",
  2480. " margin-top: 0;\n",
  2481. " margin-bottom: 0;\n",
  2482. "}\n",
  2483. "\n",
  2484. ".xr-obj-type,\n",
  2485. ".xr-array-name {\n",
  2486. " margin-left: 2px;\n",
  2487. " margin-right: 10px;\n",
  2488. "}\n",
  2489. "\n",
  2490. ".xr-obj-type {\n",
  2491. " color: var(--xr-font-color2);\n",
  2492. "}\n",
  2493. "\n",
  2494. ".xr-sections {\n",
  2495. " padding-left: 0 !important;\n",
  2496. " display: grid;\n",
  2497. " grid-template-columns: 150px auto auto 1fr 20px 20px;\n",
  2498. "}\n",
  2499. "\n",
  2500. ".xr-section-item {\n",
  2501. " display: contents;\n",
  2502. "}\n",
  2503. "\n",
  2504. ".xr-section-item input {\n",
  2505. " display: none;\n",
  2506. "}\n",
  2507. "\n",
  2508. ".xr-section-item input + label {\n",
  2509. " color: var(--xr-disabled-color);\n",
  2510. "}\n",
  2511. "\n",
  2512. ".xr-section-item input:enabled + label {\n",
  2513. " cursor: pointer;\n",
  2514. " color: var(--xr-font-color2);\n",
  2515. "}\n",
  2516. "\n",
  2517. ".xr-section-item input:enabled + label:hover {\n",
  2518. " color: var(--xr-font-color0);\n",
  2519. "}\n",
  2520. "\n",
  2521. ".xr-section-summary {\n",
  2522. " grid-column: 1;\n",
  2523. " color: var(--xr-font-color2);\n",
  2524. " font-weight: 500;\n",
  2525. "}\n",
  2526. "\n",
  2527. ".xr-section-summary > span {\n",
  2528. " display: inline-block;\n",
  2529. " padding-left: 0.5em;\n",
  2530. "}\n",
  2531. "\n",
  2532. ".xr-section-summary-in:disabled + label {\n",
  2533. " color: var(--xr-font-color2);\n",
  2534. "}\n",
  2535. "\n",
  2536. ".xr-section-summary-in + label:before {\n",
  2537. " display: inline-block;\n",
  2538. " content: 'â–º';\n",
  2539. " font-size: 11px;\n",
  2540. " width: 15px;\n",
  2541. " text-align: center;\n",
  2542. "}\n",
  2543. "\n",
  2544. ".xr-section-summary-in:disabled + label:before {\n",
  2545. " color: var(--xr-disabled-color);\n",
  2546. "}\n",
  2547. "\n",
  2548. ".xr-section-summary-in:checked + label:before {\n",
  2549. " content: 'â–¼';\n",
  2550. "}\n",
  2551. "\n",
  2552. ".xr-section-summary-in:checked + label > span {\n",
  2553. " display: none;\n",
  2554. "}\n",
  2555. "\n",
  2556. ".xr-section-summary,\n",
  2557. ".xr-section-inline-details {\n",
  2558. " padding-top: 4px;\n",
  2559. " padding-bottom: 4px;\n",
  2560. "}\n",
  2561. "\n",
  2562. ".xr-section-inline-details {\n",
  2563. " grid-column: 2 / -1;\n",
  2564. "}\n",
  2565. "\n",
  2566. ".xr-section-details {\n",
  2567. " display: none;\n",
  2568. " grid-column: 1 / -1;\n",
  2569. " margin-bottom: 5px;\n",
  2570. "}\n",
  2571. "\n",
  2572. ".xr-section-summary-in:checked ~ .xr-section-details {\n",
  2573. " display: contents;\n",
  2574. "}\n",
  2575. "\n",
  2576. ".xr-array-wrap {\n",
  2577. " grid-column: 1 / -1;\n",
  2578. " display: grid;\n",
  2579. " grid-template-columns: 20px auto;\n",
  2580. "}\n",
  2581. "\n",
  2582. ".xr-array-wrap > label {\n",
  2583. " grid-column: 1;\n",
  2584. " vertical-align: top;\n",
  2585. "}\n",
  2586. "\n",
  2587. ".xr-preview {\n",
  2588. " color: var(--xr-font-color3);\n",
  2589. "}\n",
  2590. "\n",
  2591. ".xr-array-preview,\n",
  2592. ".xr-array-data {\n",
  2593. " padding: 0 5px !important;\n",
  2594. " grid-column: 2;\n",
  2595. "}\n",
  2596. "\n",
  2597. ".xr-array-data,\n",
  2598. ".xr-array-in:checked ~ .xr-array-preview {\n",
  2599. " display: none;\n",
  2600. "}\n",
  2601. "\n",
  2602. ".xr-array-in:checked ~ .xr-array-data,\n",
  2603. ".xr-array-preview {\n",
  2604. " display: inline-block;\n",
  2605. "}\n",
  2606. "\n",
  2607. ".xr-dim-list {\n",
  2608. " display: inline-block !important;\n",
  2609. " list-style: none;\n",
  2610. " padding: 0 !important;\n",
  2611. " margin: 0;\n",
  2612. "}\n",
  2613. "\n",
  2614. ".xr-dim-list li {\n",
  2615. " display: inline-block;\n",
  2616. " padding: 0;\n",
  2617. " margin: 0;\n",
  2618. "}\n",
  2619. "\n",
  2620. ".xr-dim-list:before {\n",
  2621. " content: '(';\n",
  2622. "}\n",
  2623. "\n",
  2624. ".xr-dim-list:after {\n",
  2625. " content: ')';\n",
  2626. "}\n",
  2627. "\n",
  2628. ".xr-dim-list li:not(:last-child):after {\n",
  2629. " content: ',';\n",
  2630. " padding-right: 5px;\n",
  2631. "}\n",
  2632. "\n",
  2633. ".xr-has-index {\n",
  2634. " font-weight: bold;\n",
  2635. "}\n",
  2636. "\n",
  2637. ".xr-var-list,\n",
  2638. ".xr-var-item {\n",
  2639. " display: contents;\n",
  2640. "}\n",
  2641. "\n",
  2642. ".xr-var-item > div,\n",
  2643. ".xr-var-item label,\n",
  2644. ".xr-var-item > .xr-var-name span {\n",
  2645. " background-color: var(--xr-background-color-row-even);\n",
  2646. " margin-bottom: 0;\n",
  2647. "}\n",
  2648. "\n",
  2649. ".xr-var-item > .xr-var-name:hover span {\n",
  2650. " padding-right: 5px;\n",
  2651. "}\n",
  2652. "\n",
  2653. ".xr-var-list > li:nth-child(odd) > div,\n",
  2654. ".xr-var-list > li:nth-child(odd) > label,\n",
  2655. ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n",
  2656. " background-color: var(--xr-background-color-row-odd);\n",
  2657. "}\n",
  2658. "\n",
  2659. ".xr-var-name {\n",
  2660. " grid-column: 1;\n",
  2661. "}\n",
  2662. "\n",
  2663. ".xr-var-dims {\n",
  2664. " grid-column: 2;\n",
  2665. "}\n",
  2666. "\n",
  2667. ".xr-var-dtype {\n",
  2668. " grid-column: 3;\n",
  2669. " text-align: right;\n",
  2670. " color: var(--xr-font-color2);\n",
  2671. "}\n",
  2672. "\n",
  2673. ".xr-var-preview {\n",
  2674. " grid-column: 4;\n",
  2675. "}\n",
  2676. "\n",
  2677. ".xr-index-preview {\n",
  2678. " grid-column: 2 / 5;\n",
  2679. " color: var(--xr-font-color2);\n",
  2680. "}\n",
  2681. "\n",
  2682. ".xr-var-name,\n",
  2683. ".xr-var-dims,\n",
  2684. ".xr-var-dtype,\n",
  2685. ".xr-preview,\n",
  2686. ".xr-attrs dt {\n",
  2687. " white-space: nowrap;\n",
  2688. " overflow: hidden;\n",
  2689. " text-overflow: ellipsis;\n",
  2690. " padding-right: 10px;\n",
  2691. "}\n",
  2692. "\n",
  2693. ".xr-var-name:hover,\n",
  2694. ".xr-var-dims:hover,\n",
  2695. ".xr-var-dtype:hover,\n",
  2696. ".xr-attrs dt:hover {\n",
  2697. " overflow: visible;\n",
  2698. " width: auto;\n",
  2699. " z-index: 1;\n",
  2700. "}\n",
  2701. "\n",
  2702. ".xr-var-attrs,\n",
  2703. ".xr-var-data,\n",
  2704. ".xr-index-data {\n",
  2705. " display: none;\n",
  2706. " background-color: var(--xr-background-color) !important;\n",
  2707. " padding-bottom: 5px !important;\n",
  2708. "}\n",
  2709. "\n",
  2710. ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n",
  2711. ".xr-var-data-in:checked ~ .xr-var-data,\n",
  2712. ".xr-index-data-in:checked ~ .xr-index-data {\n",
  2713. " display: block;\n",
  2714. "}\n",
  2715. "\n",
  2716. ".xr-var-data > table {\n",
  2717. " float: right;\n",
  2718. "}\n",
  2719. "\n",
  2720. ".xr-var-name span,\n",
  2721. ".xr-var-data,\n",
  2722. ".xr-index-name div,\n",
  2723. ".xr-index-data,\n",
  2724. ".xr-attrs {\n",
  2725. " padding-left: 25px !important;\n",
  2726. "}\n",
  2727. "\n",
  2728. ".xr-attrs,\n",
  2729. ".xr-var-attrs,\n",
  2730. ".xr-var-data,\n",
  2731. ".xr-index-data {\n",
  2732. " grid-column: 1 / -1;\n",
  2733. "}\n",
  2734. "\n",
  2735. "dl.xr-attrs {\n",
  2736. " padding: 0;\n",
  2737. " margin: 0;\n",
  2738. " display: grid;\n",
  2739. " grid-template-columns: 125px auto;\n",
  2740. "}\n",
  2741. "\n",
  2742. ".xr-attrs dt,\n",
  2743. ".xr-attrs dd {\n",
  2744. " padding: 0;\n",
  2745. " margin: 0;\n",
  2746. " float: left;\n",
  2747. " padding-right: 10px;\n",
  2748. " width: auto;\n",
  2749. "}\n",
  2750. "\n",
  2751. ".xr-attrs dt {\n",
  2752. " font-weight: normal;\n",
  2753. " grid-column: 1;\n",
  2754. "}\n",
  2755. "\n",
  2756. ".xr-attrs dt:hover span {\n",
  2757. " display: inline-block;\n",
  2758. " background: var(--xr-background-color);\n",
  2759. " padding-right: 10px;\n",
  2760. "}\n",
  2761. "\n",
  2762. ".xr-attrs dd {\n",
  2763. " grid-column: 2;\n",
  2764. " white-space: pre-wrap;\n",
  2765. " word-break: break-all;\n",
  2766. "}\n",
  2767. "\n",
  2768. ".xr-icon-database,\n",
  2769. ".xr-icon-file-text2,\n",
  2770. ".xr-no-icon {\n",
  2771. " display: inline-block;\n",
  2772. " vertical-align: middle;\n",
  2773. " width: 1em;\n",
  2774. " height: 1.5em !important;\n",
  2775. " stroke-width: 0;\n",
  2776. " stroke: currentColor;\n",
  2777. " fill: currentColor;\n",
  2778. "}\n",
  2779. "</style><pre class='xr-text-repr-fallback'>&lt;xarray.Dataset&gt;\n",
  2780. "Dimensions: (sin_mod_freq: 37)\n",
  2781. "Coordinates:\n",
  2782. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  2783. "Data variables:\n",
  2784. " amplitude (sin_mod_freq) object 1808+/-5 1824+/-5 ... 1653+/-5 1838+/-5\n",
  2785. " centerx (sin_mod_freq) object 73.10+/-0.04 ... 73.94+/-0.04\n",
  2786. " centery (sin_mod_freq) object 102.02+/-0.04 ... 102.56+/-0.04\n",
  2787. " sigmax (sin_mod_freq) object 13.57+/-0.04 ... 14.47+/-0.04\n",
  2788. " sigmay (sin_mod_freq) object 14.06+/-0.04 ... 14.95+/-0.04\n",
  2789. " fwhmx (sin_mod_freq) object 31.95+/-0.09 ... 34.08+/-0.10\n",
  2790. " fwhmy (sin_mod_freq) object 33.12+/-0.09 ... 35.21+/-0.10\n",
  2791. " height (sin_mod_freq) object 14.88+/-0.04 ... 13.34+/-0.04</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-894eab8a-1d40-490e-9d18-b1a9f5661d7a' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-894eab8a-1d40-490e-9d18-b1a9f5661d7a' 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'>sin_mod_freq</span>: 37</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-75eed7c9-9609-436b-9846-fc2e24428fec' class='xr-section-summary-in' type='checkbox' checked><label for='section-75eed7c9-9609-436b-9846-fc2e24428fec' class='xr-section-summary' >Coordinates: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>sin_mod_freq</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>65.0 66.0 67.0 ... 99.0 100.0 101.0</div><input id='attrs-526a431f-cd92-4d25-98c4-8ac284c61f09' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-526a431f-cd92-4d25-98c4-8ac284c61f09' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-aa2ea4c3-100b-45cb-8885-f630d69fccae' class='xr-var-data-in' type='checkbox'><label for='data-aa2ea4c3-100b-45cb-8885-f630d69fccae' 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([ 65., 66., 67., 68., 69., 70., 71., 72., 73., 74., 75., 76.,\n",
  2792. " 77., 78., 79., 80., 81., 82., 83., 84., 85., 86., 87., 88.,\n",
  2793. " 89., 90., 91., 92., 93., 94., 95., 96., 97., 98., 99., 100.,\n",
  2794. " 101.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-3a99ee18-0de9-4a3f-8b2e-245b35953be0' class='xr-section-summary-in' type='checkbox' checked><label for='section-3a99ee18-0de9-4a3f-8b2e-245b35953be0' class='xr-section-summary' >Data variables: <span>(8)</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>amplitude</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>1808+/-5 1824+/-5 ... 1838+/-5</div><input id='attrs-2a987756-cc4a-4c30-b277-e841b6962784' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-2a987756-cc4a-4c30-b277-e841b6962784' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5e15651d-8b95-4ca8-a4a1-045c659483f7' class='xr-var-data-in' type='checkbox'><label for='data-5e15651d-8b95-4ca8-a4a1-045c659483f7' 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([1807.9352812714108+/-4.982662132541037,\n",
  2795. " 1823.85154775407+/-4.901828102937968,\n",
  2796. " 1930.526994462659+/-5.144793857378006,\n",
  2797. " 2043.2133759591493+/-5.144429970325212,\n",
  2798. " 1755.2817058652079+/-4.86529691834173,\n",
  2799. " 1928.9072272722694+/-5.346092633667021,\n",
  2800. " 1643.9509548864705+/-5.109750803337729,\n",
  2801. " 1283.654674671457+/-5.1617246974732485,\n",
  2802. " 808.7283401228694+/-5.697056508272371,\n",
  2803. " 865.2192927733671+/-5.895728785034902,\n",
  2804. " 1035.536850335498+/-5.781774039739138,\n",
  2805. " 1106.4218128703744+/-5.537852048784642,\n",
  2806. " 1412.3882562391304+/-5.202874010094001,\n",
  2807. " 1371.4825895492959+/-5.391816564009922,\n",
  2808. " 1196.8142567708005+/-5.3678195236863235,\n",
  2809. " 915.1624068883597+/-5.393256988391256,\n",
  2810. " 1146.6350307865969+/-5.681676915033084,\n",
  2811. " 865.0284680658392+/-5.510961821839697,\n",
  2812. " 1084.0821645931596+/-5.513767876755912,\n",
  2813. " 967.1864074466855+/-5.565671987567326,\n",
  2814. " 1051.0103509981298+/-5.453346618750489,\n",
  2815. " 1050.160060457267+/-5.545830491165124,\n",
  2816. " 1215.4496924647362+/-5.472744803940935,\n",
  2817. " 1362.914314763412+/-5.38871563145762,\n",
  2818. " 1217.758357490078+/-5.549636118273387,\n",
  2819. " 1272.4969758358966+/-5.218367489271,\n",
  2820. " 1481.7549350788274+/-5.140534890135545,\n",
  2821. " 1464.345920167834+/-5.340209925672025,\n",
  2822. " 1657.2560216925572+/-5.26880023524984,\n",
  2823. " 1696.4924691819663+/-5.130429652113225,\n",
  2824. " 1796.623789689513+/-5.382947804916028,\n",
  2825. " 1634.7189916108157+/-5.074509405013973,\n",
  2826. " 1840.9740051070407+/-5.170175257574056,\n",
  2827. " 1842.538169066767+/-5.148950503187781,\n",
  2828. " 1668.3890836530013+/-5.14911231440146,\n",
  2829. " 1652.7935822839536+/-4.996484716004756,\n",
  2830. " 1838.3054445911898+/-5.1645092842102125], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>centerx</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>73.10+/-0.04 ... 73.94+/-0.04</div><input id='attrs-f3770277-1a3d-4dee-84fe-b2696572e392' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-f3770277-1a3d-4dee-84fe-b2696572e392' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e03cc860-b1fd-4a21-8e53-082884c1c3d1' class='xr-var-data-in' type='checkbox'><label for='data-e03cc860-b1fd-4a21-8e53-082884c1c3d1' 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([73.09504891981685+/-0.037396850843899786,\n",
  2831. " 74.29616480490488+/-0.03530026573901377,\n",
  2832. " 72.99174212405437+/-0.03692505314668794,\n",
  2833. " 74.04348412960547+/-0.034631221056806515,\n",
  2834. " 73.22260606208776+/-0.03803077217333051,\n",
  2835. " 74.18857612462642+/-0.040257049047883846,\n",
  2836. " 72.78553034213337+/-0.045149557482025246,\n",
  2837. " 74.97292592232597+/-0.059902294648404804,\n",
  2838. " 73.71314922193328+/-0.119978325212914,\n",
  2839. " 72.0176879617503+/-0.11419662774435227,\n",
  2840. " 74.645803526158+/-0.09499302238504567,\n",
  2841. " 72.19659785409318+/-0.07874792616944704,\n",
  2842. " 75.62422127845886+/-0.05602331222095948,\n",
  2843. " 72.47608378462917+/-0.059987190631156734,\n",
  2844. " 74.50487200177812+/-0.06949439442737751,\n",
  2845. " 73.11416510596015+/-0.0946300766642044,\n",
  2846. " 73.66486606016898+/-0.08007260777748927,\n",
  2847. " 72.66877374594371+/-0.10228334033784599,\n",
  2848. " 73.70722414562073+/-0.08198005354710461,\n",
  2849. " 73.66488669941407+/-0.09420169292548253,\n",
  2850. " 73.39905461616789+/-0.08239179358343209,\n",
  2851. " 73.72778190423742+/-0.08656959204498607,\n",
  2852. " 73.47676617581749+/-0.07189379747074462,\n",
  2853. " 73.88127093983336+/-0.06194710936103844,\n",
  2854. " 73.0512423338802+/-0.07299033561438083,\n",
  2855. " 73.6107610907786+/-0.06271671074663257,\n",
  2856. " 74.44622984418639+/-0.051621482668948705,\n",
  2857. " 73.64707412048958+/-0.05546781600340132,\n",
  2858. " 74.68086049145623+/-0.047420757491135564,\n",
  2859. " 73.38788183970141+/-0.04407621891829975,\n",
  2860. " 73.82914420096141+/-0.046167044698070384,\n",
  2861. " 73.54267863233993+/-0.04409587546638506,\n",
  2862. " 74.76275624723894+/-0.040446642439489214,\n",
  2863. " 73.73687047199249+/-0.040914824588434165,\n",
  2864. " 73.43837670134414+/-0.044480653109287005,\n",
  2865. " 73.3180186748058+/-0.04262786101060659,\n",
  2866. " 73.93961529084122+/-0.040657614876137206], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>centery</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>102.02+/-0.04 ... 102.56+/-0.04</div><input id='attrs-cfd8b0e2-ff01-42fa-8403-91d56337b634' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-cfd8b0e2-ff01-42fa-8403-91d56337b634' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d9b5868d-34d3-4629-9350-c6a8639362a5' class='xr-var-data-in' type='checkbox'><label for='data-d9b5868d-34d3-4629-9350-c6a8639362a5' 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([102.02065787176446+/-0.03875935360837667,\n",
  2867. " 101.40658165721067+/-0.03743946020656038,\n",
  2868. " 102.09392518616498+/-0.03860444799056684,\n",
  2869. " 102.25438654459214+/-0.03625475884751028,\n",
  2870. " 102.26701189852484+/-0.03956923706689795,\n",
  2871. " 102.52475183023932+/-0.04206379046160063,\n",
  2872. " 102.14063890468991+/-0.0460750429618416,\n",
  2873. " 102.26768833058534+/-0.060523064815414335,\n",
  2874. " 102.5735747504943+/-0.11942617427669155,\n",
  2875. " 102.05818657219392+/-0.11397052419701628,\n",
  2876. " 102.5193245010779+/-0.09380765446436551,\n",
  2877. " 101.87012020466427+/-0.07923845352943534,\n",
  2878. " 102.41939658216964+/-0.05680221613230117,\n",
  2879. " 103.10524972566515+/-0.06068179055019741,\n",
  2880. " 102.4814122838628+/-0.07003663597202123,\n",
  2881. " 102.63252011125154+/-0.09371248895718273,\n",
  2882. " 102.48212386105973+/-0.08020001687348137,\n",
  2883. " 101.59476336364582+/-0.1015798123137109,\n",
  2884. " 102.20244381944985+/-0.08380485227387936,\n",
  2885. " 102.4378396998888+/-0.09469552494709083,\n",
  2886. " 102.67450561086073+/-0.08425091006234325,\n",
  2887. " 102.67557877513744+/-0.08654839745122632,\n",
  2888. " 101.89233182320508+/-0.07208946326502778,\n",
  2889. " 102.33627655123132+/-0.06275967796778213,\n",
  2890. " 102.70081039416783+/-0.07375630011442043,\n",
  2891. " 102.7244414546981+/-0.06314083331824284,\n",
  2892. " 101.89323698659102+/-0.052403614967216794,\n",
  2893. " 102.57296303925237+/-0.05610597615550597,\n",
  2894. " 102.52276200109449+/-0.04761735525006581,\n",
  2895. " 102.08813974615472+/-0.04510225443317714,\n",
  2896. " 102.82408394967328+/-0.046412793659455796,\n",
  2897. " 101.05807313058507+/-0.045918857127639,\n",
  2898. " 103.08641642886512+/-0.042310495379330945,\n",
  2899. " 102.6593913839422+/-0.04182200020917299,\n",
  2900. " 101.65246632370746+/-0.0462476794898511,\n",
  2901. " 102.35511603648571+/-0.04393029668411993,\n",
  2902. " 102.5625536770304+/-0.04200607251326068], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>sigmax</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>13.57+/-0.04 ... 14.47+/-0.04</div><input id='attrs-7663d28b-58d3-4ae4-a972-19b12b1a2a5e' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-7663d28b-58d3-4ae4-a972-19b12b1a2a5e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d4a70ea5-7c12-40f5-a5af-e548f2085907' class='xr-var-data-in' type='checkbox'><label for='data-d4a70ea5-7c12-40f5-a5af-e548f2085907' 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.569173504306505+/-0.037396847719753434,\n",
  2903. " 13.134301774185666+/-0.03530027285274352,\n",
  2904. " 13.855723020904408+/-0.03692505024051494,\n",
  2905. " 13.754408548681447+/-0.03463121423827747,\n",
  2906. " 13.720683001901005+/-0.038030773532425094,\n",
  2907. " 14.525168743389449+/-0.04025704866808143,\n",
  2908. " 14.52583428240102+/-0.045149559773349474,\n",
  2909. " 14.896884706502126+/-0.05990228662109335,\n",
  2910. " 17.031449164894067+/-0.1199783449482783,\n",
  2911. " 16.75918136855712+/-0.11419663801157412,\n",
  2912. " 17.013565131091937+/-0.09499305022154365,\n",
  2913. " 15.73297017703764+/-0.07874791947403095,\n",
  2914. " 15.208403424002462+/-0.0560233138860654,\n",
  2915. " 15.258504084506772+/-0.059987191057218246,\n",
  2916. " 15.49555383265196+/-0.06949440692627573,\n",
  2917. " 16.058833752809814+/-0.09463009164895014,\n",
  2918. " 16.159793263725494+/-0.0800726116032752,\n",
  2919. " 16.055131756553152+/-0.10228335001836295,\n",
  2920. " 16.118331072975888+/-0.08198005759381842,\n",
  2921. " 16.37001507653549+/-0.09420169847030081,\n",
  2922. " 15.879334736731362+/-0.08239178884498273,\n",
  2923. " 16.393507159672822+/-0.08656960554653291,\n",
  2924. " 15.967945912624543+/-0.0718937870158822,\n",
  2925. " 15.668366688899447+/-0.061947111672037015,\n",
  2926. " 16.01693446766972+/-0.07299033293205849,\n",
  2927. " 15.293218786379907+/-0.0627167141051018,\n",
  2928. " 14.879971557306325+/-0.05162148291168589,\n",
  2929. " 15.210322518525086+/-0.05546782021883629,\n",
  2930. " 14.916567325930995+/-0.04742077261807891,\n",
  2931. " 14.574820830628099+/-0.044076224367750716,\n",
  2932. " 15.408940353714637+/-0.0461670464784016,\n",
  2933. " 14.205118741915296+/-0.0440958758861363,\n",
  2934. " 14.402188355497445+/-0.04044664378364179,\n",
  2935. " 14.641676503917477+/-0.04091482684494756,\n",
  2936. " 14.41249798382422+/-0.044480653723043946,\n",
  2937. " 14.100962028338062+/-0.042627863260911864,\n",
  2938. " 14.47236549602896+/-0.04065761651283394], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>sigmay</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>14.06+/-0.04 ... 14.95+/-0.04</div><input id='attrs-82f8ad49-1507-4f9e-8e07-f61178f9a6e0' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-82f8ad49-1507-4f9e-8e07-f61178f9a6e0' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-677b782a-a725-49d5-8e7e-1e8ed61cfbd3' class='xr-var-data-in' type='checkbox'><label for='data-677b782a-a725-49d5-8e7e-1e8ed61cfbd3' 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([14.063471385960062+/-0.03875934950576456,\n",
  2939. " 13.92981890299772+/-0.03743946227379337,\n",
  2940. " 14.485885399190085+/-0.03860444499360111,\n",
  2941. " 14.399346457572326+/-0.03625475338394724,\n",
  2942. " 14.275314291868877+/-0.03956923347243963,\n",
  2943. " 15.176737382879598+/-0.04206378707447388,\n",
  2944. " 14.823538872250287+/-0.04607504431597218,\n",
  2945. " 15.051248175031947+/-0.06052305590582919,\n",
  2946. " 16.9532929975256+/-0.11942617283874755,\n",
  2947. " 16.72497202040855+/-0.11397049487790552,\n",
  2948. " 16.801073174049286+/-0.09380766202844636,\n",
  2949. " 15.83116230365194+/-0.07923845106501783,\n",
  2950. " 15.419538374924894+/-0.056802213235449886,\n",
  2951. " 15.435273475864271+/-0.06068179152951895,\n",
  2952. " 15.614103679244732+/-0.0700366129354111,\n",
  2953. " 15.900184139453355+/-0.09371244367659479,\n",
  2954. " 16.185107108451028+/-0.08020001047877354,\n",
  2955. " 15.9442079491525+/-0.10157980905019252,\n",
  2956. " 16.477250147560312+/-0.08380485616759545,\n",
  2957. " 16.45599856565011+/-0.09469553033981885,\n",
  2958. " 16.237276079141967+/-0.084250898004433,\n",
  2959. " 16.38777376057195+/-0.08654837771011424,\n",
  2960. " 16.0087707286694+/-0.07208941153302233,\n",
  2961. " 15.872417492933067+/-0.06275965962921957,\n",
  2962. " 16.182796812452068+/-0.07375626395556516,\n",
  2963. " 15.396265799674268+/-0.06314083177839307,\n",
  2964. " 15.105170017602152+/-0.05240361084159723,\n",
  2965. " 15.384238636239676+/-0.05610596667110579,\n",
  2966. " 14.976138754479786+/-0.04761734373220863,\n",
  2967. " 14.913830417363938+/-0.04510225676060777,\n",
  2968. " 15.490664101660112+/-0.046412792906928194,\n",
  2969. " 14.792523390463542+/-0.04591885911254156,\n",
  2970. " 15.065542535217219+/-0.04231049398766332,\n",
  2971. " 14.965081843205327+/-0.0418219896043396,\n",
  2972. " 14.984753560181455+/-0.046247676858111875,\n",
  2973. " 14.531720234531237+/-0.04393029804015326,\n",
  2974. " 14.951641041563711+/-0.04200606644357985], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhmx</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>31.95+/-0.09 ... 34.08+/-0.10</div><input id='attrs-c2135620-156f-4e3a-bde0-643ba68708f1' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-c2135620-156f-4e3a-bde0-643ba68708f1' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7ce561d6-0cfd-48c5-a6c2-f9e13de42420' class='xr-var-data-in' type='checkbox'><label for='data-7ce561d6-0cfd-48c5-a6c2-f9e13de42420' 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([31.952961151411046+/-0.08806284477053719,\n",
  2975. " 30.92891650388789+/-0.08312578838586394,\n",
  2976. " 32.627733684086124+/-0.08695184623419695,\n",
  2977. " 32.38915633860605+/-0.08155027591999983,\n",
  2978. " 32.309738746536524+/-0.0895556258232886,\n",
  2979. " 34.20415786030834+/-0.0947981032585882,\n",
  2980. " 34.20572508488357+/-0.10631908594054404,\n",
  2981. " 35.07948204456534+/-0.14105910271774877,\n",
  2982. " 40.10599712247585+/-0.28252740767067386,\n",
  2983. " 39.46485547030568+/-0.2689125268648788,\n",
  2984. " 40.063883441997916+/-0.2236915350867087,\n",
  2985. " 37.04831283229178+/-0.1854371760870019,\n",
  2986. " 35.81305255090948+/-0.1319248203859211,\n",
  2987. " 35.93103058827824+/-0.141259036944913,\n",
  2988. " 36.48924007620549+/-0.16364681973665232,\n",
  2989. " 37.81566289779161+/-0.22283683219921452,\n",
  2990. " 38.05340437328607+/-0.1885565870471219,\n",
  2991. " 37.806945362966495+/-0.24085887956054602,\n",
  2992. " 37.95576837726508+/-0.1930482790680572,\n",
  2993. " 38.54843890252731+/-0.2218280429296777,\n",
  2994. " 37.392975024749745+/-0.19401783255653662,\n",
  2995. " 38.60375852974076+/-0.20385583876433666,\n",
  2996. " 37.60163839396653+/-0.1692969282681454,\n",
  2997. " 36.8961832463542+/-0.14587429753119055,\n",
  2998. " 37.716997623158015+/-0.17187909579637145,\n",
  2999. " 36.012777462543134+/-0.1476865731369782,\n",
  3000. " 35.03965462257608+/-0.12155930076884316,\n",
  3001. " 35.817571673073246+/-0.13061673228716467,\n",
  3002. " 35.125831070448825+/-0.11166738395681468,\n",
  3003. " 34.32107958837966+/-0.10379157437592229,\n",
  3004. " 36.285280923734305+/-0.10871508444574295,\n",
  3005. " 33.45049771583698+/-0.10383785017922341,\n",
  3006. " 33.9145611832925+/-0.09524456529321775,\n",
  3007. " 34.478512664954955+/-0.09634705216148866,\n",
  3008. " 33.93883850226895+/-0.1047439329372441,\n",
  3009. " 33.20522740357104+/-0.10038094487778118,\n",
  3010. " 34.07981571735892+/-0.09574136893029611], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>fwhmy</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>33.12+/-0.09 ... 35.21+/-0.10</div><input id='attrs-363cf11f-77ba-457f-ab97-7aaf74db0d43' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-363cf11f-77ba-457f-ab97-7aaf74db0d43' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ff4b7c6a-02f8-4352-bd02-dc12bf61d215' class='xr-var-data-in' type='checkbox'><label for='data-ff4b7c6a-02f8-4352-bd02-dc12bf61d215' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([33.116943689086476+/-0.09127129115155849,\n",
  3011. " 32.80221614915709+/-0.08816319493395755,\n",
  3012. " 34.111652655720796+/-0.09090651904514575,\n",
  3013. " 33.907869025220464+/-0.08537341855330385,\n",
  3014. " 33.615795600778675+/-0.09317842239760347,\n",
  3015. " 35.73848472395254+/-0.09905264745430267,\n",
  3016. " 34.906765807152425+/-0.1084984362622371,\n",
  3017. " 35.442980227528736+/-0.14252090179848284,\n",
  3018. " 39.92195341643324+/-0.28122714048812875,\n",
  3019. " 39.384298613098466+/-0.26838000203170054,\n",
  3020. " 39.56350313171474+/-0.22090015944414187,\n",
  3021. " 37.279537615885666+/-0.18659228964664437,\n",
  3022. " 36.31023735604064+/-0.13375898708306416,\n",
  3023. " 36.347290686434704+/-0.14289469659641718,\n",
  3024. " 36.76840362595908+/-0.16492361644268516,\n",
  3025. " 37.44207161526755+/-0.22067593697796228,\n",
  3026. " 38.11301392112265+/-0.18885658898111282,\n",
  3027. " 37.54573976282329+/-0.2392021652334097,\n",
  3028. " 38.80095819247798+/-0.1973453512180256,\n",
  3029. " 38.75091454236419+/-0.22299092756298497,\n",
  3030. " 38.23586245668509+/-0.19839569982989957,\n",
  3031. " 38.59025740687004+/-0.203805850795976,\n",
  3032. " 37.69777348728528+/-0.16975758792789278,\n",
  3033. " 37.376686160708644+/-0.14778770143297712,\n",
  3034. " 38.10757358989838+/-0.17368272620675895,\n",
  3035. " 36.25543463038896+/-0.14868529398512134,\n",
  3036. " 35.5699564608499+/-0.12340107033315005,\n",
  3037. " 36.227112825389916+/-0.13211945310424864,\n",
  3038. " 35.26611106182409+/-0.11213027360168085,\n",
  3039. " 35.11938614341695+/-0.10620769570342516,\n",
  3040. " 36.47772563987127+/-0.1092937725914777,\n",
  3041. " 34.83372993033136+/-0.10813064723685459,\n",
  3042. " 35.476640872780216+/-0.09963359697042247,\n",
  3043. " 35.24007402601677+/-0.09848325792813946,\n",
  3044. " 35.28639737858649+/-0.10890495392557194,\n",
  3045. " 34.21958544267885+/-0.1034479443584277,\n",
  3046. " 35.20842335749506+/-0.09891672543489384], dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>height</span></div><div class='xr-var-dims'>(sin_mod_freq)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>14.88+/-0.04 ... 13.34+/-0.04</div><input id='attrs-6b324caf-a714-4940-a708-b92cff6cd27b' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-6b324caf-a714-4940-a708-b92cff6cd27b' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0e1736f0-0664-4889-b7c1-38b92c922538' class='xr-var-data-in' type='checkbox'><label for='data-0e1736f0-0664-4889-b7c1-38b92c922538' 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([14.881846478060568+/-0.041014704762308826,\n",
  3047. " 15.658742950611938+/-0.042085694249360636,\n",
  3048. " 15.108505608926777+/-0.04026369173013211,\n",
  3049. " 16.20499462577937+/-0.04080119447282727,\n",
  3050. " 14.076843644603082+/-0.039018536369990066,\n",
  3051. " 13.744584142449428+/-0.03809403255423364,\n",
  3052. " 11.992666166551302+/-0.03727596482711554,\n",
  3053. " 8.992907016926464+/-0.03616164998427754,\n",
  3054. " 4.399637159573817+/-0.030993112478954518,\n",
  3055. " 4.848728463464351+/-0.03304011995039604,\n",
  3056. " 5.6905347073889+/-0.03177254087973001,\n",
  3057. " 6.977776873662123+/-0.03492551695714294,\n",
  3058. " 9.460606325912064+/-0.03485045828423297,\n",
  3059. " 9.147109574214229+/-0.03596078758676632,\n",
  3060. " 7.770025814451326+/-0.03484960630107405,\n",
  3061. " 5.629915615179705+/-0.033178524466074305,\n",
  3062. " 6.886423021088101+/-0.03412300033140615,\n",
  3063. " 5.308030944838632+/-0.033816697887333255,\n",
  3064. " 6.411760063346376+/-0.03261095773984154,\n",
  3065. " 5.639709495924107+/-0.03245369643956646,\n",
  3066. " 6.4029687784061835+/-0.03322292587191607,\n",
  3067. " 6.1402143523385275+/-0.032426478891914495,\n",
  3068. " 7.468782629050527+/-0.033630066224154355,\n",
  3069. " 8.608383720549918+/-0.03403604052924044,\n",
  3070. " 7.379858052582905+/-0.03363284835404896,\n",
  3071. " 8.489113238037195+/-0.03481384338756646,\n",
  3072. " 10.355439436142177+/-0.03592530946183675,\n",
  3073. " 9.82990046573795+/-0.035848168513840845,\n",
  3074. " 11.653079988430191+/-0.037048723369731924,\n",
  3075. " 12.259686948733842+/-0.037075284989632376,\n",
  3076. " 11.823177366506883+/-0.03542400772571197,\n",
  3077. " 12.22013052536784+/-0.03793383964644581,\n",
  3078. " 13.327671000983392+/-0.037429404726160076,\n",
  3079. " 13.208894130472325+/-0.03691256379755125,\n",
  3080. " 12.134680462715613+/-0.037451088980787674,\n",
  3081. " 12.669886259561324+/-0.03830175577793736,\n",
  3082. " 13.344710576348463+/-0.037490560189562455], dtype=object)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-682be448-12a2-43b9-a797-b8ad652f47ba' class='xr-section-summary-in' type='checkbox' ><label for='section-682be448-12a2-43b9-a797-b8ad652f47ba' class='xr-section-summary' >Indexes: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-index-name'><div>sin_mod_freq</div></div><div class='xr-index-preview'>PandasIndex</div><div></div><input id='index-d7996c9e-128b-4f85-8d09-a8e68dbedc5f' class='xr-index-data-in' type='checkbox'/><label for='index-d7996c9e-128b-4f85-8d09-a8e68dbedc5f' 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([ 65.0, 66.0, 67.0, 68.0, 69.0, 70.0, 71.0, 72.0, 73.0,\n",
  3083. " 74.0, 75.0, 76.0, 77.0, 78.0, 79.0, 80.0, 81.0, 82.0,\n",
  3084. " 83.0, 84.0, 85.0, 86.0, 87.0, 88.0, 89.0, 90.0, 91.0,\n",
  3085. " 92.0, 93.0, 94.0, 95.0, 96.0, 97.0, 98.0, 99.0, 100.0,\n",
  3086. " 101.0],\n",
  3087. " dtype=&#x27;float64&#x27;, name=&#x27;sin_mod_freq&#x27;))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-bb48d7ea-1be3-45d2-a640-d1bd666f23a0' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-bb48d7ea-1be3-45d2-a640-d1bd666f23a0' 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>"
  3088. ],
  3089. "text/plain": [
  3090. "<xarray.Dataset>\n",
  3091. "Dimensions: (sin_mod_freq: 37)\n",
  3092. "Coordinates:\n",
  3093. " * sin_mod_freq (sin_mod_freq) float64 65.0 66.0 67.0 ... 99.0 100.0 101.0\n",
  3094. "Data variables:\n",
  3095. " amplitude (sin_mod_freq) object 1808+/-5 1824+/-5 ... 1653+/-5 1838+/-5\n",
  3096. " centerx (sin_mod_freq) object 73.10+/-0.04 ... 73.94+/-0.04\n",
  3097. " centery (sin_mod_freq) object 102.02+/-0.04 ... 102.56+/-0.04\n",
  3098. " sigmax (sin_mod_freq) object 13.57+/-0.04 ... 14.47+/-0.04\n",
  3099. " sigmay (sin_mod_freq) object 14.06+/-0.04 ... 14.95+/-0.04\n",
  3100. " fwhmx (sin_mod_freq) object 31.95+/-0.09 ... 34.08+/-0.10\n",
  3101. " fwhmy (sin_mod_freq) object 33.12+/-0.09 ... 35.21+/-0.10\n",
  3102. " height (sin_mod_freq) object 14.88+/-0.04 ... 13.34+/-0.04"
  3103. ]
  3104. },
  3105. "execution_count": 11,
  3106. "metadata": {},
  3107. "output_type": "execute_result"
  3108. }
  3109. ],
  3110. "source": [
  3111. "fitAnalyser.get_fit_full_result(fitResult)"
  3112. ]
  3113. },
  3114. {
  3115. "attachments": {},
  3116. "cell_type": "markdown",
  3117. "metadata": {},
  3118. "source": [
  3119. "## Get the Ncount"
  3120. ]
  3121. },
  3122. {
  3123. "attachments": {},
  3124. "cell_type": "markdown",
  3125. "metadata": {},
  3126. "source": [
  3127. "### Calculate the mean and standard deviation"
  3128. ]
  3129. },
  3130. {
  3131. "cell_type": "code",
  3132. "execution_count": 12,
  3133. "metadata": {},
  3134. "outputs": [
  3135. {
  3136. "data": {
  3137. "image/png": "iVBORw0KGgoAAAANSUhEUgAAAkQAAAGxCAYAAACDV6ltAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAA9hAAAPYQGoP6dpAAB0RUlEQVR4nO3deXxU1fk/8M+dLXsme0J2lgCBBEQQCKKgIosiWtuiohF/4lYVS8WlVq2036rVVm0LdUMUCyi2VahaGwVFENmXKGvYErKRhSyTfdb7+2Nyb/ZkJpnJbJ/365XXS2bO3DmXweTJOc9zHkEURRFEREREPkzh6gkQERERuRoDIiIiIvJ5DIiIiIjI5zEgIiIiIp/HgIiIiIh8HgMiIiIi8nkMiIiIiMjnMSAiIiIin6dy9QQ8hcViQWlpKUJCQiAIgqunQ0RERDYQRRH19fWIj4+HQtHzOhADIhuVlpYiKSnJ1dMgIiKifigqKkJiYmKPzzMgslFISAgA619oaGioi2dDREREtqirq0NSUpL8c7wnDIhsJG2ThYaGMiAiIiLyMH2luzCpmoiIiHweAyIiIiLyeQyIiIiIyOcxICIiIiKfx4CIiIiIfB4DIiIiIvJ5DIiIiIjI5zEgIiIiIp/HgIiIiIh8HgMiIiIi8nk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gQPwDAaTsrzcwWEQfOd0yoloxsl1hNRES+xWwRsS+/CpX1evlnjCswIHKxB2cOx80TEmC2iHhww0GcrexfwrLFImLVN6cBAHdfPhTBfipHTlPW3xYep8rrUd9iQpBGifQhIR2vKa8QNbh8yZSIiAb
  3138. "text/plain": [
  3139. "<Figure size 640x480 with 1 Axes>"
  3140. ]
  3141. },
  3142. "metadata": {},
  3143. "output_type": "display_data"
  3144. }
  3145. ],
  3146. "source": [
  3147. "Ncount = imageAnalyser.get_Ncount(dataSet_cropOD)\n",
  3148. "\n",
  3149. "Ncount.load()\n",
  3150. "Ncount_mean = calculate_mean(Ncount)\n",
  3151. "Ncount_std = calculate_std(Ncount)\n",
  3152. "Ncount_mean.plot.errorbar(yerr=Ncount_std)\n",
  3153. "plt.show()"
  3154. ]
  3155. },
  3156. {
  3157. "attachments": {},
  3158. "cell_type": "markdown",
  3159. "metadata": {},
  3160. "source": [
  3161. "### Do a 1D fit"
  3162. ]
  3163. },
  3164. {
  3165. "cell_type": "code",
  3166. "execution_count": 13,
  3167. "metadata": {},
  3168. "outputs": [
  3169. {
  3170. "data": {
  3171. "text/html": [
  3172. "<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>"
  3173. ],
  3174. "text/plain": [
  3175. "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]>)])"
  3176. ]
  3177. },
  3178. "execution_count": 13,
  3179. "metadata": {},
  3180. "output_type": "execute_result"
  3181. }
  3182. ],
  3183. "source": [
  3184. "def gaussian(x, amplitude=1.0, center=0.0, sigma=1.0):\n",
  3185. " \"\"\"Return a 1-dimensional Gaussian function.\n",
  3186. "\n",
  3187. " gaussian(x, amplitude, center, sigma) =\n",
  3188. " (amplitude/(s2pi*sigma)) * exp(-(1.0*x-center)**2 / (2*sigma**2))\n",
  3189. "\n",
  3190. " \"\"\"\n",
  3191. " return ((amplitude/(max(1e-10, np.sqrt(2*np.pi)*sigma)))\n",
  3192. " * np.exp(-(1.0*x-center)**2 / max(1e-10, (2*sigma**2))))\n",
  3193. "\n",
  3194. "fitModel = NewFitModel(gaussian)\n",
  3195. "\n",
  3196. "fitModel.make_params()"
  3197. ]
  3198. },
  3199. {
  3200. "cell_type": "code",
  3201. "execution_count": 14,
  3202. "metadata": {},
  3203. "outputs": [
  3204. {
  3205. "data": {
  3206. "image/png": "iVBORw0KGgoAAAANSUhEUgAAAkQAAAGwCAYAAABIC3rIAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAA9hAAAPYQGoP6dpAABoxUlEQVR4nO3deXhTVfoH8G+WJt1DF7pSSssOLVAoQkFZFAoMi4iCyljhpzI6IojAqOjoMM6MOI7bjIyOOowLoLiCC1gW2YWyF1qWUqClC92XpGuSJvf3R5pAoXvTZrnfz/PkeWzuyc253pK8Pec955UIgiCAiIiISMSktu4AERERka0xICIiIiLRY0BEREREoseAiIiIiESPARERERGJHgMiIiIiEj0GRERERCR6clt3wFEYjUZcu3YNXl5ekEgktu4OERERtYIgCKioqEBISAik0qbHgRgQtdK1a9cQFhZm624QERFRO2RnZ6NHjx5NHmdA1EpeXl4ATP9Dvb29bdwbIiIiag2NRoOwsDDL93hTGBC1knmazNvbmwERERGRg2kp3YVJ1URERCR6DIiIiIhI9BgQERERkegxICIiIiLRY0BEREREoseAiIiIiESPARERERGJHgMiIiIiEj0GRERERCR6DIiIiIhI9BgQERERkegx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mhOu1uy/hpzN5kEsl+M9DIxDm694lfTSPErVmNKfOYMSXxxpPpr7RyAgfuCtkKKrQ4uw166y4IyIi+1VRq8fmk7kAgIfjwm3cGwZEdmtMb38kPj0O06ODUWcU8MaOi3jwwyT
  3207. "text/plain": [
  3208. "<Figure size 640x480 with 1 Axes>"
  3209. ]
  3210. },
  3211. "metadata": {},
  3212. "output_type": "display_data"
  3213. }
  3214. ],
  3215. "source": [
  3216. "fitAnalyser = FitAnalyser(fitModel, fitDim=1)\n",
  3217. "\n",
  3218. "params = fitAnalyser.guess(Ncount_mean, x=\"sin_mod_freq\", dask=\"parallelized\")\n",
  3219. "fitResult = fitAnalyser.fit(Ncount_mean, params, x=\"sin_mod_freq\").load()\n",
  3220. "\n",
  3221. "plot_x = np.linspace(Ncount_mean[\"sin_mod_freq\"].min(), Ncount_mean[\"sin_mod_freq\"].max(), 100)\n",
  3222. "\n",
  3223. "fitCurve = fitAnalyser.eval(fitResult, x=plot_x, dask=\"parallelized\").load()\n",
  3224. "\n",
  3225. "fig = plt.figure()\n",
  3226. "ax = fig.gca()\n",
  3227. "\n",
  3228. "Ncount_mean.plot.errorbar(ax=ax, yerr=Ncount_std)\n",
  3229. "fitCurve.plot.errorbar(ax=ax, fmt='--g')\n",
  3230. "\n",
  3231. "plt.show()"
  3232. ]
  3233. },
  3234. {
  3235. "cell_type": "code",
  3236. "execution_count": 15,
  3237. "metadata": {},
  3238. "outputs": [
  3239. {
  3240. "ename": "ValueError",
  3241. "evalue": "Line plots are for 1- or 2-dimensional DataArrays. Passed DataArray has 3 dimensions",
  3242. "output_type": "error",
  3243. "traceback": [
  3244. "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
  3245. "\u001b[1;31mValueError\u001b[0m Traceback (most recent call last)",
  3246. "\u001b[1;32mf:\\Jianshun\\analyseScript\\Example.ipynb Cell 27\u001b[0m in \u001b[0;36m6\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X34sZmlsZQ%3D%3D?line=3'>4</a>\u001b[0m fig \u001b[39m=\u001b[39m plt\u001b[39m.\u001b[39mfigure()\n\u001b[0;32m <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X34sZmlsZQ%3D%3D?line=4'>5</a>\u001b[0m ax \u001b[39m=\u001b[39m fig\u001b[39m.\u001b[39mgca()\n\u001b[1;32m----> <a href='vscode-notebook-cell:/f%3A/Jianshun/analyseScript/Example.ipynb#X34sZmlsZQ%3D%3D?line=5'>6</a>\u001b[0m plot_dataSe\u001b[39m.\u001b[39;49msel(plot\u001b[39m=\u001b[39;49m[\u001b[39m0\u001b[39;49m, \u001b[39m1\u001b[39;49m])\u001b[39m.\u001b[39;49mplot\u001b[39m.\u001b[39;49merrorbar(ax\u001b[39m=\u001b[39;49max, hue\u001b[39m=\u001b[39;49m\u001b[39m'\u001b[39;49m\u001b[39mplot\u001b[39;49m\u001b[39m'\u001b[39;49m, x\u001b[39m=\u001b[39;49m\u001b[39m'\u001b[39;49m\u001b[39mfinal_amp\u001b[39;49m\u001b[39m'\u001b[39;49m, fmt\u001b[39m=\u001b[39;49m[\u001b[39m'\u001b[39;49m\u001b[39mob\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m'\u001b[39;49m\u001b[39m-g\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=6'>7</a>\u001b[0m plt\u001b[39m.\u001b[39mshow()\n",
  3247. "File \u001b[1;32mf:\\Jianshun\\analyseScript\\ToolFunction\\HomeMadeXarrayFunction.py:274\u001b[0m, in \u001b[0;36mdataarray_plot_errorbar\u001b[1;34m(DataArrayPlotAccessor, *args, **kwargs)\u001b[0m\n\u001b[0;32m 273\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39mdataarray_plot_errorbar\u001b[39m(DataArrayPlotAccessor, \u001b[39m*\u001b[39margs, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs) \u001b[39m-\u001b[39m\u001b[39m>\u001b[39m \u001b[39mlist\u001b[39m[Line3D] \u001b[39m|\u001b[39m FacetGrid[DataArray]:\n\u001b[1;32m--> 274\u001b[0m \u001b[39mreturn\u001b[39;00m errorbar(DataArrayPlotAccessor\u001b[39m.\u001b[39m_da, \u001b[39m*\u001b[39margs, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs)\n",
  3248. "File \u001b[1;32mf:\\Jianshun\\analyseScript\\ToolFunction\\HomeMadeXarrayFunction.py:185\u001b[0m, in \u001b[0;36merrorbar\u001b[1;34m(darray, xerr, yerr, row, col, figsize, aspect, size, ax, hue, x, y, xincrease, yincrease, xscale, yscale, xticks, yticks, xlim, ylim, add_legend, _labels, *args, **kwargs)\u001b[0m\n\u001b[0;32m 183\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mTypeError\u001b[39;00m(\u001b[39m\"\u001b[39m\u001b[39mNo numeric data to plot.\u001b[39m\u001b[39m\"\u001b[39m)\n\u001b[0;32m 184\u001b[0m \u001b[39mif\u001b[39;00m ndims \u001b[39m>\u001b[39m \u001b[39m2\u001b[39m:\n\u001b[1;32m--> 185\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mValueError\u001b[39;00m(\n\u001b[0;32m 186\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mLine plots are for 1- or 2-dimensional DataArrays. \u001b[39m\u001b[39m\"\u001b[39m\n\u001b[0;32m 187\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mPassed DataArray has \u001b[39m\u001b[39m{ndims}\u001b[39;00m\u001b[39m \u001b[39m\u001b[39m\"\u001b[39m\n\u001b[0;32m 188\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mdimensions\u001b[39m\u001b[39m\"\u001b[39m\u001b[39m.\u001b[39mformat(ndims\u001b[39m=\u001b[39mndims)\n\u001b[0;32m 189\u001b[0m )\n\u001b[0;32m 191\u001b[0m \u001b[39m# The allargs dict passed to _easy_facetgrid above contains args\u001b[39;00m\n\u001b[0;32m 192\u001b[0m \u001b[39mif\u001b[39;00m args \u001b[39m==\u001b[39m ():\n",
  3249. "\u001b[1;31mValueError\u001b[0m: Line plots are for 1- or 2-dimensional DataArrays. Passed DataArray has 3 dimensions"
  3250. ]
  3251. },
  3252. {
  3253. "data": {
  3254. "image/png": "iVBORw0KGgoAAAANSUhEUgAAAi4AAAGiCAYAAADA0E3hAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAcu0lEQVR4nO3db2yV5f348U9paaturRG0FkEEpxMl6mgDo6wandag0ZBskcVF1GliszmETqeMRYYxaXTRfXUKbgoaE3REReeDztEHG1Zxf2DFGCFxEWZBW0kxtqhbGXD/Hhj6W9fiOLV/uNrXK7kfnMv7Puc6uazn7X2fP3lZlmUBAJCAMcM9AQCAIyVcAIBkCBcAIBnCBQBIhnABAJIhXACAZAgXACAZwgUASIZwAQCSIVwAgGTkHC6vvPJKXHnllTFhwoTIy8uLF1988X8es2HDhqioqIji4uKYOnVqPProo/2ZKwAwyuUcLp988kmcd9558fDDDx/R/jt27IjLL788qquro7m5OX7yk5/EwoUL4/nnn895sgDA6Jb3RX5kMS8vL1544YWYN2/eYfe544474qWXXopt27Z1j9XW1sYbb7wRr7/+en8fGgAYhQoG+wFef/31qKmp6TF22WWXxapVq+Lf//53jB07ttcxXV1d0dXV1X374MGD8eGHH8a4ceMiLy9vsKcMAAyALMti7969MWHChBgzZmDeVjvo4dLW1hZlZWU9xsrKymL//v3R3t4e5eXlvY6pr6+P5cuXD/bUAIAhsHPnzpg4ceKA3Negh0tE9DpLcujq1OHOnixZsiTq6uq6b3d0dMSpp54aO3fujJKSksGbKAAwYDo7O2PSpEnx5S9/ecDuc9DD5eSTT462trYeY7t3746CgoIYN25c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vpe+7/88svxne98J7Zv3x4nnHBCvybZ2dkZpaWl0dHRESUlJf26DwBgaA3G63dOl4r27dsXmzdvjpqamh7jNTU1sXHjxj6Peemll6KysjLuu+++OOWUU+LMM8+M2267Lf75z38e9nG6urqis7OzxwYAkNOlovb29jhw4ECUlZX1GC8rK4u2trY+j9m+fXu8+uqrUVxcHC+88EK0t7fH97///fjwww8P+z6X+vr6WL58eS5TAwBGgX69OTcvL6/H7SzLeo0dcvDgwcjLy4s1a9bEzJkz4/LLL48HHnggnnzyycOedVmyZEl0dHR0bzt37uzPNAGAESanMy7jx4+P/Pz8XmdXdu/e3esszCHl5eVxyimnRGlpaffYtGnTIsuy2LVrV5xxxhm9jikqKoqioqJcpgYAjAI5nXEpLCyMioqKaGxs7DHe2NgYVVVVfR4zZ86ceP/99+Pjjz/uHnv77bdjzJgxMXHixH5MGQAYrXK+VFRXVxePP/54rF69OrZt2xaLFy+OlpaWqK2tjYjPLvMsWLCge/9rrrkmxo0bFzfccENs3bo1Xnnllbj99tvje9/7XhxzzDED90wAgBEv5+9xmT9/fuzZsyfuvvvuaG1tjenTp0dDQ0NMnjw5IiJaW1ujpaWle/8vfelL0djYGD/84Q+jsrIyxo0bF1dffXXcc889A/csAIBRIefvcRkOvscFANIz7N/jAgAwnIQLAJAM4QIAJEO4AADJEC4AQDKECwCQDOECACRDuAAAyRAuAEAyhAsAkAzhAgAkQ7gAAMkQLgBAMoQLAJAM4QIAJEO4AADJEC4AQDKECwCQDOECACRDuAAAyRAuAEAyhAsAkAzhAgAkQ7gAAMkQLgBAMoQLAJAM4QIAJEO4AADJEC4AQDKECwCQDOECACRDuAAAyRAuAEAyhAsAkAzhAgAkQ7gAAMkQLgBAMoQLAJAM4QIAJEO4AADJEC4AQDKECwCQDOECACR
  3255. "text/plain": [
  3256. "<Figure size 640x480 with 1 Axes>"
  3257. ]
  3258. },
  3259. "metadata": {},
  3260. "output_type": "display_data"
  3261. }
  3262. ],
  3263. "source": [
  3264. "fitCurve = fitCurve.rename(dict(x='final_amp'))\n",
  3265. "plot_dataSe = xr.combine_nested([Ncount_mean, fitCurve], ['plot'])\n",
  3266. "\n",
  3267. "fig = plt.figure()\n",
  3268. "ax = fig.gca()\n",
  3269. "plot_dataSe.sel(plot=[0, 1]).plot.errorbar(ax=ax, hue='plot', x='final_amp', fmt=['ob', '-g'])\n",
  3270. "plt.show()\n"
  3271. ]
  3272. },
  3273. {
  3274. "attachments": {},
  3275. "cell_type": "markdown",
  3276. "metadata": {},
  3277. "source": [
  3278. "# Select data and remove bad shot"
  3279. ]
  3280. },
  3281. {
  3282. "cell_type": "code",
  3283. "execution_count": null,
  3284. "metadata": {},
  3285. "outputs": [],
  3286. "source": [
  3287. "plot_dataSe.where( (Ncount_mean[scanAxis[0]]<2e-4) & (Ncount_mean[scanAxis[0]]>1e-4) )"
  3288. ]
  3289. },
  3290. {
  3291. "cell_type": "code",
  3292. "execution_count": null,
  3293. "metadata": {},
  3294. "outputs": [],
  3295. "source": []
  3296. }
  3297. ],
  3298. "metadata": {
  3299. "kernelspec": {
  3300. "display_name": "Python 3",
  3301. "language": "python",
  3302. "name": "python3"
  3303. },
  3304. "language_info": {
  3305. "codemirror_mode": {
  3306. "name": "ipython",
  3307. "version": 3
  3308. },
  3309. "file_extension": ".py",
  3310. "mimetype": "text/x-python",
  3311. "name": "python",
  3312. "nbconvert_exporter": "python",
  3313. "pygments_lexer": "ipython3",
  3314. "version": "3.9.13"
  3315. },
  3316. "orig_nbformat": 4
  3317. },
  3318. "nbformat": 4,
  3319. "nbformat_minor": 2
  3320. }