H1 Package¶
H1
Package¶
The H1 data acquisition package.
This subpackage contains a subclass of the MDSplus data fetcher which gets additional H1 specific metadata.
fetch
Module¶
get_basic_diagnostics
Module¶
Originally a script in example (called get_basic_params - still there get the basic plasma params for a given shot and range of times interpolation overhead only begins at 10k points, doubles time at 1Million!!
-
pyfusion.acquisition.H1.get_basic_diagnostics.
get_basic_diagnostics
(diags=None, shot=54196, times=None, delay=None, exception=False, debug=0)[source]¶ - return a list of np.arrays of normally numeric values for the
- times given, for the given shot. Will access server if env(‘IGETFILE’) points to an exe, else accesses cache Some diagnostics are
R_ax, n_e19dL5, NBI1Pwr, dw_pdt2, dw_pdt, NBI, n_e19b0, beta, Gamma, Quad, b_0, <n_e19>, ech, NBI2Pwr, w_p, di_pdt, i_p
-
pyfusion.acquisition.H1.get_basic_diagnostics.
get_flat_top
(shot=54196, times=None, smooth_dt=None, maxddw=None, hold=0, debug=0)[source]¶ debug=1 gives a plot
-
pyfusion.acquisition.H1.get_basic_diagnostics.
localigetfilepath
= '/home/bdb112/data/datamining/cache//'¶ Make a list of diagnostics, and how to obtain them, as a dictionary of dictionaries: Top level keys are the short names for the diagnostics Next level keys are
format: format string to generate file name from shot. name: wild card name to find in the file headerFor the case of static parameters, the ‘format’ field is a csv file containing them all.