{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "0",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:27.154835Z",
"iopub.status.busy": "2026-06-30T22:32:27.154545Z",
"iopub.status.idle": "2026-06-30T22:32:27.158350Z",
"shell.execute_reply": "2026-06-30T22:32:27.157746Z"
},
"tags": [
"hide-in-docs"
]
},
"outputs": [],
"source": [
"# Check whether easydiffraction is installed; install it if needed.\n",
"# Required for remote environments such as Google Colab.\n",
"import importlib.util\n",
"\n",
"if importlib.util.find_spec('easydiffraction') is None:\n",
" %pip install easydiffraction==0.19.1"
]
},
{
"cell_type": "markdown",
"id": "1",
"metadata": {},
"source": [
"# Structure Refinement: Taurine, SENJU\n",
"\n",
"Crystal structure refinement of Taurine using time-of-flight single\n",
"crystal neutron diffraction data from SENJU at J-PARC."
]
},
{
"cell_type": "markdown",
"id": "2",
"metadata": {},
"source": [
"## 🛠️ Import Library"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "3",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:27.159810Z",
"iopub.status.busy": "2026-06-30T22:32:27.159658Z",
"iopub.status.idle": "2026-06-30T22:32:30.355069Z",
"shell.execute_reply": "2026-06-30T22:32:30.354234Z"
}
},
"outputs": [],
"source": [
"import easydiffraction as edi"
]
},
{
"cell_type": "markdown",
"id": "4",
"metadata": {},
"source": [
"## 📦 Define Project"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "5",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.357559Z",
"iopub.status.busy": "2026-06-30T22:32:30.357249Z",
"iopub.status.idle": "2026-06-30T22:32:30.600215Z",
"shell.execute_reply": "2026-06-30T22:32:30.599294Z"
}
},
"outputs": [],
"source": [
"# Create a minimal project with a short name\n",
"project = edi.Project(name='taurine_senju')"
]
},
{
"cell_type": "markdown",
"id": "6",
"metadata": {},
"source": [
"## 🧩 Define Structure"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "7",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.606842Z",
"iopub.status.busy": "2026-06-30T22:32:30.606573Z",
"iopub.status.idle": "2026-06-30T22:32:30.780791Z",
"shell.execute_reply": "2026-06-30T22:32:30.780100Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mGetting data\u001b[0m\u001b[1;36m...\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Data \u001b[32m'struct-taurine'\u001b[0m: Taurine \u001b[1m(\u001b[0mcrystal structure\u001b[1m)\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"✅ Data \u001b[32m'struct-taurine'\u001b[0m downloaded to \u001b[32m'../../../data/struct-taurine.cif'\u001b[0m\n"
]
}
],
"source": [
"# Download CIF file from repository\n",
"structure_path = edi.download_data('struct-taurine', destination='data')"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "8",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.782666Z",
"iopub.status.busy": "2026-06-30T22:32:30.782470Z",
"iopub.status.idle": "2026-06-30T22:32:30.808140Z",
"shell.execute_reply": "2026-06-30T22:32:30.807444Z"
}
},
"outputs": [],
"source": [
"project.structures.add_from_cif_path(structure_path)"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "9",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.810190Z",
"iopub.status.busy": "2026-06-30T22:32:30.809989Z",
"iopub.status.idle": "2026-06-30T22:32:30.815038Z",
"shell.execute_reply": "2026-06-30T22:32:30.814318Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mDefined structures 🧩\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1m[\u001b[0m\u001b[32m'taurine'\u001b[0m\u001b[1m]\u001b[0m\n"
]
}
],
"source": [
"project.structures.show_names()"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "10",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.816692Z",
"iopub.status.busy": "2026-06-30T22:32:30.816537Z",
"iopub.status.idle": "2026-06-30T22:32:30.819528Z",
"shell.execute_reply": "2026-06-30T22:32:30.818888Z"
}
},
"outputs": [],
"source": [
"structure = project.structures['taurine']"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "11",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.821233Z",
"iopub.status.busy": "2026-06-30T22:32:30.821064Z",
"iopub.status.idle": "2026-06-30T22:32:30.895533Z",
"shell.execute_reply": "2026-06-30T22:32:30.893237Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mStructure 🧩 \u001b[0m\u001b[32m'taurine'\u001b[0m\u001b[1;36m as text\u001b[0m\n"
]
},
{
"data": {
"text/html": [
"
| Edi |
|---|
| 1 | data_taurine |
|---|
| 2 | |
|---|
| 3 | _cell.length_a 5.2729 |
|---|
| 4 | _cell.length_b 11.6565 |
|---|
| 5 | _cell.length_c 7.8383 |
|---|
| 6 | _cell.angle_alpha 90. |
|---|
| 7 | _cell.angle_beta 94.011 |
|---|
| 8 | _cell.angle_gamma 90. |
|---|
| 9 | |
|---|
| 10 | _space_group.name_h_m "P 21/c" |
|---|
| 11 | _space_group.coord_system_code b1 |
|---|
| 12 | |
|---|
| 13 | _geom.min_bond_distance_cutoff 0. |
|---|
| 14 | _geom.bond_distance_inc 0.25 |
|---|
| 15 | |
|---|
| 16 | loop_ |
|---|
| 17 | _atom_site.id |
|---|
| 18 | _atom_site.type_symbol |
|---|
| 19 | _atom_site.fract_x |
|---|
| 20 | _atom_site.fract_y |
|---|
| 21 | _atom_site.fract_z |
|---|
| 22 | _atom_site.wyckoff_letter |
|---|
| 23 | _atom_site.multiplicity |
|---|
| 24 | _atom_site.occupancy |
|---|
| 25 | _atom_site.adp_iso |
|---|
| 26 | _atom_site.adp_type |
|---|
| 27 | S1 S 0.2000(10) 0.3500(10) 0.3500(10) e 4 1. 1.57910(10) Biso |
|---|
| 28 | O1 O 0.3130(10) 0.2400(10) 0.3510(10) e 4 1. 2.76350(10) Biso |
|---|
| 29 | O2 O 0.9380(10) 0.3370(10) 0.2940(10) e 4 1. 3.63200(10) Biso |
|---|
| 30 | O3 O 0.2220(10) 0.4120(10) 0.5070(10) e 4 1. 1.89500(10) Biso |
|---|
| 31 | N1 N 0.2640(10) 0.6280(10) 0.3310(10) e 4 1. 2.13180(10) Biso |
|---|
| 32 | H1 H 0.1330(10) 0.5880(10) 0.4210(10) e 4 1. 3.39510(10) Biso |
|---|
| 33 | H2 H 0.1910(10) 0.7150(10) 0.3120(10) e 4 1. 4.57950(10) Biso |
|---|
| 34 | H3 H 0.4400(10) 0.6240(10) 0.3490(10) e 4 1. 4.65850(10) Biso |
|---|
| 35 | C1 C 0.3440(10) 0.4400(10) 0.2020(10) e 4 1. 1.73710(10) Biso |
|---|
| 36 | H11 H 0.5520(10) 0.4330(10) 0.2430(10) e 4 1. 3.39510(10) Biso |
|---|
| 37 | H12 H 0.3200(10) 0.3880(10) 0.0810(10) e 4 1. 3.31620(10) Biso |
|---|
| 38 | C2 C 0.2000(10) 0.5570(10) 0.1820(10) e 4 1. 1.73710(10) Biso |
|---|
| 39 | H21 H 0.2760(10) 0.6000(10) 0.0770(10) e 4 1. 2.13180(10) Biso |
|---|
| 40 | H22 H 0.9990(10) 0.5490(10) 0.1610(10) e 4 1. 4.97430(10) Biso |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"structure.show_as_text()"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "12",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.898427Z",
"iopub.status.busy": "2026-06-30T22:32:30.898228Z",
"iopub.status.idle": "2026-06-30T22:32:30.943717Z",
"shell.execute_reply": "2026-06-30T22:32:30.943126Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mStructure 🧩 \u001b[0m\u001b[32m'taurine'\u001b[0m\u001b[1;36m \u001b[0m\u001b[1;36m(\u001b[0m\u001b[1;36mAtom view type: \u001b[0m\u001b[32m'covalent'\u001b[0m\u001b[1;36m)\u001b[0m\n"
]
},
{
"data": {
"text/html": [
"\n",
"
\n",
"
Loading plot…
\n",
"
\n",
"
\n",
"
\n",
"
drag = rotate
wheel = zoom
right-drag = pan
\n",
"
\n",
"
\n",
"\n",
"\n",
"\n",
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"project.display.structure(struct_name='taurine')"
]
},
{
"cell_type": "markdown",
"id": "13",
"metadata": {},
"source": [
"## 🔬 Define Experiment"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "14",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:30.945183Z",
"iopub.status.busy": "2026-06-30T22:32:30.945010Z",
"iopub.status.idle": "2026-06-30T22:32:31.038361Z",
"shell.execute_reply": "2026-06-30T22:32:31.037307Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mGetting data\u001b[0m\u001b[1;36m...\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Data \u001b[32m'meas-taurine-senju'\u001b[0m: Taurine, SENJU \u001b[1m(\u001b[0mJ-PARC\u001b[1m)\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"✅ Data \u001b[32m'meas-taurine-senju'\u001b[0m downloaded to \u001b[32m'../../../data/meas-taurine-senju.xye'\u001b[0m\n"
]
}
],
"source": [
"# Download data file from repository\n",
"data_path = edi.download_data('meas-taurine-senju', destination='data')"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "15",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.040316Z",
"iopub.status.busy": "2026-06-30T22:32:31.039976Z",
"iopub.status.idle": "2026-06-30T22:32:31.191572Z",
"shell.execute_reply": "2026-06-30T22:32:31.190936Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mData loaded successfully\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Experiment 🔬 \u001b[32m'senju'\u001b[0m. Number of data points: \u001b[1;36m286\u001b[0m.\n"
]
}
],
"source": [
"project.experiments.add_from_data_path(\n",
" name='senju',\n",
" data_path=data_path,\n",
" sample_form='single crystal',\n",
" beam_mode='time-of-flight',\n",
" radiation_probe='neutron',\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "16",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.193913Z",
"iopub.status.busy": "2026-06-30T22:32:31.193715Z",
"iopub.status.idle": "2026-06-30T22:32:31.196540Z",
"shell.execute_reply": "2026-06-30T22:32:31.195952Z"
}
},
"outputs": [],
"source": [
"experiment = project.experiments['senju']"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "17",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.197855Z",
"iopub.status.busy": "2026-06-30T22:32:31.197677Z",
"iopub.status.idle": "2026-06-30T22:32:31.200725Z",
"shell.execute_reply": "2026-06-30T22:32:31.200162Z"
}
},
"outputs": [],
"source": [
"experiment.linked_structure.structure_id = 'taurine'\n",
"experiment.linked_structure.scale = 1.0"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "18",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.202017Z",
"iopub.status.busy": "2026-06-30T22:32:31.201842Z",
"iopub.status.idle": "2026-06-30T22:32:31.204947Z",
"shell.execute_reply": "2026-06-30T22:32:31.204367Z"
}
},
"outputs": [],
"source": [
"experiment.extinction.mosaicity = 1000.0\n",
"experiment.extinction.radius = 100.0"
]
},
{
"cell_type": "markdown",
"id": "19",
"metadata": {},
"source": [
"## 🚀 Perform Analysis"
]
},
{
"cell_type": "markdown",
"id": "20",
"metadata": {},
"source": [
"### ADP iso"
]
},
{
"cell_type": "code",
"execution_count": 15,
"id": "21",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.207607Z",
"iopub.status.busy": "2026-06-30T22:32:31.207408Z",
"iopub.status.idle": "2026-06-30T22:32:31.515045Z",
"shell.execute_reply": "2026-06-30T22:32:31.514330Z"
}
},
"outputs": [
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"project.display.pattern(expt_name='senju')"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "22",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.516782Z",
"iopub.status.busy": "2026-06-30T22:32:31.516580Z",
"iopub.status.idle": "2026-06-30T22:32:31.520078Z",
"shell.execute_reply": "2026-06-30T22:32:31.519413Z"
}
},
"outputs": [],
"source": [
"experiment.linked_structure.scale.free = True\n",
"experiment.extinction.radius.free = True"
]
},
{
"cell_type": "code",
"execution_count": 17,
"id": "23",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.522016Z",
"iopub.status.busy": "2026-06-30T22:32:31.521773Z",
"iopub.status.idle": "2026-06-30T22:32:31.529920Z",
"shell.execute_reply": "2026-06-30T22:32:31.528994Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mMinimizer types\u001b[0m\n"
]
},
{
"data": {
"text/html": [
" | | Type | Description |
|---|
| 1 | | bumps | BUMPS library using the default Levenberg-Marquardt method |
|---|
| 2 | | bumps (amoeba) | BUMPS library with Nelder-Mead simplex method |
|---|
| 3 | | bumps (de) | BUMPS library with differential evolution method |
|---|
| 4 | | bumps (dream) | BUMPS library with DREAM Bayesian sampling |
|---|
| 5 | | bumps (lm) | BUMPS library with Levenberg-Marquardt method |
|---|
| 6 | | dfols | DFO-LS library for derivative-free least-squares optimization |
|---|
| 7 | | emcee | emcee affine-invariant ensemble Bayesian sampling |
|---|
| 8 | | lmfit | LMFIT library using the default Levenberg-Marquardt method |
|---|
| 9 | | lmfit (least_squares) | LMFIT library with SciPy's trust region reflective algorithm |
|---|
| 10 | * | lmfit (leastsq) | LMFIT library with Levenberg-Marquardt least squares method |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"project.analysis.minimizer.show_supported()"
]
},
{
"cell_type": "code",
"execution_count": 18,
"id": "24",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.531501Z",
"iopub.status.busy": "2026-06-30T22:32:31.531320Z",
"iopub.status.idle": "2026-06-30T22:32:31.536868Z",
"shell.execute_reply": "2026-06-30T22:32:31.536171Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mCurrent minimizer changed to\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"bumps\n"
]
}
],
"source": [
"project.analysis.minimizer.type = 'bumps'"
]
},
{
"cell_type": "code",
"execution_count": 19,
"id": "25",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.538403Z",
"iopub.status.busy": "2026-06-30T22:32:31.538225Z",
"iopub.status.idle": "2026-06-30T22:32:31.541456Z",
"shell.execute_reply": "2026-06-30T22:32:31.540491Z"
}
},
"outputs": [],
"source": [
"# Limit number of iterations to prevent long calculation time in this tutorial.\n",
"project.analysis.minimizer.max_iterations = 500"
]
},
{
"cell_type": "code",
"execution_count": 20,
"id": "26",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:31.542972Z",
"iopub.status.busy": "2026-06-30T22:32:31.542790Z",
"iopub.status.idle": "2026-06-30T22:32:37.882459Z",
"shell.execute_reply": "2026-06-30T22:32:37.881689Z"
}
},
"outputs": [
{
"data": {
"text/html": [],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/javascript": [
"\n",
"(function() {\n",
" const button = document.getElementById('ed-fit-stop-3e9e8b9f782d412583f73ae5e8fec15c-button');\n",
" const status = document.getElementById('ed-fit-stop-3e9e8b9f782d412583f73ae5e8fec15c-status');\n",
" const kernelId = '';\n",
" if (!button) {\n",
" return;\n",
" }\n",
"\n",
" function setStatus(text) {\n",
" if (status) {\n",
" status.textContent = text;\n",
" }\n",
" }\n",
"\n",
" function pageConfig() {\n",
" const element = document.getElementById('jupyter-config-data');\n",
" if (!element || !element.textContent) {\n",
" return {};\n",
" }\n",
" try {\n",
" return JSON.parse(element.textContent);\n",
" } catch (error) {\n",
" return {};\n",
" }\n",
" }\n",
"\n",
" function baseUrl(config) {\n",
" const configured = config.baseUrl || config.base_url ||\n",
" (window.Jupyter && Jupyter.notebook && Jupyter.notebook.base_url);\n",
" if (configured) {\n",
" return configured.endsWith('/') ? configured : configured + '/';\n",
" }\n",
" const markers = ['/lab/', '/notebooks/', '/tree/'];\n",
" for (const marker of markers) {\n",
" const index = window.location.pathname.indexOf(marker);\n",
" if (index >= 0) {\n",
" return window.location.pathname.slice(0, index + 1);\n",
" }\n",
" }\n",
" return '/';\n",
" }\n",
"\n",
" function token(config) {\n",
" return config.token || new URLSearchParams(window.location.search).get('token') || '';\n",
" }\n",
"\n",
" function cookie(name) {\n",
" const prefix = name + '=';\n",
" for (const part of document.cookie.split(';')) {\n",
" const trimmed = part.trim();\n",
" if (trimmed.startsWith(prefix)) {\n",
" return decodeURIComponent(trimmed.slice(prefix.length));\n",
" }\n",
" }\n",
" return '';\n",
" }\n",
"\n",
" function notebookPath() {\n",
" const decoded = decodeURIComponent(window.location.pathname);\n",
" const markers = ['/lab/tree/', '/notebooks/', '/tree/'];\n",
" for (const marker of markers) {\n",
" const index = decoded.indexOf(marker);\n",
" if (index >= 0) {\n",
" return decoded.slice(index + marker.length);\n",
" }\n",
" }\n",
" return '';\n",
" }\n",
"\n",
" async function kernelFromSessions(config) {\n",
" const url = new URL(baseUrl(config) + 'api/sessions', window.location.origin);\n",
" const authToken = token(config);\n",
" if (authToken) {\n",
" url.searchParams.set('token', authToken);\n",
" }\n",
" const response = await fetch(url, {credentials: 'same-origin'});\n",
" if (!response.ok) {\n",
" return '';\n",
" }\n",
" const sessions = await response.json();\n",
" const path = notebookPath();\n",
" const session = sessions.find((item) => item.path === path) || sessions[0];\n",
" return session && session.kernel ? session.kernel.id : '';\n",
" }\n",
"\n",
" async function interruptKernel(config, resolvedKernelId) {\n",
" const url = new URL(\n",
" baseUrl(config) + 'api/kernels/' + resolvedKernelId + '/interrupt',\n",
" window.location.origin\n",
" );\n",
" const authToken = token(config);\n",
" if (authToken) {\n",
" url.searchParams.set('token', authToken);\n",
" }\n",
" const xsrfToken = cookie('_xsrf');\n",
" const headers = {};\n",
" if (xsrfToken) {\n",
" headers['X-XSRFToken'] = xsrfToken;\n",
" }\n",
" const response = await fetch(url, {\n",
" method: 'POST',\n",
" credentials: 'same-origin',\n",
" headers: headers\n",
" });\n",
" return response.ok;\n",
" }\n",
"\n",
" button.addEventListener('click', async function() {\n",
" button.disabled = true;\n",
" setStatus('Stopping...');\n",
" const config = pageConfig();\n",
" try {\n",
" const resolvedKernelId = kernelId || await kernelFromSessions(config);\n",
" if (!resolvedKernelId) {\n",
" throw new Error('Could not resolve the current kernel id.');\n",
" }\n",
" const interrupted = await interruptKernel(config, resolvedKernelId);\n",
" if (!interrupted) {\n",
" throw new Error('Jupyter Server rejected the interrupt request.');\n",
" }\n",
" setStatus('Interrupt sent...');\n",
" } catch (error) {\n",
" button.disabled = false;\n",
" setStatus('Use Kernel > Interrupt to stop this fit.');\n",
" }\n",
" });\n",
"})();\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mStandard fitting\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📋 Using experiment 🔬 \u001b[32m'senju'\u001b[0m for \u001b[32m'single'\u001b[0m fitting\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"🚀 Starting fit process with \u001b[32m'bumps \u001b[0m\u001b[32m(\u001b[0m\u001b[32mlm\u001b[0m\u001b[32m)\u001b[0m\u001b[32m'\u001b[0m\u001b[33m...\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📈 Goodness-of-fit progress:\n"
]
},
{
"data": {
"text/html": [
" | iteration | time (s) | χ² | change / status |
|---|
| 1 | 1 | 0.02 | 748.12 | |
|---|
| 2 | 62 | 0.79 | 465.67 | 37.8% ↓ |
|---|
| 3 | 121 | 1.51 | 93.43 | 79.9% ↓ |
|---|
| 4 | 180 | 2.28 | 34.99 | 62.5% ↓ |
|---|
| 5 | 239 | 2.97 | 24.65 | 29.6% ↓ |
|---|
| 6 | 298 | 3.67 | 24.22 | 1.8% ↓ |
|---|
| 7 | 357 | 4.38 | 23.78 | 1.8% ↓ |
|---|
| 8 | 500 | 6.23 | 23.68 | |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"🏆 Best goodness-of-fit \u001b[1m(\u001b[0mreduced χ²\u001b[1m)\u001b[0m is \u001b[1;36m23.68\u001b[0m at iteration \u001b[1;36m500\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"✅ Fitting complete.\n"
]
}
],
"source": [
"# Start refinement. All parameters, which have standard uncertainties\n",
"# in the input CIF files, are refined by default.\n",
"project.analysis.fit()"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "27",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:37.883992Z",
"iopub.status.busy": "2026-06-30T22:32:37.883824Z",
"iopub.status.idle": "2026-06-30T22:32:38.335233Z",
"shell.execute_reply": "2026-06-30T22:32:38.334547Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"⚙️ Settings used:\n"
]
},
{
"data": {
"text/html": [
" | Name | Value | Description |
|---|
| 1 | max_iterations | 500 | Maximum solver iterations. |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📋 Least-squares fit results:\n"
]
},
{
"data": {
"text/html": [
" | Metric | Value |
|---|
| 1 | 🧪 Minimizer | bumps |
|---|
| 2 | ❌ Overall status | failed |
|---|
| 3 | ⏱️ Fitting time (seconds) | 6.23 |
|---|
| 4 | 📏 Goodness-of-fit (reduced χ²) | 23.68 |
|---|
| 5 | 📏 R-factor (Rf, %) | 21.35 |
|---|
| 6 | 📏 R-factor squared (Rf², %) | 16.86 |
|---|
| 7 | 📏 Weighted R-factor (wR, %) | 17.57 |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📈 Refined parameters:\n"
]
},
{
"data": {
"text/html": [
" | datablock | category | entry | parameter | units | start | value | s.u. | change |
|---|
| 1 | taurine | atom_site | S1 | fract_x | | 0.2000 | 0.2016 | N/A | 0.81 % ↑ |
|---|
| 2 | taurine | atom_site | S1 | fract_y | | 0.3500 | 0.3482 | N/A | 0.50 % ↓ |
|---|
| 3 | taurine | atom_site | S1 | fract_z | | 0.3500 | 0.3484 | N/A | 0.46 % ↓ |
|---|
| 4 | taurine | atom_site | S1 | adp_iso | Ų | 1.5791 | 1.2571 | N/A | 20.39 % ↓ |
|---|
| 5 | taurine | atom_site | O1 | fract_x | | 0.3130 | 0.3179 | N/A | 1.55 % ↑ |
|---|
| 6 | taurine | atom_site | O1 | fract_y | | 0.2400 | 0.2406 | N/A | 0.26 % ↑ |
|---|
| 7 | taurine | atom_site | O1 | fract_z | | 0.3510 | 0.3518 | N/A | 0.23 % ↑ |
|---|
| 8 | taurine | atom_site | O1 | adp_iso | Ų | 2.7635 | 2.7803 | N/A | 0.61 % ↑ |
|---|
| 9 | taurine | atom_site | O2 | fract_x | | 0.9380 | 0.9394 | N/A | 0.15 % ↑ |
|---|
| 10 | taurine | atom_site | O2 | fract_y | | 0.3370 | 0.3372 | N/A | 0.07 % ↑ |
|---|
| 11 | taurine | atom_site | O2 | fract_z | | 0.2940 | 0.2939 | N/A | 0.05 % ↓ |
|---|
| 12 | taurine | atom_site | O2 | adp_iso | Ų | 3.6320 | 3.5661 | N/A | 1.81 % ↓ |
|---|
| 13 | taurine | atom_site | O3 | fract_x | | 0.2220 | 0.2248 | N/A | 1.26 % ↑ |
|---|
| 14 | taurine | atom_site | O3 | fract_y | | 0.4120 | 0.4098 | N/A | 0.52 % ↓ |
|---|
| 15 | taurine | atom_site | O3 | fract_z | | 0.5070 | 0.5075 | N/A | 0.09 % ↑ |
|---|
| 16 | taurine | atom_site | O3 | adp_iso | Ų | 1.8950 | 2.0832 | N/A | 9.93 % ↑ |
|---|
| 17 | taurine | atom_site | N1 | fract_x | | 0.2640 | 0.2634 | N/A | 0.23 % ↓ |
|---|
| 18 | taurine | atom_site | N1 | fract_y | | 0.6280 | 0.6279 | N/A | 0.01 % ↓ |
|---|
| 19 | taurine | atom_site | N1 | fract_z | | 0.3310 | 0.3322 | N/A | 0.35 % ↑ |
|---|
| 20 | taurine | atom_site | N1 | adp_iso | Ų | 2.1318 | 2.1084 | N/A | 1.10 % ↓ |
|---|
| 21 | taurine | atom_site | H1 | fract_x | | 0.1330 | 0.1361 | N/A | 2.30 % ↑ |
|---|
| 22 | taurine | atom_site | H1 | fract_y | | 0.5880 | 0.5855 | N/A | 0.42 % ↓ |
|---|
| 23 | taurine | atom_site | H1 | fract_z | | 0.4210 | 0.4168 | N/A | 1.01 % ↓ |
|---|
| 24 | taurine | atom_site | H1 | adp_iso | Ų | 3.3951 | 2.7785 | N/A | 18.16 % ↓ |
|---|
| 25 | taurine | atom_site | H2 | fract_x | | 0.1910 | 0.1885 | N/A | 1.32 % ↓ |
|---|
| 26 | taurine | atom_site | H2 | fract_y | | 0.7150 | 0.7134 | N/A | 0.22 % ↓ |
|---|
| 27 | taurine | atom_site | H2 | fract_z | | 0.3120 | 0.3077 | N/A | 1.38 % ↓ |
|---|
| 28 | taurine | atom_site | H2 | adp_iso | Ų | 4.5795 | 4.2045 | N/A | 8.19 % ↓ |
|---|
| 29 | taurine | atom_site | H3 | fract_x | | 0.4400 | 0.4336 | N/A | 1.45 % ↓ |
|---|
| 30 | taurine | atom_site | H3 | fract_y | | 0.6240 | 0.6256 | N/A | 0.25 % ↑ |
|---|
| 31 | taurine | atom_site | H3 | fract_z | | 0.3490 | 0.3486 | N/A | 0.11 % ↓ |
|---|
| 32 | taurine | atom_site | H3 | adp_iso | Ų | 4.6585 | 4.9130 | N/A | 5.46 % ↑ |
|---|
| 33 | taurine | atom_site | C1 | fract_x | | 0.3440 | 0.3473 | N/A | 0.95 % ↑ |
|---|
| 34 | taurine | atom_site | C1 | fract_y | | 0.4400 | 0.4399 | N/A | 0.03 % ↓ |
|---|
| 35 | taurine | atom_site | C1 | fract_z | | 0.2020 | 0.2022 | N/A | 0.10 % ↑ |
|---|
| 36 | taurine | atom_site | C1 | adp_iso | Ų | 1.7371 | 1.6867 | N/A | 2.90 % ↓ |
|---|
| 37 | taurine | atom_site | H11 | fract_x | | 0.5520 | 0.5477 | N/A | 0.78 % ↓ |
|---|
| 38 | taurine | atom_site | H11 | fract_y | | 0.4330 | 0.4337 | N/A | 0.15 % ↑ |
|---|
| 39 | taurine | atom_site | H11 | fract_z | | 0.2430 | 0.2406 | N/A | 1.00 % ↓ |
|---|
| 40 | taurine | atom_site | H11 | adp_iso | Ų | 3.3951 | 3.5214 | N/A | 3.72 % ↑ |
|---|
| 41 | taurine | atom_site | H12 | fract_x | | 0.3200 | 0.3277 | N/A | 2.41 % ↑ |
|---|
| 42 | taurine | atom_site | H12 | fract_y | | 0.3880 | 0.3805 | N/A | 1.94 % ↓ |
|---|
| 43 | taurine | atom_site | H12 | fract_z | | 0.0810 | 0.0854 | N/A | 5.37 % ↑ |
|---|
| 44 | taurine | atom_site | H12 | adp_iso | Ų | 3.3162 | 3.3174 | N/A | 0.04 % ↑ |
|---|
| 45 | taurine | atom_site | C2 | fract_x | | 0.2000 | 0.1962 | N/A | 1.92 % ↓ |
|---|
| 46 | taurine | atom_site | C2 | fract_y | | 0.5570 | 0.5554 | N/A | 0.28 % ↓ |
|---|
| 47 | taurine | atom_site | C2 | fract_z | | 0.1820 | 0.1796 | N/A | 1.32 % ↓ |
|---|
| 48 | taurine | atom_site | C2 | adp_iso | Ų | 1.7371 | 1.8406 | N/A | 5.96 % ↑ |
|---|
| 49 | taurine | atom_site | H21 | fract_x | | 0.2760 | 0.2734 | N/A | 0.95 % ↓ |
|---|
| 50 | taurine | atom_site | H21 | fract_y | | 0.6000 | 0.5983 | N/A | 0.29 % ↓ |
|---|
| 51 | taurine | atom_site | H21 | fract_z | | 0.0770 | 0.0739 | N/A | 4.08 % ↓ |
|---|
| 52 | taurine | atom_site | H21 | adp_iso | Ų | 2.1318 | 2.3841 | N/A | 11.84 % ↑ |
|---|
| 53 | taurine | atom_site | H22 | fract_x | | 0.9990 | 0.9974 | N/A | 0.16 % ↓ |
|---|
| 54 | taurine | atom_site | H22 | fract_y | | 0.5490 | 0.5514 | N/A | 0.44 % ↑ |
|---|
| 55 | taurine | atom_site | H22 | fract_z | | 0.1610 | 0.1646 | N/A | 2.24 % ↑ |
|---|
| 56 | taurine | atom_site | H22 | adp_iso | Ų | 4.9743 | 4.6561 | N/A | 6.40 % ↓ |
|---|
| 57 | senju | extinction | | radius | μm | 100.0000 | -0.9380 | N/A | 100.94 % ↓ |
|---|
| 58 | senju | linked_structure | | scale | | 1.0000 | 1.3488 | N/A | 34.88 % ↑ |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
" • start = parameter value before refinement
• value = refined value from least-squares minimization
• s.u. = standard uncertainty (one sigma), from the covariance matrix
• change = relative change from start, in %; ↑ = increase, ↓ = decrease
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Show fit results summary\n",
"project.display.fit.results()"
]
},
{
"cell_type": "code",
"execution_count": 22,
"id": "28",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.337111Z",
"iopub.status.busy": "2026-06-30T22:32:38.336913Z",
"iopub.status.idle": "2026-06-30T22:32:38.345921Z",
"shell.execute_reply": "2026-06-30T22:32:38.345140Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mStructure 🧩 \u001b[0m\u001b[32m'taurine'\u001b[0m\u001b[1;36m as text\u001b[0m\n"
]
},
{
"data": {
"text/html": [
" | Edi |
|---|
| 1 | data_taurine |
|---|
| 2 | |
|---|
| 3 | _cell.length_a 5.2729 |
|---|
| 4 | _cell.length_b 11.6565 |
|---|
| 5 | _cell.length_c 7.8383 |
|---|
| 6 | _cell.angle_alpha 90. |
|---|
| 7 | _cell.angle_beta 94.011 |
|---|
| 8 | _cell.angle_gamma 90. |
|---|
| 9 | |
|---|
| 10 | _space_group.name_h_m "P 21/c" |
|---|
| 11 | _space_group.coord_system_code b1 |
|---|
| 12 | |
|---|
| 13 | _geom.min_bond_distance_cutoff 0. |
|---|
| 14 | _geom.bond_distance_inc 0.25 |
|---|
| 15 | |
|---|
| 16 | loop_ |
|---|
| 17 | _atom_site.id |
|---|
| 18 | _atom_site.type_symbol |
|---|
| 19 | _atom_site.fract_x |
|---|
| 20 | _atom_site.fract_y |
|---|
| 21 | _atom_site.fract_z |
|---|
| 22 | _atom_site.wyckoff_letter |
|---|
| 23 | _atom_site.multiplicity |
|---|
| 24 | _atom_site.occupancy |
|---|
| 25 | _atom_site.adp_iso |
|---|
| 26 | _atom_site.adp_type |
|---|
| 27 | S1 S 0.2016234() 0.34824084() 0.34838739() e 4 1. 1.25710651() Biso |
|---|
| 28 | O1 O 0.31786559() 0.24062435() 0.35180673() e 4 1. 2.78027726() Biso |
|---|
| 29 | O2 O 0.93936069() 0.33724514() 0.29385359() e 4 1. 3.56614235() Biso |
|---|
| 30 | O3 O 0.22478839() 0.40984764() 0.50745871() e 4 1. 2.08318113() Biso |
|---|
| 31 | N1 N 0.26339651() 0.62792169() 0.33215882() e 4 1. 2.10835213() Biso |
|---|
| 32 | H1 H 0.13605484() 0.58553124() 0.41675904() e 4 1. 2.77850308() Biso |
|---|
| 33 | H2 H 0.18847147() 0.71342161() 0.30769101() e 4 1. 4.20454076() Biso |
|---|
| 34 | H3 H 0.43361545() 0.62556331() 0.34862601() e 4 1. 4.91299581() Biso |
|---|
| 35 | C1 C 0.34727148() 0.43986662() 0.20219962() e 4 1. 1.68671826() Biso |
|---|
| 36 | H11 H 0.54769194() 0.43366114() 0.24055836() e 4 1. 3.52136059() Biso |
|---|
| 37 | H12 H 0.32772096() 0.38046395() 0.0853503() e 4 1. 3.31744533() Biso |
|---|
| 38 | C2 C 0.19615958() 0.55544352() 0.17960374() e 4 1. 1.84064525() Biso |
|---|
| 39 | H21 H 0.27338797() 0.59826063() 0.07386116() e 4 1. 2.38412727() Biso |
|---|
| 40 | H22 H 0.9973951() 0.55138955() 0.16460435() e 4 1. 4.65607599() Biso |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"structure.show_as_text()"
]
},
{
"cell_type": "code",
"execution_count": 23,
"id": "29",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.347674Z",
"iopub.status.busy": "2026-06-30T22:32:38.347519Z",
"iopub.status.idle": "2026-06-30T22:32:38.352351Z",
"shell.execute_reply": "2026-06-30T22:32:38.351548Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mDefined experiments 🔬\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1m[\u001b[0m\u001b[32m'senju'\u001b[0m\u001b[1m]\u001b[0m\n"
]
}
],
"source": [
"project.experiments.show_names()"
]
},
{
"cell_type": "code",
"execution_count": 24,
"id": "30",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.353830Z",
"iopub.status.busy": "2026-06-30T22:32:38.353675Z",
"iopub.status.idle": "2026-06-30T22:32:38.369452Z",
"shell.execute_reply": "2026-06-30T22:32:38.368587Z"
}
},
"outputs": [
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"project.display.pattern(expt_name='senju')"
]
},
{
"cell_type": "markdown",
"id": "31",
"metadata": {},
"source": [
"### ADP aniso"
]
},
{
"cell_type": "code",
"execution_count": 25,
"id": "32",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.371067Z",
"iopub.status.busy": "2026-06-30T22:32:38.370904Z",
"iopub.status.idle": "2026-06-30T22:32:38.388543Z",
"shell.execute_reply": "2026-06-30T22:32:38.386949Z"
}
},
"outputs": [],
"source": [
"for atom_site in structure.atom_sites:\n",
" atom_site.adp_type = 'Uani'"
]
},
{
"cell_type": "code",
"execution_count": 26,
"id": "33",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.391981Z",
"iopub.status.busy": "2026-06-30T22:32:38.391769Z",
"iopub.status.idle": "2026-06-30T22:32:38.401024Z",
"shell.execute_reply": "2026-06-30T22:32:38.399859Z"
}
},
"outputs": [],
"source": [
"adp_components = ('adp_11', 'adp_22', 'adp_33', 'adp_12', 'adp_13', 'adp_23')\n",
"for atom_site in structure.atom_site_aniso:\n",
" for component in adp_components:\n",
" getattr(atom_site, component).free = True"
]
},
{
"cell_type": "code",
"execution_count": 27,
"id": "34",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.402859Z",
"iopub.status.busy": "2026-06-30T22:32:38.402661Z",
"iopub.status.idle": "2026-06-30T22:32:38.472755Z",
"shell.execute_reply": "2026-06-30T22:32:38.471689Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mStructure 🧩 \u001b[0m\u001b[32m'taurine'\u001b[0m\u001b[1;36m as text\u001b[0m\n"
]
},
{
"data": {
"text/html": [
" | Edi |
|---|
| 1 | data_taurine |
|---|
| 2 | |
|---|
| 3 | _cell.length_a 5.2729 |
|---|
| 4 | _cell.length_b 11.6565 |
|---|
| 5 | _cell.length_c 7.8383 |
|---|
| 6 | _cell.angle_alpha 90. |
|---|
| 7 | _cell.angle_beta 94.011 |
|---|
| 8 | _cell.angle_gamma 90. |
|---|
| 9 | |
|---|
| 10 | _space_group.name_h_m "P 21/c" |
|---|
| 11 | _space_group.coord_system_code b1 |
|---|
| 12 | |
|---|
| 13 | _geom.min_bond_distance_cutoff 0. |
|---|
| 14 | _geom.bond_distance_inc 0.25 |
|---|
| 15 | |
|---|
| 16 | loop_ |
|---|
| 17 | _atom_site.id |
|---|
| 18 | _atom_site.type_symbol |
|---|
| 19 | _atom_site.fract_x |
|---|
| 20 | _atom_site.fract_y |
|---|
| 21 | _atom_site.fract_z |
|---|
| 22 | _atom_site.wyckoff_letter |
|---|
| 23 | _atom_site.multiplicity |
|---|
| 24 | _atom_site.occupancy |
|---|
| 25 | _atom_site.adp_iso |
|---|
| 26 | _atom_site.adp_type |
|---|
| 27 | S1 S 0.2016234() 0.34824084() 0.34838739() e 4 1. 0.01592144 Uani |
|---|
| 28 | O1 O 0.31786559() 0.24062435() 0.35180673() e 4 1. 0.03521262 Uani |
|---|
| 29 | O2 O 0.93936069() 0.33724514() 0.29385359() e 4 1. 0.04516572 Uani |
|---|
| 30 | O3 O 0.22478839() 0.40984764() 0.50745871() e 4 1. 0.0263838 Uani |
|---|
| 31 | N1 N 0.26339651() 0.62792169() 0.33215882() e 4 1. 0.02670259 Uani |
|---|
| 32 | H1 H 0.13605484() 0.58553124() 0.41675904() e 4 1. 0.03519015 Uani |
|---|
| 33 | H2 H 0.18847147() 0.71342161() 0.30769101() e 4 1. 0.05325113 Uani |
|---|
| 34 | H3 H 0.43361545() 0.62556331() 0.34862601() e 4 1. 0.06222382 Uani |
|---|
| 35 | C1 C 0.34727148() 0.43986662() 0.20219962() e 4 1. 0.02136254 Uani |
|---|
| 36 | H11 H 0.54769194() 0.43366114() 0.24055836() e 4 1. 0.04459855 Uani |
|---|
| 37 | H12 H 0.32772096() 0.38046395() 0.0853503() e 4 1. 0.04201594 Uani |
|---|
| 38 | C2 C 0.19615958() 0.55544352() 0.17960374() e 4 1. 0.02331204 Uani |
|---|
| 39 | H21 H 0.27338797() 0.59826063() 0.07386116() e 4 1. 0.03019532 Uani |
|---|
| 40 | H22 H 0.9973951() 0.55138955() 0.16460435() e 4 1. 0.05896989 Uani |
|---|
| 41 | |
|---|
| 42 | loop_ |
|---|
| 43 | _atom_site_aniso.id |
|---|
| 44 | _atom_site_aniso.adp_11 |
|---|
| 45 | _atom_site_aniso.adp_22 |
|---|
| 46 | _atom_site_aniso.adp_33 |
|---|
| 47 | _atom_site_aniso.adp_12 |
|---|
| 48 | _atom_site_aniso.adp_13 |
|---|
| 49 | _atom_site_aniso.adp_23 |
|---|
| 50 | S1 0.01592144() 0.01592144() 0.01592144() 0.() 0.() 0.() |
|---|
| 51 | O1 0.03521262() 0.03521262() 0.03521262() 0.() 0.() 0.() |
|---|
| 52 | O2 0.04516572() 0.04516572() 0.04516572() 0.() 0.() 0.() |
|---|
| 53 | O3 0.0263838() 0.0263838() 0.0263838() 0.() 0.() 0.() |
|---|
| 54 | N1 0.02670259() 0.02670259() 0.02670259() 0.() 0.() 0.() |
|---|
| 55 | H1 0.03519015() 0.03519015() 0.03519015() 0.() 0.() 0.() |
|---|
| 56 | H2 0.05325113() 0.05325113() 0.05325113() 0.() 0.() 0.() |
|---|
| 57 | H3 0.06222382() 0.06222382() 0.06222382() 0.() 0.() 0.() |
|---|
| 58 | C1 0.02136254() 0.02136254() 0.02136254() 0.() 0.() 0.() |
|---|
| 59 | H11 0.04459855() 0.04459855() 0.04459855() 0.() 0.() 0.() |
|---|
| 60 | H12 0.04201594() 0.04201594() 0.04201594() 0.() 0.() 0.() |
|---|
| 61 | C2 0.02331204() 0.02331204() 0.02331204() 0.() 0.() 0.() |
|---|
| 62 | H21 0.03019532() 0.03019532() 0.03019532() 0.() 0.() 0.() |
|---|
| 63 | H22 0.05896989() 0.05896989() 0.05896989() 0.() 0.() 0.() |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"structure.show_as_text()"
]
},
{
"cell_type": "code",
"execution_count": 28,
"id": "35",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.474588Z",
"iopub.status.busy": "2026-06-30T22:32:38.474392Z",
"iopub.status.idle": "2026-06-30T22:32:38.720177Z",
"shell.execute_reply": "2026-06-30T22:32:38.719428Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mFree parameters for both structures \u001b[0m\u001b[1;36m(\u001b[0m\u001b[1;36m🧩 data blocks\u001b[0m\u001b[1;36m)\u001b[0m\u001b[1;36m and experiments \u001b[0m\u001b[1;36m(\u001b[0m\u001b[1;36m🔬 data blocks\u001b[0m\u001b[1;36m)\u001b[0m\n"
]
},
{
"data": {
"text/html": [
" | datablock | category | entry | parameter | value | uncertainty | min | max | units |
|---|
| 1 | taurine | atom_site | S1 | fract_x | 0.20162 | | -inf | inf | |
|---|
| 2 | taurine | atom_site | S1 | fract_y | 0.34824 | | -inf | inf | |
|---|
| 3 | taurine | atom_site | S1 | fract_z | 0.34839 | | -inf | inf | |
|---|
| 4 | taurine | atom_site | O1 | fract_x | 0.31787 | | -inf | inf | |
|---|
| 5 | taurine | atom_site | O1 | fract_y | 0.24062 | | -inf | inf | |
|---|
| 6 | taurine | atom_site | O1 | fract_z | 0.35181 | | -inf | inf | |
|---|
| 7 | taurine | atom_site | O2 | fract_x | 0.93936 | | -inf | inf | |
|---|
| 8 | taurine | atom_site | O2 | fract_y | 0.33725 | | -inf | inf | |
|---|
| 9 | taurine | atom_site | O2 | fract_z | 0.29385 | | -inf | inf | |
|---|
| 10 | taurine | atom_site | O3 | fract_x | 0.22479 | | -inf | inf | |
|---|
| 11 | taurine | atom_site | O3 | fract_y | 0.40985 | | -inf | inf | |
|---|
| 12 | taurine | atom_site | O3 | fract_z | 0.50746 | | -inf | inf | |
|---|
| 13 | taurine | atom_site | N1 | fract_x | 0.26340 | | -inf | inf | |
|---|
| 14 | taurine | atom_site | N1 | fract_y | 0.62792 | | -inf | inf | |
|---|
| 15 | taurine | atom_site | N1 | fract_z | 0.33216 | | -inf | inf | |
|---|
| 16 | taurine | atom_site | H1 | fract_x | 0.13605 | | -inf | inf | |
|---|
| 17 | taurine | atom_site | H1 | fract_y | 0.58553 | | -inf | inf | |
|---|
| 18 | taurine | atom_site | H1 | fract_z | 0.41676 | | -inf | inf | |
|---|
| 19 | taurine | atom_site | H2 | fract_x | 0.18847 | | -inf | inf | |
|---|
| 20 | taurine | atom_site | H2 | fract_y | 0.71342 | | -inf | inf | |
|---|
| 21 | taurine | atom_site | H2 | fract_z | 0.30769 | | -inf | inf | |
|---|
| 22 | taurine | atom_site | H3 | fract_x | 0.43362 | | -inf | inf | |
|---|
| 23 | taurine | atom_site | H3 | fract_y | 0.62556 | | -inf | inf | |
|---|
| 24 | taurine | atom_site | H3 | fract_z | 0.34863 | | -inf | inf | |
|---|
| 25 | taurine | atom_site | C1 | fract_x | 0.34727 | | -inf | inf | |
|---|
| 26 | taurine | atom_site | C1 | fract_y | 0.43987 | | -inf | inf | |
|---|
| 27 | taurine | atom_site | C1 | fract_z | 0.20220 | | -inf | inf | |
|---|
| 28 | taurine | atom_site | H11 | fract_x | 0.54769 | | -inf | inf | |
|---|
| 29 | taurine | atom_site | H11 | fract_y | 0.43366 | | -inf | inf | |
|---|
| 30 | taurine | atom_site | H11 | fract_z | 0.24056 | | -inf | inf | |
|---|
| 31 | taurine | atom_site | H12 | fract_x | 0.32772 | | -inf | inf | |
|---|
| 32 | taurine | atom_site | H12 | fract_y | 0.38046 | | -inf | inf | |
|---|
| 33 | taurine | atom_site | H12 | fract_z | 0.08535 | | -inf | inf | |
|---|
| 34 | taurine | atom_site | C2 | fract_x | 0.19616 | | -inf | inf | |
|---|
| 35 | taurine | atom_site | C2 | fract_y | 0.55544 | | -inf | inf | |
|---|
| 36 | taurine | atom_site | C2 | fract_z | 0.17960 | | -inf | inf | |
|---|
| 37 | taurine | atom_site | H21 | fract_x | 0.27339 | | -inf | inf | |
|---|
| 38 | taurine | atom_site | H21 | fract_y | 0.59826 | | -inf | inf | |
|---|
| 39 | taurine | atom_site | H21 | fract_z | 0.07386 | | -inf | inf | |
|---|
| 40 | taurine | atom_site | H22 | fract_x | 0.99740 | | -inf | inf | |
|---|
| 41 | taurine | atom_site | H22 | fract_y | 0.55139 | | -inf | inf | |
|---|
| 42 | taurine | atom_site | H22 | fract_z | 0.16460 | | -inf | inf | |
|---|
| 43 | taurine | atom_site_aniso | S1 | adp_11 | 0.01592 | | -inf | inf | Ų |
|---|
| 44 | taurine | atom_site_aniso | S1 | adp_22 | 0.01592 | | -inf | inf | Ų |
|---|
| 45 | taurine | atom_site_aniso | S1 | adp_33 | 0.01592 | | -inf | inf | Ų |
|---|
| 46 | taurine | atom_site_aniso | S1 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 47 | taurine | atom_site_aniso | S1 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 48 | taurine | atom_site_aniso | S1 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 49 | taurine | atom_site_aniso | O1 | adp_11 | 0.03521 | | -inf | inf | Ų |
|---|
| 50 | taurine | atom_site_aniso | O1 | adp_22 | 0.03521 | | -inf | inf | Ų |
|---|
| 51 | taurine | atom_site_aniso | O1 | adp_33 | 0.03521 | | -inf | inf | Ų |
|---|
| 52 | taurine | atom_site_aniso | O1 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 53 | taurine | atom_site_aniso | O1 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 54 | taurine | atom_site_aniso | O1 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 55 | taurine | atom_site_aniso | O2 | adp_11 | 0.04517 | | -inf | inf | Ų |
|---|
| 56 | taurine | atom_site_aniso | O2 | adp_22 | 0.04517 | | -inf | inf | Ų |
|---|
| 57 | taurine | atom_site_aniso | O2 | adp_33 | 0.04517 | | -inf | inf | Ų |
|---|
| 58 | taurine | atom_site_aniso | O2 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 59 | taurine | atom_site_aniso | O2 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 60 | taurine | atom_site_aniso | O2 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 61 | taurine | atom_site_aniso | O3 | adp_11 | 0.02638 | | -inf | inf | Ų |
|---|
| 62 | taurine | atom_site_aniso | O3 | adp_22 | 0.02638 | | -inf | inf | Ų |
|---|
| 63 | taurine | atom_site_aniso | O3 | adp_33 | 0.02638 | | -inf | inf | Ų |
|---|
| 64 | taurine | atom_site_aniso | O3 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 65 | taurine | atom_site_aniso | O3 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 66 | taurine | atom_site_aniso | O3 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 67 | taurine | atom_site_aniso | N1 | adp_11 | 0.02670 | | -inf | inf | Ų |
|---|
| 68 | taurine | atom_site_aniso | N1 | adp_22 | 0.02670 | | -inf | inf | Ų |
|---|
| 69 | taurine | atom_site_aniso | N1 | adp_33 | 0.02670 | | -inf | inf | Ų |
|---|
| 70 | taurine | atom_site_aniso | N1 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 71 | taurine | atom_site_aniso | N1 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 72 | taurine | atom_site_aniso | N1 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 73 | taurine | atom_site_aniso | H1 | adp_11 | 0.03519 | | -inf | inf | Ų |
|---|
| 74 | taurine | atom_site_aniso | H1 | adp_22 | 0.03519 | | -inf | inf | Ų |
|---|
| 75 | taurine | atom_site_aniso | H1 | adp_33 | 0.03519 | | -inf | inf | Ų |
|---|
| 76 | taurine | atom_site_aniso | H1 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 77 | taurine | atom_site_aniso | H1 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 78 | taurine | atom_site_aniso | H1 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 79 | taurine | atom_site_aniso | H2 | adp_11 | 0.05325 | | -inf | inf | Ų |
|---|
| 80 | taurine | atom_site_aniso | H2 | adp_22 | 0.05325 | | -inf | inf | Ų |
|---|
| 81 | taurine | atom_site_aniso | H2 | adp_33 | 0.05325 | | -inf | inf | Ų |
|---|
| 82 | taurine | atom_site_aniso | H2 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 83 | taurine | atom_site_aniso | H2 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 84 | taurine | atom_site_aniso | H2 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 85 | taurine | atom_site_aniso | H3 | adp_11 | 0.06222 | | -inf | inf | Ų |
|---|
| 86 | taurine | atom_site_aniso | H3 | adp_22 | 0.06222 | | -inf | inf | Ų |
|---|
| 87 | taurine | atom_site_aniso | H3 | adp_33 | 0.06222 | | -inf | inf | Ų |
|---|
| 88 | taurine | atom_site_aniso | H3 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 89 | taurine | atom_site_aniso | H3 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 90 | taurine | atom_site_aniso | H3 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 91 | taurine | atom_site_aniso | C1 | adp_11 | 0.02136 | | -inf | inf | Ų |
|---|
| 92 | taurine | atom_site_aniso | C1 | adp_22 | 0.02136 | | -inf | inf | Ų |
|---|
| 93 | taurine | atom_site_aniso | C1 | adp_33 | 0.02136 | | -inf | inf | Ų |
|---|
| 94 | taurine | atom_site_aniso | C1 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 95 | taurine | atom_site_aniso | C1 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 96 | taurine | atom_site_aniso | C1 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 97 | taurine | atom_site_aniso | H11 | adp_11 | 0.04460 | | -inf | inf | Ų |
|---|
| 98 | taurine | atom_site_aniso | H11 | adp_22 | 0.04460 | | -inf | inf | Ų |
|---|
| 99 | taurine | atom_site_aniso | H11 | adp_33 | 0.04460 | | -inf | inf | Ų |
|---|
| 100 | taurine | atom_site_aniso | H11 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 101 | taurine | atom_site_aniso | H11 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 102 | taurine | atom_site_aniso | H11 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 103 | taurine | atom_site_aniso | H12 | adp_11 | 0.04202 | | -inf | inf | Ų |
|---|
| 104 | taurine | atom_site_aniso | H12 | adp_22 | 0.04202 | | -inf | inf | Ų |
|---|
| 105 | taurine | atom_site_aniso | H12 | adp_33 | 0.04202 | | -inf | inf | Ų |
|---|
| 106 | taurine | atom_site_aniso | H12 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 107 | taurine | atom_site_aniso | H12 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 108 | taurine | atom_site_aniso | H12 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 109 | taurine | atom_site_aniso | C2 | adp_11 | 0.02331 | | -inf | inf | Ų |
|---|
| 110 | taurine | atom_site_aniso | C2 | adp_22 | 0.02331 | | -inf | inf | Ų |
|---|
| 111 | taurine | atom_site_aniso | C2 | adp_33 | 0.02331 | | -inf | inf | Ų |
|---|
| 112 | taurine | atom_site_aniso | C2 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 113 | taurine | atom_site_aniso | C2 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 114 | taurine | atom_site_aniso | C2 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 115 | taurine | atom_site_aniso | H21 | adp_11 | 0.03020 | | -inf | inf | Ų |
|---|
| 116 | taurine | atom_site_aniso | H21 | adp_22 | 0.03020 | | -inf | inf | Ų |
|---|
| 117 | taurine | atom_site_aniso | H21 | adp_33 | 0.03020 | | -inf | inf | Ų |
|---|
| 118 | taurine | atom_site_aniso | H21 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 119 | taurine | atom_site_aniso | H21 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 120 | taurine | atom_site_aniso | H21 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 121 | taurine | atom_site_aniso | H22 | adp_11 | 0.05897 | | -inf | inf | Ų |
|---|
| 122 | taurine | atom_site_aniso | H22 | adp_22 | 0.05897 | | -inf | inf | Ų |
|---|
| 123 | taurine | atom_site_aniso | H22 | adp_33 | 0.05897 | | -inf | inf | Ų |
|---|
| 124 | taurine | atom_site_aniso | H22 | adp_12 | 0.00000 | | -inf | inf | Ų |
|---|
| 125 | taurine | atom_site_aniso | H22 | adp_13 | 0.00000 | | -inf | inf | Ų |
|---|
| 126 | taurine | atom_site_aniso | H22 | adp_23 | 0.00000 | | -inf | inf | Ų |
|---|
| 127 | senju | extinction | | radius | -0.93802 | | -inf | inf | μm |
|---|
| 128 | senju | linked_structure | | scale | 1.34875 | | -inf | inf | |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"project.display.parameters.free()"
]
},
{
"cell_type": "code",
"execution_count": 29,
"id": "36",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:38.722666Z",
"iopub.status.busy": "2026-06-30T22:32:38.722493Z",
"iopub.status.idle": "2026-06-30T22:32:48.958979Z",
"shell.execute_reply": "2026-06-30T22:32:48.958124Z"
}
},
"outputs": [
{
"data": {
"text/html": [],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/javascript": [
"\n",
"(function() {\n",
" const button = document.getElementById('ed-fit-stop-50f4311f761846c89969b73714ee5cbc-button');\n",
" const status = document.getElementById('ed-fit-stop-50f4311f761846c89969b73714ee5cbc-status');\n",
" const kernelId = '';\n",
" if (!button) {\n",
" return;\n",
" }\n",
"\n",
" function setStatus(text) {\n",
" if (status) {\n",
" status.textContent = text;\n",
" }\n",
" }\n",
"\n",
" function pageConfig() {\n",
" const element = document.getElementById('jupyter-config-data');\n",
" if (!element || !element.textContent) {\n",
" return {};\n",
" }\n",
" try {\n",
" return JSON.parse(element.textContent);\n",
" } catch (error) {\n",
" return {};\n",
" }\n",
" }\n",
"\n",
" function baseUrl(config) {\n",
" const configured = config.baseUrl || config.base_url ||\n",
" (window.Jupyter && Jupyter.notebook && Jupyter.notebook.base_url);\n",
" if (configured) {\n",
" return configured.endsWith('/') ? configured : configured + '/';\n",
" }\n",
" const markers = ['/lab/', '/notebooks/', '/tree/'];\n",
" for (const marker of markers) {\n",
" const index = window.location.pathname.indexOf(marker);\n",
" if (index >= 0) {\n",
" return window.location.pathname.slice(0, index + 1);\n",
" }\n",
" }\n",
" return '/';\n",
" }\n",
"\n",
" function token(config) {\n",
" return config.token || new URLSearchParams(window.location.search).get('token') || '';\n",
" }\n",
"\n",
" function cookie(name) {\n",
" const prefix = name + '=';\n",
" for (const part of document.cookie.split(';')) {\n",
" const trimmed = part.trim();\n",
" if (trimmed.startsWith(prefix)) {\n",
" return decodeURIComponent(trimmed.slice(prefix.length));\n",
" }\n",
" }\n",
" return '';\n",
" }\n",
"\n",
" function notebookPath() {\n",
" const decoded = decodeURIComponent(window.location.pathname);\n",
" const markers = ['/lab/tree/', '/notebooks/', '/tree/'];\n",
" for (const marker of markers) {\n",
" const index = decoded.indexOf(marker);\n",
" if (index >= 0) {\n",
" return decoded.slice(index + marker.length);\n",
" }\n",
" }\n",
" return '';\n",
" }\n",
"\n",
" async function kernelFromSessions(config) {\n",
" const url = new URL(baseUrl(config) + 'api/sessions', window.location.origin);\n",
" const authToken = token(config);\n",
" if (authToken) {\n",
" url.searchParams.set('token', authToken);\n",
" }\n",
" const response = await fetch(url, {credentials: 'same-origin'});\n",
" if (!response.ok) {\n",
" return '';\n",
" }\n",
" const sessions = await response.json();\n",
" const path = notebookPath();\n",
" const session = sessions.find((item) => item.path === path) || sessions[0];\n",
" return session && session.kernel ? session.kernel.id : '';\n",
" }\n",
"\n",
" async function interruptKernel(config, resolvedKernelId) {\n",
" const url = new URL(\n",
" baseUrl(config) + 'api/kernels/' + resolvedKernelId + '/interrupt',\n",
" window.location.origin\n",
" );\n",
" const authToken = token(config);\n",
" if (authToken) {\n",
" url.searchParams.set('token', authToken);\n",
" }\n",
" const xsrfToken = cookie('_xsrf');\n",
" const headers = {};\n",
" if (xsrfToken) {\n",
" headers['X-XSRFToken'] = xsrfToken;\n",
" }\n",
" const response = await fetch(url, {\n",
" method: 'POST',\n",
" credentials: 'same-origin',\n",
" headers: headers\n",
" });\n",
" return response.ok;\n",
" }\n",
"\n",
" button.addEventListener('click', async function() {\n",
" button.disabled = true;\n",
" setStatus('Stopping...');\n",
" const config = pageConfig();\n",
" try {\n",
" const resolvedKernelId = kernelId || await kernelFromSessions(config);\n",
" if (!resolvedKernelId) {\n",
" throw new Error('Could not resolve the current kernel id.');\n",
" }\n",
" const interrupted = await interruptKernel(config, resolvedKernelId);\n",
" if (!interrupted) {\n",
" throw new Error('Jupyter Server rejected the interrupt request.');\n",
" }\n",
" setStatus('Interrupt sent...');\n",
" } catch (error) {\n",
" button.disabled = false;\n",
" setStatus('Use Kernel > Interrupt to stop this fit.');\n",
" }\n",
" });\n",
"})();\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mStandard fitting\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📋 Using experiment 🔬 \u001b[32m'senju'\u001b[0m for \u001b[32m'single'\u001b[0m fitting\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"🚀 Starting fit process with \u001b[32m'bumps \u001b[0m\u001b[32m(\u001b[0m\u001b[32mlm\u001b[0m\u001b[32m)\u001b[0m\u001b[32m'\u001b[0m\u001b[33m...\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📈 Goodness-of-fit progress:\n"
]
},
{
"data": {
"text/html": [
" | iteration | time (s) | χ² | change / status |
|---|
| 1 | 1 | 0.03 | 38.62 | |
|---|
| 2 | 131 | 2.63 | 27.64 | 28.4% ↓ |
|---|
| 3 | 260 | 5.08 | 17.98 | 34.9% ↓ |
|---|
| 4 | 389 | 7.62 | 12.19 | 32.2% ↓ |
|---|
| 5 | 500 | 9.95 | 12.19 | |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"⚠️ Parameter 'taurine.atom_site_aniso.S1.adp_11' (-0.02098112) is below its physical lower limit (0.0). \n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"⚠️ Parameter 'taurine.atom_site_aniso.C2.adp_11' (-0.00373556) is below its physical lower limit (0.0). \n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"🏆 Best goodness-of-fit \u001b[1m(\u001b[0mreduced χ²\u001b[1m)\u001b[0m is \u001b[1;36m12.19\u001b[0m at iteration \u001b[1;36m500\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"✅ Fitting complete.\n"
]
}
],
"source": [
"project.analysis.fit()"
]
},
{
"cell_type": "code",
"execution_count": 30,
"id": "37",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:48.960685Z",
"iopub.status.busy": "2026-06-30T22:32:48.960534Z",
"iopub.status.idle": "2026-06-30T22:32:49.420955Z",
"shell.execute_reply": "2026-06-30T22:32:49.420117Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"⚙️ Settings used:\n"
]
},
{
"data": {
"text/html": [
" | Name | Value | Description |
|---|
| 1 | max_iterations | 500 | Maximum solver iterations. |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📋 Least-squares fit results:\n"
]
},
{
"data": {
"text/html": [
" | Metric | Value |
|---|
| 1 | 🧪 Minimizer | bumps |
|---|
| 2 | ❌ Overall status | failed |
|---|
| 3 | ⏱️ Fitting time (seconds) | 9.95 |
|---|
| 4 | 📏 Goodness-of-fit (reduced χ²) | 12.19 |
|---|
| 5 | 📏 R-factor (Rf, %) | 13.34 |
|---|
| 6 | 📏 R-factor squared (Rf², %) | 9.11 |
|---|
| 7 | 📏 Weighted R-factor (wR, %) | 8.37 |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"📈 Refined parameters:\n"
]
},
{
"data": {
"text/html": [
" | datablock | category | entry | parameter | units | start | value | s.u. | change |
|---|
| 1 | taurine | atom_site | S1 | fract_x | | 0.2016 | 0.2036 | N/A | 1.00 % ↑ |
|---|
| 2 | taurine | atom_site | S1 | fract_y | | 0.3482 | 0.3504 | N/A | 0.63 % ↑ |
|---|
| 3 | taurine | atom_site | S1 | fract_z | | 0.3484 | 0.3489 | N/A | 0.13 % ↑ |
|---|
| 4 | taurine | atom_site | O1 | fract_x | | 0.3179 | 0.3205 | N/A | 0.83 % ↑ |
|---|
| 5 | taurine | atom_site | O1 | fract_y | | 0.2406 | 0.2406 | N/A | 0.00 % ↑ |
|---|
| 6 | taurine | atom_site | O1 | fract_z | | 0.3518 | 0.3506 | N/A | 0.33 % ↓ |
|---|
| 7 | taurine | atom_site | O2 | fract_x | | 0.9394 | 0.9424 | N/A | 0.33 % ↑ |
|---|
| 8 | taurine | atom_site | O2 | fract_y | | 0.3372 | 0.3355 | N/A | 0.53 % ↓ |
|---|
| 9 | taurine | atom_site | O2 | fract_z | | 0.2939 | 0.2945 | N/A | 0.21 % ↑ |
|---|
| 10 | taurine | atom_site | O3 | fract_x | | 0.2248 | 0.2261 | N/A | 0.59 % ↑ |
|---|
| 11 | taurine | atom_site | O3 | fract_y | | 0.4098 | 0.4125 | N/A | 0.64 % ↑ |
|---|
| 12 | taurine | atom_site | O3 | fract_z | | 0.5075 | 0.5088 | N/A | 0.26 % ↑ |
|---|
| 13 | taurine | atom_site | N1 | fract_x | | 0.2634 | 0.2610 | N/A | 0.92 % ↓ |
|---|
| 14 | taurine | atom_site | N1 | fract_y | | 0.6279 | 0.6275 | N/A | 0.07 % ↓ |
|---|
| 15 | taurine | atom_site | N1 | fract_z | | 0.3322 | 0.3325 | N/A | 0.09 % ↑ |
|---|
| 16 | taurine | atom_site | H1 | fract_x | | 0.1361 | 0.1350 | N/A | 0.74 % ↓ |
|---|
| 17 | taurine | atom_site | H1 | fract_y | | 0.5855 | 0.5935 | N/A | 1.36 % ↑ |
|---|
| 18 | taurine | atom_site | H1 | fract_z | | 0.4168 | 0.4209 | N/A | 0.99 % ↑ |
|---|
| 19 | taurine | atom_site | H2 | fract_x | | 0.1885 | 0.1841 | N/A | 2.33 % ↓ |
|---|
| 20 | taurine | atom_site | H2 | fract_y | | 0.7134 | 0.7056 | N/A | 1.10 % ↓ |
|---|
| 21 | taurine | atom_site | H2 | fract_z | | 0.3077 | 0.3045 | N/A | 1.04 % ↓ |
|---|
| 22 | taurine | atom_site | H3 | fract_x | | 0.4336 | 0.4411 | N/A | 1.73 % ↑ |
|---|
| 23 | taurine | atom_site | H3 | fract_y | | 0.6256 | 0.6336 | N/A | 1.28 % ↑ |
|---|
| 24 | taurine | atom_site | H3 | fract_z | | 0.3486 | 0.3553 | N/A | 1.91 % ↑ |
|---|
| 25 | taurine | atom_site | C1 | fract_x | | 0.3473 | 0.3507 | N/A | 1.00 % ↑ |
|---|
| 26 | taurine | atom_site | C1 | fract_y | | 0.4399 | 0.4394 | N/A | 0.10 % ↓ |
|---|
| 27 | taurine | atom_site | C1 | fract_z | | 0.2022 | 0.2037 | N/A | 0.75 % ↑ |
|---|
| 28 | taurine | atom_site | H11 | fract_x | | 0.5477 | 0.5405 | N/A | 1.32 % ↓ |
|---|
| 29 | taurine | atom_site | H11 | fract_y | | 0.4337 | 0.4413 | N/A | 1.76 % ↑ |
|---|
| 30 | taurine | atom_site | H11 | fract_z | | 0.2406 | 0.2409 | N/A | 0.13 % ↑ |
|---|
| 31 | taurine | atom_site | H12 | fract_x | | 0.3277 | 0.3315 | N/A | 1.14 % ↑ |
|---|
| 32 | taurine | atom_site | H12 | fract_y | | 0.3805 | 0.3858 | N/A | 1.39 % ↑ |
|---|
| 33 | taurine | atom_site | H12 | fract_z | | 0.0854 | 0.0859 | N/A | 0.69 % ↑ |
|---|
| 34 | taurine | atom_site | C2 | fract_x | | 0.1962 | 0.2060 | N/A | 5.00 % ↑ |
|---|
| 35 | taurine | atom_site | C2 | fract_y | | 0.5554 | 0.5556 | N/A | 0.02 % ↑ |
|---|
| 36 | taurine | atom_site | C2 | fract_z | | 0.1796 | 0.1806 | N/A | 0.56 % ↑ |
|---|
| 37 | taurine | atom_site | H21 | fract_x | | 0.2734 | 0.2733 | N/A | 0.03 % ↓ |
|---|
| 38 | taurine | atom_site | H21 | fract_y | | 0.5983 | 0.6016 | N/A | 0.56 % ↑ |
|---|
| 39 | taurine | atom_site | H21 | fract_z | | 0.0739 | 0.0774 | N/A | 4.76 % ↑ |
|---|
| 40 | taurine | atom_site | H22 | fract_x | | 0.9974 | 0.9954 | N/A | 0.20 % ↓ |
|---|
| 41 | taurine | atom_site | H22 | fract_y | | 0.5514 | 0.5561 | N/A | 0.85 % ↑ |
|---|
| 42 | taurine | atom_site | H22 | fract_z | | 0.1646 | 0.1644 | N/A | 0.12 % ↓ |
|---|
| 43 | taurine | atom_site_aniso | S1 | adp_11 | Ų | 0.0159 | -0.0210 | N/A | 231.78 % ↓ |
|---|
| 44 | taurine | atom_site_aniso | S1 | adp_22 | Ų | 0.0159 | 0.0033 | N/A | 79.01 % ↓ |
|---|
| 45 | taurine | atom_site_aniso | S1 | adp_33 | Ų | 0.0159 | 0.0295 | N/A | 85.13 % ↑ |
|---|
| 46 | taurine | atom_site_aniso | S1 | adp_12 | Ų | 0.0000 | -0.0194 | N/A | N/A |
|---|
| 47 | taurine | atom_site_aniso | S1 | adp_13 | Ų | 0.0000 | 0.0015 | N/A | N/A |
|---|
| 48 | taurine | atom_site_aniso | S1 | adp_23 | Ų | 0.0000 | 0.0004 | N/A | N/A |
|---|
| 49 | taurine | atom_site_aniso | O1 | adp_11 | Ų | 0.0352 | 0.0387 | N/A | 9.93 % ↑ |
|---|
| 50 | taurine | atom_site_aniso | O1 | adp_22 | Ų | 0.0352 | 0.0257 | N/A | 27.10 % ↓ |
|---|
| 51 | taurine | atom_site_aniso | O1 | adp_33 | Ų | 0.0352 | 0.0424 | N/A | 20.32 % ↑ |
|---|
| 52 | taurine | atom_site_aniso | O1 | adp_12 | Ų | 0.0000 | -0.0033 | N/A | N/A |
|---|
| 53 | taurine | atom_site_aniso | O1 | adp_13 | Ų | 0.0000 | 0.0117 | N/A | N/A |
|---|
| 54 | taurine | atom_site_aniso | O1 | adp_23 | Ų | 0.0000 | -0.0110 | N/A | N/A |
|---|
| 55 | taurine | atom_site_aniso | O2 | adp_11 | Ų | 0.0452 | 0.0320 | N/A | 29.07 % ↓ |
|---|
| 56 | taurine | atom_site_aniso | O2 | adp_22 | Ų | 0.0452 | 0.0015 | N/A | 96.76 % ↓ |
|---|
| 57 | taurine | atom_site_aniso | O2 | adp_33 | Ų | 0.0452 | 0.0546 | N/A | 20.91 % ↑ |
|---|
| 58 | taurine | atom_site_aniso | O2 | adp_12 | Ų | 0.0000 | -0.0018 | N/A | N/A |
|---|
| 59 | taurine | atom_site_aniso | O2 | adp_13 | Ų | 0.0000 | 0.0191 | N/A | N/A |
|---|
| 60 | taurine | atom_site_aniso | O2 | adp_23 | Ų | 0.0000 | -0.0078 | N/A | N/A |
|---|
| 61 | taurine | atom_site_aniso | O3 | adp_11 | Ų | 0.0264 | 0.0411 | N/A | 55.92 % ↑ |
|---|
| 62 | taurine | atom_site_aniso | O3 | adp_22 | Ų | 0.0264 | 0.0306 | N/A | 15.91 % ↑ |
|---|
| 63 | taurine | atom_site_aniso | O3 | adp_33 | Ų | 0.0264 | 0.0173 | N/A | 34.35 % ↓ |
|---|
| 64 | taurine | atom_site_aniso | O3 | adp_12 | Ų | 0.0000 | 0.0108 | N/A | N/A |
|---|
| 65 | taurine | atom_site_aniso | O3 | adp_13 | Ų | 0.0000 | 0.0000 | N/A | N/A |
|---|
| 66 | taurine | atom_site_aniso | O3 | adp_23 | Ų | 0.0000 | 0.0009 | N/A | N/A |
|---|
| 67 | taurine | atom_site_aniso | N1 | adp_11 | Ų | 0.0267 | 0.0150 | N/A | 43.68 % ↓ |
|---|
| 68 | taurine | atom_site_aniso | N1 | adp_22 | Ų | 0.0267 | 0.0347 | N/A | 30.00 % ↑ |
|---|
| 69 | taurine | atom_site_aniso | N1 | adp_33 | Ų | 0.0267 | 0.0263 | N/A | 1.34 % ↓ |
|---|
| 70 | taurine | atom_site_aniso | N1 | adp_12 | Ų | 0.0000 | -0.0049 | N/A | N/A |
|---|
| 71 | taurine | atom_site_aniso | N1 | adp_13 | Ų | 0.0000 | 0.0034 | N/A | N/A |
|---|
| 72 | taurine | atom_site_aniso | N1 | adp_23 | Ų | 0.0000 | -0.0018 | N/A | N/A |
|---|
| 73 | taurine | atom_site_aniso | H1 | adp_11 | Ų | 0.0352 | 0.0447 | N/A | 26.89 % ↑ |
|---|
| 74 | taurine | atom_site_aniso | H1 | adp_22 | Ų | 0.0352 | 0.0270 | N/A | 23.16 % ↓ |
|---|
| 75 | taurine | atom_site_aniso | H1 | adp_33 | Ų | 0.0352 | 0.0381 | N/A | 8.19 % ↑ |
|---|
| 76 | taurine | atom_site_aniso | H1 | adp_12 | Ų | 0.0000 | -0.0054 | N/A | N/A |
|---|
| 77 | taurine | atom_site_aniso | H1 | adp_13 | Ų | 0.0000 | 0.0122 | N/A | N/A |
|---|
| 78 | taurine | atom_site_aniso | H1 | adp_23 | Ų | 0.0000 | -0.0106 | N/A | N/A |
|---|
| 79 | taurine | atom_site_aniso | H2 | adp_11 | Ų | 0.0533 | 0.0625 | N/A | 17.37 % ↑ |
|---|
| 80 | taurine | atom_site_aniso | H2 | adp_22 | Ų | 0.0533 | 0.0956 | N/A | 79.55 % ↑ |
|---|
| 81 | taurine | atom_site_aniso | H2 | adp_33 | Ų | 0.0533 | 0.0316 | N/A | 40.72 % ↓ |
|---|
| 82 | taurine | atom_site_aniso | H2 | adp_12 | Ų | 0.0000 | 0.0451 | N/A | N/A |
|---|
| 83 | taurine | atom_site_aniso | H2 | adp_13 | Ų | 0.0000 | -0.0077 | N/A | N/A |
|---|
| 84 | taurine | atom_site_aniso | H2 | adp_23 | Ų | 0.0000 | 0.0111 | N/A | N/A |
|---|
| 85 | taurine | atom_site_aniso | H3 | adp_11 | Ų | 0.0622 | 0.0201 | N/A | 67.67 % ↓ |
|---|
| 86 | taurine | atom_site_aniso | H3 | adp_22 | Ų | 0.0622 | 0.0796 | N/A | 27.95 % ↑ |
|---|
| 87 | taurine | atom_site_aniso | H3 | adp_33 | Ų | 0.0622 | 0.0758 | N/A | 21.83 % ↑ |
|---|
| 88 | taurine | atom_site_aniso | H3 | adp_12 | Ų | 0.0000 | 0.0040 | N/A | N/A |
|---|
| 89 | taurine | atom_site_aniso | H3 | adp_13 | Ų | 0.0000 | -0.0062 | N/A | N/A |
|---|
| 90 | taurine | atom_site_aniso | H3 | adp_23 | Ų | 0.0000 | -0.0172 | N/A | N/A |
|---|
| 91 | taurine | atom_site_aniso | C1 | adp_11 | Ų | 0.0214 | 0.0348 | N/A | 63.02 % ↑ |
|---|
| 92 | taurine | atom_site_aniso | C1 | adp_22 | Ų | 0.0214 | 0.0098 | N/A | 53.93 % ↓ |
|---|
| 93 | taurine | atom_site_aniso | C1 | adp_33 | Ų | 0.0214 | 0.0187 | N/A | 12.54 % ↓ |
|---|
| 94 | taurine | atom_site_aniso | C1 | adp_12 | Ų | 0.0000 | 0.0145 | N/A | N/A |
|---|
| 95 | taurine | atom_site_aniso | C1 | adp_13 | Ų | 0.0000 | 0.0053 | N/A | N/A |
|---|
| 96 | taurine | atom_site_aniso | C1 | adp_23 | Ų | 0.0000 | -0.0055 | N/A | N/A |
|---|
| 97 | taurine | atom_site_aniso | H11 | adp_11 | Ų | 0.0446 | 0.0653 | N/A | 46.42 % ↑ |
|---|
| 98 | taurine | atom_site_aniso | H11 | adp_22 | Ų | 0.0446 | 0.0043 | N/A | 90.40 % ↓ |
|---|
| 99 | taurine | atom_site_aniso | H11 | adp_33 | Ų | 0.0446 | 0.0554 | N/A | 24.31 % ↑ |
|---|
| 100 | taurine | atom_site_aniso | H11 | adp_12 | Ų | 0.0000 | 0.0013 | N/A | N/A |
|---|
| 101 | taurine | atom_site_aniso | H11 | adp_13 | Ų | 0.0000 | 0.0240 | N/A | N/A |
|---|
| 102 | taurine | atom_site_aniso | H11 | adp_23 | Ų | 0.0000 | 0.0020 | N/A | N/A |
|---|
| 103 | taurine | atom_site_aniso | H12 | adp_11 | Ų | 0.0420 | 0.0800 | N/A | 90.39 % ↑ |
|---|
| 104 | taurine | atom_site_aniso | H12 | adp_22 | Ų | 0.0420 | 0.0469 | N/A | 11.61 % ↑ |
|---|
| 105 | taurine | atom_site_aniso | H12 | adp_33 | Ų | 0.0420 | 0.0393 | N/A | 6.35 % ↓ |
|---|
| 106 | taurine | atom_site_aniso | H12 | adp_12 | Ų | 0.0000 | 0.0343 | N/A | N/A |
|---|
| 107 | taurine | atom_site_aniso | H12 | adp_13 | Ų | 0.0000 | 0.0233 | N/A | N/A |
|---|
| 108 | taurine | atom_site_aniso | H12 | adp_23 | Ų | 0.0000 | 0.0030 | N/A | N/A |
|---|
| 109 | taurine | atom_site_aniso | C2 | adp_11 | Ų | 0.0233 | -0.0037 | N/A | 116.02 % ↓ |
|---|
| 110 | taurine | atom_site_aniso | C2 | adp_22 | Ų | 0.0233 | 0.0455 | N/A | 95.03 % ↑ |
|---|
| 111 | taurine | atom_site_aniso | C2 | adp_33 | Ų | 0.0233 | 0.0256 | N/A | 9.85 % ↑ |
|---|
| 112 | taurine | atom_site_aniso | C2 | adp_12 | Ų | 0.0000 | -0.0039 | N/A | N/A |
|---|
| 113 | taurine | atom_site_aniso | C2 | adp_13 | Ų | 0.0000 | -0.0011 | N/A | N/A |
|---|
| 114 | taurine | atom_site_aniso | C2 | adp_23 | Ų | 0.0000 | 0.0039 | N/A | N/A |
|---|
| 115 | taurine | atom_site_aniso | H21 | adp_11 | Ų | 0.0302 | 0.0461 | N/A | 52.83 % ↑ |
|---|
| 116 | taurine | atom_site_aniso | H21 | adp_22 | Ų | 0.0302 | 0.0481 | N/A | 59.43 % ↑ |
|---|
| 117 | taurine | atom_site_aniso | H21 | adp_33 | Ų | 0.0302 | 0.0322 | N/A | 6.66 % ↑ |
|---|
| 118 | taurine | atom_site_aniso | H21 | adp_12 | Ų | 0.0000 | -0.0258 | N/A | N/A |
|---|
| 119 | taurine | atom_site_aniso | H21 | adp_13 | Ų | 0.0000 | 0.0062 | N/A | N/A |
|---|
| 120 | taurine | atom_site_aniso | H21 | adp_23 | Ų | 0.0000 | -0.0012 | N/A | N/A |
|---|
| 121 | taurine | atom_site_aniso | H22 | adp_11 | Ų | 0.0590 | 0.0063 | N/A | 89.25 % ↓ |
|---|
| 122 | taurine | atom_site_aniso | H22 | adp_22 | Ų | 0.0590 | 0.0352 | N/A | 40.25 % ↓ |
|---|
| 123 | taurine | atom_site_aniso | H22 | adp_33 | Ų | 0.0590 | 0.0646 | N/A | 9.52 % ↑ |
|---|
| 124 | taurine | atom_site_aniso | H22 | adp_12 | Ų | 0.0000 | 0.0079 | N/A | N/A |
|---|
| 125 | taurine | atom_site_aniso | H22 | adp_13 | Ų | 0.0000 | -0.0213 | N/A | N/A |
|---|
| 126 | taurine | atom_site_aniso | H22 | adp_23 | Ų | 0.0000 | 0.0077 | N/A | N/A |
|---|
| 127 | senju | extinction | | radius | μm | -0.9380 | -3.1057 | N/A | 231.10 % ↑ |
|---|
| 128 | senju | linked_structure | | scale | | 1.3488 | 1.3582 | N/A | 0.70 % ↑ |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
" • start = parameter value before refinement
• value = refined value from least-squares minimization
• s.u. = standard uncertainty (one sigma), from the covariance matrix
• change = relative change from start, in %; ↑ = increase, ↓ = decrease
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"⚠️ Red value: outside expected physical limits (consider adding constraints)
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"project.display.fit.results()"
]
},
{
"cell_type": "code",
"execution_count": 31,
"id": "38",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:49.422689Z",
"iopub.status.busy": "2026-06-30T22:32:49.422489Z",
"iopub.status.idle": "2026-06-30T22:32:49.427119Z",
"shell.execute_reply": "2026-06-30T22:32:49.426300Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"⚠️ Correlation matrix is unavailable for this fit. Use a minimizer that returns covariance information or posterior samples. \n"
]
}
],
"source": [
"project.display.fit.correlations()"
]
},
{
"cell_type": "code",
"execution_count": 32,
"id": "39",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:49.428698Z",
"iopub.status.busy": "2026-06-30T22:32:49.428476Z",
"iopub.status.idle": "2026-06-30T22:32:49.452407Z",
"shell.execute_reply": "2026-06-30T22:32:49.451478Z"
}
},
"outputs": [
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"project.display.pattern(expt_name='senju')"
]
},
{
"cell_type": "code",
"execution_count": 33,
"id": "40",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:49.454080Z",
"iopub.status.busy": "2026-06-30T22:32:49.453860Z",
"iopub.status.idle": "2026-06-30T22:32:49.467490Z",
"shell.execute_reply": "2026-06-30T22:32:49.466715Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mStructure 🧩 \u001b[0m\u001b[32m'taurine'\u001b[0m\u001b[1;36m as text\u001b[0m\n"
]
},
{
"data": {
"text/html": [
" | Edi |
|---|
| 1 | data_taurine |
|---|
| 2 | |
|---|
| 3 | _cell.length_a 5.2729 |
|---|
| 4 | _cell.length_b 11.6565 |
|---|
| 5 | _cell.length_c 7.8383 |
|---|
| 6 | _cell.angle_alpha 90. |
|---|
| 7 | _cell.angle_beta 94.011 |
|---|
| 8 | _cell.angle_gamma 90. |
|---|
| 9 | |
|---|
| 10 | _space_group.name_h_m "P 21/c" |
|---|
| 11 | _space_group.coord_system_code b1 |
|---|
| 12 | |
|---|
| 13 | _geom.min_bond_distance_cutoff 0. |
|---|
| 14 | _geom.bond_distance_inc 0.25 |
|---|
| 15 | |
|---|
| 16 | loop_ |
|---|
| 17 | _atom_site.id |
|---|
| 18 | _atom_site.type_symbol |
|---|
| 19 | _atom_site.fract_x |
|---|
| 20 | _atom_site.fract_y |
|---|
| 21 | _atom_site.fract_z |
|---|
| 22 | _atom_site.wyckoff_letter |
|---|
| 23 | _atom_site.multiplicity |
|---|
| 24 | _atom_site.occupancy |
|---|
| 25 | _atom_site.adp_iso |
|---|
| 26 | _atom_site.adp_type |
|---|
| 27 | S1 S 0.2036457() 0.35043861() 0.34885409() e 4 1. 0.00394486 Uani |
|---|
| 28 | O1 O 0.32049774() 0.2406249() 0.35063032() e 4 1. 0.03558171 Uani |
|---|
| 29 | O2 O 0.94243004() 0.33545591() 0.29447012() e 4 1. 0.02937017 Uani |
|---|
| 30 | O3 O 0.2261122() 0.41247123() 0.50878597() e 4 1. 0.02968045 Uani |
|---|
| 31 | N1 N 0.26096439() 0.62748926() 0.33245663() e 4 1. 0.02536629 Uani |
|---|
| 32 | H1 H 0.13504681() 0.59348356() 0.42089948() e 4 1. 0.03658895 Uani |
|---|
| 33 | H2 H 0.1840871() 0.7055539() 0.30448629() e 4 1. 0.06322598 Uani |
|---|
| 34 | H3 H 0.44112206() 0.63360152() 0.35529618() e 4 1. 0.05851176 Uani |
|---|
| 35 | C1 C 0.35073493() 0.43944711() 0.20371499() e 4 1. 0.02111665 Uani |
|---|
| 36 | H11 H 0.54048836() 0.44130427() 0.24086578() e 4 1. 0.04167395 Uani |
|---|
| 37 | H12 H 0.33146814() 0.38576846() 0.08594235() e 4 1. 0.05541139 Uani |
|---|
| 38 | C2 C 0.20597488() 0.55556286() 0.18060474() e 4 1. 0.02244623 Uani |
|---|
| 39 | H21 H 0.27330763() 0.60162773() 0.07737594() e 4 1. 0.04216522 Uani |
|---|
| 40 | H22 H 0.99536132() 0.55608594() 0.16439971() e 4 1. 0.0353875 Uani |
|---|
| 41 | |
|---|
| 42 | loop_ |
|---|
| 43 | _atom_site_aniso.id |
|---|
| 44 | _atom_site_aniso.adp_11 |
|---|
| 45 | _atom_site_aniso.adp_22 |
|---|
| 46 | _atom_site_aniso.adp_33 |
|---|
| 47 | _atom_site_aniso.adp_12 |
|---|
| 48 | _atom_site_aniso.adp_13 |
|---|
| 49 | _atom_site_aniso.adp_23 |
|---|
| 50 | S1 -0.02098112() 0.00334113() 0.02947457() -0.01941598() 0.00153415() 0.00039074() |
|---|
| 51 | O1 0.03870853() 0.02566841() 0.04236819() -0.00327106() 0.01173305() -0.01097964() |
|---|
| 52 | O2 0.03203765() 0.00146338() 0.05460949() -0.0017841() 0.01913176() -0.0077667() |
|---|
| 53 | O3 0.04113718() 0.03058241() 0.01732177() 0.01075673() 0.00004843() 0.00086407() |
|---|
| 54 | N1 0.01503967() 0.03471435() 0.02634484() -0.00489627() 0.00336417() -0.00176789() |
|---|
| 55 | H1 0.04465296() 0.02704167() 0.03807221() -0.00536084() 0.01222864() -0.01062068() |
|---|
| 56 | H2 0.06249825() 0.09561056() 0.03156914() 0.04512381() -0.00773365() 0.01114166() |
|---|
| 57 | H3 0.0201175() 0.07961346() 0.07580431() 0.00404304() -0.00616788() -0.01719158() |
|---|
| 58 | C1 0.03482615() 0.00984111() 0.01868267() 0.01445096() 0.00530132() -0.00545329() |
|---|
| 59 | H11 0.06530166() 0.00427931() 0.05544088() 0.00134969() 0.02395799() 0.00203() |
|---|
| 60 | H12 0.0799933() 0.04689394() 0.03934694() 0.03428086() 0.02334572() 0.00304899() |
|---|
| 61 | C2 -0.00373556() 0.04546498() 0.02560927() -0.00386211() -0.00110455() 0.00391659() |
|---|
| 62 | H21 0.04614874() 0.04814135() 0.03220557() -0.02583011() 0.00623454() -0.00123987() |
|---|
| 63 | H22 0.00634053() 0.0352373() 0.06458468() 0.0079277() -0.02127045() 0.00769729() |
|---|
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"structure.show_as_text()"
]
},
{
"cell_type": "markdown",
"id": "41",
"metadata": {},
"source": [
"## 💾 Save Project"
]
},
{
"cell_type": "code",
"execution_count": 34,
"id": "42",
"metadata": {
"execution": {
"iopub.execute_input": "2026-06-30T22:32:49.469296Z",
"iopub.status.busy": "2026-06-30T22:32:49.468972Z",
"iopub.status.idle": "2026-06-30T22:32:49.657055Z",
"shell.execute_reply": "2026-06-30T22:32:49.655915Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[1;36mSaving project 📦 \u001b[0m\u001b[32m'taurine_senju'\u001b[0m\u001b[1;36m to \u001b[0m\u001b[32m'../../../projects/refine-taurine-senju'\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"├── 📄 project.edi\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"├── 📁 structures/\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"│ └── 📄 taurine.edi\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"├── 📁 experiments/\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"│ └── 📄 senju.edi\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"├── 📁 analysis/\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"│ └── 📄 analysis.edi\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"└── 📁 reports/\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
" └── 📄 taurine_senju.html\n"
]
}
],
"source": [
"project.save_as(dir_path='projects/refine-taurine-senju')"
]
}
],
"metadata": {
"jupytext": {
"cell_metadata_filter": "-all",
"main_language": "python",
"notebook_metadata_filter": "-all"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.14.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}