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.

276 CHAPTER 21. USING SLICE WITHIN CIA<br />

21.4 Processing in SLICE<br />

21.4.1 The SLICE syntax<br />

Here again, SLICE differs from CIA. In SLICE, you do not manipulate directly the routines<br />

that perform the actions, rather you describe with a set of structures the actions you want to<br />

perform and then tell SLICE to do them. This philosophy is based on the necessity to perform<br />

the data reduction steps in the correct order (and since there are many iterative processes<br />

involved, this is very important) and on the desire to be able to “pipeline” the data processing<br />

easily.<br />

To describe the action (i.e. data reduction steps) you will perform, you have access to two<br />

structures: the red param structure contains the parameters of the data reduction routines that<br />

will be involved in the processing, and the act structure will contain the actions to be perform<br />

(basically the act structure is a structure of boolean keywords, one for each data processing<br />

step).<br />

Once again, it is not our intention here to supersede SLICE’s manual. We highly recommend<br />

that before you use SLICE, you read its user’s manual as well as M. A. Miville-Deschênes’ paper<br />

to familiarize yourself with the concepts involved.<br />

In this section we will only show an example of how to perform a perturbed flat-field correction<br />

on your raster data to illustrate the main feature of SLICE’s syntax (sec. 21.5 provides a<br />

more detailed example). The principle of this flat-field derivation is that to first order, the flatfield<br />

is assumed to be constant over the whole raster and that temporal variations are treated as<br />

small perturbations to this flat-field. It is also assumed that for a given readout, departures from<br />

this single flat-field are dominated by high frequencies. To get them, a smoothed version of the<br />

datacube is made which is subtracted to the original data. One then derives the perturbation<br />

of the flat-field from a sliding mean on the modified cube.<br />

The parameters for this flat-fielding method are:<br />

flat smooth window<br />

nplanes<br />

flat thresh<br />

The window size used to smooth each readout<br />

the number of readouts used in the sliding mean<br />

the percentage of data discarded from the flat field<br />

computation, both in the top and bottom part of the<br />

distribution<br />

flat smooth window is generally a small number as it is applied to 32×32 images and the<br />

window size is actually 2×flat smooth window+1, nplanes need not be larger than the number<br />

of exposure per raster point as most of the signal has been removed, finally flat thresh larger<br />

than 50% makes no sense.<br />

Before starting the operation, one last information must be known, the TDT of your observation.<br />

Although this is in principle not necessary when using SLICE in CIA, modifying this<br />

would mean modifying SLICE, which we do not want to do. This information is quite easy to<br />

get as it resides in your raster structure, in the field data.tdtosn. Note however that it is an<br />

integer in the raster structure and that SLICE requires a string. Note also that for revolutions<br />

smaller than 100, you should add the leading 0 to that string or SLICE will not find your data.<br />

In our example, observation 45 taken on revolution 83, we would for instance have:<br />

CIA> print,data.tdtosn<br />

8301045<br />

CIA> tdt = ‘08301045’

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

Saved successfully!

Ooh no, something went wrong!