IRAC Science Data Simulator (ISDS)


Overview Installation Use Examples Known Limitations SSC Specific History




  1. First, you're going to need a "truth image". This truth image is a representation of the real flux on the sky, in units of Jy/square arcsecond. How you make this is up to you. It is assumed that most users have at least some idea of what their targets will look like. If you're not completely modeling them from scratch, a good place to start for IRAC is the 2MASS Image Server at IPAC, since it's K-band observations are probably not so different from those expected from IRAC at 3.6 microns. Another possibility is the Digitized Sky Survey available at STScI.

    Some basic guidelines when making truth images:

  2. Get a Spot .aor file. Spot is the tool that Spitzer observers use to prepare observations. It is assumed that users are familiar with Spot, since all Spitzer proposals must use Spot for AOR submission. The ISDS will only read the first AOR from the .aor file, so users can either write the AORs out individually to separate .aor files, or can cut the pertinent sections from their .aor file into extra files for the ISDS to read. The former is preferable, because the ISDS relies on the formatting being fairly exact for the .aor file, and users cutting and pasting these files may introduce formatting problems.

  3. We assume some familiarity with the IRAF package, and the use of IRAF commands (if not, see the tutorials provided by NOAO). At this point, log into IRAF:
    usagi% cl
    
    And enter the ISDS package. You should see something like:
    cl> irac
    
           +------------------------------------------------------------+
           |               IRAC DATA SIMULATION PACKAGE                 |
           |                   Matthew L. N. Ashby                      |
           |                     2002 December 16                       |
           |                                                            |
           |    ***Development version 2.3, for IRAF V2.11p3***         |
           |                Shared-risk Beta Release                    |
           |    ***This package is being modified and will change***    |
           +------------------------------------------------------------+
    
                            IRAC Data Simulation Tasks
    
            AOREXPAND .... expand IRAC AORs into IRAC C&T commands
            IRACSIM ...... create simulated IRAC images, version 2.21Beta
    
          aorexpand   iracsim
    ir>
    
    

  4. The first thing you will need to do is run AOREXPAND. This will read your Spot .aor file and expand it into an IRAC command sequence. Your Spot file should have looked something like this. It contained a variety of switches controlling the AOR. After expansion you will get a .isds file like this (from an earlier version of AOREXPAND), which contains the individual commands and their arguments needed to carry out the requested sequence. AOREXPAND should work with output from Version 6.2 (and later) of Spot.

    AOREXPAND takes very few parameters. You give it the name of the input .aor file, and the root name for the output .isds file. You also supply the position angle of the AOR (in degrees E of N). You can determine this in Spot by clicking on the "visibility window" button. Note that the current version of the ISDS has not had this feature fully debugged. In particular, the ISDS definition of PA differs from that of Spot by 90 degrees. Here you can input the actual date that your AOR will occur, and it will return the PA for that target on that date. This is an important point. The roll angle of the Spitzer spacecraft is dictated by many pointing constraints, most of which are sun-related. This means that for any given target the actual position angle of the detectors will be dictated by the date on which the target is observed, and this is determined by the schedulers at the Spitzer Science Center. Since in general users will not know a priori the date of observations, they are advised to either simulate a range of roll angles by performing multiple simulations, or to choose a "typical" roll angle.

    PACKAGE = irac
       TASK = aorexpand
    
    input   =      swire_small.aor  Input AOR to expand
    output  =          swire_small  Output file name
    rollangl=                 337.  Roll angle (deg E of N)
    (mode   =                   ql)
    

  5. Once you have created an expansion file, you perform the actual simulation by running IRACSIM. IRACSIM has many options, and users are advised to read Matt's document which has a detailed description of all the options.

    Raw Ch. 1 image of NGC 2623 (left), and a BCD image (right). The raw image still has all the detector artifacts such as the flat-field and dark current signatures in it (it is also inverted due to the way raw data is packaged). The BCD image has had all of these effects turned off, and reflects only the expected noise and pointing properties of IRAC.


    In general, you will probably be most interested in either generating raw data, which is what comes out of the camera, or BCD data, which is what comes out of the basic SSC pipeline. The former is done by turning on all the instrumental effects (here is an example parameter set). For the BCD data, one turns off most of the instrumental effects, but leaves on the poisson noise, shot noise, background, etc (another example parameter set). The BCD data naturally is idealized, since in reality the SSC pipeline will not perfectly remove all instrumental signatures.

    Because the ISDS fully simulates the entire data-taking process, including the individual fowler reads, it is relatively slow. On a 400MHz Ultra 60 it takes about 1 minute to simulate a single IRAC frame. The usual tips apply. Run the ISDS on the fastest available computer. Set the "input" scratch area to be a local disk, which will speed up file access.