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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

240 CHAPTER 20. ADVANCED DATA CALIBRATION<br />

3. It is important to mark the boundary of the image beyond which the pixel values are<br />

invalid due to the shift. Given the (x, y) positions determined previously, flag edges will<br />

generate a mask with 1 where pixels are valid and 0 elsewhere:<br />

CIA> raster_pds.npix = $<br />

CIA> flag_edges(x1, y1, x2, y2, raster_pds.nscd)*raster_pds.npix<br />

When the raster MOSAIC is created the invalid pixels will not be included.<br />

4. Now correct the library flat with register flat. This routine will shift the optical flat and<br />

multiply it by the detector flat.<br />

CIA><br />

my_flat = register_flat(x1, y1, raster_pds)<br />

5. Supply the corrected flat to corr flat:<br />

CIA> corr_flat, raster_pds, inflat=my_flat<br />

That completes the flat-field correction.<br />

20.2.7 Small mirror and unilluminated pixels<br />

To avoid straylight, for the 3 ′′ PFOV normally the small Fabry-mirror was used. However,<br />

this results into an incomplete illumination of the detector. For raster observations, standard<br />

treatment leads to an uneven .MOSAIC, as illuminated and unilluminated pixels are averaged<br />

(left picture in Figure 20.1). In order to produce a publishable .MOSAIC (right picture in<br />

Figure 20.1), the unilluminated pixels should be masked out before the .MOSAIC is generated,<br />

as shown in the example script below.<br />

CIA> x3d, raster_pds.image<br />

CIA><br />

Cube(4,28,4) = 14.8355<br />

CIA><br />

Cube(31,0,4) = 13.7431<br />

CIA> stat, raster_pds.image(4:31,0:28,*)<br />

-------------------------------------------<br />

Image dimensions: 28 29<br />

Number of frames: 9<br />

Total number of pixels: 7308<br />

-------------------------------------------<br />

Minimum Maximum Mean Median RMS<br />

11.7170 15.5912 14.0292 14.0416 0.248977<br />

CIA> x = where(raster_pds.image lt 14.0292 - 6*0.248977)<br />

CIA> raster_pds.npix[x] = 0<br />

CIA> raster_scan, raster_pds

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

Saved successfully!

Ooh no, something went wrong!