ConnectTool
 All Classes Namespaces Files Functions Variables Pages
Classes | Variables
test_heliosphere Namespace Reference

Classes

class  TestParker
 

Variables

string hmodel = 'PARKER'
 
tuple file = open('dir.test/heliosphere_log','w')
 
int npoint = 100
 
list vwinds = [module_heliosphere.vwind_min + i*(module_heliosphere.vwind_max-module_heliosphere.vwind_min)/(npoint-1) for i in range(0,npoint)]
 
int x_lon = 320
 
int x_lat = -30
 
int x_r = 150
 
tuple position_sc = module_timespace.Coordinate()
 
list positions_ss = [ module_timespace.Coordinate() for i in range(0,npoint) ]
 
list delays_ss = [ datetime.timedelta() for i in range(0,npoint) ]
 
list dlons = [(positions_ss[i].lon - position_sc.lon) % 360 for i in range(0,npoint)]
 
list dts = [delays_ss[i].total_seconds()/86400. for i in range(0,npoint)]
 
tuple fig = plt.figure(num=1,figsize=(14,7))
 
string title = 'Test 1 Heliosphere propagation with Parker Model. Vwind vary. \n'
 
tuple sub = plt.subplot(231)
 
int x_vwind = 300
 
list positions_sc = [ module_timespace.Coordinate() for i in range(0,npoint) ]
 
tuple fileref_path = os.path.join('dir.unittest','heliosphere_ref')
 

Variable Documentation

list test_heliosphere.delays_ss = [ datetime.timedelta() for i in range(0,npoint) ]
list test_heliosphere.dlons = [(positions_ss[i].lon - position_sc.lon) % 360 for i in range(0,npoint)]
list test_heliosphere.dts = [delays_ss[i].total_seconds()/86400. for i in range(0,npoint)]
tuple test_heliosphere.fig = plt.figure(num=1,figsize=(14,7))
tuple test_heliosphere.file = open('dir.test/heliosphere_log','w')
tuple test_heliosphere.fileref_path = os.path.join('dir.unittest','heliosphere_ref')
string test_heliosphere.hmodel = 'PARKER'
int test_heliosphere.npoint = 100
tuple test_heliosphere.position_sc = module_timespace.Coordinate()
list test_heliosphere.positions_sc = [ module_timespace.Coordinate() for i in range(0,npoint) ]
list test_heliosphere.positions_ss = [ module_timespace.Coordinate() for i in range(0,npoint) ]
tuple test_heliosphere.sub = plt.subplot(231)
string test_heliosphere.title = 'Test 1 Heliosphere propagation with Parker Model. Vwind vary. \n'
list test_heliosphere.vwinds = [module_heliosphere.vwind_min + i*(module_heliosphere.vwind_max-module_heliosphere.vwind_min)/(npoint-1) for i in range(0,npoint)]
int test_heliosphere.x_lat = -30
int test_heliosphere.x_lon = 320
int test_heliosphere.x_r = 150
int test_heliosphere.x_vwind = 300