-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstarter1.py
45 lines (42 loc) · 868 Bytes
/
starter1.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
#
# The typical python packages.
#
import pdb
import sys
import re
import copy
import h5py
import os
import copy
import warnings
import time
import glob
from importlib import reload
#import pickle
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import matplotlib.colorbar as cb
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import matplotlib as mpl
import pylab
import astropy.io.fits as pyfits
import platform
ver=platform.python_version()
python_version= int(ver[0])
if python_version == 3:
from importlib import reload
import numpy as np
import math
nar = np.array
import scipy
from scipy.stats import kurtosis
from scipy.stats import skew
from collections import defaultdict
#ef=execfile
x_dict = [1,0,0]
y_dict = [2,2,1]
import IPython
terminal = IPython.get_ipython()
terminal.pt_app.auto_suggest = None