Installation
The AmesPAHdbIDLSuite can be freely obtained from GitHub.
The AmesPAHdbIDLSuite has been tested with IDL versions 7.0 through 9.2.0. Spectroscopic fitting using the built-in NNLS-algorithm requires IDL version 8.0 or higher due to the use of !NULL in the NNLS implementation.
NB It is possible to make use of an externally programmed NNSL-implementation. Consult the API-documentation for details.
-
Clone or unpack the AmesPAHdbIDLSuite downloaded as a zip-archive.
git clone https://github.com/PAHdb/AmesPAHdbIDLSuite.gitunzip AmesPAHdbIDLSuite.zip -
Move the files to a directory accessible by IDL or update the IDL !PATH-variable accordingly.
!PATH = !PATH + ":/path/to/AmesPAHdbIDLSuite/" -
Obtain the XML-version(s) of either/or both the theoretical and experimental database from the download section of the NASA Ames PAH IR Spectroscopic Database website and unpack the gzipped-file(s).
gunzip pahdb-full-theoretical-v4.00.xml.gz -
Place the unpacked file somewhere where IDL can access it and/or set either or both of the system and IDL AMESPAHDEFAULTDB environment variables to a default database file you wish to use.
IDL:
Bash:DEFSYSV,'!AMESPAHDEFAULTDB',"/path/to/default/xml-file"export AMESPAHDEFAULTDB='/path/to/default/xml-file'NB On some systems these variables are case-sensitive.
-
Run 'example.pro' from the 'examples'-directory to verify correct installation.
Complementary information can be found in the README.md and INSTALL files accompanying the download.