MultiDrizzle Version 1.2.3(Beta)

Requirements

Multidrizzle relies on PyDrizzle v4.3 or later to control the operation
of 'drizzle' itself, as well as many other STSDAS tasks. Therefore,
in order to run Multidrizzle, it needs the following support software:

Installing MultiDrizzle

Installation of MultiDrizzle starts by copying the package to a directory which Python can load, either by default or as specified in your PYTHONPATH environment variable. Once PyRAF has been started, the packages should be available for use. This can either be done by updating existing STSDAS 3.0 Python directories, or by installing in a user's personal directory.
  Download a Printable version of these instructions.
 

RECOMMENDED-- For those who can update their IRAF/STSDAS V3.0/3.1 directories:

  1. Unpack the distribution into stsdas$pkg/analysis/dither directory. This should create the new directory 'multidrizzle' in the STSDAS v3.0 tree as: stsdas$pkg/analysis/dither/multidrizzle.
  2. Setup a soft link stsdas$python/multidrizzle to point to the directory 'dither$multidrizzle' which was just created. Under Unix/Linux, this can be done using:
     > cd $stsdas/python
     > ln -s $stsdas/pkg/analysis/dither/multidrizzle multidrizzle
    
    where $stsdas refers to the root location of the installed STSDAS tree. The stsdas$python directory will only exist in STSDAS v3.0 distributions, as it was added to support the new Python based STSDAS tasks such as PyDrizzle.
  3. Verify that numarray has been upgraded to Version 0.6. This version comes as part of STSDAS 3.0 release, and can be downloaded from:
            
                http://sourceforge.net/projects/numpy
    
  4. Edit the existing stsdas$pkg/analysis/dither/dither.cl script to contain the line:
            pyexecute("mdrizzle$multidrizzle/multidrizzle_iraf.py",tasknames="multidrizzle")
    
    This will setup the IRAF interface for MultiDrizzle.
  5. Start PyRAF. Load STSDAS, and the Dither package. You should now see an IRAF task 'multidrizzle'.

For those who can NOT update their IRAF/STSDAS V3.0 directories:

  1. Unpack the distribution into a root directory of your choosing. The tar file will then put the code in a sub-directory named 'multidrizzle'. For example: /data/your_machine/python

    This distribution can then be unpacked simply using:

                tar xf multidrizzle_release123.tar
    
  2. Make sure numarray Version 0.6 is installed, if the system version has not been updated to this version.
  3. Start up PyRAF. Load STSDAS, but do NOT start the 'dither' package yet!.
            --> stsdas
    
  4. Update the Python system path to point to your personal version of the PyDrizzle code using:
  5.     --> import sys
        --> sys.path.insert(1,'/data/your_machine/python')
    
  6. Load the dither package now.
            --> dither
    
  7. Define the IRAF variable 'mydrizzle' to point to the newly installed multidrizzle IRAF interface code and parameter file.
        --> set mydrizzle = '/data/your_machine/python/'
    
  8. The environment variable mdrizzle also needs to be defined, as it is used by the 'multidrizzle_iraf.py' file in this distribution:
      
            --> set mdrizzle = '/data/your_machine/python/'
    
  9. Now, define the Multidrizzle task to point to your version:
        --> pyexecute('mydrizzle$multidrizzle/multidrizzle_iraf.py',tasknames='multidrizzle')
    
    You can now see the newly defined task as an IRAF task and use it like every other IRAF task!

Download MultiDrizzle 
(tar file, 92Kb)

The installation of MultiDrizzle only involves a single Python package consisting of a directory containing its own Python code. It is available as a single tar file. 

Questions? Contact help@stsci.edu
24 October 2003