H1 Package

H1 Package

H1_scan_list Module

pyfusion.devices.H1.H1_scan_list.database_of_scans(keyname)[source]
pyfusion.devices.H1.H1_scan_list.find_missing_shots(shot_list)[source]
pyfusion.devices.H1.H1_scan_list.get_all_shots()[source]
pyfusion.devices.H1.H1_scan_list.get_scan_keys(filename='/home/bdb112/pyfusion/working/pyfusion/pyfusion/devices/H1/H1_scan_list.pyc')[source]
pyfusion.devices.H1.H1_scan_list.make_rsync_list(shot_list, glob_expand=False)[source]

make a list for rsync -az –files-from=list.txt dest: The glob option is usually not useful, unless both filesystems are accessible with low latency: The following will exand the wildcards $ for x in cat shot_list; do ls $x;done > expanded_list

pyfusion.devices.H1.H1_scan_list.return_scan_details(keynames)[source]

keynames is a list of keynames for the various scans that have been done documentation must be populated by hand (get_scan_keys helps) options include: Feb May5 May12 Dave May19 24July2012 SeptRuns 16Aug2012FreqScan All_Shots May19Extra Test scan_5MHz low_kh_5MHz short_scan_7MHz very_short_scan_7MHz scan_7MHz scan_7MHz_high scan_5MHz_high scan_4.5MHz_16Oct scan_7MHz_16Oct_MP scan_5MHz_7MHz June16_2014_21inter aug_2013_antenna_phasing low_power_4MHz_3_4_Dec_2014 4MHz_6_Aug_2015 4MHz_6_Aug_2015 8MHz_11_Aug_2015 8MHz_54_43_20kw_11_Aug_2015 8MHz_43_20kw_26_Aug_2015 4MHz_D2_54_27kw_20_Aug_2015 4MHz_D2_54_left_55kw_20_Aug_2015 4MHz_D2_54_28kw_20_Aug_2015

coords Module

class pyfusion.devices.H1.coords.MirnovKhMagneticCoordTransform[source]

Bases: pyfusion.data.base.BaseCoordTransform

input_coords = 'cylindrical'
output_coords = 'magnetic'
transform(coords, kh=None)[source]
pyfusion.devices.H1.coords.map_kappa_h_mag_angle(coords, kappa_h)[source]

device Module

class pyfusion.devices.H1.device.H1(config_name, **kwargs)[source]

Bases: pyfusion.devices.base.Device

pyfusion.devices.H1.device.orm_load_h1device(man)[source]

tests Module

class pyfusion.devices.H1.tests.CheckGetH1Device[source]

Bases: pyfusion.test.tests.PfTestBase

test getDevice.

dev = False
test_getDevice_from_pf()[source]
class pyfusion.devices.H1.tests.CheckH1Device(*args)[source]

Bases: pyfusion.devices.H1.tests.H1DevTestCase

h1 = True
mds = True
net = True
slow = True
test_getdevice()[source]
test_kh()[source]
test_load_h1()[source]
class pyfusion.devices.H1.tests.CheckH1MirnovCoords(*args)[source]

Bases: pyfusion.devices.H1.tests.H1DevTestCase

busted = True
h1 = True
mds = True
net = True
slow = True
test_multichannel_mirnov_bean_kappah_as_argument()[source]
test_multichannel_mirnov_bean_kappah_from_metadata()[source]
test_single_channel_with_kappah_supplied_through_metadata()[source]
test_single_mirnov_channel_kappah_as_argument()[source]
test_single_mirnov_channel_kappah_from_metadata()[source]
class pyfusion.devices.H1.tests.H1DevTestCase(*args)[source]

Bases: pyfusion.test.tests.BasePyfusionTestCase

setUp()[source]