##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Lance Simms, LLNL 2010 
#
#CZTCubeSatSetup.py
#
#Commands that should be included at the beginning of a script 
#that deals with the HxRG reduction or analysis

import sys,os,getopt,re,string
import pyfits 
import scipy
from pyraf import iraf 
from numpy import * 
from pylab import * 
from readcol import *
#import numdisplay 
import matplotlib.pylab as mplot 
#from Linefit_func import * 
from strip_scf import * 
import glob 
from PathFromFileName import *
#import scipy.optimize as optimize
from Rebin import *
import histOutline
import time
import pdb
from astro_coordinate_conversion import *
from astro_angular_separation import *

##CONSTANTS:
e_0   = 8.85419e-12          # F * m^-1 - 8.85419 e-14 F*cm^-1
e_si  = 11.8                 # Relative Permittivity for Si   
q     = double(1.6022e-19)   # Coulombs per electron
k     = double(1.38066e-23)  # Joules per Kelvin
keV   = double(8.617e-5)     # eV per Kelvin
T     = double(150)          # Kelvin
Theta = double(q/(k*T))      # Factor relating energies

Colors=["#FF0000","#00FF00","#0000FF", "#FF9933", "#00CCFF",\
        "#FF00FF","#660099","#CC9900", "#006600", "#000000"]
