analytic_infall /

Filename Size Date modified Message
180 B
49 B
0 B
3.2 KB
3.0 KB
0 B
2.6 KB
676 B
3.9 KB
3.2 KB
696 B
367 B
1.3 KB
502 B
3.5 KB
394 B
21.5 KB
2.6 KB
341 B
2.7 KB
4.4 KB
4.4 KB
5.8 KB
3.6 KB
451 B
1.3 KB
2.8 KB
21.4 KB
24.5 KB
2.8 KB
405 B
2.9 KB
4.6 KB
2.9 KB
2.9 KB
421 B
2.9 KB
4.6 KB
3.0 KB
3.0 KB
393 B
3.0 KB
4.8 KB
3.1 KB
3.1 KB
965 B
22.3 KB
2.7 KB
2.6 KB
1.8 KB
436 B
195 B
2.9 KB
2.2 KB
345 B
2.3 KB
359 B
2.7 KB
4.3 KB
2.8 KB
2.5 KB
368 B
2.8 KB
4.5 KB
3.0 KB
Thank you for downloading the analytic infall models. These models are
discussed in detail in De Vries & Myers (2005). More documentation and updates
are available from
. Although this paper includes all the analytic models discussed in the paper,
I would restrict myself to the HILL5 and TWOLAYER6 models, which were found to
be the best models. 

In order to fit a spectrum you need to place it in a two column text format
(the first column should be velocity in kilmeters per second, and the second
should be brightness temperature in Kelvins). Lines that begin with a hash mark
'#' will be ignored. Use the hybrid version of the model you want to run, this
will allow for some slow differential evolution minimization which will
(hopefully) find the global minimum well followed by Nelder-Mead simplex
minimization which will quickly find the bottom of that well. The hybrid
programs of interest are "hill5_hybrid" and "twolayer6_hybrid". The arguments
to both programs are:

1. input filename  --- the file with your spectrum
2. frequency --- to perform the J(T) conversion. A frequency of 0 will work in
		 units of J(T) instead of T.
3. vmin --- minimum velocity of the line profile.
4. vmax --- maximum velocity of the line profile. Be sure to get the entire
	    line full width as well as a little baseline. This is the region
	    over which chi-squared is calculated, so artifacts of the fit can
	    sometimes appear outside this region.
5. population in generation --- The number of solutions to calculate each
				generation of the differential evolution. I
				usually use about 200-300 here.
6. generations per check --- The number of generations to run before checking
			     for convergence in the differential evolution. I
			     usually pick 300 here.
7. checks to convergence --- The number of checks to make before deciding the
			     differential evolution algorithm has converged. I
			     usually pick 3 to 5 here. 
8. output file --- Where to place the fit and parameters.

The output file will have a header line the following (a HILL 5 example is

# Tau:   4.46394
# Vlsr:  0.000296732
# Vin:   0.0993918
# sigma: 0.0937655
# Tpeak: 10.5371
# Attained Chisq: 0.539567

giving the parameters of the fit and Chi Squared (not a reduced
chi-squared). Followed by the fit in a three column data file. The first two
columns are the two columns of the input file, while the third column is the
fit of the analytic model. Always check that the fit is good.

Please email me at if you have any questions or