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.

188 CHAPTER 16. DATA STRUCTURE MANIPULATION<br />

16.1.1 structure init<br />

This function is used to initialise a data structure in memory. That is to say, it will create an<br />

empty structure for you to fill with your own data. Due to differences in the nature of the data<br />

structures each flavour of structure INIT are slightly different and so will be treated separately.<br />

16.1.1.1 sscd init<br />

To initialise a new SSCD in memory we can do the following.<br />

CIA> sscd1 = sscd_init( ’143006010101’, ack=ok )<br />

CIA> help, sscd1, ok<br />

SSCD1 STRING = ’CSSC143006010101_96080512201019’<br />

OK INT = 1<br />

The first argument is the combined number that is used to<br />

name the returned SSCD, sscd1 that is created by sscd init (see Section 15.2.1). A keyword<br />

argument not used here is source, which can be used to pass an already existing SSCD to<br />

sscd init so as to copy its parameters to sscd1.<br />

16.1.1.2 scd init<br />

This function initialises an SCD in memory. An example, using all the available options and<br />

following from the example of Section 16.1.1.1, follows.<br />

CIA> scd1 = scd_init( ’143006010101’, 10, ssid=sscd1, /ERD, deid=0, ack=ok )<br />

CIA> help, scd1, ok<br />

SCD1 STRING = ’CSCD143006010101_96080512231512’<br />

OK INT = 1<br />

The first argument is the combined number that is used to<br />

name the returned SCD, scd1 that is created by scd init (see Section 15.2.1). The second<br />

argument specifies the number of planes in scd1. The keyword ssid specifies the name of the<br />

SSCD we have initialised in Section 16.1.1.1, and to which scd1 now belongs. If the keyword<br />

ERD is set scd1 is an SCD of ERD flavour (see Section 15.2.2 otherwise it defaults to an SCD<br />

of SPD flavour). The keyword deid is either 0 : LW detector, or 1 : SW detector, and defaults<br />

to LW detector.<br />

16.1.1.3 ssad init<br />

To initialise a new SSAD in memory we can do the following.<br />

CIA> ssad1 = ssad_init( ’143006010101’, ack=ok )<br />

CIA> help , ssad1<br />

SSAD1 STRING = ’CSSA143006010101_96080512201019’<br />

OK INT = 1<br />

The first argument is the combined number that is used to<br />

name the returned SSAD, ssad1 that is created by ssad init (see Section 15.2.1). A keyword<br />

argument not used here is old ssad, which can be used to pass an already existing SSAD to<br />

ssad init so as to copy its parameters to ssad1.

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

Saved successfully!

Ooh no, something went wrong!