First commit on goes_analysis branch.

Have written first full draft of goes_chianti_tem function in goes.py designed to find GOES temperature and emission measure as per goes_chianti_tem.pro in SSWI IDL.

Also wrote a script, make_goes_chianti_temp_csv.py, to create csv files of the relationship between GOES ratio and temperature by copying and pasting the hard-coded arrays for assumed coronal and then photospheric abundances from goes_get_chianti_temp.pro in SSW IDL.  A more elegant solution should be found in the future.

Also created and added the csv files created by make_goes_chianti_temp.py for coronal and photospheric abundances.  The date stamp on the files refer to the date when the values were copied and pasted from goes_get_chianti_temp.pro.
Altered make_goes_chianti_temp_csv.py so that the csv files produced do not have a date stamp (which indicates when the data was copied from goes_get_chianti_temp.pro in SSW IDL) in the file name.  Instead an extra column in the csv file is added with header name of date_taken_ssw and an entry in only the first data row contain the date in question.

Also generated said new csv files.
Correct a couple of typos in comments of make_goes_chianti_temp_csv.py
Created make_goes_chianti_em_csv.py for emission measure version of make_goes_chianti_temp_csv.py

Also created coronal and photospheric csv files from make_goes_chianti_em_csv.py
Completed first draft of goes_get_chianti_temp() in goes.py which does
same job as goes_get_chianti_temp.pro in SSW IDL i.e. calculated temperature
from given GOES ratio.  However, not yet always consistent with SSW results.

Also altered name of temperature column in goes_chianti_*.csv files and
make_goes_chianti_*_csv.py scripts from log10temp to log10temp_MK.
Fixed satellite scaling issue which was causing results to not always equal those
found with SSW.  Flux rescaling for satellites after GOES7 were multiplied by scaling
factor.  Now they are divided by as is correct.  This scaling is also now correctly
applied to GOES8 fluxes as well.  Previously it was only applied to fluxes from GOES9
and above.  Results now consistent with SSW values.
Added correct usage example to goes_get_chianti_temp() docstring.
Merge branch 'master' of https://github.com/sunpy/sunpy into goes_analysis
Added goes_get_chianti_em() to goes.py which finds the GOES emission measure
from inputs of temperature and long channel flux.  Also included line in
goes_chianti_tem() function in goes.py which now calls goes_get_chianti_em()
to get emission measure.
Tidied up Notes section of docstring in goes_get_chianti_em() in goes.py.
Also added working examples in docstrings of goes_get_chianti_em() and
goes_chianti_tem(), both in goes.py.
Merge branch 'master' of https://github.com/sunpy/sunpy into goes_analysis
Added first draft of goes_luminosity() and goes_lx() in goes.py.
Together these functions are designed to calculate GOES X-ray
luminosity in the wavelength ranges of the GOES passbands.
Added working examples in docstrings of goes_luminosity() and goes_lx()
in goes.py.
Also corrected return line in goes_lx()
Packaged output of goes_lx() in goes.py into a dictionary and
altered example in doctstring accordingly.
Wrote function time_intervals() in goes.py to calculate time intervals
between GOES measurements for integration.
Rewrote goes_lx() in goes.py to use time_intervals.
Also included flux and time inputs ans well as output of time_intervals()
in goes_ls() output.
Wrote calc_rad_loss() function in goes.py to calculate the radiative
loss rate of coronal plasma across all wavelengths.
Fixed bug in goes_lx() in goes.py in output dictionary definition.
Added .csv file containing CHIANTI model relationship between
temperature and radiative loss rate per unit emission measure which
is used by calc_rad_loss().
Added option for integrated radiated losses to be calculated and output by
calc_rad_loss() in goes.py
Added wrapper function, temp_em(), in goes.py to calculate temperature and emission
measure directly from a GOESLightCurbe object.
Made obstime an optional argument in goes_lx() in goes.py.
Included input temperature and emission measure in output dictionary
in calc_rad_loss() in goes.py
Wrote wrapper xray_luminosity() in goes.py to calculate x-ray loss rate
in the GOES passbands directly from GOESLightCurve object and then
create new GOESLightCurve object with the results.
Wrote wrapper rad_loss_rate() function in goes.py to calculate
radiative loss rate across all wavelengths firectly from
GOESLightCurve object.
In each of rad_loss_rate(), temp_em() and xray_luminosity() in goes.py,
copy.deepcopy() replaced simple assignment such as a = b to
keep input and output distinct.
Tidied up some docstrings in goes.py
o Please enter the commit message for your changes. Lines starting