# -*- coding: utf-8 -*- """ Created on Wed Jun 22 15:05:55 2016 @author: drsmith """ import fdp nstx = fdp.nstxu() bes = nstx.s204620.bes print(bes.listMethods()) print(bes.listSignals()) print(bes.listAttributes()) sig = bes.ch01 print(sig.listMethods()) print(sig.listAttributes()) chers = nstx.s204620.chers print(chers.listContainers())
# -*- coding: utf-8 -*- """ Created on Wed Jun 22 15:05:55 2016 @author: drsmith """ import fdp nstx=fdp.nstxu() bes = nstx.s204670.bes #bes.ch41.plot() #bes.ch42.plot() #bes.ch43.plot() #bes.ch44.plot() #bes.ch45.plot() #bes.ch46.plot() #bes.ch47.plot() #bes.ch48.plot() #bes.ch41.plotfft(tmin=0.260, tmax=0.300, fmax=200) #bes.ch42.plotfft(tmin=0.260, tmax=0.300, fmax=200) #bes.ch43.plotfft(tmin=0.260, tmax=0.300, fmax=200) #bes.ch44.plotfft(tmin=0.260, tmax=0.300, fmax=200) #bes.ch45.plotfft(tmin=0.260, tmax=0.300, fmax=200) #bes.ch46.plotfft(tmin=0.260, tmax=0.300, fmax=200) #bes.ch47.plotfft(tmin=0.260, tmax=0.300, fmax=200) bes.ch48.plotfft(tmin=0.250, tmax=0.330, fmax=200) Lmode_spectrum = bes.ch48.powerspectrum(tmin=0.270, tmax=0.280, fmax=200, power2=4e3)
# -*- coding: utf-8 -*- """ Created on Tue Jul 5 12:11:09 2016 @author: drsmith """ import fdp nstxu = fdp.nstxu() #shotlist = [nstxu.s140000, nstxu.s141000, nstxu.s141001, nstxu.s204620] shotlist = [nstxu.s204620] for shot in shotlist: print('SHOT {}'.format(shot.shot)) # shot.bes.ch01.plot(tmin=0.1,tmax=0.5) # shot.mpts.ne.plot(tmin=0.1, tmax=0.4) # #shot.mpts.te.plot() # #shot.mpts.plot() # #shot.chers.ti.plot() # #shot.chers.spline.tis.plot() # shot.usxr.hdown.hdown01.plot(tmax=1) # #shot.usxr.hdown.plot() # shot.magnetics.highf.plot(tmin=0.5) # shot.magnetics.highn.highn_1.plot() shot.rwm.irwm1.plot()
# -*- coding: utf-8 -*- """ Created on Tue Jul 5 12:11:09 2016 @author: drsmith """ #from fdp.classes.globals import VERBOSE #VERBOSE = True import fdp nstxu = fdp.nstxu() nstxu.addshot([140000, 141000, 141001, 204620]) print(dir(nstxu)) # diagnostic containers print(dir(nstxu.s204620)) # logbook nstxu.s141000.logbook() # BES 1D plot and fft plot bes = nstxu.s204620.bes bes.ch01[:] bes.ch01.plot() bes.ch10.plotfft() # MPTS 2d plot, point-axes for 2d, list signals, list containers, info mpts = nstxu.s140000.mpts spline = mpts.spline