<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Caleb,<br>
    I'd only add that GSAS-II makes simulated patterns the same way as
    GSAS in that you need to choose a scale factor (see Sample
    Parameters) and suitable background (see Background). A  bit of
    trial &amp; error might be needed to get something sensible. NB: do
    set the number of cycles=0; otherwise GSAS-II will refine to your
    simulation!<br>
    Bob<br>
    <div class="moz-cite-prefix">On 9/8/2014 2:27 PM, Toby, Brian H.
      wrote:<br>
    </div>
    <blockquote cite="mid:279D789A-00C2-46CA-84AE-A8545FC9E0B7@anl.gov"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div>Caleb, </div>
      <div><br>
      </div>
      <div>  You are correct that this needs a tutorial — someday! The
        process of simulating a pattern is similar to setting up a
        refinement. However, for a dataset, on the import/powder data
        menu you will see a simulate option. </div>
      <div><br>
      </div>
      <div>   You probably will want to keep the histogram instrument
        and sample parameters unchanged from their defaults, but will
        want to change the ones on the Phase/Data tab. </div>
      <div><br>
      </div>
      <div>  There is no powpref in GSAS-II. Use the Calculate/Refine
        option to compute the simulated pattern. </div>
      <div><br>
      </div>
      <div>Brian</div>
      <br>
      <div>
        <div>On Sep 8, 2014, at 1:56 PM, Caleb Hustedt &lt;<a
            moz-do-not-send="true" href="mailto:chustedt@gmail.com">chustedt@gmail.com</a>&gt;
          wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <div dir="ltr">Hi,
            <div><br>
            </div>
            <div>I am new to both GSAS and GSAS-II. I am trying to
              simulate an x-ray dataset for textured Magnesium. I know
              how to create a simulated dataset in GSAS using POWPREF
              and GENLES. However, I do not know how to simulate a
              dataset in GSAS-II or where the corresponding options are
              for POWPREF or GENLES. How do you simulate a diffraction
              pattern using GSAS-II? Is there any good documentation
              that I missing? Any help would be appreciated.</div>
            <div><br>
            </div>
            <div>Thank you,</div>
            <div><br>
            </div>
            <div>Caleb Hustedt</div>
            <div>
              <div><br>
              </div>
              -- <br>
              <div dir="ltr">Caleb Hustedt
                <div>Ph.D. Candidate</div>
                <div>Department of Materials Science and Engineering</div>
                <div>Johns Hopkins University<br>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          GSAS-II mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:GSAS-II@mailman.aps.anl.gov">GSAS-II@mailman.aps.anl.gov</a><br>
          <a class="moz-txt-link-freetext" href="https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii">https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii</a><br>
        </blockquote>
      </div>
      <br>
      <div apple-content-edited="true"><span class="Apple-style-span"
          style="border-collapse: separate; border-spacing: 0px;"><span
            class="Apple-style-span" style="font-size: 12px; "><font
              class="Apple-style-span" face="Courier">********************************************************************</font></span>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; font-size: 12px; ">
            <font class="Apple-style-span" face="Courier">Brian H. Toby,
              Ph.D.                            office: 630-252-5488</font></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; font-size: 12px; ">
            <font class="Apple-style-span" face="Courier">Senior
              Physicist/Section Head for Scientific Software</font></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; font-size: 12px; ">
            <font class="Apple-style-span" face="Courier">Advanced
              Photon Source</font></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; font-size: 12px; ">
            <font class="Apple-style-span" face="Courier">9700 S. Cass
              Ave, Bldg. 401/B4192            work cell: 630-327-8426   
               </font></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; font-size: 12px; ">
            <font class="Apple-style-span" face="Courier">Argonne
              National Laboratory        </font></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; font-size: 12px; ">
            <font class="Apple-style-span" face="Courier">Argonne, IL
              60439-4856         e-mail: brian dot toby at anl dot gov </font></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px; font-size: 12px; ">
            <font class="Apple-style-span" face="Courier">********************************************************************</font></div>
          <div style="font-size: 12px; "><font class="Apple-style-span"
              face="Courier">"<span class="Apple-style-span"
                style="font-family: Helvetica; ">We will restore science
                to its rightful place, and wield technology's wonders...
                We will harness the sun and the winds and the soil to
                fuel our cars and run our factories...  All this we can
                do. All this we will do."</span></font></div>
        </span></div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GSAS-II mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GSAS-II@mailman.aps.anl.gov">GSAS-II@mailman.aps.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii">https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>