QSHI_trivial.bkr 113 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
{
    "beaker": "2",
    "evaluators": [
        {
            "name": "HTML",
            "plugin": "HTML",
            "view": {
                "cm": {
                    "mode": "htmlmixed"
                }
            }
        },
        {
            "name": "JavaScript",
            "plugin": "JavaScript",
            "view": {
                "cm": {
                    "mode": "javascript",
                    "background": "#FFE0F0"
                }
            },
            "languageVersion": "ES2015"
        },
        {
            "name": "IPython",
            "plugin": "IPython",
            "setup": "%matplotlib inline\nimport numpy\nimport matplotlib\nfrom matplotlib import pylab, mlab, pyplot\nnp = numpy\nplt = pyplot\nfrom IPython.display import display\nfrom IPython.core.pylabtools import figsize, getfigs\nfrom pylab import *\nfrom numpy import *\n",
            "view": {
                "cm": {
                    "mode": "python"
                }
            }
        }
    ],
    "cells": [
        {
            "id": "codej0ox8x",
            "type": "code",
            "evaluator": "HTML",
            "input": {
                "body": [
                    "<style type=\"text/css\">",
                    "/*!",
                    " * Nomad Beaker Notebook Template",
                    " *",
                    " * @copyright  Copyright 2017 Fritz Haber Institute of the Max Planck Society,",
                    " *             Benjamin Regler - Apache 2.0 License",
                    " * @license    http://www.apache.org/licenses/LICENSE-2.0",
                    " * @author     Benjamin Regler",
                    " * @version    1.0.0",
                    " *",
                    " * Licensed under the Apache License, Version 2.0 (the \"License\");",
                    " * you may not use this file except in compliance with the License.",
                    " * You may obtain a copy of the License at",
                    " * ",
                    " *     http://www.apache.org/licenses/LICENSE-2.0",
                    " *",
                    " * Unless required by applicable law or agreed to in writing, software",
                    " * distributed under the License is distributed on an \"AS IS\" BASIS,",
                    " * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
                    " * See the License for the specific language governing permissions and",
                    " * limitations under the License.",
                    " */",
                    "p{margin-bottom:1.3em}h1,h2,h3,h4{margin:1.414em 0 .5em;font-weight:inherit;line-height:1.2}h1{margin-top:0;font-size:3.998em}h2{font-size:2.827em}h3{font-size:1.999em}h4{font-size:1.414em}.font_small,small{font-size:.707em}.notebook-container{font-size:16px}.notebook-container .bkr{font-size:100%;font-weight:400;line-height:1.45;color:#333}.nomad--header h2{color:#20335d;font-weight:700;margin:0 0 .2em}.nomad--header h3{color:#20335d;font-weight:700;margin-top:0;text-indent:-1em;padding-left:1em}.nomad--header h3:before{content:\"\\2014\";padding-right:.25em}.nomad--header .nomad--description{margin:-1em 0 0 2em}.atomic-data--block,.nomad--last-updated{display:inline-block;margin-top:1em}.nomad--last-updated{color:grey;float:right;position:relative;z-index:1}.nomad--last-updated::before{bottom:-75%;content:attr(data-version);font-size:4em;font-weight:700;opacity:.2;position:absolute;right:0}.atomic-data label{display:block;font-size:medium;font-weight:700}.atomic-data--select,.chosen-container{width:100%!important}.atomic-data--select:disabled{color:#d3d3d3}.atomic-data--reset-buton{display:inline-block;margin-top:1.6em;width:100%}.modal-dialog{max-width:1000px;width:80%}.modal-header h1{font-size:2em;line-height:1.2}.modal-dialog h2{font-size:1.414em}.modal-dialog h2:first-child{margin-top:0}.modal-dialog h3{font-size:1.2em}.modal-dialog dt{font-size:larger;margin-top:1.414em}.modal-dialog img{width:100%}.modal-dialog .authors{text-transform:uppercase}",
                    "</style>"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
                "height": 50,
                "result": {
                    "type": "BeakerDisplay",
                    "innertype": "Html",
                    "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n/*!\n * Nomad Beaker Notebook Template\n *\n * @copyright  Copyright 2017 Fritz Haber Institute of the Max Planck Society,\n *             Benjamin Regler - Apache 2.0 License\n * @license    http://www.apache.org/licenses/LICENSE-2.0\n * @author     Benjamin Regler\n * @version    1.0.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\np{margin-bottom:1.3em}h1,h2,h3,h4{margin:1.414em 0 .5em;font-weight:inherit;line-height:1.2}h1{margin-top:0;font-size:3.998em}h2{font-size:2.827em}h3{font-size:1.999em}h4{font-size:1.414em}.font_small,small{font-size:.707em}.notebook-container{font-size:16px}.notebook-container .bkr{font-size:100%;font-weight:400;line-height:1.45;color:#333}.nomad--header h2{color:#20335d;font-weight:700;margin:0 0 .2em}.nomad--header h3{color:#20335d;font-weight:700;margin-top:0;text-indent:-1em;padding-left:1em}.nomad--header h3:before{content:\"\\2014\";padding-right:.25em}.nomad--header .nomad--description{margin:-1em 0 0 2em}.atomic-data--block,.nomad--last-updated{display:inline-block;margin-top:1em}.nomad--last-updated{color:grey;float:right;position:relative;z-index:1}.nomad--last-updated::before{bottom:-75%;content:attr(data-version);font-size:4em;font-weight:700;opacity:.2;position:absolute;right:0}.atomic-data label{display:block;font-size:medium;font-weight:700}.atomic-data--select,.chosen-container{width:100%!important}.atomic-data--select:disabled{color:#d3d3d3}.atomic-data--reset-buton{display:inline-block;margin-top:1.6em;width:100%}.modal-dialog{max-width:1000px;width:80%}.modal-header h1{font-size:2em;line-height:1.2}.modal-dialog h2{font-size:1.414em}.modal-dialog h2:first-child{margin-top:0}.modal-dialog h3{font-size:1.2em}.modal-dialog dt{font-size:larger;margin-top:1.414em}.modal-dialog img{width:100%}.modal-dialog .authors{text-transform:uppercase}\n</style>"
                },
                "elapsedTime": 0
            },
            "evaluatorReader": true,
            "lineCount": 24,
            "initialization": true
        },
        {
            "id": "codezNmKSU",
            "type": "code",
            "evaluator": "HTML",
            "input": {
                "body": [
                    "<div id=\"teaser\" style='background-color: rgba(149,170,79, 1.0); background-position:  right center; background-size: 200px; background-repeat: no-repeat; ",
                    "    padding-top: 20px;",
                    "    padding-right: 10px;",
                    "    padding-bottom: 50px;",
                    "    padding-left: 80px;' > ",
                    "",
                    "  <div class=\"nomad--header\">",
                    "   <div style=\"text-align:center\">",
                    "    <h2> <img id=\"nomad\" src=\"https://nomad-coe.eu/uploads/nomad/images/NOMAD_Logo2.png\" height=\"100\" alt=\"NOMAD Logo\">  NOMAD Analytics Toolkit   ",
                    "  <img id=\"nomad\" src=\"https://www.nomad-coe.eu/uploads/nomad/backgrounds/head_big-data_analytics_2.png\" height=\"80\" alt=\"NOMAD Logo\"> </h2>",
                    "  </div>",
                    "    <h3> Prediction of topological quantum phase transitions </h3>",
                    "    <p class=\"nomad--description\">",
                    "      created by:",
                    " Carlos Mera Acosta<sup>1,2</sup>,",
                    " Emre Ahmetcik<sup> 1</sup>,",
                    " Adalberto Fazzio<sup>2</sup>,     ",
                    " Luca Ghiringhelli<sup>1</sup>,",
                    " and Matthias Scheffler<sup>1</sup> <br><br>",
                    "   ",
                    "      <sup>1</sup> Fritz Haber Institute of the Max Planck Society, Faradayweg 4-6, D-14195 Berlin, Germany <br>",
                    "      <sup>2</sup> Brazilian Nanotechnology National Laboratory, Campinas, SP, Brazil <br>",
                    "      <span class=\"nomad--last-updated\" data-version=\"v1.0.0\">[Last updated: November 9, 2017]</span>",
                    "    </p>",
                    "</div>",
                    "",
                    "</div>  ",
                    "",
                    "<div style='text-align: right;'>",
                    "<a href=\"https://analytics-toolkit.nomad-coe.eu/home/\" class=\"btn btn-primary\" style=\"font-size:larger;\">Back to Analytics Home</a> ",
                    "<a href=\"https://www.nomad-coe.eu/\" class=\"btn btn-primary\" style=\"font-size:larger;\">Back to NOMAD CoE Home</a> ",
                    "</div>",
                    ""
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
129
                "height": 389,
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                "result": {
                    "type": "BeakerDisplay",
                    "innertype": "Html",
                    "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<div id=\"teaser\" style=\"background-color: rgba(149,170,79, 1.0); background-position:  right center; background-size: 200px; background-repeat: no-repeat; \n    padding-top: 20px;\n    padding-right: 10px;\n    padding-bottom: 50px;\n    padding-left: 80px;\"> \n\n  <div class=\"nomad--header\">\n   <div style=\"text-align:center\">\n    <h2> <img id=\"nomad\" src=\"https://nomad-coe.eu/uploads/nomad/images/NOMAD_Logo2.png\" alt=\"NOMAD Logo\" height=\"100\">  NOMAD Analytics Toolkit   \n  <img id=\"nomad\" src=\"https://www.nomad-coe.eu/uploads/nomad/backgrounds/head_big-data_analytics_2.png\" alt=\"NOMAD Logo\" height=\"80\"> </h2>\n  </div>\n    <h3> Prediction of topological quantum phase transitions </h3>\n    <p class=\"nomad--description\">\n      created by:\n Carlos Mera Acosta<sup>1,2</sup>,\n Emre Ahmetcik<sup> 1</sup>,\n Adalberto Fazzio<sup>2</sup>,     \n Luca Ghiringhelli<sup>1</sup>,\n and Matthias Scheffler<sup>1</sup> <br><br>\n   \n      <sup>1</sup> Fritz Haber Institute of the Max Planck Society, Faradayweg 4-6, D-14195 Berlin, Germany <br>\n      <sup>2</sup> Brazilian Nanotechnology National Laboratory, Campinas, SP, Brazil <br>\n      <span class=\"nomad--last-updated\" data-version=\"v1.0.0\">[Last updated: November 9, 2017]</span>\n    </p>\n</div>\n\n</div>  \n\n<div style=\"text-align: right;\">\n<a href=\"https://analytics-toolkit.nomad-coe.eu/home/\" class=\"btn btn-primary\" style=\"font-size:larger;\">Back to Analytics Home</a> \n<a href=\"https://www.nomad-coe.eu/\" class=\"btn btn-primary\" style=\"font-size:larger;\">Back to NOMAD CoE Home</a> \n</div>\n"
                },
                "elapsedTime": 0
            },
            "evaluatorReader": true,
            "lineCount": 33
        },
        {
            "id": "markdownKOPYxK",
            "type": "markdown",
            "body": [
                "### Introduction ",
                "",
                "This tutorial shows how to find descriptive parameters (short formulas) for the prediction of topological phase transitions. As an example, we address the topological classification of two-dimensional functionalized honeycomb-lattice materials, which are formally described by the Z<sub>2</sub> topological invariant, i.e.,   Z<sub>2</sub>=0 for trivial (normal) insulators and  Z<sub>2</sub>=1 for two-dimensional topological insulators (quantum spin Hall insulators).",
                "Using a recently developed machine learning based on compressed sensing, we then derive a map of these materials, in which metals, trivial insulators, and quantum spin Hall insulators are separated in different spatial domains. The axes of this map are given by a physically meaningful descriptor, i.e., a non-linear analytic function that only depends on the properties of the material's constituent atoms, but not on the properties of the material itself.",
                "The method is based on the algorithm <u>s</u>ure <i><u>i</u>ndependence <u>s</u>creening and <u>s</u>parsifying <u>o</u>perator</i> (SISSO), which enables to search for optimal descriptors by scanning huge feature spaces. ",
                "  <div style=\"padding: 1ex; margin-top: 1ex; margin-bottom: 1ex; border-style: dotted; border-width: 1pt; border-color: blue; border-radius: 3px;\">",
                "R. Ouyang, S. Curtarolo, E. Ahmetcik, M. Scheffler, L. M. Ghiringhelli: <span style=\"font-style: italic;\">SISSO: a compressed-sensing method for systematically identifying efficient physical models of materials properties, </span> <a href=\"https://arxiv.org/abs/1710.03319\">https://arxiv.org/abs/1710.03319</a> (2017). <br>",
                "You can download the code <a href=\"https://github.com/rouyang2017/SISSO\">here</a> .",
                "</div>",
                " Click  first <b>Reference settings</b> and afterwards <b>RUN</b> to reproduce the results from this publication; click <b>Background</b> for an explanation of the approach; or, modify <b>Settings</b> to produce your own results.",
                "",
                "<b> Idea: </b> Starting from simple physical quantities (\"building blocks\", here properties of the constituent free atoms such as orbital radii), millions (or billions) of candidate formulas are generated by applying arithmetic operations combining building blocks, for example forming sums and products of them. These candidate formulas constitute the so-called \"feature space\". Then a feature selection method (SISSO) is used to select only a few of these formulas that explain the data."
            ],
            "evaluatorReader": false
        },
        {
            "id": "markdown2C0gOu",
            "type": "markdown",
            "body": [
                "<div class=\"modal fade\" id=\"modal-credits\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-credits\">",
                "  <div class=\"modal-dialog\" role=\"document\">",
                "    <div class=\"modal-content\">",
                "      <div class=\"modal-header\">",
                "        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>",
                "        <h1 class=\"modal-title\" id=\"modal-credits-label\">Background</h1>",
                "        <hr>",
                "      </div>",
                "      <div class=\"modal-body modal-credits-body\">",
                "",
                "    <p>We present a tool for predicting topological phase transition in functionalized ghaphene-like materials, by using a set of descriptive parameters (a descriptor) based on free-atom data of the atomic species constituting the material. We first compute the Z<sub>2</sub>-invariant for a representative set of materials from first principles, identifying trivial insulators, QSHIs that are independent on the functionalization (FI-QSHIs), QSHIs that depend on the functionalization (FD-QSHIs), and metals. ",
                "We then apply a newly developed method: sure independence screening and sparsifying operator (SISSO), that allows to find an optimal descriptor in a huge feature space containing billions of features. In this tutorial an $\\ell$<sub>0</sub>-optimization is used as the sparsifying operator. The method is described in:",
                "<div style=\"padding: 1ex; margin-top: 1ex; margin-bottom: 1ex; border-style: dotted; border-width: 1pt; border-color: blue; border-radius: 3px;\">",
                "R. Ouyang, S. Curtarolo, E. Ahmetcik, M. Scheffler, L. M. Ghiringhelli: <span style=\"font-style: italic;\">SISSO: a compressed-sensing method for systematically identifying efficient physical models of materials properties, </span> <a href=\" https://arxiv.org/abs/1710.03319\">https://arxiv.org/abs/1710.03319</a> (2017). </div>",
177
                "By running the tutorial and clicking “View interactive 2D plot”, an interactive classification map will be opened in a new tab:",
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
                "<center>",
                "<figure>",
                "<img src=\"https://gitlab.mpcdf.mpg.de/nomad-lab/public-wiki/uploads/8e9108e78dad8cd3d95e0384768c83ef/Fig3.png\" >",
                "<figcaption>Perfect classification (100\\%) of trivial/QSHIs for 160 materials (80 trivial insulators, 22 FD-QSHIs, and 58 FI-QSHIs). Symbols: $EA$ electron affinity, $E_{h}$ atomic HOMO, $r$<sub>s, p</sub> orbital extansion of s- and p-orbitals, and $Z$ atomic number. ",
                "The symbols' color is used to distinguish between FD-QSHIs~(blue), FI-QSHIs~(green), and trivial insulators~(black). The same color-code is used to highlight the different regions identified by the SISSO descriptors.</figcaption>",
                "<figure>",
                "</center>",
                "</p>",
                "",
                "<p>SISSO($\\ell_{0}$) for classification seeks in an iterative approach for that desriptor in whose space the overlap between class domains is minimal, where a class domain is represented by the convex hull of the training data. In the first iteration, a number $k$ of features is collected which seperate the convex hulls best. The feature with the lowest domain overlap is simply the 1D descriptor. In the next iteration, a new set of $k$ features is selected, now as those seperating the unclassified data from the first iteration best. The 2D descriptor is the pair of features that yield the smallest overlap region, among all possible pairs contained in the union of the sets selected in this and the first iteration. In each next iteration new set of $k$ features is extracted as those that separate the unclassified data from the previous step best. The $n$D descriptor is the $n$-tuple of features that yield the smallest convex hull overlap regions, among all possible $n$-tuples contained in the union of the sets obtained in each new iteration and all the previous iterations. ",
                "</p>",
                "",
                " <p>Note that this tutorial is constrained to seek for 2D descriptors only. SISSO can also be applied to regressions problems as i.e. described in the <a href=\" https://analytics-toolkit.nomad-coe.eu/notebook-edit/data/shared/tutorials/sis_cscl.bkr\"> SISSO tutorial for the prediction of the energy difference between crystal structures</a>. <br>",
                "The SISSO approach was developed following a compressed-sensing based methodology to solve materials science problems as introduced in",
                " <div style=\"padding: 1ex; margin-top: 1ex; margin-bottom: 1ex; border-style: dotted; border-width: 1pt; border-color: blue; border-radius: 3px;\">",
                "L. M. Ghiringhelli, J. Vybiral, S. V. Levchenko, C. Draxl, M. Scheffler: <span style=\"font-style: italic;\">Big Data of Materials Science: Critical Role of the Descriptor</span>,  Phys. Rev. Lett. 114, 105503 (2015) <a href=\"http://journals.aps.org/prl/abstract/10.1103/PhysRevLett.114.105503\">[PDF]</a>,",
                "</div>",
                "in which the LASSO+$\\ell_0$ method was proposed.",
                " </p>",
                "",
                "",
                "        ",
                "      ",
                "      </div>",
                "      <div class=\"modal-footer\">",
                "        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" style=\"font-size:larger;\">Close</button>",
                "      </div>",
                "    </div>",
                "  </div>",
                "</div>",
                "",
                "<div class=\"modal fade\" id=\"modal-instructions\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-instructions\">",
                "  <div class=\"modal-dialog\" role=\"document\">",
                "    <div class=\"modal-content\">",
                "      <div class=\"modal-header\">",
                "        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>",
                "        <h1 class=\"modal-title\" id=\"modal-instructions-label\">Instructions</h1>",
                "        <hr>",
                "      </div>",
                "      <div class=\"modal-body modal-instruction-body\">",
                "        ",
                "   <p>In this example, you can run the SISSO($\\ell_{0}$)  algorithm for finding the optimal descriptor that classifies functionalized Graphene-like materials in trivial and QSHIs. The descriptor is selected out of a large number of candidates constructed as functions of basic input features, the primary features. </p>",
                "",
                "<p>In the settings you can select the primary features as well as which kind of unary and binary operations are allowed during feature space construction from the checklist below. Moreover the following two parameters of the SISSO($\\ell_0$) algorithm can be specified: ",
                "        <ul>",
                "          <li>Number of iterations for the construction for the feature space: How often the selected operations are applied to build the feature space. At each step the operations are applied on all features created until the current step. </li>",
                "          <li>Number of collected features per SIS iteration.</li>",
                "        </ul>    ",
                "            ",
                "  ",
                "<p>  After the preferred settings have been adjusted, click <b>RUN</b> for performing the calculations (creation of the feature space and optimization via SISSO($\\ell_0$)). </p>",
                "",
                "During the run, a brief summary is printed out below the <b>RUN</b> button. At the end of the run: ",
                "  <ul>",
                "  <li> the solution (identified 2D descriptor and the number of data points in the overlap region) is printed out.</li>",
                "<li> the “View interactive 2D scatter plot” button unlocks. By clicking this button, the scatter plot with the 2D descriptor appears in a separate tab.</li>",
                "</ul>",
                "<p>Note: the scatter plot remains active even if another run is performed, which enables the output of several sets of input parameters to be compared.</p>",
                "           ",
                "      </div>",
                "      <div class=\"modal-footer\">",
                "        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" style=\"font-size:larger;\">Close</button>",
                "      </div>",
                "    </div>",
                "  </div>",
                "</div>"
            ],
            "evaluatorReader": false
        },
        {
            "id": "codeHb7sIB",
            "type": "code",
            "evaluator": "HTML",
            "input": {
                "body": [
                    "<script>",
                    "var run_lasso = function() {",
                    "  $(\"#lasso_result_button\").removeClass(\"active\").addClass(\"disabled\");",
                    "  getFeatures();",
                    "  getOperators();",
                    "  beaker.max_dim = $(\"#lasso_max_dim_selector\").val();",
                    "  beaker.structures_diff = $(\"#lasso_structures_diff\").val();",
                    "  beaker.n_comb = $(\"#n_comb\").val();",
                    "  beaker.n_sis = $(\"#n_sis\").val();",
                    "  beaker.units = $(\"#units_select\").val();",
                    "  beaker.evaluate(\"calc_cell\"); // evaluate cells with tag \"lasso_cell\"",
                    " // view_result()",
                    "};",
                    "var reset_lasso = function(){",
                    "  beaker.evaluate(\"lasso-settings-cell\");",
                    "  var e = document.getElementById('lasso-hidden-settings-div');",
                    "  var b = document.getElementById('lasso-hidden-settings-button');",
                    "  e.style.display = 'block';",
                    "  b.style.display = 'inline';",
                    "};",
                    "  ",
                    "var settings_for_paper = function(){",
                    "  document.getElementById('n_comb').value=\"2\";",
                    "  document.getElementById('n_sis').value=\"5700\";",
                    "  var ids = [\"+\", \"-\", \"|-|\", \"*\", \"/\", \"^-1\", \"^2\", \"^3\", \"sqrt\", \"exp\", \"exp-\", \"log\", \"SCD\", \"EA\", \"Eh\", \"rs\", \"rp\", \"Z\"];",
                    "  var ids_unchecked = [\"exp-\", \"SCD\"];",
                    "  for (i=0;i<ids.length;i++){",
                    "    if (ids_unchecked.includes(ids[i])) {",
                    "      document.getElementById(ids[i]).checked = false;",
                    "    } else {",
                    "      document.getElementById(ids[i]).checked = true;",
                    "    }",
                    "  }",
                    "};",
                    "  ",
                    "var getFeatures = function() {",
                    "    beaker.selected_feature_list = [];",
                    "    $('#lasso_features_select input:checkbox').each(function () {",
                    "        if(this.checked )",
                    "          beaker.selected_feature_list.push(this.value);",
                    "    });",
                    "};",
                    "var getOperators = function() {",
                    "    beaker.allowed_operations = [];",
                    "    $('#lasso_operators_select input:checkbox').each(function () {",
                    "        if(this.checked )",
                    "          beaker.allowed_operations.push(this.value);",
                    "    });",
                    "};  ",
                    "",
                    "var toggle_settings = function(){",
                    "  var e = document.getElementById('lasso-hidden-settings-div');",
                    "  var b = document.getElementById('lasso-hidden-settings-button');",
                    "  if(e.style.display == 'block'){",
                    "    e.style.display = 'none';",
                    "    b.style.display = 'none';",
                    "  }",
                    "  else{",
                    "    e.style.display = 'block';",
                    "    b.style.display = 'inline';",
                    "  }",
                    "};",
                    "beaker.view_result = function(result_link) {",
                    "//   beaker.evaluate(\"lasso_viewer_result\").then(function(x) {",
                    "    $(\"#lasso_result_button\").attr(\"href\", result_link);",
                    "//   }); ",
                    "  $(\"#lasso_result_button\").removeClass(\"disabled\").addClass(\"active\");",
                    "}",
                    "",
                    "</script>",
                    "",
                    "",
                    "<button type=\"button\" class=\"btn btn-default\" data-toggle=\"modal\" data-target=\"#modal-credits\" style=\"font-size:larger;\">Background</button>",
                    "<button type=\"button\" class=\"btn btn-info\" data-toggle=\"modal\" data-target=\"#modal-instructions\" style=\"font-size:larger;\">Read usage instructions</button"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
                "height": 80,
                "result": {
                    "type": "BeakerDisplay",
                    "innertype": "Html",
                    "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<script>\nvar run_lasso = function() {\n  $(\"#lasso_result_button\").removeClass(\"active\").addClass(\"disabled\");\n  getFeatures();\n  getOperators();\n  beaker.max_dim = $(\"#lasso_max_dim_selector\").val();\n  beaker.structures_diff = $(\"#lasso_structures_diff\").val();\n  beaker.n_comb = $(\"#n_comb\").val();\n  beaker.n_sis = $(\"#n_sis\").val();\n  beaker.units = $(\"#units_select\").val();\n  beaker.evaluate(\"calc_cell\"); // evaluate cells with tag \"lasso_cell\"\n // view_result()\n};\nvar reset_lasso = function(){\n  beaker.evaluate(\"lasso-settings-cell\");\n  var e = document.getElementById('lasso-hidden-settings-div');\n  var b = document.getElementById('lasso-hidden-settings-button');\n  e.style.display = 'block';\n  b.style.display = 'inline';\n};\n  \nvar settings_for_paper = function(){\n  document.getElementById('n_comb').value=\"2\";\n  document.getElementById('n_sis').value=\"5700\";\n  var ids = [\"+\", \"-\", \"|-|\", \"*\", \"/\", \"^-1\", \"^2\", \"^3\", \"sqrt\", \"exp\", \"exp-\", \"log\", \"SCD\", \"EA\", \"Eh\", \"rs\", \"rp\", \"Z\"];\n  var ids_unchecked = [\"exp-\", \"SCD\"];\n  for (i=0;i<ids.length;i++){\n    if (ids_unchecked.includes(ids[i])) {\n      document.getElementById(ids[i]).checked = false;\n    } else {\n      document.getElementById(ids[i]).checked = true;\n    }\n  }\n};\n  \nvar getFeatures = function() {\n    beaker.selected_feature_list = [];\n    $('#lasso_features_select input:checkbox').each(function () {\n        if(this.checked )\n          beaker.selected_feature_list.push(this.value);\n    });\n};\nvar getOperators = function() {\n    beaker.allowed_operations = [];\n    $('#lasso_operators_select input:checkbox').each(function () {\n        if(this.checked )\n          beaker.allowed_operations.push(this.value);\n    });\n};  \n\nvar toggle_settings = function(){\n  var e = document.getElementById('lasso-hidden-settings-div');\n  var b = document.getElementById('lasso-hidden-settings-button');\n  if(e.style.display == 'block'){\n    e.style.display = 'none';\n    b.style.display = 'none';\n  }\n  else{\n    e.style.display = 'block';\n    b.style.display = 'inline';\n  }\n};\nbeaker.view_result = function(result_link) {\n//   beaker.evaluate(\"lasso_viewer_result\").then(function(x) {\n    $(\"#lasso_result_button\").attr(\"href\", result_link);\n//   }); \n  $(\"#lasso_result_button\").removeClass(\"disabled\").addClass(\"active\");\n}\n\n</script>\n\n\n<button type=\"button\" class=\"btn btn-default\" data-toggle=\"modal\" data-target=\"#modal-credits\" style=\"font-size:larger;\">Background</button>\n<button type=\"button\" class=\"btn btn-info\" data-toggle=\"modal\" data-target=\"#modal-instructions\" style=\"font-size:larger;\">Read usage instructions</button>"
                },
                "elapsedTime": 0
            },
            "evaluatorReader": true,
            "lineCount": 74
        },
        {
            "id": "lasso-settings-cell",
            "type": "code",
            "evaluator": "HTML",
            "input": {
                "body": [
                    "<style type=\"text/css\">",
                    "  .lasso_control{",
                    "    margin-left: 10px;",
                    "  }",
                    "</style>",
                    "<div class=\"lasso_control\" id=\"lasso-hidden-settings-div\">   ",
                    "  <div class=\"row\">",
                    "    <p class=\"lasso_selection_description\"><b>Primary features </b>",
                    "  (hover the mouse",
                    "pointer over the feature names to see a full description):</p>",
                    "    <form id=\"lasso_features_select\">",
                    "      <div class=\"lasso_form_group\">",
362
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"IP\" id=\"IP\" CHECKED> <span title=\"Ionization potential\"><i>IP</i> </span></label>        ",
363 364
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"EA\" id=\"EA\" CHECKED > <span title=\"Electron affinity\"><i>EA</i> </span></label>",
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"Eh\" id=\"Eh\" CHECKED > <span title=\"Atomic HOMO and LUMO\"> <i>&#949</i><sup><i>h</i></sup></span></label>",
365
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"El\" id=\"El\" CHECKED> <span title=\"Atomic HOMO and LUMO\"> <i>&#949</i><sup><i>l</i></sup></span></label>",
366 367
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"rs\" id=\"rs\" CHECKED > <span title=\"Atomic s-orbital extension: Vcell/&#931; Vatom\"> <i>r</i><sub><i>s</i></sub>  </span> </label>",
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"rp\" id=\"rp\" CHECKED > <span title=\"Atomic p-orbital extension: Vcell/&#931; Vatom\"> <i>r</i><sub><i>p</i></sub>  </span> </label>",
368
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"rd\" id=\"rd\" CHECKED> <span title=\"Atomic d-orbital extension: Vcell/&#931; Vatom\"> <i>r</i><sub><i>d</i></sub>  </span> </label>",
369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403
                    "         <label class =\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"Z\" id=\"Z\" CHECKED > <span title=\"Atomic number\"> <i>Z</i>  </span> </label>",
                    "      </div>",
                    "    </form>",
                    "  </div>  <!-- End of row-->",
                    "  <div class=\"row\"> <!-- Start of second row-->",
                    "    <p class=\"lasso_selection_description\"><b>Allowed operations:</b> <br>",
                    "  Given features x and y, apply these operations for feature space construction:</p>",
                    "    <form id=\"lasso_operators_select\">",
                    "      <div class=\"lasso_form_group\">",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"+\" id=\"+\" CHECKED > x+y  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"-\" id=\"-\" CHECKED > x-y  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"|-|\" id=\"|-|\" CHECKED > |x-y|  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"*\" id=\"*\" CHECKED > x &middot y  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"/\" id=\"/\" CHECKED > x/y  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"^-1\" id=\"^-1\" CHECKED > x^(-1)  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"^2\" id=\"^2\" CHECKED > x^2  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"^3\" id=\"^3\" CHECKED > x^3  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"sqrt\" id=\"sqrt\" CHECKED > &radic;<span style=\"text-decoration: overline\">x</span>  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"exp\" id=\"exp\" CHECKED > exp(x)  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"exp-\" id=\"exp-\" > exp(-x)  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"log\" id=\"log\" CHECKED > log(x)  </label>",
                    "        <label class =\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"SCD\" id=\"SCD\" >  <span title=\"Standard Cauchy distribution\"> SCD  </span> </label>",
                    "      </div> ",
                    "    </form>",
                    "  </div>  <!-- End of row-->",
                    "  <div class=\"row\"> <!-- Start of third row-->",
                    "    <p class=\"lasso_selection_description\"><b>Number of iterations for the construction for the feature space: </b> ",
                    "  <select id='n_comb'>",
                    "    <option value=\"1\" > 1</option>",
                    "    <option value=\"2\" selected=\"selected\"> 2</option>",
                    "    <option value=\"3\" > 3</option>",
                    "  </select> ",
                    "    </p>",
                    "   ",
                    "  <p class=\"lasso_selection_description\"><b>Number of collected features per SIS iteration: </b> ",
404
                    "  <input type=\"number\" name=\"quantity\" id=\"n_sis\" min=\"1\" max=\"3701\" value=\"100\" step=\"100\"> </p",
405 406 407 408 409 410 411 412 413 414 415 416
                    "  </div><!-- End of row-->",
                    "",
                    "<!-- <span title=''> <img src=\"http://images.clipartpanda.com/question-purzen_Icon_with_question_mark_Vector_Clipart.png\" style=\"height: 30px; width: 30px;\"> </span> -->",
                    "<!--   <button class=\"btn btn-default\" onclick='run_lasso()'>RUN LASSO+L0</button> -->",
                    "<!--   <button class=\"btn btn-default\" onclick='reset_lasso()'>RESET</button> -->",
                    "<!--   <label title=\"This button becomes active when the",
                    "run is finished. By clicking it, an interactive plot of the first 2",
                    "dimensions of the optimized descriptor will be opened\"> ",
                    "  <a href=\"#\" target=\"_blank\" class=\"btn btn-primary disabled\" id=\"lasso_result_button\" >View interactive 2D scatter plot</a> </label> -->",
                    "</div>",
                    "<div class=\"lasso_control\">",
                    "</div>"
417
                ]
418 419 420 421
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
422
                "height": 327,
423 424 425
                "result": {
                    "type": "BeakerDisplay",
                    "innertype": "Html",
426
                    "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n  .lasso_control{\n    margin-left: 10px;\n  }\n</style>\n<div class=\"lasso_control\" id=\"lasso-hidden-settings-div\">   \n  <div class=\"row\">\n    <p class=\"lasso_selection_description\"><b>Primary features </b>\n  (hover the mouse\npointer over the feature names to see a full description):</p>\n    <form id=\"lasso_features_select\">\n      <div class=\"lasso_form_group\">\n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"IP\" id=\"IP\" checked=\"\"> <span title=\"Ionization potential\"><i>IP</i> </span></label>        \n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"EA\" id=\"EA\" checked=\"\"> <span title=\"Electron affinity\"><i>EA</i> </span></label>\n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"Eh\" id=\"Eh\" checked=\"\"> <span title=\"Atomic HOMO and LUMO\"> <i>ε</i><sup><i>h</i></sup></span></label>\n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"El\" id=\"El\" checked=\"\"> <span title=\"Atomic HOMO and LUMO\"> <i>ε</i><sup><i>l</i></sup></span></label>\n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"rs\" id=\"rs\" checked=\"\"> <span title=\"Atomic s-orbital extension: Vcell/Σ Vatom\"> <i>r</i><sub><i>s</i></sub>  </span> </label>\n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"rp\" id=\"rp\" checked=\"\"> <span title=\"Atomic p-orbital extension: Vcell/Σ Vatom\"> <i>r</i><sub><i>p</i></sub>  </span> </label>\n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"rd\" id=\"rd\" checked=\"\"> <span title=\"Atomic d-orbital extension: Vcell/Σ Vatom\"> <i>r</i><sub><i>d</i></sub>  </span> </label>\n         <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input type=\"checkbox\" value=\"Z\" id=\"Z\" checked=\"\"> <span title=\"Atomic number\"> <i>Z</i>  </span> </label>\n      </div>\n    </form>\n  </div>  <!-- End of row-->\n  <div class=\"row\"> <!-- Start of second row-->\n    <p class=\"lasso_selection_description\"><b>Allowed operations:</b> <br>\n  Given features x and y, apply these operations for feature space construction:</p>\n    <form id=\"lasso_operators_select\">\n      <div class=\"lasso_form_group\">\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"+\" id=\"+\" checked=\"\"> x+y  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"-\" id=\"-\" checked=\"\"> x-y  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"|-|\" id=\"|-|\" checked=\"\"> |x-y|  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"*\" id=\"*\" checked=\"\"> x · y  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"/\" id=\"/\" checked=\"\"> x/y  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"^-1\" id=\"^-1\" checked=\"\"> x^(-1)  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"^2\" id=\"^2\" checked=\"\"> x^2  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"^3\" id=\"^3\" checked=\"\"> x^3  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"sqrt\" id=\"sqrt\" checked=\"\"> √<span style=\"text-decoration: overline\">x</span>  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"exp\" id=\"exp\" checked=\"\"> exp(x)  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"exp-\" id=\"exp-\"> exp(-x)  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"log\" id=\"log\" checked=\"\"> log(x)  </label>\n        <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input type=\"checkbox\" value=\"SCD\" id=\"SCD\">  <span title=\"Standard Cauchy distribution\"> SCD  </span> </label>\n      </div> \n    </form>\n  </div>  <!-- End of row-->\n  <div class=\"row\"> <!-- Start of third row-->\n    <p class=\"lasso_selection_description\"><b>Number of iterations for the construction for the feature space: </b> \n  <select id=\"n_comb\">\n    <option value=\"1\"> 1</option>\n    <option value=\"2\" selected=\"selected\"> 2</option>\n    <option value=\"3\"> 3</option>\n  </select> \n    </p>\n   \n  <p class=\"lasso_selection_description\"><b>Number of collected features per SIS iteration: </b> \n  <input type=\"number\" name=\"quantity\" id=\"n_sis\" min=\"1\" max=\"3701\" value=\"100\" step=\"100\"> </p><!-- End of row-->\n\n<!-- <span title=''> <img src=\"http://images.clipartpanda.com/question-purzen_Icon_with_question_mark_Vector_Clipart.png\" style=\"height: 30px; width: 30px;\"> </span> -->\n<!--   <button class=\"btn btn-default\" onclick='run_lasso()'>RUN LASSO+L0</button> -->\n<!--   <button class=\"btn btn-default\" onclick='reset_lasso()'>RESET</button> -->\n<!--   <label title=\"This button becomes active when the\nrun is finished. By clicking it, an interactive plot of the first 2\ndimensions of the optimized descriptor will be opened\"> \n  <a href=\"#\" target=\"_blank\" class=\"btn btn-primary disabled\" id=\"lasso_result_button\" >View interactive 2D scatter plot</a> </label> -->\n</div>\n<div class=\"lasso_control\">\n</div></div>"
427 428 429 430
                },
                "elapsedTime": 0
            },
            "evaluatorReader": true,
431
            "lineCount": 67,
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460
            "tags": "lasso-settings"
        },
        {
            "id": "code4TqlnK",
            "type": "code",
            "evaluator": "HTML",
            "input": {
                "body": [
                    "<div class=\"lasso_control\">",
                    "",
                    "<button type=\"button\" class=\"btn btn-info\" style=\"font-size:larger; color: #ffffff; font-weight: bold;\" onclick='run_lasso()'>RUN</button>",
                    "",
                    "<button type=\"button\" class=\"btn btn-default\" style=\"font-size:larger;\" onclick='reset_lasso()' >Reset</button>",
                    "",
                    "<label title=\"This button becomes active when the",
                    "run is finished. By clicking it, an interactive plot of the first 2",
                    "dimensions of the optimized descriptor will be opened\"> ",
                    "<a href=\"#\" target=\"_blank\" class=\"btn btn-primary disabled\" style=\"font-size:larger;\" id=\"lasso_result_button\" >View interactive 2D scatter plot</a> </label>",
                    "  </div>"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
                "height": 84,
                "result": {
                    "type": "BeakerDisplay",
                    "innertype": "Html",
461
                    "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<div class=\"lasso_control\">\n\n<button type=\"button\" class=\"btn btn-info\" style=\"font-size:larger; color: #ffffff; font-weight: bold;\" onclick=\"run_lasso()\">RUN</button>\n\n<button type=\"button\" class=\"btn btn-default\" style=\"font-size:larger;\" onclick=\"reset_lasso()\">Reset</button>\n\n<label title=\"This button becomes active when the\nrun is finished. By clicking it, an interactive plot of the first 2\ndimensions of the optimized descriptor will be opened\"> \n<a href=\"/user/tmp/3da2fd883bc92fd3.html\" target=\"_blank\" class=\"btn btn-primary active\" style=\"font-size:larger;\" id=\"lasso_result_button\">View interactive 2D scatter plot</a> </label>\n  </div>"
462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481
                },
                "elapsedTime": 0
            },
            "evaluatorReader": true,
            "lineCount": 11
        },
        {
            "id": "code0sZSEt",
            "type": "code",
            "evaluator": "HTML",
            "input": {
                "body": [
                    "<p style=\"text-align: left; color: #aa3311; font-weight: 900; font-size: 20pt;\"> Note</p>",
                    "<p style=\"text-align: left; color: #aa3311; font-weight: 400; font-size: 16pt;\"> You will automatically generate atomic descriptors, select an <i>optimal combination</i> among <i>millions or billions</i> of candidates, and produce a <i>fully-interactive plot</i> of your results. <br>"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
482
                "height": 197,
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498
                "result": {
                    "type": "BeakerDisplay",
                    "innertype": "Html",
                    "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<p style=\"text-align: left; color: #aa3311; font-weight: 900; font-size: 20pt;\"> Note</p>\n<p style=\"text-align: left; color: #aa3311; font-weight: 400; font-size: 16pt;\"> You will automatically generate atomic descriptors, select an <i>optimal combination</i> among <i>millions or billions</i> of candidates, and produce a <i>fully-interactive plot</i> of your results. <br></p>"
                },
                "elapsedTime": 0
            },
            "evaluatorReader": true,
            "lineCount": 2
        },
        {
            "id": "codetzzP7G",
            "type": "code",
            "evaluator": "IPython",
            "input": {
                "body": [
499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
                    "data = [['compound', 'structure', 'target', 'IP(A)', 'IP(B)', 'IP(C)', 'EA(A)', 'EA(B)', 'EA(C)', 'Eh(A)', 'Eh(B)', 'Eh(C)', 'El(A)', 'El(B)', 'El(C)', 'rs(A)', 'rs(B)', 'rs(C)', 'rp(A)', 'rp(B)', 'rp(C)', 'rd(A)', 'rd(B)', 'rd(C)', 'Z(A)', 'Z(B)', 'Z(C)'],",
                    "['Al_As_F', 'hexagonal', 'Trivial',  -5.7109,    -8.9924,    -19.2311,  0.0405,    -1.5202,    -4.0664, -2.7067,    -5.1007,    -11.0912,  3.1168,    4.0412,    1.7177,     1.1043,    0.8558,    0.4044,     1.3965,    1.0507,    0.3740,     1.7101,    0.2524,    1.0655,     13,    33,    9],",
                    " ['Al_P_F', 'hexagonal', 'Trivial',  -5.7109,    -9.6747,    -19.2311,  0.0405,    -1.5811,    -4.0664, -2.7067,    -5.4891,    -11.0912,  3.1168,    4.1935,    1.7177,     1.1043,    0.8336,    0.4044,     1.3965,    0.9712,    0.3740,     1.7101,    1.4172,    1.0655,     13,    15,    9],",
                    " ['Al_Sb_F', 'hexagonal', 'Trivial',  -5.7109,    -8.0367,    -19.2311,  0.0405,    -1.3698,    -4.0664, -2.7067,    -4.6012,    -11.0912,  3.1168,    4.2760,    1.7177,     1.1043,    1.0035,    0.4044,     1.3965,    1.2400,    0.3740,     1.7101,    0.4483,    1.0655,     13,    51,    9],",
                    " ['B_As_F', 'hexagonal', 'Trivial',  -8.1249,    -8.9924,    -19.2311,  0.0319,    -1.5202,    -4.0664, -3.6057,    -5.1007,    -11.0912,  2.4537,    4.0412,    1.7177,     0.8025,    0.8558,    0.4044,     0.8348,    1.0507,    0.3740,     1.3619,    0.2524,    1.0655,     5,    33,    9],",
                    " ['B_Sb_F', 'hexagonal', 'Trivial',  -8.1249,    -8.0367,    -19.2311,  0.0319,    -1.3698,    -4.0664, -3.6057,    -4.6012,    -11.0912,  2.4537,    4.2760,    1.7177,     0.8025,    1.0035,    0.4044,     0.8348,    1.2400,    0.3740,     1.3619,    0.4483,    1.0655,     5,    51,    9],",
                    " ['Cd_O_F', 'hexagonal', 'Trivial',  -9.2604,    -16.2932,    -19.2311,  1.4516,    -2.8068,    -4.0664, -5.6570,    -9.0190,    -11.0912,  -1.1292,    3.0142,    1.7177,     1.2355,    0.4608,    0.4044,     1.8040,    0.4333,    0.3740,     0.5192,    1.0750,    1.0655,     48,    8,    9],",
                    " ['Cd_S_F', 'hexagonal', 'Trivial',  -9.2604,    -11.6948,    -19.2311,  1.4516,    -2.5741,    -4.0664, -5.6570,    -6.9810,    -11.0912,  -1.1292,    4.6386,    1.7177,     1.2355,    0.7473,    0.4044,     1.8040,    0.8493,    0.3740,     0.5192,    1.3934,    1.0655,     48,    16,    9],",
                    " ['Cd_Se_F', 'hexagonal', 'Trivial',  -9.2604,    -10.6520,    -19.2311,  1.4516,    -2.4179,    -4.0664, -5.6570,    -6.3811,    -11.0912,  -1.1292,    4.5507,    1.7177,     1.2355,    0.7997,    0.4044,     1.8040,    0.9578,    0.3740,     0.5192,    0.2397,    1.0655,     48,    34,    9],",
                    " ['Cd_Te_F', 'hexagonal', 'Trivial',  -9.2604,    -9.3677,    -19.2311,  1.4516,    -2.1853,    -4.0664, -5.6570,    -5.6565,    -11.0912,  -1.1292,    3.4793,    1.7177,     1.2355,    0.9497,    0.4044,     1.8040,    1.1492,    0.3740,     0.5192,    0.4293,    1.0655,     48,    52,    9],",
                    " ['Ga_As_F', 'hexagonal', 'Trivial',  -5.7265,    -8.9924,    -19.2311,  0.0668,    -1.5202,    -4.0664, -2.6553,    -5.1007,    -11.0912,  -2.5397,    4.0412,    1.7177,     1.0027,    0.8558,    0.4044,     1.3440,    1.0507,    0.3740,     0.2823,    0.2524,    1.0655,     31,    33,    9],",
                    " ['Ga_N_F', 'hexagonal', 'Trivial',  -5.7265,    -13.4588,    -19.2311,  0.0668,    -1.6717,    -4.0664, -2.6553,    -7.0838,    -11.0912,  -2.5397,    4.1488,    1.7177,     1.0027,    0.5361,    0.4044,     1.3440,    0.5154,    0.3740,     0.2823,    1.2140,    1.0655,     31,    7,    9],",
                    " ['Ga_P_F', 'hexagonal', 'Trivial',  -5.7265,    -9.6747,    -19.2311,  0.0668,    -1.5811,    -4.0664, -2.6553,    -5.4891,    -11.0912,  -2.5397,    4.1935,    1.7177,     1.0027,    0.8336,    0.4044,     1.3440,    0.9712,    0.3740,     0.2823,    1.4172,    1.0655,     31,    15,    9],",
                    " ['Hg_O_F', 'hexagonal', 'Trivial',  -10.7190,    -16.2932,    -19.2311,  1.2734,    -2.8068,    -4.0664, -6.8080,    -9.0190,    -11.0912,  -1.3690,    3.0142,    1.7177,     1.1675,    0.4608,    0.4044,     1.8734,    0.4333,    0.3740,     0.6158,    1.0750,    1.0655,     80,    8,    9],",
                    " ['Hg_Se_F', 'hexagonal', 'Trivial',  -10.7190,    -10.6520,    -19.2311,  1.2734,    -2.4179,    -4.0664, -6.8080,    -6.3811,    -11.0912,  -1.3690,    4.5507,    1.7177,     1.1675,    0.7997,    0.4044,     1.8734,    0.9578,    0.3740,     0.6158,    0.2397,    1.0655,     80,    34,    9],",
                    " ['Hg_Te_F', 'hexagonal', 'Trivial',  -10.7190,    -9.3677,    -19.2311,  1.2734,    -2.1853,    -4.0664, -6.8080,    -5.6565,    -11.0912,  -1.3690,    3.4793,    1.7177,     1.1675,    0.9497,    0.4044,     1.8734,    1.1492,    0.3740,     0.6158,    0.4293,    1.0655,     80,    52,    9],",
                    " ['In_As_F', 'hexagonal', 'Trivial',  -5.5634,    -8.9924,    -19.2311,  -0.1615,    -1.5202,    -4.0664, -2.7148,    -5.1007,    -11.0912,  -2.4096,    4.0412,    1.7177,     1.1407,    0.8558,    0.4044,     1.5133,    1.0507,    0.3740,     0.4929,    0.2524,    1.0655,     49,    33,    9],",
                    " ['In_N_F', 'hexagonal', 'Trivial',  -5.5634,    -13.4588,    -19.2311,  -0.1615,    -1.6717,    -4.0664, -2.7148,    -7.0838,    -11.0912,  -2.4096,    4.1488,    1.7177,     1.1407,    0.5361,    0.4044,     1.5133,    0.5154,    0.3740,     0.4929,    1.2140,    1.0655,     49,    7,    9],",
                    " ['In_P_F', 'hexagonal', 'Trivial',  -5.5634,    -9.6747,    -19.2311,  -0.1615,    -1.5811,    -4.0664, -2.7148,    -5.4891,    -11.0912,  -2.4096,    4.1935,    1.7177,     1.1407,    0.8336,    0.4044,     1.5133,    0.9712,    0.3740,     0.4929,    1.4172,    1.0655,     49,    15,    9],",
                    " ['Si_Ge_F', 'hexagonal', 'Trivial',  -7.6740,    -7.5349,    -19.2311,  -0.7975,    -0.6580,    -4.0664, -4.0707,    -4.0179,    -11.0912,  3.7258,    -3.8308,    1.7177,     0.9466,    0.9220,    0.4044,     1.1405,    1.1721,    0.3740,     1.1619,    0.2666,    1.0655,     14,    32,    9],",
                    " ['Si_Si_F', 'hexagonal', 'Trivial',  -7.6740,    -7.6740,    -19.2311,  -0.7975,    -0.7975,    -4.0664, -4.0707,    -4.0707,    -11.0912,  3.7258,    3.7258,    1.7177,     0.9466,    0.9466,    0.4044,     1.1405,    1.1405,    0.3740,     1.1619,    1.1619,    1.0655,     14,    14,    9],",
                    " ['Si_Sn_F', 'hexagonal', 'Trivial',  -7.6740,    -7.1531,    -19.2311,  -0.7975,    -0.6953,    -4.0664, -4.0707,    -3.9778,    -11.0912,  3.7258,    -3.5282,    1.7177,     0.9466,    1.0660,    0.4044,     1.1405,    1.3554,    0.3740,     1.1619,    0.4694,    1.0655,     14,    50,    9],",
                    " ['Zn_O_F', 'hexagonal', 'Trivial',  -9.8943,    -16.2932,    -19.2311,  1.9330,    -2.8068,    -4.0664, -5.9772,    -9.0190,    -11.0912,  -0.8596,    3.0142,    1.7177,     1.1068,    0.4608,    0.4044,     1.6435,    0.4333,    0.3740,     0.2997,    1.0750,    1.0655,     30,    8,    9],",
                    " ['Zn_S_F', 'hexagonal', 'Trivial',  -9.8943,    -11.6948,    -19.2311,  1.9330,    -2.5741,    -4.0664, -5.9772,    -6.9810,    -11.0912,  -0.8596,    4.6386,    1.7177,     1.1068,    0.7473,    0.4044,     1.6435,    0.8493,    0.3740,     0.2997,    1.3934,    1.0655,     30,    16,    9],",
                    " ['Zn_Se_F', 'hexagonal', 'Trivial',  -9.8943,    -10.6520,    -19.2311,  1.9330,    -2.4179,    -4.0664, -5.9772,    -6.3811,    -11.0912,  -0.8596,    4.5507,    1.7177,     1.1068,    0.7997,    0.4044,     1.6435,    0.9578,    0.3740,     0.2997,    0.2397,    1.0655,     30,    34,    9],",
                    " ['Zn_Te_F', 'hexagonal', 'Trivial',  -9.8943,    -9.3677,    -19.2311,  1.9330,    -2.1853,    -4.0664, -5.9772,    -5.6565,    -11.0912,  -0.8596,    3.4793,    1.7177,     1.1068,    0.9497,    0.4044,     1.6435,    1.1492,    0.3740,     0.2997,    0.4293,    1.0655,     30,    52,    9],",
                    " ['C_Sn_F', 'hexagonal', 'Trivial',  -10.7378,    -7.1531,    -19.2311,  -0.7084,    -0.6953,    -4.0664, -5.2827,    -3.9778,    -11.0912,  3.7441,    -3.5282,    1.7177,     0.6418,    1.0660,    0.4044,     0.6367,    1.3554,    0.3740,     1.1355,    0.4694,    1.0655,     6,    50,    9],",
                    " ['Al_As_Cl', 'hexagonal', 'Trivial',  -5.7109,    -8.9924,    -13.7830,  0.0405,    -1.5202,    -3.6491, -2.7067,    -5.1007,    -8.5540,  3.1168,    4.0412,    4.9235,     1.1043,    0.8558,    0.6785,     1.3965,    1.0507,    0.7567,     1.7101,    0.2524,    1.3489,     13,    33,    17],",
                    " ['Al_P_Cl', 'hexagonal', 'Trivial',  -5.7109,    -9.6747,    -13.7830,  0.0405,    -1.5811,    -3.6491, -2.7067,    -5.4891,    -8.5540,  3.1168,    4.1935,    4.9235,     1.1043,    0.8336,    0.6785,     1.3965,    0.9712,    0.7567,     1.7101,    1.4172,    1.3489,     13,    15,    17],",
                    " ['Al_Sb_Cl', 'hexagonal', 'Trivial',  -5.7109,    -8.0367,    -13.7830,  0.0405,    -1.3698,    -3.6491, -2.7067,    -4.6012,    -8.5540,  3.1168,    4.2760,    4.9235,     1.1043,    1.0035,    0.6785,     1.3965,    1.2400,    0.7567,     1.7101,    0.4483,    1.3489,     13,    51,    17],",
                    " ['B_As_Cl', 'hexagonal', 'Trivial',  -8.1249,    -8.9924,    -13.7830,  0.0319,    -1.5202,    -3.6491, -3.6057,    -5.1007,    -8.5540,  2.4537,    4.0412,    4.9235,     0.8025,    0.8558,    0.6785,     0.8348,    1.0507,    0.7567,     1.3619,    0.2524,    1.3489,     5,    33,    17],",
                    " ['B_Sb_Cl', 'hexagonal', 'Trivial',  -8.1249,    -8.0367,    -13.7830,  0.0319,    -1.3698,    -3.6491, -3.6057,    -4.6012,    -8.5540,  2.4537,    4.2760,    4.9235,     0.8025,    1.0035,    0.6785,     0.8348,    1.2400,    0.7567,     1.3619,    0.4483,    1.3489,     5,    51,    17],",
                    " ['Cd_O_Cl', 'hexagonal', 'Trivial',  -9.2604,    -16.2932,    -13.7830,  1.4516,    -2.8068,    -3.6491, -5.6570,    -9.0190,    -8.5540,  -1.1292,    3.0142,    4.9235,     1.2355,    0.4608,    0.6785,     1.8040,    0.4333,    0.7567,     0.5192,    1.0750,    1.3489,     48,    8,    17],",
                    " ['Cd_S_Cl', 'hexagonal', 'Trivial',  -9.2604,    -11.6948,    -13.7830,  1.4516,    -2.5741,    -3.6491, -5.6570,    -6.9810,    -8.5540,  -1.1292,    4.6386,    4.9235,     1.2355,    0.7473,    0.6785,     1.8040,    0.8493,    0.7567,     0.5192,    1.3934,    1.3489,     48,    16,    17],",
                    " ['Cd_Se_Cl', 'hexagonal', 'Trivial',  -9.2604,    -10.6520,    -13.7830,  1.4516,    -2.4179,    -3.6491, -5.6570,    -6.3811,    -8.5540,  -1.1292,    4.5507,    4.9235,     1.2355,    0.7997,    0.6785,     1.8040,    0.9578,    0.7567,     0.5192,    0.2397,    1.3489,     48,    34,    17],",
                    " ['Cd_Te_Cl', 'hexagonal', 'Trivial',  -9.2604,    -9.3677,    -13.7830,  1.4516,    -2.1853,    -3.6491, -5.6570,    -5.6565,    -8.5540,  -1.1292,    3.4793,    4.9235,     1.2355,    0.9497,    0.6785,     1.8040,    1.1492,    0.7567,     0.5192,    0.4293,    1.3489,     48,    52,    17],",
                    " ['Ga_As_Cl', 'hexagonal', 'Trivial',  -5.7265,    -8.9924,    -13.7830,  0.0668,    -1.5202,    -3.6491, -2.6553,    -5.1007,    -8.5540,  -2.5397,    4.0412,    4.9235,     1.0027,    0.8558,    0.6785,     1.3440,    1.0507,    0.7567,     0.2823,    0.2524,    1.3489,     31,    33,    17],",
                    " ['Ga_N_Cl', 'hexagonal', 'Trivial',  -5.7265,    -13.4588,    -13.7830,  0.0668,    -1.6717,    -3.6491, -2.6553,    -7.0838,    -8.5540,  -2.5397,    4.1488,    4.9235,     1.0027,    0.5361,    0.6785,     1.3440,    0.5154,    0.7567,     0.2823,    1.2140,    1.3489,     31,    7,    17],",
                    " ['Ga_P_Cl', 'hexagonal', 'Trivial',  -5.7265,    -9.6747,    -13.7830,  0.0668,    -1.5811,    -3.6491, -2.6553,    -5.4891,    -8.5540,  -2.5397,    4.1935,    4.9235,     1.0027,    0.8336,    0.6785,     1.3440,    0.9712,    0.7567,     0.2823,    1.4172,    1.3489,     31,    15,    17],",
                    " ['Hg_O_Cl', 'hexagonal', 'Trivial',  -10.7190,    -16.2932,    -13.7830,  1.2734,    -2.8068,    -3.6491, -6.8080,    -9.0190,    -8.5540,  -1.3690,    3.0142,    4.9235,     1.1675,    0.4608,    0.6785,     1.8734,    0.4333,    0.7567,     0.6158,    1.0750,    1.3489,     80,    8,    17],",
                    " ['Hg_S_Cl', 'hexagonal', 'Trivial',  -10.7190,    -11.6948,    -13.7830,  1.2734,    -2.5741,    -3.6491, -6.8080,    -6.9810,    -8.5540,  -1.3690,    4.6386,    4.9235,     1.1675,    0.7473,    0.6785,     1.8734,    0.8493,    0.7567,     0.6158,    1.3934,    1.3489,     80,    16,    17],",
                    " ['Hg_Se_Cl', 'hexagonal', 'Trivial',  -10.7190,    -10.6520,    -13.7830,  1.2734,    -2.4179,    -3.6491, -6.8080,    -6.3811,    -8.5540,  -1.3690,    4.5507,    4.9235,     1.1675,    0.7997,    0.6785,     1.8734,    0.9578,    0.7567,     0.6158,    0.2397,    1.3489,     80,    34,    17],",
                    " ['Hg_Te_Cl', 'hexagonal', 'Trivial',  -10.7190,    -9.3677,    -13.7830,  1.2734,    -2.1853,    -3.6491, -6.8080,    -5.6565,    -8.5540,  -1.3690,    3.4793,    4.9235,     1.1675,    0.9497,    0.6785,     1.8734,    1.1492,    0.7567,     0.6158,    0.4293,    1.3489,     80,    52,    17],",
                    " ['In_As_Cl', 'hexagonal', 'Trivial',  -5.5634,    -8.9924,    -13.7830,  -0.1615,    -1.5202,    -3.6491, -2.7148,    -5.1007,    -8.5540,  -2.4096,    4.0412,    4.9235,     1.1407,    0.8558,    0.6785,     1.5133,    1.0507,    0.7567,     0.4929,    0.2524,    1.3489,     49,    33,    17],",
                    " ['In_N_Cl', 'hexagonal', 'Trivial',  -5.5634,    -13.4588,    -13.7830,  -0.1615,    -1.6717,    -3.6491, -2.7148,    -7.0838,    -8.5540,  -2.4096,    4.1488,    4.9235,     1.1407,    0.5361,    0.6785,     1.5133,    0.5154,    0.7567,     0.4929,    1.2140,    1.3489,     49,    7,    17],",
                    " ['In_P_Cl', 'hexagonal', 'Trivial',  -5.5634,    -9.6747,    -13.7830,  -0.1615,    -1.5811,    -3.6491, -2.7148,    -5.4891,    -8.5540,  -2.4096,    4.1935,    4.9235,     1.1407,    0.8336,    0.6785,     1.5133,    0.9712,    0.7567,     0.4929,    1.4172,    1.3489,     49,    15,    17],",
                    " ['Si_Ge_Cl', 'hexagonal', 'Trivial',  -7.6740,    -7.5349,    -13.7830,  -0.7975,    -0.6580,    -3.6491, -4.0707,    -4.0179,    -8.5540,  3.7258,    -3.8308,    4.9235,     0.9466,    0.9220,    0.6785,     1.1405,    1.1721,    0.7567,     1.1619,    0.2666,    1.3489,     14,    32,    17],",
                    " ['Si_Si_Cl', 'hexagonal', 'Trivial',  -7.6740,    -7.6740,    -13.7830,  -0.7975,    -0.7975,    -3.6491, -4.0707,    -4.0707,    -8.5540,  3.7258,    3.7258,    4.9235,     0.9466,    0.9466,    0.6785,     1.1405,    1.1405,    0.7567,     1.1619,    1.1619,    1.3489,     14,    14,    17],",
                    " ['Si_Sn_Cl', 'hexagonal', 'Trivial',  -7.6740,    -7.1531,    -13.7830,  -0.7975,    -0.6953,    -3.6491, -4.0707,    -3.9778,    -8.5540,  3.7258,    -3.5282,    4.9235,     0.9466,    1.0660,    0.6785,     1.1405,    1.3554,    0.7567,     1.1619,    0.4694,    1.3489,     14,    50,    17],",
                    " ['Zn_S_Cl', 'hexagonal', 'Trivial',  -9.8943,    -11.6948,    -13.7830,  1.9330,    -2.5741,    -3.6491, -5.9772,    -6.9810,    -8.5540,  -0.8596,    4.6386,    4.9235,     1.1068,    0.7473,    0.6785,     1.6435,    0.8493,    0.7567,     0.2997,    1.3934,    1.3489,     30,    16,    17],",
                    " ['Zn_Se_Cl', 'hexagonal', 'Trivial',  -9.8943,    -10.6520,    -13.7830,  1.9330,    -2.4179,    -3.6491, -5.9772,    -6.3811,    -8.5540,  -0.8596,    4.5507,    4.9235,     1.1068,    0.7997,    0.6785,     1.6435,    0.9578,    0.7567,     0.2997,    0.2397,    1.3489,     30,    34,    17],",
                    " ['Zn_Te_Cl', 'hexagonal', 'Trivial',  -9.8943,    -9.3677,    -13.7830,  1.9330,    -2.1853,    -3.6491, -5.9772,    -5.6565,    -8.5540,  -0.8596,    3.4793,    4.9235,     1.1068,    0.9497,    0.6785,     1.6435,    1.1492,    0.7567,     0.2997,    0.4293,    1.3489,     30,    52,    17],",
                    " ['C_Sn_Cl', 'hexagonal', 'Trivial',  -10.7378,    -7.1531,    -13.7830,  -0.7084,    -0.6953,    -3.6491, -5.2827,    -3.9778,    -8.5540,  3.7441,    -3.5282,    4.9235,     0.6418,    1.0660,    0.6785,     0.6367,    1.3554,    0.7567,     1.1355,    0.4694,    1.3489,     6,    50,    17],",
                    " ['Al_As_Br', 'hexagonal', 'Trivial',  -5.7109,    -8.9924,    -12.3191,  0.0405,    -1.5202,    -3.3579, -2.7067,    -5.1007,    -7.6871,  3.1168,    4.0412,    5.1846,     1.1043,    0.8558,    0.7514,     1.3965,    1.0507,    0.8834,     1.7101,    0.2524,    0.2281,     13,    33,    35],",
                    " ['Al_P_Br', 'hexagonal', 'Trivial',  -5.7109,    -9.6747,    -12.3191,  0.0405,    -1.5811,    -3.3579, -2.7067,    -5.4891,    -7.6871,  3.1168,    4.1935,    5.1846,     1.1043,    0.8336,    0.7514,     1.3965,    0.9712,    0.8834,     1.7101,    1.4172,    0.2281,     13,    15,    35],",
                    " ['Al_Sb_Br', 'hexagonal', 'Trivial',  -5.7109,    -8.0367,    -12.3191,  0.0405,    -1.3698,    -3.3579, -2.7067,    -4.6012,    -7.6871,  3.1168,    4.2760,    5.1846,     1.1043,    1.0035,    0.7514,     1.3965,    1.2400,    0.8834,     1.7101,    0.4483,    0.2281,     13,    51,    35],",
                    " ['B_As_Br', 'hexagonal', 'Trivial',  -8.1249,    -8.9924,    -12.3191,  0.0319,    -1.5202,    -3.3579, -3.6057,    -5.1007,    -7.6871,  2.4537,    4.0412,    5.1846,     0.8025,    0.8558,    0.7514,     0.8348,    1.0507,    0.8834,     1.3619,    0.2524,    0.2281,     5,    33,    35],",
                    " ['B_Sb_Br', 'hexagonal', 'Trivial',  -8.1249,    -8.0367,    -12.3191,  0.0319,    -1.3698,    -3.3579, -3.6057,    -4.6012,    -7.6871,  2.4537,    4.2760,    5.1846,     0.8025,    1.0035,    0.7514,     0.8348,    1.2400,    0.8834,     1.3619,    0.4483,    0.2281,     5,    51,    35],",
                    " ['Cd_S_Br', 'hexagonal', 'Trivial',  -9.2604,    -11.6948,    -12.3191,  1.4516,    -2.5741,    -3.3579, -5.6570,    -6.9810,    -7.6871,  -1.1292,    4.6386,    5.1846,     1.2355,    0.7473,    0.7514,     1.8040,    0.8493,    0.8834,     0.5192,    1.3934,    0.2281,     48,    16,    35],",
                    " ['Cd_Se_Br', 'hexagonal', 'Trivial',  -9.2604,    -10.6520,    -12.3191,  1.4516,    -2.4179,    -3.3579, -5.6570,    -6.3811,    -7.6871,  -1.1292,    4.5507,    5.1846,     1.2355,    0.7997,    0.7514,     1.8040,    0.9578,    0.8834,     0.5192,    0.2397,    0.2281,     48,    34,    35],",
                    " ['Cd_Te_Br', 'hexagonal', 'Trivial',  -9.2604,    -9.3677,    -12.3191,  1.4516,    -2.1853,    -3.3579, -5.6570,    -5.6565,    -7.6871,  -1.1292,    3.4793,    5.1846,     1.2355,    0.9497,    0.7514,     1.8040,    1.1492,    0.8834,     0.5192,    0.4293,    0.2281,     48,    52,    35],",
                    " ['Ga_As_Br', 'hexagonal', 'Trivial',  -5.7265,    -8.9924,    -12.3191,  0.0668,    -1.5202,    -3.3579, -2.6553,    -5.1007,    -7.6871,  -2.5397,    4.0412,    5.1846,     1.0027,    0.8558,    0.7514,     1.3440,    1.0507,    0.8834,     0.2823,    0.2524,    0.2281,     31,    33,    35],",
                    " ['Ga_P_Br', 'hexagonal', 'Trivial',  -5.7265,    -9.6747,    -12.3191,  0.0668,    -1.5811,    -3.3579, -2.6553,    -5.4891,    -7.6871,  -2.5397,    4.1935,    5.1846,     1.0027,    0.8336,    0.7514,     1.3440,    0.9712,    0.8834,     0.2823,    1.4172,    0.2281,     31,    15,    35],",
                    " ['Hg_S_Br', 'hexagonal', 'Trivial',  -10.7190,    -11.6948,    -12.3191,  1.2734,    -2.5741,    -3.3579, -6.8080,    -6.9810,    -7.6871,  -1.3690,    4.6386,    5.1846,     1.1675,    0.7473,    0.7514,     1.8734,    0.8493,    0.8834,     0.6158,    1.3934,    0.2281,     80,    16,    35],",
                    " ['Hg_Se_Br', 'hexagonal', 'Trivial',  -10.7190,    -10.6520,    -12.3191,  1.2734,    -2.4179,    -3.3579, -6.8080,    -6.3811,    -7.6871,  -1.3690,    4.5507,    5.1846,     1.1675,    0.7997,    0.7514,     1.8734,    0.9578,    0.8834,     0.6158,    0.2397,    0.2281,     80,    34,    35],",
                    " ['Hg_Te_Br', 'hexagonal', 'Trivial',  -10.7190,    -9.3677,    -12.3191,  1.2734,    -2.1853,    -3.3579, -6.8080,    -5.6565,    -7.6871,  -1.3690,    3.4793,    5.1846,     1.1675,    0.9497,    0.7514,     1.8734,    1.1492,    0.8834,     0.6158,    0.4293,    0.2281,     80,    52,    35],",
                    " ['In_As_Br', 'hexagonal', 'Trivial',  -5.5634,    -8.9924,    -12.3191,  -0.1615,    -1.5202,    -3.3579, -2.7148,    -5.1007,    -7.6871,  -2.4096,    4.0412,    5.1846,     1.1407,    0.8558,    0.7514,     1.5133,    1.0507,    0.8834,     0.4929,    0.2524,    0.2281,     49,    33,    35],",
                    " ['In_P_Br', 'hexagonal', 'Trivial',  -5.5634,    -9.6747,    -12.3191,  -0.1615,    -1.5811,    -3.3579, -2.7148,    -5.4891,    -7.6871,  -2.4096,    4.1935,    5.1846,     1.1407,    0.8336,    0.7514,     1.5133,    0.9712,    0.8834,     0.4929,    1.4172,    0.2281,     49,    15,    35],",
                    " ['Si_Ge_Br', 'hexagonal', 'Trivial',  -7.6740,    -7.5349,    -12.3191,  -0.7975,    -0.6580,    -3.3579, -4.0707,    -4.0179,    -7.6871,  3.7258,    -3.8308,    5.1846,     0.9466,    0.9220,    0.7514,     1.1405,    1.1721,    0.8834,     1.1619,    0.2666,    0.2281,     14,    32,    35],",
                    " ['Si_Si_Br', 'hexagonal', 'Trivial',  -7.6740,    -7.6740,    -12.3191,  -0.7975,    -0.7975,    -3.3579, -4.0707,    -4.0707,    -7.6871,  3.7258,    3.7258,    5.1846,     0.9466,    0.9466,    0.7514,     1.1405,    1.1405,    0.8834,     1.1619,    1.1619,    0.2281,     14,    14,    35],",
                    " ['Si_Sn_Br', 'hexagonal', 'Trivial',  -7.6740,    -7.1531,    -12.3191,  -0.7975,    -0.6953,    -3.3579, -4.0707,    -3.9778,    -7.6871,  3.7258,    -3.5282,    5.1846,     0.9466,    1.0660,    0.7514,     1.1405,    1.3554,    0.8834,     1.1619,    0.4694,    0.2281,     14,    50,    35],",
                    " ['Zn_S_Br', 'hexagonal', 'Trivial',  -9.8943,    -11.6948,    -12.3191,  1.9330,    -2.5741,    -3.3579, -5.9772,    -6.9810,    -7.6871,  -0.8596,    4.6386,    5.1846,     1.1068,    0.7473,    0.7514,     1.6435,    0.8493,    0.8834,     0.2997,    1.3934,    0.2281,     30,    16,    35],",
                    " ['Zn_Se_Br', 'hexagonal', 'Trivial',  -9.8943,    -10.6520,    -12.3191,  1.9330,    -2.4179,    -3.3579, -5.9772,    -6.3811,    -7.6871,  -0.8596,    4.5507,    5.1846,     1.1068,    0.7997,    0.7514,     1.6435,    0.9578,    0.8834,     0.2997,    0.2397,    0.2281,     30,    34,    35],",
                    " ['Zn_Te_Br', 'hexagonal', 'Trivial',  -9.8943,    -9.3677,    -12.3191,  1.9330,    -2.1853,    -3.3579, -5.9772,    -5.6565,    -7.6871,  -0.8596,    3.4793,    5.1846,     1.1068,    0.9497,    0.7514,     1.6435,    1.1492,    0.8834,     0.2997,    0.4293,    0.2281,     30,    52,    35],",
                    " ['C_Sn_Br', 'hexagonal', 'Trivial',  -10.7378,    -7.1531,    -12.3191,  -0.7084,    -0.6953,    -3.3579, -5.2827,    -3.9778,    -7.6871,  3.7441,    -3.5282,    5.1846,     0.6418,    1.0660,    0.7514,     0.6367,    1.3554,    0.8834,     1.1355,    0.4694,    0.2281,     6,    50,    35],",
                    " ['Al_As_I', 'hexagonal', 'Trivial',  -5.7109,    -8.9924,    -10.6835,  0.0405,    -1.5202,    -2.9703, -2.7067,    -5.1007,    -6.7057,  3.1168,    4.0412,    3.8147,     1.1043,    0.8558,    0.9024,     1.3965,    1.0507,    1.0749,     1.7101,    0.2524,    0.4119,     13,    33,    53],",
                    " ['Al_P_I', 'hexagonal', 'Trivial',  -5.7109,    -9.6747,    -10.6835,  0.0405,    -1.5811,    -2.9703, -2.7067,    -5.4891,    -6.7057,  3.1168,    4.1935,    3.8147,     1.1043,    0.8336,    0.9024,     1.3965,    0.9712,    1.0749,     1.7101,    1.4172,    0.4119,     13,    15,    53],",
                    " ['Al_Sb_I', 'hexagonal', 'Trivial',  -5.7109,    -8.0367,    -10.6835,  0.0405,    -1.3698,    -2.9703, -2.7067,    -4.6012,    -6.7057,  3.1168,    4.2760,    3.8147,     1.1043,    1.0035,    0.9024,     1.3965,    1.2400,    1.0749,     1.7101,    0.4483,    0.4119,     13,    51,    53],",
                    " ['Cd_Te_I', 'hexagonal', 'Trivial',  -9.2604,    -9.3677,    -10.6835,  1.4516,    -2.1853,    -2.9703, -5.6570,    -5.6565,    -6.7057,  -1.1292,    3.4793,    3.8147,     1.2355,    0.9497,    0.9024,     1.8040,    1.1492,    1.0749,     0.5192,    0.4293,    0.4119,     48,    52,    53],",
                    " ['Si_Si_I', 'hexagonal', 'Trivial',  -7.6740,    -7.6740,    -10.6835,  -0.7975,    -0.7975,    -2.9703, -4.0707,    -4.0707,    -6.7057,  3.7258,    3.7258,    3.8147,     0.9466,    0.9466,    0.9024,     1.1405,    1.1405,    1.0749,     1.1619,    1.1619,    0.4119,     14,    14,    53],",
                    " ['Zn_Te_I', 'hexagonal', 'Trivial',  -9.8943,    -9.3677,    -10.6835,  1.9330,    -2.1853,    -2.9703, -5.9772,    -5.6565,    -6.7057,  -0.8596,    3.4793,    3.8147,     1.1068,    0.9497,    0.9024,     1.6435,    1.1492,    1.0749,     0.2997,    0.4293,    0.4119,     30,    52,    53],",
                    " ['Al_Bi_F', 'hexagonal', 'FIQSHI',  -5.7109,    -6.7766,    -19.2311,  0.0405,    -0.6841,    -4.0664, -2.7067,    -3.6061,    -11.0912,  3.1168,    2.1526,    1.7177,     1.1043,    0.9899,    0.4044,     1.3965,    1.3017,    0.3740,     1.7101,    0.5469,    1.0655,     13,    83,    9],",
                    " ['B_Bi_F', 'hexagonal', 'FIQSHI',  -8.1249,    -6.7766,    -19.2311,  0.0319,    -0.6841,    -4.0664, -3.6057,    -3.6061,    -11.0912,  2.4537,    2.1526,    1.7177,     0.8025,    0.9899,    0.4044,     0.8348,    1.3017,    0.3740,     1.3619,    0.5469,    1.0655,     5,    83,    9],",
                    " ['Cd_Po_F', 'hexagonal', 'FIQSHI',  -9.2604,    -7.8364,    -19.2311,  1.4516,    -1.2653,    -4.0664, -5.6570,    -4.4381,    -11.0912,  -1.1292,    2.5755,    1.7177,     1.2355,    0.9462,    0.4044,     1.8040,    1.2195,    0.3740,     0.5192,    0.5281,    1.0655,     48,    84,    9],",
                    " ['Ga_Bi_F', 'hexagonal', 'FIQSHI',  -5.7265,    -6.7766,    -19.2311,  0.0668,    -0.6841,    -4.0664, -2.6553,    -3.6061,    -11.0912,  -2.5397,    2.1526,    1.7177,     1.0027,    0.9899,    0.4044,     1.3440,    1.3017,    0.3740,     0.2823,    0.5469,    1.0655,     31,    83,    9],",
                    " ['Ge_Pb_F', 'hexagonal', 'FIQSHI',  -7.5349,    -7.4779,    -19.2311,  -0.6580,    -0.1649,    -4.0664, -4.0179,    -4.3124,    -11.0912,  -3.8308,    -2.8218,    1.7177,     0.9220,    1.0396,    0.4044,     1.1721,    1.4049,    0.3740,     0.2666,    0.5676,    1.0655,     32,    82,    9],",
                    " ['Ge_Sn_F', 'hexagonal', 'FIQSHI',  -7.5349,    -7.1531,    -19.2311,  -0.6580,    -0.6953,    -4.0664, -4.0179,    -3.9778,    -11.0912,  -3.8308,    -3.5282,    1.7177,     0.9220,    1.0660,    0.4044,     1.1721,    1.3554,    0.3740,     0.2666,    0.4694,    1.0655,     32,    50,    9],",
                    " ['In_Bi_F', 'hexagonal', 'FIQSHI',  -5.5634,    -6.7766,    -19.2311,  -0.1615,    -0.6841,    -4.0664, -2.7148,    -3.6061,    -11.0912,  -2.4096,    2.1526,    1.7177,     1.1407,    0.9899,    0.4044,     1.5133,    1.3017,    0.3740,     0.4929,    0.5469,    1.0655,     49,    83,    9],",
                    " ['Pb_Pb_F', 'hexagonal', 'FIQSHI',  -7.4779,    -7.4779,    -19.2311,  -0.1649,    -0.1649,    -4.0664, -4.3124,    -4.3124,    -11.0912,  -2.8218,    -2.8218,    1.7177,     1.0396,    1.0396,    0.4044,     1.4049,    1.4049,    0.3740,     0.5676,    0.5676,    1.0655,     82,    82,    9],",
                    " ['Si_Pb_F', 'hexagonal', 'FIQSHI',  -7.6740,    -7.4779,    -19.2311,  -0.7975,    -0.1649,    -4.0664, -4.0707,    -4.3124,    -11.0912,  3.7258,    -2.8218,    1.7177,     0.9466,    1.0396,    0.4044,     1.1405,    1.4049,    0.3740,     1.1619,    0.5676,    1.0655,     14,    82,    9],",
                    " ['Sn_Pb_F', 'hexagonal', 'FIQSHI',  -7.1531,    -7.4779,    -19.2311,  -0.6953,    -0.1649,    -4.0664, -3.9778,    -4.3124,    -11.0912,  -3.5282,    -2.8218,    1.7177,     1.0660,    1.0396,    0.4044,     1.3554,    1.4049,    0.3740,     0.4694,    0.5676,    1.0655,     50,    82,    9],",
                    " ['Sn_Sn_F', 'hexagonal', 'FIQSHI',  -7.1531,    -7.1531,    -19.2311,  -0.6953,    -0.6953,    -4.0664, -3.9778,    -3.9778,    -11.0912,  -3.5282,    -3.5282,    1.7177,     1.0660,    1.0660,    0.4044,     1.3554,    1.3554,    0.3740,     0.4694,    0.4694,    1.0655,     50,    50,    9],",
                    " ['Tl_Bi_F', 'hexagonal', 'FIQSHI',  -5.8428,    -6.7766,    -19.2311,  -0.3652,    -0.6841,    -4.0664, -2.9548,    -3.6061,    -11.0912,  -1.9101,    2.1526,    1.7177,     1.0974,    0.9899,    0.4044,     1.5446,    1.3017,    0.3740,     0.5904,    0.5469,    1.0655,     81,    83,    9],",
                    " ['Zn_Po_F', 'hexagonal', 'FIQSHI',  -9.8943,    -7.8364,    -19.2311,  1.9330,    -1.2653,    -4.0664, -5.9772,    -4.4381,    -11.0912,  -0.8596,    2.5755,    1.7177,     1.1068,    0.9462,    0.4044,     1.6435,    1.2195,    0.3740,     0.2997,    0.5281,    1.0655,     30,    84,    9],",
                    " ['C_Pb_F', 'hexagonal', 'FIQSHI',  -10.7378,    -7.4779,    -19.2311,  -0.7084,    -0.1649,    -4.0664, -5.2827,    -4.3124,    -11.0912,  3.7441,    -2.8218,    1.7177,     0.6418,    1.0396,    0.4044,     0.6367,    1.4049,    0.3740,     1.1355,    0.5676,    1.0655,     6,    82,    9],",
                    " ['Al_Bi_Cl', 'hexagonal', 'FIQSHI',  -5.7109,    -6.7766,    -13.7830,  0.0405,    -0.6841,    -3.6491, -2.7067,    -3.6061,    -8.5540,  3.1168,    2.1526,    4.9235,     1.1043,    0.9899,    0.6785,     1.3965,    1.3017,    0.7567,     1.7101,    0.5469,    1.3489,     13,    83,    17],",
                    " ['Ga_Bi_Cl', 'hexagonal', 'FIQSHI',  -5.7265,    -6.7766,    -13.7830,  0.0668,    -0.6841,    -3.6491, -2.6553,    -3.6061,    -8.5540,  -2.5397,    2.1526,    4.9235,     1.0027,    0.9899,    0.6785,     1.3440,    1.3017,    0.7567,     0.2823,    0.5469,    1.3489,     31,    83,    17],",
                    " ['Ge_Pb_Cl', 'hexagonal', 'FIQSHI',  -7.5349,    -7.4779,    -13.7830,  -0.6580,    -0.1649,    -3.6491, -4.0179,    -4.3124,    -8.5540,  -3.8308,    -2.8218,    4.9235,     0.9220,    1.0396,    0.6785,     1.1721,    1.4049,    0.7567,     0.2666,    0.5676,    1.3489,     32,    82,    17],",
                    " ['Ge_Sn_Cl', 'hexagonal', 'FIQSHI',  -7.5349,    -7.1531,    -13.7830,  -0.6580,    -0.6953,    -3.6491, -4.0179,    -3.9778,    -8.5540,  -3.8308,    -3.5282,    4.9235,     0.9220,    1.0660,    0.6785,     1.1721,    1.3554,    0.7567,     0.2666,    0.4694,    1.3489,     32,    50,    17],",
                    " ['Hg_Po_Cl', 'hexagonal', 'FIQSHI',  -10.7190,    -7.8364,    -13.7830,  1.2734,    -1.2653,    -3.6491, -6.8080,    -4.4381,    -8.5540,  -1.3690,    2.5755,    4.9235,     1.1675,    0.9462,    0.6785,     1.8734,    1.2195,    0.7567,     0.6158,    0.5281,    1.3489,     80,    84,    17],",
                    " ['In_Bi_Cl', 'hexagonal', 'FIQSHI',  -5.5634,    -6.7766,    -13.7830,  -0.1615,    -0.6841,    -3.6491, -2.7148,    -3.6061,    -8.5540,  -2.4096,    2.1526,    4.9235,     1.1407,    0.9899,    0.6785,     1.5133,    1.3017,    0.7567,     0.4929,    0.5469,    1.3489,     49,    83,    17],",
                    " ['Si_Pb_Cl', 'hexagonal', 'FIQSHI',  -7.6740,    -7.4779,    -13.7830,  -0.7975,    -0.1649,    -3.6491, -4.0707,    -4.3124,    -8.5540,  3.7258,    -2.8218,    4.9235,     0.9466,    1.0396,    0.6785,     1.1405,    1.4049,    0.7567,     1.1619,    0.5676,    1.3489,     14,    82,    17],",
                    " ['Sn_Pb_Cl', 'hexagonal', 'FIQSHI',  -7.1531,    -7.4779,    -13.7830,  -0.6953,    -0.1649,    -3.6491, -3.9778,    -4.3124,    -8.5540,  -3.5282,    -2.8218,    4.9235,     1.0660,    1.0396,    0.6785,     1.3554,    1.4049,    0.7567,     0.4694,    0.5676,    1.3489,     50,    82,    17],",
                    " ['Sn_Sn_Cl', 'hexagonal', 'FIQSHI',  -7.1531,    -7.1531,    -13.7830,  -0.6953,    -0.6953,    -3.6491, -3.9778,    -3.9778,    -8.5540,  -3.5282,    -3.5282,    4.9235,     1.0660,    1.0660,    0.6785,     1.3554,    1.3554,    0.7567,     0.4694,    0.4694,    1.3489,     50,    50,    17],",
                    " ['Tl_Bi_Cl', 'hexagonal', 'FIQSHI',  -5.8428,    -6.7766,    -13.7830,  -0.3652,    -0.6841,    -3.6491, -2.9548,    -3.6061,    -8.5540,  -1.9101,    2.1526,    4.9235,     1.0974,    0.9899,    0.6785,     1.5446,    1.3017,    0.7567,     0.5904,    0.5469,    1.3489,     81,    83,    17],",
                    " ['Zn_Po_Cl', 'hexagonal', 'FIQSHI',  -9.8943,    -7.8364,    -13.7830,  1.9330,    -1.2653,    -3.6491, -5.9772,    -4.4381,    -8.5540,  -0.8596,    2.5755,    4.9235,     1.1068,    0.9462,    0.6785,     1.6435,    1.2195,    0.7567,     0.2997,    0.5281,    1.3489,     30,    84,    17],",
                    " ['C_Pb_Cl', 'hexagonal', 'FIQSHI',  -10.7378,    -7.4779,    -13.7830,  -0.7084,    -0.1649,    -3.6491, -5.2827,    -4.3124,    -8.5540,  3.7441,    -2.8218,    4.9235,     0.6418,    1.0396,    0.6785,     0.6367,    1.4049,    0.7567,     1.1355,    0.5676,    1.3489,     6,    82,    17],",
                    " ['Al_Bi_Br', 'hexagonal', 'FIQSHI',  -5.7109,    -6.7766,    -12.3191,  0.0405,    -0.6841,    -3.3579, -2.7067,    -3.6061,    -7.6871,  3.1168,    2.1526,    5.1846,     1.1043,    0.9899,    0.7514,     1.3965,    1.3017,    0.8834,     1.7101,    0.5469,    0.2281,     13,    83,    35],",
                    " ['B_Bi_Br', 'hexagonal', 'FIQSHI',  -8.1249,    -6.7766,    -12.3191,  0.0319,    -0.6841,    -3.3579, -3.6057,    -3.6061,    -7.6871,  2.4537,    2.1526,    5.1846,     0.8025,    0.9899,    0.7514,     0.8348,    1.3017,    0.8834,     1.3619,    0.5469,    0.2281,     5,    83,    35],",
                    " ['Cd_Po_Br', 'hexagonal', 'FIQSHI',  -9.2604,    -7.8364,    -12.3191,  1.4516,    -1.2653,    -3.3579, -5.6570,    -4.4381,    -7.6871,  -1.1292,    2.5755,    5.1846,     1.2355,    0.9462,    0.7514,     1.8040,    1.2195,    0.8834,     0.5192,    0.5281,    0.2281,     48,    84,    35],",
                    " ['Ga_Bi_Br', 'hexagonal', 'FIQSHI',  -5.7265,    -6.7766,    -12.3191,  0.0668,    -0.6841,    -3.3579, -2.6553,    -3.6061,    -7.6871,  -2.5397,    2.1526,    5.1846,     1.0027,    0.9899,    0.7514,     1.3440,    1.3017,    0.8834,     0.2823,    0.5469,    0.2281,     31,    83,    35],",
                    " ['Ge_Ge_Br', 'hexagonal', 'FIQSHI',  -7.5349,    -7.5349,    -12.3191,  -0.6580,    -0.6580,    -3.3579, -4.0179,    -4.0179,    -7.6871,  -3.8308,    -3.8308,    5.1846,     0.9220,    0.9220,    0.7514,     1.1721,    1.1721,    0.8834,     0.2666,    0.2666,    0.2281,     32,    32,    35],",
                    " ['Ge_Pb_Br', 'hexagonal', 'FIQSHI',  -7.5349,    -7.4779,    -12.3191,  -0.6580,    -0.1649,    -3.3579, -4.0179,    -4.3124,    -7.6871,  -3.8308,    -2.8218,    5.1846,     0.9220,    1.0396,    0.7514,     1.1721,    1.4049,    0.8834,     0.2666,    0.5676,    0.2281,     32,    82,    35],",
                    " ['Ge_Sn_Br', 'hexagonal', 'FIQSHI',  -7.5349,    -7.1531,    -12.3191,  -0.6580,    -0.6953,    -3.3579, -4.0179,    -3.9778,    -7.6871,  -3.8308,    -3.5282,    5.1846,     0.9220,    1.0660,    0.7514,     1.1721,    1.3554,    0.8834,     0.2666,    0.4694,    0.2281,     32,    50,    35],",
                    " ['Hg_Po_Br', 'hexagonal', 'FIQSHI',  -10.7190,    -7.8364,    -12.3191,  1.2734,    -1.2653,    -3.3579, -6.8080,    -4.4381,    -7.6871,  -1.3690,    2.5755,    5.1846,     1.1675,    0.9462,    0.7514,     1.8734,    1.2195,    0.8834,     0.6158,    0.5281,    0.2281,     80,    84,    35],",
                    " ['In_Bi_Br', 'hexagonal', 'FIQSHI',  -5.5634,    -6.7766,    -12.3191,  -0.1615,    -0.6841,    -3.3579, -2.7148,    -3.6061,    -7.6871,  -2.4096,    2.1526,    5.1846,     1.1407,    0.9899,    0.7514,     1.5133,    1.3017,    0.8834,     0.4929,    0.5469,    0.2281,     49,    83,    35],",
                    " ['Si_Pb_Br', 'hexagonal', 'FIQSHI',  -7.6740,    -7.4779,    -12.3191,  -0.7975,    -0.1649,    -3.3579, -4.0707,    -4.3124,    -7.6871,  3.7258,    -2.8218,    5.1846,     0.9466,    1.0396,    0.7514,     1.1405,    1.4049,    0.8834,     1.1619,    0.5676,    0.2281,     14,    82,    35],",
                    " ['Sn_Sn_Br', 'hexagonal', 'FIQSHI',  -7.1531,    -7.1531,    -12.3191,  -0.6953,    -0.6953,    -3.3579, -3.9778,    -3.9778,    -7.6871,  -3.5282,    -3.5282,    5.1846,     1.0660,    1.0660,    0.7514,     1.3554,    1.3554,    0.8834,     0.4694,    0.4694,    0.2281,     50,    50,    35],",
                    " ['Tl_Bi_Br', 'hexagonal', 'FIQSHI',  -5.8428,    -6.7766,    -12.3191,  -0.3652,    -0.6841,    -3.3579, -2.9548,    -3.6061,    -7.6871,  -1.9101,    2.1526,    5.1846,     1.0974,    0.9899,    0.7514,     1.5446,    1.3017,    0.8834,     0.5904,    0.5469,    0.2281,     81,    83,    35],",
                    " ['Tl_Sb_Br', 'hexagonal', 'FIQSHI',  -5.8428,    -8.0367,    -12.3191,  -0.3652,    -1.3698,    -3.3579, -2.9548,    -4.6012,    -7.6871,  -1.9101,    4.2760,    5.1846,     1.0974,    1.0035,    0.7514,     1.5446,    1.2400,    0.8834,     0.5904,    0.4483,    0.2281,     81,    51,    35],",
                    " ['Zn_Po_Br', 'hexagonal', 'FIQSHI',  -9.8943,    -7.8364,    -12.3191,  1.9330,    -1.2653,    -3.3579, -5.9772,    -4.4381,    -7.6871,  -0.8596,    2.5755,    5.1846,     1.1068,    0.9462,    0.7514,     1.6435,    1.2195,    0.8834,     0.2997,    0.5281,    0.2281,     30,    84,    35],",
                    " ['C_Pb_Br', 'hexagonal', 'FIQSHI',  -10.7378,    -7.4779,    -12.3191,  -0.7084,    -0.1649,    -3.3579, -5.2827,    -4.3124,    -7.6871,  3.7441,    -2.8218,    5.1846,     0.6418,    1.0396,    0.7514,     0.6367,    1.4049,    0.8834,     1.1355,    0.5676,    0.2281,     6,    82,    35],",
                    " ['Al_Bi_I', 'hexagonal', 'FIQSHI',  -5.7109,    -6.7766,    -10.6835,  0.0405,    -0.6841,    -2.9703, -2.7067,    -3.6061,    -6.7057,  3.1168,    2.1526,    3.8147,     1.1043,    0.9899,    0.9024,     1.3965,    1.3017,    1.0749,     1.7101,    0.5469,    0.4119,     13,    83,    53],",
                    " ['B_Bi_I', 'hexagonal', 'FIQSHI',  -8.1249,    -6.7766,    -10.6835,  0.0319,    -0.6841,    -2.9703, -3.6057,    -3.6061,    -6.7057,  2.4537,    2.1526,    3.8147,     0.8025,    0.9899,    0.9024,     0.8348,    1.3017,    1.0749,     1.3619,    0.5469,    0.4119,     5,    83,    53],",
                    " ['Cd_Po_I', 'hexagonal', 'FIQSHI',  -9.2604,    -7.8364,    -10.6835,  1.4516,    -1.2653,    -2.9703, -5.6570,    -4.4381,    -6.7057,  -1.1292,    2.5755,    3.8147,     1.2355,    0.9462,    0.9024,     1.8040,    1.2195,    1.0749,     0.5192,    0.5281,    0.4119,     48,    84,    53],",
                    " ['Ga_Bi_I', 'hexagonal', 'FIQSHI',  -5.7265,    -6.7766,    -10.6835,  0.0668,    -0.6841,    -2.9703, -2.6553,    -3.6061,    -6.7057,  -2.5397,    2.1526,    3.8147,     1.0027,    0.9899,    0.9024,     1.3440,    1.3017,    1.0749,     0.2823,    0.5469,    0.4119,     31,    83,    53],",
                    " ['Ge_Ge_I', 'hexagonal', 'FIQSHI',  -7.5349,    -7.5349,    -10.6835,  -0.6580,    -0.6580,    -2.9703, -4.0179,    -4.0179,    -6.7057,  -3.8308,    -3.8308,    3.8147,     0.9220,    0.9220,    0.9024,     1.1721,    1.1721,    1.0749,     0.2666,    0.2666,    0.4119,     32,    32,    53],",
                    " ['Ge_Pb_I', 'hexagonal', 'FIQSHI',  -7.5349,    -7.4779,    -10.6835,  -0.6580,    -0.1649,    -2.9703, -4.0179,    -4.3124,    -6.7057,  -3.8308,    -2.8218,    3.8147,     0.9220,    1.0396,    0.9024,     1.1721,    1.4049,    1.0749,     0.2666,    0.5676,    0.4119,     32,    82,    53],",
                    " ['Ge_Sn_I', 'hexagonal', 'FIQSHI',  -7.5349,    -7.1531,    -10.6835,  -0.6580,    -0.6953,    -2.9703, -4.0179,    -3.9778,    -6.7057,  -3.8308,    -3.5282,    3.8147,     0.9220,    1.0660,    0.9024,     1.1721,    1.3554,    1.0749,     0.2666,    0.4694,    0.4119,     32,    50,    53],",
                    " ['Hg_Po_I', 'hexagonal', 'FIQSHI',  -10.7190,    -7.8364,    -10.6835,  1.2734,    -1.2653,    -2.9703, -6.8080,    -4.4381,    -6.7057,  -1.3690,    2.5755,    3.8147,     1.1675,    0.9462,    0.9024,     1.8734,    1.2195,    1.0749,     0.6158,    0.5281,    0.4119,     80,    84,    53],",
                    " ['In_Bi_I', 'hexagonal', 'FIQSHI',  -5.5634,    -6.7766,    -10.6835,  -0.1615,    -0.6841,    -2.9703, -2.7148,    -3.6061,    -6.7057,  -2.4096,    2.1526,    3.8147,     1.1407,    0.9899,    0.9024,     1.5133,    1.3017,    1.0749,     0.4929,    0.5469,    0.4119,     49,    83,    53],",
                    " ['Pb_Pb_I', 'hexagonal', 'FIQSHI',  -7.4779,    -7.4779,    -10.6835,  -0.1649,    -0.1649,    -2.9703, -4.3124,    -4.3124,    -6.7057,  -2.8218,    -2.8218,    3.8147,     1.0396,    1.0396,    0.9024,     1.4049,    1.4049,    1.0749,     0.5676,    0.5676,    0.4119,     82,    82,    53],",
                    " ['Si_Pb_I', 'hexagonal', 'FIQSHI',  -7.6740,    -7.4779,    -10.6835,  -0.7975,    -0.1649,    -2.9703, -4.0707,    -4.3124,    -6.7057,  3.7258,    -2.8218,    3.8147,     0.9466,    1.0396,    0.9024,     1.1405,    1.4049,    1.0749,     1.1619,    0.5676,    0.4119,     14,    82,    53],",
                    " ['Sn_Sn_I', 'hexagonal', 'FIQSHI',  -7.1531,    -7.1531,    -10.6835,  -0.6953,    -0.6953,    -2.9703, -3.9778,    -3.9778,    -6.7057,  -3.5282,    -3.5282,    3.8147,     1.0660,    1.0660,    0.9024,     1.3554,    1.3554,    1.0749,     0.4694,    0.4694,    0.4119,     50,    50,    53],",
                    " ['Tl_Bi_I', 'hexagonal', 'FIQSHI',  -5.8428,    -6.7766,    -10.6835,  -0.3652,    -0.6841,    -2.9703, -2.9548,    -3.6061,    -6.7057,  -1.9101,    2.1526,    3.8147,     1.0974,    0.9899,    0.9024,     1.5446,    1.3017,    1.0749,     0.5904,    0.5469,    0.4119,     81,    83,    53],",
                    " ['Tl_Sb_I', 'hexagonal', 'FIQSHI',  -5.8428,    -8.0367,    -10.6835,  -0.3652,    -1.3698,    -2.9703, -2.9548,    -4.6012,    -6.7057,  -1.9101,    4.2760,    3.8147,     1.0974,    1.0035,    0.9024,     1.5446,    1.2400,    1.0749,     0.5904,    0.4483,    0.4119,     81,    51,    53],",
                    " ['Zn_Po_I', 'hexagonal', 'FIQSHI',  -9.8943,    -7.8364,    -10.6835,  1.9330,    -1.2653,    -2.9703, -5.9772,    -4.4381,    -6.7057,  -0.8596,    2.5755,    3.8147,     1.1068,    0.9462,    0.9024,     1.6435,    1.2195,    1.0749,     0.2997,    0.5281,    0.4119,     30,    84,    53],",
                    " ['C_Pb_I', 'hexagonal', 'FIQSHI',  -10.7378,    -7.4779,    -10.6835,  -0.7084,    -0.1649,    -2.9703, -5.2827,    -4.3124,    -6.7057,  3.7441,    -2.8218,    3.8147,     0.6418,    1.0396,    0.9024,     0.6367,    1.4049,    1.0749,     1.1355,    0.5676,    0.4119,     6,    82,    53],",
                    " ['Cd_O_Br', 'hexagonal', 'FDQSHI',  -9.2604,    -16.2932,    -12.3191,  1.4516,    -2.8068,    -3.3579, -5.6570,    -9.0190,    -7.6871,  -1.1292,    3.0142,    5.1846,     1.2355,    0.4608,    0.7514,     1.8040,    0.4333,    0.8834,     0.5192,    1.0750,    0.2281,     48,    8,    35],",
                    " ['Ga_N_Br', 'hexagonal', 'FDQSHI',  -5.7265,    -13.4588,    -12.3191,  0.0668,    -1.6717,    -3.3579, -2.6553,    -7.0838,    -7.6871,  -2.5397,    4.1488,    5.1846,     1.0027,    0.5361,    0.7514,     1.3440,    0.5154,    0.8834,     0.2823,    1.2140,    0.2281,     31,    7,    35],",
                    " ['Hg_O_Br', 'hexagonal', 'FDQSHI',  -10.7190,    -16.2932,    -12.3191,  1.2734,    -2.8068,    -3.3579, -6.8080,    -9.0190,    -7.6871,  -1.3690,    3.0142,    5.1846,     1.1675,    0.4608,    0.7514,     1.8734,    0.4333,    0.8834,     0.6158,    1.0750,    0.2281,     80,    8,    35],",
                    " ['In_N_Br', 'hexagonal', 'FDQSHI',  -5.5634,    -13.4588,    -12.3191,  -0.1615,    -1.6717,    -3.3579, -2.7148,    -7.0838,    -7.6871,  -2.4096,    4.1488,    5.1846,     1.1407,    0.5361,    0.7514,     1.5133,    0.5154,    0.8834,     0.4929,    1.2140,    0.2281,     49,    7,    35],",
                    " ['Tl_N_Br', 'hexagonal', 'FDQSHI',  -5.8428,    -13.4588,    -12.3191,  -0.3652,    -1.6717,    -3.3579, -2.9548,    -7.0838,    -7.6871,  -1.9101,    4.1488,    5.1846,     1.0974,    0.5361,    0.7514,     1.5446,    0.5154,    0.8834,     0.5904,    1.2140,    0.2281,     81,    7,    35],",
                    " ['Zn_O_Br', 'hexagonal', 'FDQSHI',  -9.8943,    -16.2932,    -12.3191,  1.9330,    -2.8068,    -3.3579, -5.9772,    -9.0190,    -7.6871,  -0.8596,    3.0142,    5.1846,     1.1068,    0.4608,    0.7514,     1.6435,    0.4333,    0.8834,     0.2997,    1.0750,    0.2281,     30,    8,    35],",
                    " ['B_As_I', 'hexagonal', 'FDQSHI',  -8.1249,    -8.9924,    -10.6835,  0.0319,    -1.5202,    -2.9703, -3.6057,    -5.1007,    -6.7057,  2.4537,    4.0412,    3.8147,     0.8025,    0.8558,    0.9024,     0.8348,    1.0507,    1.0749,     1.3619,    0.2524,    0.4119,     5,    33,    53],",
                    " ['B_Sb_I', 'hexagonal', 'FDQSHI',  -8.1249,    -8.0367,    -10.6835,  0.0319,    -1.3698,    -2.9703, -3.6057,    -4.6012,    -6.7057,  2.4537,    4.2760,    3.8147,     0.8025,    1.0035,    0.9024,     0.8348,    1.2400,    1.0749,     1.3619,    0.4483,    0.4119,     5,    51,    53],",
                    " ['Cd_O_I', 'hexagonal', 'FDQSHI',  -9.2604,    -16.2932,    -10.6835,  1.4516,    -2.8068,    -2.9703, -5.6570,    -9.0190,    -6.7057,  -1.1292,    3.0142,    3.8147,     1.2355,    0.4608,    0.9024,     1.8040,    0.4333,    1.0749,     0.5192,    1.0750,    0.4119,     48,    8,    53],",
                    " ['Cd_S_I', 'hexagonal', 'FDQSHI',  -9.2604,    -11.6948,    -10.6835,  1.4516,    -2.5741,    -2.9703, -5.6570,    -6.9810,    -6.7057,  -1.1292,    4.6386,    3.8147,     1.2355,    0.7473,    0.9024,     1.8040,    0.8493,    1.0749,     0.5192,    1.3934,    0.4119,     48,    16,    53],",
                    " ['Cd_Se_I', 'hexagonal', 'FDQSHI',  -9.2604,    -10.6520,    -10.6835,  1.4516,    -2.4179,    -2.9703, -5.6570,    -6.3811,    -6.7057,  -1.1292,    4.5507,    3.8147,     1.2355,    0.7997,    0.9024,     1.8040,    0.9578,    1.0749,     0.5192,    0.2397,    0.4119,     48,    34,    53],",
                    " ['Ga_As_I', 'hexagonal', 'FDQSHI',  -5.7265,    -8.9924,    -10.6835,  0.0668,    -1.5202,    -2.9703, -2.6553,    -5.1007,    -6.7057,  -2.5397,    4.0412,    3.8147,     1.0027,    0.8558,    0.9024,     1.3440,    1.0507,    1.0749,     0.2823,    0.2524,    0.4119,     31,    33,    53],",
                    " ['Ga_P_I', 'hexagonal', 'FDQSHI',  -5.7265,    -9.6747,    -10.6835,  0.0668,    -1.5811,    -2.9703, -2.6553,    -5.4891,    -6.7057,  -2.5397,    4.1935,    3.8147,     1.0027,    0.8336,    0.9024,     1.3440,    0.9712,    1.0749,     0.2823,    1.4172,    0.4119,     31,    15,    53],",
                    " ['Hg_S_I', 'hexagonal', 'FDQSHI',  -10.7190,    -11.6948,    -10.6835,  1.2734,    -2.5741,    -2.9703, -6.8080,    -6.9810,    -6.7057,  -1.3690,    4.6386,    3.8147,     1.1675,    0.7473,    0.9024,     1.8734,    0.8493,    1.0749,     0.6158,    1.3934,    0.4119,     80,    16,    53],",
                    " ['Hg_Se_I', 'hexagonal', 'FDQSHI',  -10.7190,    -10.6520,    -10.6835,  1.2734,    -2.4179,    -2.9703, -6.8080,    -6.3811,    -6.7057,  -1.3690,    4.5507,    3.8147,     1.1675,    0.7997,    0.9024,     1.8734,    0.9578,    1.0749,     0.6158,    0.2397,    0.4119,     80,    34,    53],",
                    " ['In_As_I', 'hexagonal', 'FDQSHI',  -5.5634,    -8.9924,    -10.6835,  -0.1615,    -1.5202,    -2.9703, -2.7148,    -5.1007,    -6.7057,  -2.4096,    4.0412,    3.8147,     1.1407,    0.8558,    0.9024,     1.5133,    1.0507,    1.0749,     0.4929,    0.2524,    0.4119,     49,    33,    53],",
                    " ['Si_Ge_I', 'hexagonal', 'FDQSHI',  -7.6740,    -7.5349,    -10.6835,  -0.7975,    -0.6580,    -2.9703, -4.0707,    -4.0179,    -6.7057,  3.7258,    -3.8308,    3.8147,     0.9466,    0.9220,    0.9024,     1.1405,    1.1721,    1.0749,     1.1619,    0.2666,    0.4119,     14,    32,    53],",
                    " ['Si_Sn_I', 'hexagonal', 'FDQSHI',  -7.6740,    -7.1531,    -10.6835,  -0.7975,    -0.6953,    -2.9703, -4.0707,    -3.9778,    -6.7057,  3.7258,    -3.5282,    3.8147,     0.9466,    1.0660,    0.9024,     1.1405,    1.3554,    1.0749,     1.1619,    0.4694,    0.4119,     14,    50,    53],",
                    " ['Tl_P_I', 'hexagonal', 'FDQSHI',  -5.8428,    -9.6747,    -10.6835,  -0.3652,    -1.5811,    -2.9703, -2.9548,    -5.4891,    -6.7057,  -1.9101,    4.1935,    3.8147,     1.0974,    0.8336,    0.9024,     1.5446,    0.9712,    1.0749,     0.5904,    1.4172,    0.4119,     81,    15,    53],",
                    " ['Zn_S_I', 'hexagonal', 'FDQSHI',  -9.8943,    -11.6948,    -10.6835,  1.9330,    -2.5741,    -2.9703, -5.9772,    -6.9810,    -6.7057,  -0.8596,    4.6386,    3.8147,     1.1068,    0.7473,    0.9024,     1.6435,    0.8493,    1.0749,     0.2997,    1.3934,    0.4119,     30,    16,    53],",
                    " ['Zn_Se_I', 'hexagonal', 'FDQSHI',  -9.8943,    -10.6520,    -10.6835,  1.9330,    -2.4179,    -2.9703, -5.9772,    -6.3811,    -6.7057,  -0.8596,    4.5507,    3.8147,     1.1068,    0.7997,    0.9024,     1.6435,    0.9578,    1.0749,     0.2997,    0.2397,    0.4119,     30,    34,    53],",
                    " ['C_Sn_I', 'hexagonal', 'FDQSHI',  -10.7378,    -7.1531,    -10.6835,  -0.7084,    -0.6953,    -2.9703, -5.2827,    -3.9778,    -6.7057,  3.7441,    -3.5282,    3.8147,     0.6418,    1.0660,    0.9024,     0.6367,    1.3554,    1.0749,     1.1355,    0.4694,    0.4119,     6,    50,    53]]"
659 660 661 662 663 664 665
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
                "pluginName": "IPython",
666 667
                "shellId": "847A4A5934714CE88055FABC7746C43F",
                "elapsedTime": 7078
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
            },
            "evaluatorReader": true,
            "lineCount": 160,
            "tags": "calc_cell"
        },
        {
            "id": "codeiig1qD",
            "type": "code",
            "evaluator": "IPython",
            "input": {
                "body": [
                    "### Setting data",
                    "import pandas as pd",
                    "df = pd.DataFrame(data[1:], columns=data[0])",
                    "",
                    "# get selected_feature_list",
684
                    "atomic_features = ['IP','EA', 'Eh', 'El', 'rs', 'rp', 'rd', 'Z']",
685 686 687 688 689 690 691 692
                    "selected_feature_list = []",
                    "for f in beaker.selected_feature_list:",
                    "    if f in atomic_features:",
                    "        selected_feature_list.extend([f+'(A)', f+'(B)', f+'(C)'])",
                    "    else:",
                    "        selected_feature_list.append(f)  ",
                    "",
                    "# reference units/ dimensions",
693 694 695
                    "f_lists_by_units = [['IP(A)', 'IP(B)', 'IP(C)','EA(A)', 'EA(B)', 'EA(C)'],",
                    "                    ['Eh(A)', 'Eh(B)', 'Eh(C)','El(A)', 'El(B)', 'El(C)'],",
                    "                    ['rs(A)', 'rs(B)', 'rs(C)', 'rp(A)', 'rp(B)', 'rp(C)', 'rd(A)', 'rd(B)', 'rd(C)'],",
696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
                    "                    ['Z(A)', 'Z(B)', 'Z(C)']]",
                    "f_lists_by_units_flat = [b for a in f_lists_by_units for b in a]",
                    "",
                    "# set unit_classes",
                    "",
                    "feature_unit_classes = ['no_unit' if f not in f_lists_by_units_flat else [i_class for i_class, dimension_group in enumerate(f_lists_by_units) if f in dimension_group][0] for f in selected_feature_list]",
                    "",
                    "# input descriptors and target",
                    "D = df[selected_feature_list].values",
                    "P = df['target'].tolist()",
                    "P = [0 if t=='Trivial' else 1 if t=='FIQSHI' else 2 for t in P ]"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "Hidden",
                "pluginName": "IPython",
714
                "shellId": "847A4A5934714CE88055FABC7746C43F",
715
                "height": 91,
716
                "elapsedTime": 3063
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761
            },
            "evaluatorReader": true,
            "lineCount": 28,
            "tags": "calc_cell"
        },
        {
            "id": "codeBgdsMv",
            "type": "code",
            "evaluator": "IPython",
            "input": {
                "body": [
                    "import math",
                    "",
                    "def calculation_time_warning(feature_space_size, l0_steps, rung):",
                    "    # This estimates correctly only for this tutorial, e.g. 24 cpus, 2D descritpor, classification",
                    "    ",
                    "    # SIS time",
                    "    if feature_space_size is not None:",
                    "        c0, c1 = 2.94137368e-08,   2.59778616e-01",
                    "        time_sis = c0 * feature_space_size + c1",
                    "    else:",
                    "        time_sis = 0.",
                    "    ",
                    "    # l0 time",
                    "    l0_steps_3700 = 27380000",
                    "    if rung == 2:",
                    "        minutes_3700 = 27.",
                    "    else:",
                    "        minutes_3700 = 20.",
                    "    steps_per_minute = l0_steps_3700 / minutes_3700 # on 24 cores",
                    "    time_l0 = l0_steps / steps_per_minute",
                    "    ",
                    "    # total time",
                    "    calc_time = math.ceil( time_l0 + time_sis + 1. )",
                    "    # warning message",
                    "    if calc_time < 5.:",
                    "        print \"INFO: Estimated calculation time: below 5 min\" ",
                    "    else:",
                    "        print \"WARNING: Estimated calculation time: %s min\" % int(calc_time)"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "pluginName": "IPython",
762 763
                "shellId": "847A4A5934714CE88055FABC7746C43F",
                "elapsedTime": 599,
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781
                "selectedType": "Hidden"
            },
            "evaluatorReader": true,
            "lineCount": 28,
            "initialization": true
        },
        {
            "id": "codeiQ8ElK",
            "type": "code",
            "evaluator": "IPython",
            "input": {
                "body": [
                    "from nomad_sim.sis import SIS",
                    "import random",
                    "from time import time",
                    "import os",
                    "import string",
                    "",
Emre Ahmetik's avatar
Emre Ahmetik committed
782 783 784
                    "kube_namespace = os.environ.get('KUBE_NAMESPACE','default')",
                    "IP = "sisso-img.%s.svc.cluster.local" %kube_namespace",
                    "PORT = 22",
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827
                    "random_name = 'AA_'+''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(20))",
                    "",
                    "### Settings",
                    "",
                    "# 1) Local paths",
                    "Local_paths = {",
                    "    'local_path' : '/home/beaker/',",
                    "    'SIS_input_folder_name' : random_name,",
                    "}",
                    "# 2) for ssh connection",
                    "Remote_run = {",
                    "    'mpi_command':'mpirun -np 24',",
                    "    'remote_path' : '/home/tutorial/',",
                    "    'SIS_code_path' : '/home/tutorial/src/',",
                    "    'hostname' : IP,",
                    "    'port' : PORT,",
                    "    'username' : 'tutorial',",
                    "    'key_file' : \"/home/keys/Kucn93hf1F0F38aypq5fD63n7XhDyOP0\"",
                    "}",
                    "# 3) SIS parameters",
                    "SIS_parameters = {",
                    "    'rung' : int(beaker.n_comb),",
                    "    'opset' : beaker.allowed_operations,",
                    "    'desc_dim' : 2,",
                    "    'subs_sis' : int(beaker.n_sis),",
                    "    'ptype':'quali'}",
                    "# all together",
                    "sis_control = {'local_paths':Local_paths, 'remote_run':Remote_run, 'parameters':SIS_parameters}",
                    "",
                    "t1 = time()",
                    "#init",
                    "sis = SIS(P, D, selected_feature_list, feature_unit_classes=feature_unit_classes, target_unit='eV', control=sis_control, rm_existing_files=True)",
                    "# calculation time warning with function defined in the notebook",
                    "calculation_time_warning(sis.predicted_feature_space_size, sis.l0_steps, int(beaker.n_comb))",
                    "",
                    ""
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "Results",
                "pluginName": "IPython",
828
                "shellId": "847A4A5934714CE88055FABC7746C43F",
829
                "height": 84,
830 831 832 833 834 835 836 837 838 839 840 841 842 843
                "elapsedTime": 6871,
                "result": {
                    "type": "Results",
                    "outputdata": [
                        {
                            "type": "err",
                            "value": "INFO: The calculations are running on 24 CPUs.\n"
                        },
                        {
                            "type": "out",
                            "value": "INFO: Estimated calculation time: below 5 min\n"
                        }
                    ]
                }
844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863
            },
            "evaluatorReader": true,
            "lineCount": 48,
            "tags": "calc_cell"
        },
        {
            "id": "code3TeLgG",
            "type": "code",
            "evaluator": "IPython",
            "input": {
                "body": [
                    "#start calc",
                    "sis.start()",
                    "#print \"Time\",time()-t1"
                ],
                "hidden": true
            },
            "output": {
                "selectedType": "Hidden",
                "pluginName": "IPython",
864 865
                "shellId": "847A4A5934714CE88055FABC7746C43F",
                "elapsedTime": 22030,
866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889
                "state": {},
                "height": 88
            },
            "evaluatorReader": true,
            "lineCount": 3,
            "tags": "calc_cell"
        },
        {
            "id": "codeCOmP3p",
            "type": "code",
            "evaluator": "IPython",
            "input": {
                "body": [
                    "results = sis.get_results()",
                    "Des, D_selected, overlap = results[-1]",
                    "print \"INFO: Identified descriptor:  %s, %s\" %(Des[0], Des[1])",
                    "print \"INFO: Number of samples in the overlap region: %s\" %overlap"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "Results",
                "pluginName": "IPython",
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909
                "shellId": "847A4A5934714CE88055FABC7746C43F",
                "height": 130,
                "elapsedTime": 9223,
                "result": {
                    "type": "Results",
                    "outputdata": [
                        {
                            "type": "err",
                            "value": "INFO: SISSO CALCULATION FINISHED\n"
                        },
                        {
                            "type": "err",
                            "value": "INFO: Estimated order of magnitude of feature space size: 10^5 - 10^6\n"
                        },
                        {
                            "type": "out",
                            "value": "INFO: Identified descriptor:  (IP(B)/EA(B))*(Z(B)+Z(A)), (IP(B)-EA(C))*(Z(C)/rs(A))\nINFO: Number of samples in the overlap region: 0\n"
                        }
                    ]
                }
910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966
            },
            "evaluatorReader": true,
            "lineCount": 4,
            "tags": "calc_cell"
        },
        {
            "id": "code6Zind4",
            "type": "code",
            "evaluator": "IPython",
            "input": {
                "body": [
                    "import hashlib",
                    "import itertools",
                    "from bokeh.util.browser import view",
                    "from nomad_sim.viewer import Viewer",
                    "from nomad_sim.utils_crystals import create_supercell",
                    "from nomad_sim.nomad_structures import NOMADStructure",
                    "import __builtin__",
                    "__builtin__.isBeaker = True",
                    "",
                    "",
                    "",
                    "# parameters for the nomad viewer",
                    "target_list = list(P)",
                    "chemical_formula_list = df['compound'].tolist()",
                    "crystal_structure_list = df['structure'].tolist()",
                    "x_list, y_list = D_selected.transpose().tolist()",
                    "x_axis_label, y_axis_label = Des",
                    "legend_title='QSH/trivial insulators'",
                    "target_name='QSH/trivial insulators'",
                    "plot_title = 'SISSO(L0) structure map'",
                    "tmp_folder='/home/beaker/.beaker/v1/web/tmp/'",
                    "parameter_list = selected_feature_list+[beaker.allowed_operations]+[[beaker.n_comb, beaker.n_sis]]",
                    "name_html_page = hashlib.sha224(str(parameter_list)).hexdigest()[:16]",
                    "beaker.viewer_result_5_strucs = name_html_page",
                    "with open(tmp_folder+'output.log', 'w') as f:",
                    "    f.write(\"SETTINGS\\nPrimary features: %s \\nAllowed operations : %s\\nNumber of iterations for the construction for the feature space: %s\\nNumber of collected features per SIS iteration: %s\\n\\nOUTPUT\\nDescriptor: %s,%s \\nNumber of samples in the overlap region: %s\" ",
                    "             %(selected_feature_list, beaker.allowed_operations, beaker.n_comb, beaker.n_sis, x_axis_label, y_axis_label, overlap))",
                    "",
                    "",
                    "# plot",
                    "viewer = Viewer(name=name_html_page)",
                    "file_html_link, file_html_name = viewer.plot(archive=None, clustering_x_list=x_list, clustering_y_list=y_list,",
                    "                                             target_list=target_list, chemical_formula_list=chemical_formula_list,",
                    "                                             crystal_structure_list=crystal_structure_list,",
                    "                                             target_class_names=['Trivial insulators','FI-QSHIs','FD-QSHIs'],target_unit='eV',",
                    "                                             target_name=target_name, legend_title=legend_title,",
                    "                                             plot_convex_hull=True, is_classification=True,",
                    "                                             x_axis_label=x_axis_label, y_axis_label=y_axis_label, plot_title=plot_title,",
                    "                                             tmp_folder=tmp_folder)"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "Results",
                "pluginName": "IPython",
967
                "shellId": "847A4A5934714CE88055FABC7746C43F",
968
                "height": 61,
969 970 971 972 973 974 975 976 977 978
                "elapsedTime": 32412,
                "result": {
                    "type": "Results",
                    "outputdata": [
                        {
                            "type": "err",
                            "value": "INFO: Click on the button 'View interactive 2D scatter plot' to see the plot.\n"
                        }
                    ]
                }
979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999
            },
            "evaluatorReader": true,
            "lineCount": 39,
            "tags": "calc_cell"
        },
        {
            "id": "codeTOpMsj",
            "type": "code",
            "evaluator": "JavaScript",
            "input": {
                "body": [
                    "var result_link = '/user/tmp/' + beaker.viewer_result_5_strucs + '.html';",
                    "beaker.view_result(result_link);"
                ],
                "hidden": true
            },
            "output": {
                "state": {},
                "selectedType": "BeakerDisplay",
                "pluginName": "JavaScript",
                "height": 88,
1000
                "elapsedTime": 20
1001 1002 1003 1004 1005 1006 1007 1008
            },
            "evaluatorReader": true,
            "lineCount": 2,
            "tags": "calc_cell"
        }
    ],
    "namespace": {
        "selected_feature_list": [
1009
            "IP",
1010 1011
            "EA",
            "Eh",
1012
            "El",
1013 1014
            "rs",
            "rp",
1015
            "rd",
1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032
            "Z"
        ],
        "allowed_operations": [
            "+",
            "-",
            "|-|",
            "*",
            "/",
            "^-1",
            "^2",
            "^3",
            "sqrt",
            "exp",
            "log"
        ],
        "max_dim": null,
        "ncomb": "1",
1033
        "n_sis": "100",
1034 1035 1036 1037
        "n_comb": "2",
        "viewer_result": "6edb65b9776deeb2",
        "structures_diff": null,
        "units": null,
1038
        "viewer_result_5_strucs": "3da2fd883bc92fd3"
1039 1040 1041
    },
    "locked": true
}