Commit bc3018ac authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

adding topological quantum phases predition (of Emre)

parent 22785ba9
{
"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",
"height": 391,
"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>",
"By running the tutorial with the reference settings ( click <b>Reference settings</b> , then <b>RUN</b>) the classification for trivial insulators, FI-QSHIs, and FD-QSHIs is obtained. In particular, by clicking on “View interactive 2D plot”, an interactive classification map will be opened in a new tab:",
"<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\">",
" <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>",
" <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>",
" <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> ",
" <input type=\"number\" name=\"quantity\" id=\"n_sis\" min=\"1\" max=\"3701\" value=\"10\" step=\"100\"> </p",
" </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>"
],
"hidden": true
},
"output": {
"state": {},
"selectedType": "BeakerDisplay",
"height": 335,
"result": {
"type": "BeakerDisplay",
"innertype": "Html",
"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 value=\"EA\" id=\"EA\" checked=\"\" type=\"checkbox\"> <span title=\"Electron affinity\"><i>EA</i> </span></label>\n <label class=\"col-xs-4 col-md-4 col-lg-2\"> <input value=\"Eh\" id=\"Eh\" checked=\"\" type=\"checkbox\"> <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 value=\"rs\" id=\"rs\" checked=\"\" type=\"checkbox\"> <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 value=\"rp\" id=\"rp\" checked=\"\" type=\"checkbox\"> <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 value=\"Z\" id=\"Z\" checked=\"\" type=\"checkbox\"> <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 value=\"+\" id=\"+\" checked=\"\" type=\"checkbox\"> x+y </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"-\" id=\"-\" checked=\"\" type=\"checkbox\"> x-y </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"|-|\" id=\"|-|\" checked=\"\" type=\"checkbox\"> |x-y| </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"*\" id=\"*\" checked=\"\" type=\"checkbox\"> x · y </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"/\" id=\"/\" checked=\"\" type=\"checkbox\"> x/y </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"^-1\" id=\"^-1\" checked=\"\" type=\"checkbox\"> x^(-1) </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"^2\" id=\"^2\" checked=\"\" type=\"checkbox\"> x^2 </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"^3\" id=\"^3\" checked=\"\" type=\"checkbox\"> x^3 </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"sqrt\" id=\"sqrt\" checked=\"\" type=\"checkbox\"> √<span style=\"text-decoration: overline\">x</span> </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"exp\" id=\"exp\" checked=\"\" type=\"checkbox\"> exp(x) </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"exp-\" id=\"exp-\" type=\"checkbox\"> exp(-x) </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"log\" id=\"log\" checked=\"\" type=\"checkbox\"> log(x) </label>\n <label class=\"col-xs-4 col-md-4 col-lg-1\"> <input value=\"SCD\" id=\"SCD\" type=\"checkbox\"> <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 name=\"quantity\" id=\"n_sis\" min=\"1\" max=\"3701\" value=\"10\" step=\"100\" type=\"number\"> </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>"
},
"elapsedTime": 0
},
"evaluatorReader": true,
"lineCount": 64,
"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",
"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/c9d9e53485326f4e.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>"
},
"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",
"height": 168,
"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": [
"data = [['compound', 'structure', 'target', 'EA(A)', 'EA(B)', 'EA(C)', 'Eh(A)', 'Eh(B)', 'Eh(C)', 'rs(A)', 'rs(B)', 'rs(C)', 'rp(A)', 'rp(B)', 'rp(C)', 'Z(A)', 'Z(B)', 'Z(C)'],",
" ['Al_As_F', 'hexagonal', 'Trivial', 0.0405, -1.5202, -4.0664, -2.7067, -5.1007, -11.0912, 1.1043, 0.8558, 0.4044, 1.3965, 1.0507, 0.3740, 13, 33, 9],",
" ['Al_P_F', 'hexagonal', 'Trivial', 0.0405, -1.5811, -4.0664, -2.7067, -5.4891, -11.0912, 1.1043, 0.8336, 0.4044, 1.3965, 0.9712, 0.3740, 13, 15, 9],",
" ['Al_Sb_F', 'hexagonal', 'Trivial', 0.0405, -1.3698, -4.0664, -2.7067, -4.6012, -11.0912, 1.1043, 1.0035, 0.4044, 1.3965, 1.2400, 0.3740, 13, 51, 9],",
" ['B_As_F', 'hexagonal', 'Trivial', 0.0319, -1.5202, -4.0664, -3.6057, -5.1007, -11.0912, 0.8025, 0.8558, 0.4044, 0.8348, 1.0507, 0.3740, 5, 33, 9],",
" ['B_Sb_F', 'hexagonal', 'Trivial', 0.0319, -1.3698, -4.0664, -3.6057, -4.6012, -11.0912, 0.8025, 1.0035, 0.4044, 0.8348, 1.2400, 0.3740, 5, 51, 9],",
" ['Cd_O_F', 'hexagonal', 'Trivial', 1.4516, -2.8068, -4.0664, -5.6570, -9.0190, -11.0912, 1.2355, 0.4608, 0.4044, 1.8040, 0.4333, 0.3740, 48, 8, 9],",
" ['Cd_S_F', 'hexagonal', 'Trivial', 1.4516, -2.5741, -4.0664, -5.6570, -6.9810, -11.0912, 1.2355, 0.7473, 0.4044, 1.8040, 0.8493, 0.3740, 48, 16, 9],",
" ['Cd_Se_F', 'hexagonal', 'Trivial', 1.4516, -2.4179, -4.0664, -5.6570, -6.3811, -11.0912, 1.2355, 0.7997, 0.4044, 1.8040, 0.9578, 0.3740, 48, 34, 9],",
" ['Cd_Te_F', 'hexagonal', 'Trivial', 1.4516, -2.1853, -4.0664, -5.6570, -5.6565, -11.0912, 1.2355, 0.9497, 0.4044, 1.8040, 1.1492, 0.3740, 48, 52, 9],",
" ['Ga_As_F', 'hexagonal', 'Trivial', 0.0668, -1.5202, -4.0664, -2.6553, -5.1007, -11.0912, 1.0027, 0.8558, 0.4044, 1.3440, 1.0507, 0.3740, 31, 33, 9],",
" ['Ga_N_F', 'hexagonal', 'Trivial', 0.0668, -1.6717, -4.0664, -2.6553, -7.0838, -11.0912, 1.0027, 0.5361, 0.4044, 1.3440, 0.5154, 0.3740, 31, 7, 9],",
" ['Ga_P_F', 'hexagonal', 'Trivial', 0.0668, -1.5811, -4.0664, -2.6553, -5.4891, -11.0912, 1.0027, 0.8336, 0.4044, 1.3440, 0.9712, 0.3740, 31, 15, 9],",
" ['Hg_O_F', 'hexagonal', 'Trivial', 1.2734, -2.8068, -4.0664, -6.8080, -9.0190, -11.0912, 1.1675, 0.4608, 0.4044, 1.8734, 0.4333, 0.3740, 80, 8, 9],",
" ['Hg_Se_F', 'hexagonal', 'Trivial', 1.2734, -2.4179, -4.0664, -6.8080, -6.3811, -11.0912, 1.1675, 0.7997, 0.4044, 1.8734, 0.9578, 0.3740, 80, 34, 9],",
" ['Hg_Te_F', 'hexagonal', 'Trivial', 1.2734, -2.1853, -4.0664, -6.8080, -5.6565, -11.0912, 1.1675, 0.9497, 0.4044, 1.8734, 1.1492, 0.3740, 80, 52, 9],",
" ['In_As_F', 'hexagonal', 'Trivial', -0.1615, -1.5202, -4.0664, -2.7148, -5.1007, -11.0912, 1.1407, 0.8558, 0.4044, 1.5133, 1.0507, 0.3740, 49, 33, 9],",
" ['In_N_F', 'hexagonal', 'Trivial', -0.1615, -1.6717, -4.0664, -2.7148, -7.0838, -11.0912, 1.1407, 0.5361, 0.4044, 1.5133, 0.5154, 0.3740, 49, 7, 9],",
" ['In_P_F', 'hexagonal', 'Trivial', -0.1615, -1.5811, -4.0664, -2.7148, -5.4891, -11.0912, 1.1407, 0.8336, 0.4044, 1.5133, 0.9712, 0.3740, 49, 15, 9],",
" ['Si_Ge_F', 'hexagonal', 'Trivial', -0.7975, -0.6580, -4.0664, -4.0707, -4.0179, -11.0912, 0.9466, 0.9220, 0.4044, 1.1405, 1.1721, 0.3740, 14, 32, 9],",
" ['Si_Si_F', 'hexagonal', 'Trivial', -0.7975, -0.7975, -4.0664, -4.0707, -4.0707, -11.0912, 0.9466, 0.9466, 0.4044, 1.1405, 1.1405, 0.3740, 14, 14, 9],",
" ['Si_Sn_F', 'hexagonal', 'Trivial', -0.7975, -0.6953, -4.0664, -4.0707, -3.9778, -11.0912, 0.9466, 1.0660, 0.4044, 1.1405, 1.3554, 0.3740, 14, 50, 9],",
" ['Zn_O_F', 'hexagonal', 'Trivial', 1.9330, -2.8068, -4.0664, -5.9772, -9.0190, -11.0912, 1.1068, 0.4608, 0.4044, 1.6435, 0.4333, 0.3740, 30, 8, 9],",
" ['Zn_S_F', 'hexagonal', 'Trivial', 1.9330, -2.5741, -4.0664, -5.9772, -6.9810, -11.0912, 1.1068, 0.7473, 0.4044, 1.6435, 0.8493, 0.3740, 30, 16, 9],",
" ['Zn_Se_F', 'hexagonal', 'Trivial', 1.9330, -2.4179, -4.0664, -5.9772, -6.3811, -11.0912, 1.1068, 0.7997, 0.4044, 1.6435, 0.9578, 0.3740, 30, 34, 9],",
" ['Zn_Te_F', 'hexagonal', 'Trivial', 1.9330, -2.1853, -4.0664, -5.9772, -5.6565, -11.0912, 1.1068, 0.9497, 0.4044, 1.6435, 1.1492, 0.3740, 30, 52, 9],",
" ['C_Sn_F', 'hexagonal', 'Trivial', -0.7084, -0.6953, -4.0664, -5.2827, -3.9778, -11.0912, 0.6418, 1.0660, 0.4044, 0.6367, 1.3554, 0.3740, 6, 50, 9],",
" ['Al_As_Cl', 'hexagonal', 'Trivial', 0.0405, -1.5202, -3.6491, -2.7067, -5.1007, -8.5540, 1.1043, 0.8558, 0.6785, 1.3965, 1.0507, 0.7567, 13, 33, 17],",
" ['Al_P_Cl', 'hexagonal', 'Trivial', 0.0405, -1.5811, -3.6491, -2.7067, -5.4891, -8.5540, 1.1043, 0.8336, 0.6785, 1.3965, 0.9712, 0.7567, 13, 15, 17],",
" ['Al_Sb_Cl', 'hexagonal', 'Trivial', 0.0405, -1.3698, -3.6491, -2.7067, -4.6012, -8.5540, 1.1043, 1.0035, 0.6785, 1.3965, 1.2400, 0.7567, 13, 51, 17],",
" ['B_As_Cl', 'hexagonal', 'Trivial', 0.0319, -1.5202, -3.6491, -3.6057, -5.1007, -8.5540, 0.8025, 0.8558, 0.6785, 0.8348, 1.0507, 0.7567, 5, 33, 17],",
" ['B_Sb_Cl', 'hexagonal', 'Trivial', 0.0319, -1.3698, -3.6491, -3.6057, -4.6012, -8.5540, 0.8025, 1.0035, 0.6785, 0.8348, 1.2400, 0.7567, 5, 51, 17],",
" ['Cd_O_Cl', 'hexagonal', 'Trivial', 1.4516, -2.8068, -3.6491, -5.6570, -9.0190, -8.5540, 1.2355, 0.4608, 0.6785, 1.8040, 0.4333, 0.7567, 48, 8, 17],",
" ['Cd_S_Cl', 'hexagonal', 'Trivial', 1.4516, -2.5741, -3.6491, -5.6570, -6.9810, -8.5540, 1.2355, 0.7473, 0.6785, 1.8040, 0.8493, 0.7567, 48, 16, 17],",
" ['Cd_Se_Cl', 'hexagonal', 'Trivial', 1.4516, -2.4179, -3.6491, -5.6570, -6.3811, -8.5540, 1.2355, 0.7997, 0.6785, 1.8040, 0.9578, 0.7567, 48, 34, 17],",
" ['Cd_Te_Cl', 'hexagonal', 'Trivial', 1.4516, -2.1853, -3.6491, -5.6570, -5.6565, -8.5540, 1.2355, 0.9497, 0.6785, 1.8040, 1.1492, 0.7567, 48, 52, 17],",
" ['Ga_As_Cl', 'hexagonal', 'Trivial', 0.0668, -1.5202, -3.6491, -2.6553, -5.1007, -8.5540, 1.0027, 0.8558, 0.6785, 1.3440, 1.0507, 0.7567, 31, 33, 17],",
" ['Ga_N_Cl', 'hexagonal', 'Trivial', 0.0668, -1.6717, -3.6491, -2.6553, -7.0838, -8.5540, 1.0027, 0.5361, 0.6785, 1.3440, 0.5154, 0.7567, 31, 7, 17],",
" ['Ga_P_Cl', 'hexagonal', 'Trivial', 0.0668, -1.5811, -3.6491, -2.6553, -5.4891, -8.5540, 1.0027, 0.8336, 0.6785, 1.3440, 0.9712, 0.7567, 31, 15, 17],",
" ['Hg_O_Cl', 'hexagonal', 'Trivial', 1.2734, -2.8068, -3.6491, -6.8080, -9.0190, -8.5540, 1.1675, 0.4608, 0.6785, 1.8734, 0.4333, 0.7567, 80, 8, 17],",
" ['Hg_S_Cl', 'hexagonal', 'Trivial', 1.2734, -2.5741, -3.6491, -6.8080, -6.9810, -8.5540, 1.1675, 0.7473, 0.6785, 1.8734, 0.8493, 0.7567, 80, 16, 17],",
" ['Hg_Se_Cl', 'hexagonal', 'Trivial', 1.2734, -2.4179, -3.6491, -6.8080, -6.3811, -8.5540, 1.1675, 0.7997, 0.6785, 1.8734, 0.9578, 0.7567, 80, 34, 17],",
" ['Hg_Te_Cl', 'hexagonal', 'Trivial', 1.2734, -2.1853, -3.6491, -6.8080, -5.6565, -8.5540, 1.1675, 0.9497, 0.6785, 1.8734, 1.1492, 0.7567, 80, 52, 17],",
" ['In_As_Cl', 'hexagonal', 'Trivial', -0.1615, -1.5202, -3.6491, -2.7148, -5.1007, -8.5540, 1.1407, 0.8558, 0.6785, 1.5133, 1.0507, 0.7567, 49, 33, 17],",
" ['In_N_Cl', 'hexagonal', 'Trivial', -0.1615, -1.6717, -3.6491, -2.7148, -7.0838, -8.5540, 1.1407, 0.5361, 0.6785, 1.5133, 0.5154, 0.7567, 49, 7, 17],",
" ['In_P_Cl', 'hexagonal', 'Trivial', -0.1615, -1.5811, -3.6491, -2.7148, -5.4891, -8.5540, 1.1407, 0.8336, 0.6785, 1.5133, 0.9712, 0.7567, 49, 15, 17],",
" ['Si_Ge_Cl', 'hexagonal', 'Trivial', -0.7975, -0.6580, -3.6491, -4.0707, -4.0179, -8.5540, 0.9466, 0.9220, 0.6785, 1.1405, 1.1721, 0.7567, 14, 32, 17],",
" ['Si_Si_Cl', 'hexagonal', 'Trivial', -0.7975, -0.7975, -3.6491, -4.0707, -4.0707, -8.5540, 0.9466, 0.9466, 0.6785, 1.1405, 1.1405, 0.7567, 14, 14, 17],",
" ['Si_Sn_Cl', 'hexagonal', 'Trivial', -0.7975, -0.6953, -3.6491, -4.0707, -3.9778, -8.5540, 0.9466, 1.0660, 0.6785, 1.1405, 1.3554, 0.7567, 14, 50, 17],",
" ['Zn_S_Cl', 'hexagonal', 'Trivial', 1.9330, -2.5741, -3.6491, -5.9772, -6.9810, -8.5540, 1.1068, 0.7473, 0.6785, 1.6435, 0.8493, 0.7567, 30, 16, 17],",
" ['Zn_Se_Cl', 'hexagonal', 'Trivial', 1.9330, -2.4179, -3.6491, -5.9772, -6.3811, -8.5540, 1.1068, 0.7997, 0.6785, 1.6435, 0.9578, 0.7567, 30, 34, 17],",
" ['Zn_Te_Cl', 'hexagonal', 'Trivial', 1.9330, -2.1853, -3.6491, -5.9772, -5.6565, -8.5540, 1.1068, 0.9497, 0.6785, 1.6435, 1.1492, 0.7567, 30, 52, 17],",
" ['C_Sn_Cl', 'hexagonal', 'Trivial', -0.7084, -0.6953, -3.6491, -5.2827, -3.9778, -8.5540, 0.6418, 1.0660, 0.6785, 0.6367, 1.3554, 0.7567, 6, 50, 17],",
" ['Al_As_Br', 'hexagonal', 'Trivial', 0.0405, -1.5202, -3.3579, -2.7067, -5.1007, -7.6871, 1.1043, 0.8558, 0.7514, 1.3965, 1.0507, 0.8834, 13, 33, 35],",
" ['Al_P_Br', 'hexagonal', 'Trivial', 0.0405, -1.5811, -3.3579, -2.7067, -5.4891, -7.6871, 1.1043, 0.8336, 0.7514, 1.3965, 0.9712, 0.8834, 13, 15, 35],",
" ['Al_Sb_Br', 'hexagonal', 'Trivial', 0.0405, -1.3698, -3.3579, -2.7067, -4.6012, -7.6871, 1.1043, 1.0035, 0.7514, 1.3965, 1.2400, 0.8834, 13, 51, 35],",
" ['B_As_Br', 'hexagonal', 'Trivial', 0.0319, -1.5202, -3.3579, -3.6057, -5.1007, -7.6871, 0.8025, 0.8558, 0.7514, 0.8348, 1.0507, 0.8834, 5, 33, 35],",
" ['B_Sb_Br', 'hexagonal', 'Trivial', 0.0319, -1.3698, -3.3579, -3.6057, -4.6012, -7.6871, 0.8025, 1.0035, 0.7514, 0.8348, 1.2400, 0.8834, 5, 51, 35],",
" ['Cd_S_Br', 'hexagonal', 'Trivial', 1.4516, -2.5741, -3.3579, -5.6570, -6.9810, -7.6871, 1.2355, 0.7473, 0.7514, 1.8040, 0.8493, 0.8834, 48, 16, 35],",
" ['Cd_Se_Br', 'hexagonal', 'Trivial', 1.4516, -2.4179, -3.3579, -5.6570, -6.3811, -7.6871, 1.2355, 0.7997, 0.7514, 1.8040, 0.9578, 0.8834, 48, 34, 35],",
" ['Cd_Te_Br', 'hexagonal', 'Trivial', 1.4516, -2.1853, -3.3579, -5.6570, -5.6565, -7.6871, 1.2355, 0.9497, 0.7514, 1.8040, 1.1492, 0.8834, 48, 52, 35],",
" ['Ga_As_Br', 'hexagonal', 'Trivial', 0.0668, -1.5202, -3.3579, -2.6553, -5.1007, -7.6871, 1.0027, 0.8558, 0.7514, 1.3440, 1.0507, 0.8834, 31, 33, 35],",
" ['Ga_P_Br', 'hexagonal', 'Trivial', 0.0668, -1.5811, -3.3579, -2.6553, -5.4891, -7.6871, 1.0027, 0.8336, 0.7514, 1.3440, 0.9712, 0.8834, 31, 15, 35],",
" ['Hg_S_Br', 'hexagonal', 'Trivial', 1.2734, -2.5741, -3.3579, -6.8080, -6.9810, -7.6871, 1.1675, 0.7473, 0.7514, 1.8734, 0.8493, 0.8834, 80, 16, 35],",
" ['Hg_Se_Br', 'hexagonal', 'Trivial', 1.2734, -2.4179, -3.3579, -6.8080, -6.3811, -7.6871, 1.1675, 0.7997, 0.7514, 1.8734, 0.9578, 0.8834, 80, 34, 35],",
" ['Hg_Te_Br', 'hexagonal', 'Trivial', 1.2734, -2.1853, -3.3579, -6.8080, -5.6565, -7.6871, 1.1675, 0.9497, 0.7514, 1.8734, 1.1492, 0.8834, 80, 52, 35],",
" ['In_As_Br', 'hexagonal', 'Trivial', -0.1615, -1.5202, -3.3579, -2.7148, -5.1007, -7.6871, 1.1407, 0.8558, 0.7514, 1.5133, 1.0507, 0.8834, 49, 33, 35],",
" ['In_P_Br', 'hexagonal', 'Trivial', -0.1615, -1.5811, -3.3579, -2.7148, -5.4891, -7.6871, 1.1407, 0.8336, 0.7514, 1.5133, 0.9712, 0.8834, 49, 15, 35],",
" ['Si_Ge_Br', 'hexagonal', 'Trivial', -0.7975, -0.6580, -3.3579, -4.0707, -4.0179, -7.6871, 0.9466, 0.9220, 0.7514, 1.1405, 1.1721, 0.8834, 14, 32, 35],",
" ['Si_Si_Br', 'hexagonal', 'Trivial', -0.7975, -0.7975, -3.3579, -4.0707, -4.0707, -7.6871, 0.9466, 0.9466, 0.7514, 1.1405, 1.1405, 0.8834, 14, 14, 35],",
" ['Si_Sn_Br', 'hexagonal', 'Trivial', -0.7975, -0.6953, -3.3579, -4.0707, -3.9778, -7.6871, 0.9466, 1.0660, 0.7514, 1.1405, 1.3554, 0.8834, 14, 50, 35],",
" ['Zn_S_Br', 'hexagonal', 'Trivial', 1.9330, -2.5741, -3.3579, -5.9772, -6.9810, -7.6871, 1.1068, 0.7473, 0.7514, 1.6435, 0.8493, 0.8834, 30, 16, 35],",
" ['Zn_Se_Br', 'hexagonal', 'Trivial', 1.9330, -2.4179, -3.3579, -5.9772, -6.3811, -7.6871, 1.1068, 0.7997, 0.7514, 1.6435, 0.9578, 0.8834, 30, 34, 35],",
" ['Zn_Te_Br', 'hexagonal', 'Trivial', 1.9330, -2.1853, -3.3579, -5.9772, -5.6565, -7.6871, 1.1068, 0.9497, 0.7514, 1.6435, 1.1492, 0.8834, 30, 52, 35],",
" ['C_Sn_Br', 'hexagonal', 'Trivial', -0.7084, -0.6953, -3.3579, -5.2827, -3.9778, -7.6871, 0.6418, 1.0660, 0.7514, 0.6367, 1.3554, 0.8834, 6, 50, 35],",
" ['Al_As_I', 'hexagonal', 'Trivial', 0.0405, -1.5202, -2.9703, -2.7067, -5.1007, -6.7057, 1.1043, 0.8558, 0.9024, 1.3965, 1.0507, 1.0749, 13, 33, 53],",
" ['Al_P_I', 'hexagonal', 'Trivial', 0.0405, -1.5811, -2.9703, -2.7067, -5.4891, -6.7057, 1.1043, 0.8336, 0.9024, 1.3965, 0.9712, 1.0749, 13, 15, 53],",
" ['Al_Sb_I', 'hexagonal', 'Trivial', 0.0405, -1.3698, -2.9703, -2.7067, -4.6012, -6.7057, 1.1043, 1.0035, 0.9024, 1.3965, 1.2400, 1.0749, 13, 51, 53],",
" ['Cd_Te_I', 'hexagonal', 'Trivial', 1.4516, -2.1853, -2.9703, -5.6570, -5.6565, -6.7057, 1.2355, 0.9497, 0.9024, 1.8040, 1.1492, 1.0749, 48, 52, 53],",
" ['Si_Si_I', 'hexagonal', 'Trivial', -0.7975, -0.7975, -2.9703, -4.0707, -4.0707, -6.7057, 0.9466, 0.9466, 0.9024, 1.1405, 1.1405, 1.0749, 14, 14, 53],",
" ['Zn_Te_I', 'hexagonal', 'Trivial', 1.9330, -2.1853, -2.9703, -5.9772, -5.6565, -6.7057, 1.1068, 0.9497, 0.9024, 1.6435, 1.1492, 1.0749, 30, 52, 53],",
" ['Al_Bi_F', 'hexagonal', 'FIQSHI', 0.0405, -0.6841, -4.0664, -2.7067, -3.6061, -11.0912, 1.1043, 0.9899, 0.4044, 1.3965, 1.3017, 0.3740, 13, 83, 9],",
" ['B_Bi_F', 'hexagonal', 'FIQSHI', 0.0319, -0.6841, -4.0664, -3.6057, -3.6061, -11.0912, 0.8025, 0.9899, 0.4044, 0.8348, 1.3017, 0.3740, 5, 83, 9],",
" ['Cd_Po_F', 'hexagonal', 'FIQSHI', 1.4516, -1.2653, -4.0664, -5.6570, -4.4381, -11.0912, 1.2355, 0.9462, 0.4044, 1.8040, 1.2195, 0.3740, 48, 84, 9],",
" ['Ga_Bi_F', 'hexagonal', 'FIQSHI', 0.0668, -0.6841, -4.0664, -2.6553, -3.6061, -11.0912, 1.0027, 0.9899, 0.4044, 1.3440, 1.3017, 0.3740, 31, 83, 9],",
" ['Ge_Pb_F', 'hexagonal', 'FIQSHI', -0.6580, -0.1649, -4.0664, -4.0179, -4.3124, -11.0912, 0.9220, 1.0396, 0.4044, 1.1721, 1.4049, 0.3740, 32, 82, 9],",
" ['Ge_Sn_F', 'hexagonal', 'FIQSHI', -0.6580, -0.6953, -4.0664, -4.0179, -3.9778, -11.0912, 0.9220, 1.0660, 0.4044, 1.1721, 1.3554, 0.3740, 32, 50, 9],",
" ['In_Bi_F', 'hexagonal', 'FIQSHI', -0.1615, -0.6841, -4.0664, -2.7148, -3.6061, -11.0912, 1.1407, 0.9899, 0.4044, 1.5133, 1.3017, 0.3740, 49, 83, 9],",
" ['Pb_Pb_F', 'hexagonal', 'FIQSHI', -0.1649, -0.1649, -4.0664, -4.3124, -4.3124, -11.0912, 1.0396, 1.0396, 0.4044, 1.4049, 1.4049, 0.3740, 82, 82, 9],",
" ['Si_Pb_F', 'hexagonal', 'FIQSHI', -0.7975, -0.1649, -4.0664, -4.0707, -4.3124, -11.0912, 0.9466, 1.0396, 0.4044, 1.1405, 1.4049, 0.3740, 14, 82, 9],",
" ['Sn_Pb_F', 'hexagonal', 'FIQSHI', -0.6953, -0.1649, -4.0664, -3.9778, -4.3124, -11.0912, 1.0660, 1.0396, 0.4044, 1.3554, 1.4049, 0.3740, 50, 82, 9],",
" ['Sn_Sn_F', 'hexagonal', 'FIQSHI', -0.6953, -0.6953, -4.0664, -3.9778, -3.9778, -11.0912, 1.0660, 1.0660, 0.4044, 1.3554, 1.3554, 0.3740, 50, 50, 9],",
" ['Tl_Bi_F', 'hexagonal', 'FIQSHI', -0.3652, -0.6841, -4.0664, -2.9548, -3.6061, -11.0912, 1.0974, 0.9899, 0.4044, 1.5446, 1.3017, 0.3740, 81, 83, 9],",
" ['Zn_Po_F', 'hexagonal', 'FIQSHI', 1.9330, -1.2653, -4.0664, -5.9772, -4.4381, -11.0912, 1.1068, 0.9462, 0.4044, 1.6435, 1.2195, 0.3740, 30, 84, 9],",
" ['C_Pb_F', 'hexagonal', 'FIQSHI', -0.7084, -0.1649, -4.0664, -5.2827, -4.3124, -11.0912, 0.6418, 1.0396, 0.4044, 0.6367, 1.4049, 0.3740, 6, 82, 9],",
" ['Al_Bi_Cl', 'hexagonal', 'FIQSHI', 0.0405, -0.6841, -3.6491, -2.7067, -3.6061, -8.5540, 1.1043, 0.9899, 0.6785, 1.3965, 1.3017, 0.7567, 13, 83, 17],",
" ['Ga_Bi_Cl', 'hexagonal', 'FIQSHI', 0.0668, -0.6841, -3.6491, -2.6553, -3.6061, -8.5540, 1.0027, 0.9899, 0.6785, 1.3440, 1.3017, 0.7567, 31, 83, 17],",
" ['Ge_Pb_Cl', 'hexagonal', 'FIQSHI', -0.6580, -0.1649, -3.6491, -4.0179, -4.3124, -8.5540, 0.9220, 1.0396, 0.6785, 1.1721, 1.4049, 0.7567, 32, 82, 17],",
" ['Ge_Sn_Cl', 'hexagonal', 'FIQSHI', -0.6580, -0.6953, -3.6491, -4.0179, -3.9778, -8.5540, 0.9220, 1.0660, 0.6785, 1.1721, 1.3554, 0.7567, 32, 50, 17],",
" ['Hg_Po_Cl', 'hexagonal', 'FIQSHI', 1.2734, -1.2653, -3.6491, -6.8080, -4.4381, -8.5540, 1.1675, 0.9462, 0.6785, 1.8734, 1.2195, 0.7567, 80, 84, 17],",
" ['In_Bi_Cl', 'hexagonal', 'FIQSHI', -0.1615, -0.6841, -3.6491, -2.7148, -3.6061, -8.5540, 1.1407, 0.9899, 0.6785, 1.5133, 1.3017, 0.7567, 49, 83, 17],",
" ['Si_Pb_Cl', 'hexagonal', 'FIQSHI', -0.7975, -0.1649, -3.6491, -4.0707, -4.3124, -8.5540, 0.9466, 1.0396, 0.6785, 1.1405, 1.4049, 0.7567, 14, 82, 17],",
" ['Sn_Pb_Cl', 'hexagonal', 'FIQSHI', -0.6953, -0.1649, -3.6491, -3.9778, -4.3124, -8.5540, 1.0660, 1.0396, 0.6785, 1.3554, 1.4049, 0.7567, 50, 82, 17],",
" ['Sn_Sn_Cl', 'hexagonal', 'FIQSHI', -0.6953, -0.6953, -3.6491, -3.9778, -3.9778, -8.5540, 1.0660, 1.0660, 0.6785, 1.3554, 1.3554, 0.7567, 50, 50, 17],",
" ['Tl_Bi_Cl', 'hexagonal', 'FIQSHI', -0.3652, -0.6841, -3.6491, -2.9548, -3.6061, -8.5540, 1.0974, 0.9899, 0.6785, 1.5446, 1.3017, 0.7567, 81, 83, 17],",
" ['Zn_Po_Cl', 'hexagonal', 'FIQSHI', 1.9330, -1.2653, -3.6491, -5.9772, -4.4381, -8.5540, 1.1068, 0.9462, 0.6785, 1.6435, 1.2195, 0.7567, 30, 84, 17],",