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

examples/

test_nnls.pro


This is an example of testing the non-negative least-squares decomposition for a number of a randomly generated spectra, built around the functionality provided by the AmesPAHdbIDLSuite and should help confirm that the it has been properly 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> test_nnls

Author information

Author

Dr. Christiaan Boersma

Copyright

BSD licensed

History

Changes:

05-16-2022 Define indices array and expand formatting. Christiaan Boersma. 08-19-2019 Documentation added. Christiaan Boersma.

Routines

top source TEST_NNLS

Example

TEST_NNLS

Procedure testing non-negative least-squares decomposition.

File attributes

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