UNDER DEVELOPMENT

The software package is currently being dramatically improved and updated.
This is a (very) old version, potentially with bugs.

  Shapelets web page     Shapelets IDL code     Installation     Help pages     Simulated images  
UNIX
Linux
Mac OS
Windows

The first six instructions are simply to install the general shapelet routines. If you have already done that, you will only need to follow instructions numbers seven and eight.

Windows:

  1. Install IDL:
  2. First check to see that Interactive Data Language (IDL) v5.4 or above is installed on your computer. The default directory for it to be installed is C:\Program Files\RSI\IDL\. A shortcut probably exists in the Start menu, under Programs -> Research Systems IDL -> IDL. If you don't already have a full IDL licence, there are a few less expensive alternatives worth considering first.

  3. Install SExtractor: (optional)
  4. For the object detection routines (only), you will also need to install SExtractor by Emmanuel Bertin. The book "Source Extractor for Dummies" by Benne Holwerda is often more useful and complete that the official manual. NB: I am currently unable to find a pre-compiled windows XP executable. If you have better luck, please let me know. If you manage to compile the source code yourself, remember the full path name to the exectuable "sex.exe"; this will be required in a moment.

  5. Download the shapelet routines:
  6. Download the latest versions of the shapelets source code and example data. Unpack the files into a new directory somewhere (using winzip for example). If you downloaded the source files and example data separately, make sure they are unpacked to the same place. The example file is rather large, but it will be needed in a moment for the example walkthrough of the most useful routines.

  7. Add the shapelet routines to your IDL path:
  8. IDL now needs to be told the location of these new routines. Select "Preferences" under the "File" menu and click on the "Path" tab. Click "Insert", and select the shapelets folder containing the new routines. Move this new item to the top of the list and make sure there is a tick in the box to its left. That tells IDL to look in the various subdirectories as well. Click "OK".

  9. Tell the shapelet routines where your data is stored:
  10. Finally, you need to tell the shapelets routines where all your data is stored. Find the file shapelets_paths.pro in the shapelets folder that you've just unpacked. Open it in IDL by double-clicking on it or dragging it to the grey area within the IDL window. Alternatively, you may use a text editor like notepad, although this will not highlight the IDL syntax with different colours.

    You need to edit the string definitions of path names, which are contained in single quotes and appear red by default in IDLDE. When you first download shapelets_paths.pro, they will be in UNIX format. This separates folders using forward "/" rather than backward "\" slashes. IDL can handle either, but swap this over if you wish.

    The base IDL directory (option 9) should return the directory containing shapelets_paths.pro, for example:
    'c:\DOCUMENTS AND SETTINGS\USER NAME\MY DOCUMENTS\IDL\shapelets\'
    The other important options are 1, 2 and 3. By default, these recursively call the base directory and just add 'DATA\', although you can move the data elsewhere if you change these definitions accordingly. It is also a good idea to personalise the string 'Shapelets export version of path names!'. This does nothing important, but is printed whenever the paths are requested. It will be reassuring to know that IDL is looking in the right place, especially if you later have to reinstall the shapelet routines or an updated version - and overwrite this file. More information on setting this up this is contained in the shapelets_paths help page.

  11. Try the demonstration routine:
  12. You are now ready to try out the example walkthough of the most important shapelet routines.

  13. Download the image simulation routines:
  14. Download the additional file shapelets_shims.tar.gz, which contains the image simulation source code, and unpack the files into your shapelets directory, as above.

  15. Read the detailed instructions for the image simulation routines:
  16. Specific instructions to create a simulated image are available, along with a description of the input parameters. This should guide you through the creating of your first image. My suggested "to do" list is also available, in case you have have time on your hands after that!


Last modified on 02nd May 2008 by Richard Massey.

Valid HTML 4.01!