SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Namespaces | Variables
test_map2D_lower_resolution.py File Reference

Namespaces

 test_map2D_lower_resolution
 

Variables

tuple test_map2D_lower_resolution.date = datetime.datetime(2019,1,1)
 
string test_map2D_lower_resolution.axis_name_y = 'Latitude'
 
string test_map2D_lower_resolution.axis_name_x = 'Carrington Longitude'
 
int test_map2D_lower_resolution.axis_size = 10
 
string test_map2D_lower_resolution.axis_color = 'k'
 
int test_map2D_lower_resolution.dphi = 40
 
list test_map2D_lower_resolution.xtick_loc = [ i*dphi for i in range(0,int(360./dphi)+1) ]
 
list test_map2D_lower_resolution.xtick_label = [ str(int(xtick_loc[i])) for i in range(0,len(xtick_loc)) ]
 
list test_map2D_lower_resolution.ytick_loc = [ -90,-80,-60,-40,-20,0,20,40,60,80,90 ]
 
list test_map2D_lower_resolution.ytick_label = [ str(int(ytick_loc[i])) for i in range(0,len(ytick_loc)) ]
 
tuple test_map2D_lower_resolution.folder_test = os.path.join('dir.test','TEST_ADAPT')
 
tuple test_map2D_lower_resolution.fig_size = (12,6)
 
int test_map2D_lower_resolution.fig_resolution = 100
 
tuple test_map2D_lower_resolution.fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution)
 
string test_map2D_lower_resolution.map2D_type = 'ADAPT'
 Read the high resolution map2D. More...
 
tuple test_map2D_lower_resolution.map2D_path = interface_read_map2D.date2map(map2D_type,date)
 
tuple test_map2D_lower_resolution.map2D_high = interface_read_map2D.read(map2D_type,map2D_path)
 
tuple test_map2D_lower_resolution.map2D_low = module_map2D.lower_resolution(map2D_high,2)
 
tuple test_map2D_lower_resolution.sub = plt.subplot(221)
 
tuple test_map2D_lower_resolution.img = plot_common.map2D(sub,map2D_type,map2D_high,1)
 
tuple test_map2D_lower_resolution.eq = plot_common.equator(sub,'black')
 
tuple test_map2D_lower_resolution.the = module_toolbox_num.nearest(map2D_high.the,0.)
 
tuple test_map2D_lower_resolution.index_high = np.where(map2D_high.the==the)
 
tuple test_map2D_lower_resolution.index_low = np.where(map2D_low.the==the)
 
list test_map2D_lower_resolution.the_hr = map2D_high.the[index_high]
 
list test_map2D_lower_resolution.the_lr = map2D_low.the[index_low]