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.

12.2. AUTOMATIC DATA SLICING 79<br />

The ERD SCDs are both in memory and saved on disk. This is useful if you wish to end<br />

your CIA session – with sscd read you can easily recover the ERD SCDs from disk in a<br />

later session.<br />

Let’s take a look at the contents of memory as follows:<br />

CIA> print, sscd_list()<br />

CSSC143006010001_96082811465989<br />

CIA> print, erd_sscd<br />

CSSC143006010001_96082811465989<br />

As expected the only SSCD in memory is erd sscd. Now take a look at what SCDs are in<br />

memory.<br />

CIA> print, scd_list()<br />

CSCD143006010001_96082811470062 CSCD143006010002_96082811473689<br />

etc...<br />

CIA> print, sscd_elem( erd_sscd )<br />

CSCD143006010001_96082811470062 CSCD143006010002_96082811473689<br />

etc...<br />

Again as expected the only SCDs in memory are those that correspond to erd sscd.<br />

For convenience, assign the names of the SCDs in memory to an IDL variable.<br />

CIA> erd_scds = sscd_elem( erd_sscd )<br />

4. Remember that erd scds is an array of names of ERD SCDs, i.e. SCDs which contain EOI<br />

and RESET frames.<br />

CIA> help, scd_get( ’eoi’, erd_scds[0] )<br />

INT = Array(32, 32)<br />

This means that we must convert them to SPD SCDs using erd2spd. There are two ways<br />

of doing this, the first uses the routine frames to image and the second erd2psd .<br />

(a) Using frames to image is probably the simplest way to convert ERD SCDs to SPD<br />

SCDs. . .<br />

CIA> spd_sscd = frames_to_image( erd_sscd, ack=ack )<br />

Since a new SPD SSCD, spd sscd, is created we can delete the old ERD SSCD and<br />

its SCDs.<br />

CIA> sscd_del, erd_sscd<br />

(b) Find the number of ERD SCDs that we have created:

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

Saved successfully!

Ooh no, something went wrong!