Previous Next

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.

  1. Clone or unpack the AmesPAHdbIDLSuite downloaded as a zip-archive.
    git clone https://github.com/PAHdb/AmesPAHdbIDLSuite.git
    unzip AmesPAHdbIDLSuite.zip
  2. Move the files to a directory accessible by IDL or update the IDL !PATH-variable accordingly.

    !PATH = !PATH + ":/path/to/AmesPAHdbIDLSuite/"
  3. 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
  4. 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:
    DEFSYSV,'!AMESPAHDEFAULTDB',"/path/to/default/xml-file"
    Bash:
    export AMESPAHDEFAULTDB='/path/to/default/xml-file'

    NB On some systems these variables are case-sensitive.

  5. 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.