SMART Download and Installation
Important Notes
For those users who already have SMART installed and are upgrading to a new version :
- When first used SMART makes an extra directory called "smart_bin". This resides in the same directory as SMART (if not otherwise specified in the startup script, see here), parallel to it.
- When installing a SMART upgrade this "smart_bin" directory must be deleted BEFORE the new version of SMART is installed. Failure to delete it can result in significant version incompatibility problems.
SMART Download
The
SMART download? consists of two tarballs:
-
smart-x.tar.gz (where x is the version number)
This is a gzipped tar-file that contains the IDL source code for SMART.
-
IRS_Calibration-y.tar.gz (where y is the version number)
This is a gzipped tar-file that contains the most recent set of SMART Calibration files.
SMART Installation
To install SMART :
SMART Calibration Files Installation
To install SMART Calibration Files :
mv IRS_Calibration-[version number] IRS_Calibration
- Add the path to the "IRS_Calibration" directory to the IDL path settings.
- This path should be the second one after the default IDL path.
- Remember to check the path to the the "IRS_Calibration" directory in the Startup script
SMART Variable Set Up
The
Startup srcript needs to be changed to set environment variables before beginning to use SMART.
SMART Version Number
Once SMART is installed the version number can be checked by viewing the read only file "smart/smart_version.txt".
Requirements
Operating system
- Smart is compatible with all recent Linux systems and with Darwin systems (Mac OS) as well.
IDL
- Smart has been successfully tested until IDL 7.0
Astrolib (partly included)
SMART includes certain publicly available IDL routines taken from Astrolib,
The IDL Astronomy User's Library
maintained at the NASA Goddard Space Flight Center.
(All relevant acknowledgements are here made.)
Please ensure that Astrolib is installed on your system before attempting to use SMART.
link:
http://idlastro.gsfc.nasa.gov/
Access paths on your system must be set so that SMART is accessed BEFORE Astrolib.
Failure to do this will result in unpredictable results.
Astrolib does not maintain strict version numbers. It is possible that SMART may not be compatible
with all variants of Astrolib.
If a SMART/Astrolib incompatibility is found please notify the
SMART developers.
PATH
Recommended use of the IDL PATH:
- create a startup IDL file in the home directory, and call it for instance startup.idl or .idl_startup
- create an environment variable in the startup shell script:
- in the IDL startup file, put the location of Smart, IRS_Calibration, and Astrolib in this order, for instance:
-
!PATH=':/home/me/Smart/'+':/home/me/IRS_Calibration/'+':/home/me/Astrolib/pro:'+!PATH
device,true_color=24
device,decomposed=0
device,retain=2
- note the last 3 line to avoid color problems with many IDL applications...
Other components
SMART includes a specially modified version of ATV called SMTV.
The name was changed to SMTV at the request of Aaron Barth, the original devleoper of ATV,
to prevent confusion between versions.