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
File attributes
| Modification date: | Fri Oct 24 12:51:04 2025 |
| Lines: | 43 |
| Docformat: | rst rst |
![[attach.png]](../idldoc-resources/attach.png)