예제 #1
0
def setuplarmor_4periods():
    gen.change(nperiods=1)
    print "setup larmor for 4 Period mode"
    gen.change_start()
    gen.change_tables(spectra="C:\Instrument\Settings\Tables\spectra_4To1.dat")
    gen.change_tables(wiring="C:\Instrument\Settings\Tables\wiring.dat")
    gen.change_tcb(low=5.0,high=100000.0,step=100.0,trange=1)
    gen.change_finish()
예제 #2
0
def setuplarmor_monitorsonly():
    gen.change(nperiods=1)
    print "setup larmor monitors only"
    gen.change_start()
    gen.change_tables(spectra="C:\Instrument\Settings\Tables\spectra_phase1.dat")
    gen.change_tables(wiring="C:\Instrument\Settings\Tables\wiring.dat")
    gen.change_tcb(low=1000.0,high=100000.0,step=100.0,trange=1)
    gen.change_finish()
예제 #3
0
def setuplarmor_polarised():
    print "setup larmor polarised"
    gen.change(nperiods=1)
    gen.change_start()
    gen.change_tables(spectra="C:\Instrument\Settings\Tables\spectra_1To1.dat")
    gen.change_tables(wiring="C:\Instrument\Settings\Tables\wiring.dat")
    gen.change_tcb(low=5.0,high=100000.0,step=100.0,trange=1)
    gen.change_finish()
예제 #4
0
def setuplarmor_bsalignment():
    gen.change(nperiods=1)
    print "setup larmor beamstop alignment"
    gen.change_start()
    gen.change_tables(spectra="C:\Instrument\Settings\Tables\spectra_1To1.dat")
    gen.change_tables(wiring="C:\Instrument\Settings\Tables\wiring.dat")
    gen.change_tcb(low=1000.0,high=100000.0,step=99000.0,trange=1)
    gen.change_finish()
예제 #5
0
def setuplarmor_nr():
    gen.change(nperiods=1)
    print "setup larmor nr"
    gen.change_start()
    gen.change_tables(spectra="C:\Instrument\Settings\Tables\spectra_nrscanning.dat")
    gen.change_tables(wiring="C:\Instrument\Settings\Tables\wiring.dat")
    gen.change_tcb(low=5.0,high=100000.0,step=100.0,trange=1)
    gen.change_finish()