first commit
Added DM.py.  Tested and working including offset and axesratio.
Added GenSource. Needs Cleanup. Need to add methods in analysis to call DM, galprop, cartesian map input, GenPointSource.
Added SampleCartesianMap to tools
Added analysis interfaces to DM.py
Added preliminary documentation and point source interface code.
Documentation cleaned up.
Cleanups and added interface to FermiDiffuseModel.
Fixed crucial bug re: log parabola spectrum in generation of point sources.  Also fixed critical bug when subsampling of cartesian diffuse maps.  Both Fermi diffuse model and point source generation appear to be working correctly.  Extended sources are still not included.
Added automatic checking for cuda support. Reverts to CPU if GPU mode not supported.
Fixed import bug in previous commit.
Fit now updates template values and generates a residual map automatically.  Added method GetResidual.
Added method Analysis.GetSpectrum()
Added Analysis.jfactor attribute which is set when GenDMTemplate is called
Added updated isotropic model (Ackerman 2014). Added Fermibubble routines. AddDMTemplate now supports input spectrum file.
Added PSC_weighting. Fixed bug in likelihood calculation.  May need to double check...
Added Interfaces to Galprop maps and minor code cleanup.
Addded external chi^2 handling.  Implemented for arbitrary templates, but for isotropic and bubble spectra in default Analysis.
Addded external chi^2 handling.  Implemented for arbitrary templates, but for isotropic and bubble spectra in default Analysis.
Duh... forgot to square chi^2 external...  Fixed.