23.04.2015 Views

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

124 CHAPTER 14. IMAGE ANALYSIS AND DISPLAY<br />

14.3.1.2 xdisp examples<br />

1. Following the examples of Section 12.2 we can examine the raster image in the raster PDS.<br />

Figure 14.4 was created with this example.<br />

CIA> xdisp, lw6_raster.raster, raster2hdr(lw6_raster)<br />

In the above example, the routine raster2hdr is used to create a FITS header from the<br />

PDS lw6 raster and this header is passed directly to xdisp. This is particularly useful for<br />

getting coordinates of raster MOSAIC pixels (see description of menu option get / cursor<br />

in Section 14.3.1.1).<br />

We can also use the select and save a selected region of the image to a FITS file (see<br />

description of menu option ROI). Since we have supplied a FITS header to xdisp then<br />

the FITS file will contain astrometry for the selected region. For example, click on ROI<br />

/ select and use the mouse to drag the selection zone over the region you are interested<br />

in saving (watch the screen for information). After selection is completed click on ROI /<br />

save to save the selected region. You will get a screen message like:<br />

File ima33x33.fits written ...<br />

The FITS file can be used as input to isocont – see Section 14.6.2.<br />

2. Using xdisp for viewing FITS data in CIA:<br />

CIA> haro3_image=readfits(’haro3_iso.fits’, haro3_header)<br />

CIA> xdisp, haro3_image, haro3_header<br />

3. xdisp is designed to directly read SADs from disk or memory and display the contents of<br />

the CCIM.DATA field:<br />

CIA> xdisp, ’CSAD143006010205_96090620365354’<br />

14.3.2 sad display and struct2sad<br />

In section Section 10.2 we used sad display to create SADs from CCIM and CMOS data<br />

products and then display their corresponding EXPOSUREs and MOSAICs. We were only<br />

concerned with viewing AAR data products at that time.<br />

However, since we can create an SSAD from a PDS using struct2sad we can use sad display<br />

to view the results of our own calibration.<br />

Here are some examples:<br />

1. Any PDS can be converted to an SSAD and viewed with sad display:<br />

CIA> sad_display, struct2sad(any_pds, /all)<br />

The optional keyword all tells struct2sad to make a complete as possible set of SADs. If<br />

any pds is a raster PDS or BS PDS, then clicking on the button future (see Figure 10.1)<br />

will display the raster or beam-switch MOSAIC.<br />

2. If you only want to see the raster or beam-switch MOSAIC then set the keyword raster:<br />

CIA> sad_display, struct2sad(raster_pds, /raster)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!