Univeristy of Alabama in Huntsville

UAH LTG IDL Library

IDL Routines from Phillip Bitzer and UAH Lightning Group

summary     class     fields     routine details     file attributes

ats606/

ats606_chi2_example.pro

Stats, ATS606

includes main-level program

This routine illustrates how to find the best fit parameters via $\chi^2$ minimization. The data is hard coded into the routine. This is one of the examples from class.

WARNING: Very little error checking has been implemented. Careful not to open any black holes!

Examples

The routine is relatively straightforward:

ats606_chi2_example

Author information

Author

Phillip M. Bitzer, University of Alabama in Huntsville, pm.bitzer "AT" uah.edu

History

Modification History:

First written: Sometime in 2012. Moved to the official ATS606 repo; accordingly, the name has been changed. 20140318 PMB Added to code to do a global calculation of chi squared 20140319 PMB Fixed error in generating the ticks for the colorbar and fiddled with the positioning of the colored contour plot. 20140331 PMB

Other file information

Uses:

cgHasImageMagick, cgPS_Open, cgPS_Close, cgPlot, cgLegend, TeXtoIDL(Implicit)

Routines

top ats606_chi2_example

ats606_chi2_example [, /PS]

Provide the code for the chi squared example in ATS606.

Keywords

PS in optional type=boolean default=0B

Set this keyword to create a Postscript plot. If ImageMagick is installed and IDL can find it, it will make a PNG plot instead.

File attributes

Modification date: Thu Oct 19 09:15:08 2017
Lines: 98
Docformat: rst rst