(function(doc, html, url) {
  var widget = doc.createElement("div");
  widget.innerHTML = html;
  var script = doc.currentScript; // e = a.currentScript;
  if (!script) {
    var scripts = doc.scripts;
    for (var i = 0; i < scripts.length; ++i) {
      script = scripts[i];
      if (script.src && script.src.indexOf(url) != -1) break;
    }
  }
  script.parentElement.replaceChild(widget, script);
  }(document, '<style type="text/css">     .kudos-widget div, .kudos-widget span, .kudos-widget applet, .kudos-widget object, .kudos-widget iframe,  .kudos-widget h1, .kudos-widget h2, .kudos-widget h3, .kudos-widget h4, .kudos-widget h5, .kudos-widget h6,  .kudos-widget p, .kudos-widget blockquote, .kudos-widget pre, .kudos-widget a, .kudos-widget abbr, .kudos-widget acronym,  .kudos-widget address, .kudos-widget big, .kudos-widget cite, .kudos-widget code, .kudos-widget del, .kudos-widget dfn,  .kudos-widget em, .kudos-widget img, .kudos-widget ins, .kudos-widget kbd, .kudos-widget q, .kudos-widget s,  .kudos-widget samp, .kudos-widget small, .kudos-widget strike, .kudos-widget strong, .kudos-widget sub,  .kudos-widget sup, .kudos-widget tt, .kudos-widget var, .kudos-widget b, .kudos-widget u, .kudos-widget i,  .kudos-widget center, .kudos-widget dl, .kudos-widget dt, .kudos-widget dd, .kudos-widget ol, .kudos-widget ul,  .kudos-widget li, .kudos-widget fieldset, .kudos-widget form, .kudos-widget label, .kudos-widget legend,  .kudos-widget table, .kudos-widget caption, .kudos-widget tbody, .kudos-widget tfoot, .kudos-widget thead,  .kudos-widget tr, .kudos-widget th, .kudos-widget td, .kudos-widget article, .kudos-widget aside, .kudos-widget canvas,  .kudos-widget details, .kudos-widget embed, .kudos-widget figure, .kudos-widget figcaption, .kudos-widget footer,  .kudos-widget header, .kudos-widget hgroup, .kudos-widget menu, .kudos-widget nav, .kudos-widget output,  .kudos-widget ruby, .kudos-widget section, .kudos-widget summary, .kudos-widget time, .kudos-widget mark,  .kudos-widget audio, .kudos-widget video {    margin: 0;    padding: 0;    border: 0;    font-size: 100%;    font: inherit;    vertical-align: baseline;    line-height: 1;  }     .kudos-widget article, .kudos-widget aside, .kudos-widget details, .kudos-widget figcaption, .kudos-widget figure,  .kudos-widget footer, .kudos-widget header, .kudos-widget hgroup, .kudos-widget menu, .kudos-widget nav, .kudos-widget section {    display: block;  }  .kudos-widget ol, .kudos-widget ul {    list-style: none;  }  .kudos-widget blockquote, .kudos-widget q {    quotes: none;  }  .kudos-widget blockquote:before, .kudos-widget blockquote:after,  .kudos-widget q:before, .kudos-widget q:after {    content: "";    content: none;  }  .kudos-widget table {    border-collapse: collapse;    border-spacing: 0;  }           .kudos-widget .kudos-widget-article {    border:1px solid #d1d1d1;    overflow:hidden;    font-family:Arial, Verdana, sans-serif;    font-size:12px;    padding:10px;  }  .kudos-widget .kudos-widget-article a {    color:#2c8cca !important;    text-decoration:underline;  }  .kudos-widget .kudos-widget-article .kudos-widget-article-logo-img {    float:right;    border:none;    height:25px;  }  .kudos-widget .kudos-widget-article h1.kudos-article-title {    font-size:18px;    color:#616161;    font-weight:700;    line-height: 1.2em;    margin-top: 5px;    padding-left:10px;    padding-right:10px;    margin-bottom:10px;  }  .kudos-widget .kudos-widget-article .kudos-box,  .kudos-widget .kudos-widget-article .kudos-box:before,  .kudos-widget .kudos-widget-article .kudos-box:after {    font-family:"Open Sans", Arial, sans-serif;    color:#000;    background-color:#fff;    box-sizing:inherit;    position:relative;    padding-left:10px;    padding-right:10px;    margin-top:10px;    margin-bottom:10px;    border-radius:5px;    text-align:left;    font-size:1.2px;  }  .kudos-widget .kudos-widget-article .kudos-box p {    line-height:1.42857em;  }  .kudos-widget .kudos-widget-article .kudos-box h3 {    font-family:inherit;    font-weight:500;    font-size:18px;    margin-top:17px;    margin-bottom:8.5px;    line-height:1.1;    color:#4784c3;  }  .kudos-widget .kudos-widget-article .kudos-box > ul {    list-style-type:none;    padding-left:0;    margin-top:0;    margin-bottom:8.5px;  }  .kudos-widget .kudos-widget-article .kudos-box p {    font-size:12px;    margin:15px 0;  }  .kudos-widget .kudos-widget-article .kudos-box-with-avatar > ul > li {    background-size:60px 60px;    background-repeat:no-repeat;    background-position:0 0;    padding-left:80px;    min-height:60px;    position:relative;  }  .kudos-widget .kudos-widget-article .wrap-words {    word-break: normal;    word-wrap: break-word;    text-align: justify;  }  .kudos-widget .kudos-widget-article .preserve-line-breaks {    white-space:pre-line;  }  .kudos-widget .kudos-widget-article .with-bottom-small-margin {    position:relative;    margin-bottom:15px;  }  .kudos-widget .kudos-widget-article ul.inline-list-commas {    display:inline;    list-style-type:none;    margin:0;    padding:0;  }  .kudos-widget .kudos-widget-article .btn-block {    display:block;    width:initial;  }  .kudos-widget .kudos-widget-article .btn {    display:inline-block;    margin-bottom:10px;    font-weight:400;    text-align:center;    vertical-align:middle;    touch-action:manipulation;    cursor:pointer;    background-image:none;    border:1px solid transparent;    white-space:nowrap;    font-size:12px;    line-height:1.42857;    border-radius:4px;    -webkit-user-select:none;    -moz-user-select:none;    -ms-user-select:none;    user-select:none;    text-decoration:none;    padding:6px 12px;    width:initial;  }  .kudos-widget .kudos-widget-article a.blue-background {    background-color:#2b7cb5;    color:#fff!important;    text-decoration:none;  }  .kudos-widget .kudos-widget-article .kudos-widget-intro-and-logo {    height:30px;  }  .kudos-widget .kudos-widget-article .kudos-widget-article-readmore-btn-container {    text-align:right;  }  .kudos-widget .kudos-widget-article .inline-block,  .kudos-widget .kudos-widget-article ul.inline-list-commas > li {    display:inline-block;      margin-left: 10px;  }  @media (max-width: 600px) {    .kudos-widget .kudos-widget-article .kudos-box-with-avatar > ul > li.group-of-authors {      background-image:none!important;      background-size:0 0;      padding-left:10px;      min-height:0;    }  }</style><div class="kudos-widget ng-non-bindable" ngNonBindable>   <div class="kudos-widget-article">    <div class="kudos-widget-intro-and-logo">      <a target="_blank" href="https://www.growkudos.com/"><img src="https://api.growkudos.com/logo" alt="Kudos Logo" class="kudos-widget-article-logo-img"/></a>    </div>    <div>      <h1 class="kudos-article-title">        Crystal centering in a diamond anvil cell (DAC) for diffraction experiments      </h1>    </div>          <div class="kudos-box kudos-box-with-avatar">        <h3>What is it about?</h3>          <div class="wrap-words">            <p class="preserve-line-breaks">A new, accurate and fast optical alignment method of crystals/samples placed in a diamond anvil cell (DAC) has been developed. Other advantages of this method are simplicity and instant visual feedback when aligning the crystal. This method employs Snell’s law, which relates the angles of incidence and refraction of light passing through different media to estimate the crystal position within the DAC by measuring the apparent transverse displacement of the crystal image at various viewing angles .</p>          </div>      </div>              <div class="kudos-box kudos-box-with-avatar">        <h3>          Why is it important?        </h3>          <div class="wrap-words">            <p class="preserve-line-breaks">The novelty of our approach lies in its reliance on purely optical centering methods, rather than diffraction or absorption techniques. we have confirmed its exceptional efficiency and accuracy, as shown by the consistently low Rint values and high-quality data refinement parameters achieved. This method provides significant safety advantages when working with X-ray and synchrotron sources. It eliminates the need to remove the beam stop and expose the DAC to the primary beam to check the position of the gasket hole or the internal highly absorbing very small crystal for alignment with the detector, reducing the risk of damage to the instrument and potential harm to the user.</p>          </div>        </div>                      <div class="kudos-widget-article-readmore-btn-container">        <a class="btn btn-md btn-block blue-background" target="_blank" href="https://www.growkudos.com/articles/10.1107/s1600576724012500?utm_medium=widget&amp;utm_source=publication-widget">Read more on Kudos&hellip;</a>      </div>            <div class="with-bottom-small-margin">        <div class="inline-block">          The following have contributed to this page:        </div>        <div class="inline-block">          Eduard Rusanov        </div>      </div>  </div></div>' ,"url"));