Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/x/r/xrt-0.9.3/examples/withRaycing/02_Balder_BL/traceBalderBL.py   xrt(Download)
def main(pitch, fixedExit, hkl, stripe, eMinRays, eMaxRays, eTune, vfmR,
         prefix):
 
    beamLine = BalderBL.build_beamline(100000, hkl, stripe, eMinRays, eMaxRays)
    BalderBL.align_beamline(beamLine, pitch=pitch, energy=eTune,

src/x/r/xrt-0.9.3/examples/withRaycing/02_Balder_BL/traceMirrorPitchBothBalderBL.py   xrt(Download)
    def plot_generator():
        for pitch in pitches:
            BalderBL.align_beamline(beamLine, energy=E0, pitch=pitch*1e-3)
            for plot in plots:
                baseName = 'pitch-{0}{1:.1f}mrad'.format(plot.title, pitch)

src/x/r/xrt-0.9.3/examples/withRaycing/02_Balder_BL/traceMirrorRBalderBL.py   xrt(Download)
def main():
    beamLine = BalderBL.build_beamline(
        stripe=stripe, eMinRays=E0-dE, eMaxRays=E0+dE)
    BalderBL.align_beamline(beamLine, energy=E0)
    plots = []

src/x/r/xrt-0.9.3/examples/withRaycing/02_Balder_BL/traceDCMBalderBL.py   xrt(Download)
                beamLine.dcm.material2 = si311_2,
            for energy in energies:
                BalderBL.align_beamline(beamLine, energy=energy)
                thetaDeg = np.degrees(
                    beamLine.dcm.bragg - 2*beamLine.vcm.pitch)

src/x/r/xrt-0.9.3/examples/withRaycing/02_Balder_BL/traceMirrorPitchBalderBL.py   xrt(Download)
def main():
    beamLine = BalderBL.build_beamline(stripe=stripe)
    BalderBL.align_beamline(beamLine)
    plots = []
 

src/x/r/xrt-0.9.3/examples/withRaycing/02_Balder_BL/traceFiltersBalderBL.py   xrt(Download)
def main():
    beamLine = BalderBL.build_beamline()
    BalderBL.align_beamline(beamLine)
    plots = []