-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstarter2.py
46 lines (38 loc) · 1.13 KB
/
starter2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# ALl the other things that aren't standard python packages.
#
import os
import sys
if not os.path.exists('dtools/starter1.py'):
print("Need to get the submodule")
print("git submodule init")
print("git submodule update")
sys.exit(-1)
from dtools.starter1 import *
#so we can import things from sub directories
path_list= ["./tools_data", "./tools_pdf", "./testing",\
"./tools", "./tools_tracks", "./trash","./new_targets", "./p56_plots",
"./other_particles", "./browser"]
for directory in path_list:
if directory not in sys.path:
sys.path += [directory]
import yt
from yt_names import *
import pyximport
pyximport.install(setup_args={'include_dirs': np.get_include()})
import tools_data.particle_ops as particle_ops
import tools_data.particle_grid_mask as particle_grid_mask
import looper2
#import looper
#reload(looper)
import trackage
import tracks_read_write
import tracks_read_write as trw
from davetools import *
#import loop_apps
import data_locations as dl
import track_info
import track_loader
from collections import defaultdict
import colors
plot_dir = "%s/PigPen"%os.environ['HOME']