ConnectTool
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
test_pfss_cube2fieldline.py File Reference

Namespaces

 test_pfss_cube2fieldline
 

Variables

tuple test_pfss_cube2fieldline.log_id = module_io.open_log(__file__)
 
int test_pfss_cube2fieldline.nrand = 100
 
string test_pfss_cube2fieldline.help_message
 
tuple test_pfss_cube2fieldline.error_magtype = module_io.check_magtype(module_io.magtype)
 
tuple test_pfss_cube2fieldline.folder_test = os.path.join('dir.test','TEST')
 
tuple test_pfss_cube2fieldline.date_in = module_timespace.Time()
 
list test_pfss_cube2fieldline.seed_points_ss = []
 
tuple test_pfss_cube2fieldline.lon0 = random.uniform(0,360)
 
tuple test_pfss_cube2fieldline.lat0 = random.uniform(-90,90)
 
tuple test_pfss_cube2fieldline.point0 = module_timespace.Coordinate()
 
dictionary test_pfss_cube2fieldline.mag_db = {}
 Seed points on a uniform grid nphi = 72 nthe = 36 phis = [ i*360/nphi for i in range(0,nphi) ] thes = [ 90-i*180/nthe for i in range(0,nthe) ] seed_points_ss = [] for i in range(0,nphi): for j in range(0,nthe): point = module_timespace.Coordinate() point.lon = phis[i] point.lat = thes[j] seed_points_ss.append(point) More...
 
dictionary test_pfss_cube2fieldline.error_corona_pfss = {}
 
 test_pfss_cube2fieldline.write3d = True
 
tuple test_pfss_cube2fieldline.mag_cube = interface_read_cube3D.read('CORFIELD',cube3D_path)
 
list test_pfss_cube2fieldline.valid_norms = []
 
tuple test_pfss_cube2fieldline.ifile = open(os.path.join(folder_test,'recap.txt'),'w')
 
string test_pfss_cube2fieldline.message = 'Fieldline %03d: max(norm(delta)) = %12.5e km '
 
 test_pfss_cube2fieldline.compare_img = True
 
tuple test_pfss_cube2fieldline.fig_size = (18,9)
 
int test_pfss_cube2fieldline.fig_resolution = 100
 
list test_pfss_cube2fieldline.fieldline1 = fieldlines_pfss[iline]
 
list test_pfss_cube2fieldline.fieldline2 = fieldlines_cube[iline]
 
tuple test_pfss_cube2fieldline.max_norm = np.max(norm)
 
tuple test_pfss_cube2fieldline.fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution)
 
tuple test_pfss_cube2fieldline.sub = fig.add_subplot(231, projection='polar')
 
tuple test_pfss_cube2fieldline.plots_fl1 = plot_common.fieldline2D(sub,[fieldline1],'blue','Fieldlines r-lat',proj='rlat')
 
tuple test_pfss_cube2fieldline.plots_fl2 = plot_common.fieldline2D(sub,[fieldline2],'red' ,'Fieldlines r-lat',proj='rlat')
 
string test_pfss_cube2fieldline.command = 'eog %s/test_iline*.png'