single page | use frames     summary     class     fields     routine details     file attributes

examples/

mc_fit_a_spectrum.pro


This is an example of fitting an astronomical spectrum using a Monte Carlo approach and should confirm that the AmesPAHdbIDLSuite has been correctly installed. The source code is annotated to guide users and developers in the inner workings of the suite.

Updated versions of the NASA Ames PAH IR Spectroscopic Database and more information can be found at: www.astrochemistry.org/pahdb.

Examples

Call the procedure directly:

IDL> mc_fit_a_spectrum

Author information

Author

Dr. Christiaan Boersma

Copyright

BSD licensed

History

Changes:

04-15-2023 Remove redundant code and don't destroy observation. Christiaan Boersma. 05-03-2022 Add plotting size distribution. Christiaan Boersma. 04-28-2022 Adapt for piecewise errors. Christiaan Boersma. 04-27-2022 Use MCFit instead of Fit. Christiaan Boersma. 07-06-2021 Cleaned up progress bar. Christiaan Boersma. 04-30-2021 First version. Christiaan Boersma.

Routines

top source MC_FIT_A_SPECTRUM

Example

MC_FIT_A_SPECTRUM

Procedure demonstrating fitting an astronomical spectrum using the AmesPAHdbIDLSuite and establishing uncertainties using a Monte-Carlo approach.

File attributes

Modification date: Fri Oct 24 12:51:04 2025
Lines: 43
Docformat: rst rst