GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devries/analytic_infall: Analytic 1-D radiative transfer model of blue-asymmetric spectral line profiles from infalling molecular clouds. The model is presented in the paper, "Molecular Line Profile Fitting with Analytic Radiative Transfer Models" by De Vries & Myers (2005).

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
.hgtags
.hgtags
 
 
AUTHORS
AUTHORS
 
 
ChangeLog
ChangeLog
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.autotools
Dockerfile.autotools
 
 
Makefile.ORIG
Makefile.ORIG
 
 
Makefile.am
Makefile.am
 
 
NEWS
NEWS
 
 
README
README
 
 
configure.in
configure.in
 
 
devo2.c
devo2.c
 
 
devo2.h
devo2.h
 
 
devo2_test.c
devo2_test.c
 
 
ga_test.c
ga_test.c
 
 
grow_array.c
grow_array.c
 
 
grow_array.h
grow_array.h
 
 
hfsline.c
hfsline.c
 
 
hfsline.h
hfsline.h
 
 
hfsmap.c
hfsmap.c
 
 
hill5.c
hill5.c
 
 
hill5.h
hill5.h
 
 
hill5_devo.c
hill5_devo.c
 
 
hill5_hybrid.c
hill5_hybrid.c
 
 
hill5_hyperfine.c
hill5_hyperfine.c
 
 
hill5_multi_hybrid.c
hill5_multi_hybrid.c
 
 
hill5_multicomponent.c
hill5_multicomponent.c
 
 
hill5_multicomponent.h
hill5_multicomponent.h
 
 
hill5_plot.c
hill5_plot.c
 
 
hill5_simplex.c
hill5_simplex.c
 
 
hill5map.c
hill5map.c
 
 
hill5map_slow.c
hill5map_slow.c
 
 
hill6.c
hill6.c
 
 
hill6.h
hill6.h
 
 
hill6_devo.c
hill6_devo.c
 
 
hill6_hybrid.c
hill6_hybrid.c
 
 
hill6_simplex.c
hill6_simplex.c
 
 
hill6core.c
hill6core.c
 
 
hill6core.h
hill6core.h
 
 
hill6core_devo.c
hill6core_devo.c
 
 
hill6core_hybrid.c
hill6core_hybrid.c
 
 
hill6core_simplex.c
hill6core_simplex.c
 
 
hill7.c
hill7.c
 
 
hill7.h
hill7.h
 
 
hill7_devo.c
hill7_devo.c
 
 
hill7_hybrid.c
hill7_hybrid.c
 
 
hill7_simplex.c
hill7_simplex.c
 
 
hyperfine_model.c
hyperfine_model.c
 
 
hyperfine_model.h
hyperfine_model.h
 
 
hyperfinemap.c
hyperfinemap.c
 
 
noisescript.py
noisescript.py
 
 
noisescript2.py
noisescript2.py
 
 
read_data.c
read_data.c
 
 
read_data_test.c
read_data_test.c
 
 
read_data_test.dat
read_data_test.dat
 
 
test_spectrum.dat
test_spectrum.dat
 
 
thinline.c
thinline.c
 
 
thinline.h
thinline.h
 
 
twolayer5.c
twolayer5.c
 
 
twolayer5.h
twolayer5.h
 
 
twolayer5_devo.c
twolayer5_devo.c
 
 
twolayer5_hybrid.c
twolayer5_hybrid.c
 
 
twolayer5_simplex.c
twolayer5_simplex.c
 
 
twolayer6.c
twolayer6.c
 
 
twolayer6.h
twolayer6.h
 
 
twolayer6_devo.c
twolayer6_devo.c
 
 
twolayer6_hybrid.c
twolayer6_hybrid.c
 
 
twolayer6_simplex.c
twolayer6_simplex.c
 
 

Repository files navigation

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 http://cfa-www.harvard.edu/~cdevries/analytic_infall.html
. 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
shown):

# 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 [email protected] if you have any questions or
comments. 

About

Analytic 1-D radiative transfer model of blue-asymmetric spectral line profiles from infalling molecular clouds. The model is presented in the paper, "Molecular Line Profile Fitting with Analytic Radiative Transfer Models" by De Vries & Myers (2005).

adsabs.harvard.edu/abs/2005ApJ...620..800D

Topics

cinterstellar-mediumradiative-transferstar-formation

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.