02.12.2012 Views

class Continuum and Line Analysis Single-dish Software - IRAM

class Continuum and Line Analysis Single-dish Software - IRAM

class Continuum and Line Analysis Single-dish Software - IRAM

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.

2.6. SUBTRACTING BASELINE ON LARGE DATASETS 9<br />

3 dev im w<br />

4 greg1\set plot portrait<br />

5 set format brief<br />

6 set angle sec<br />

7 file in co21.30m<br />

8 find /range -6 6 -6 6<br />

9 load<br />

10 plot /index<br />

11 set window /polygon 1<br />

12 base 1 /index<br />

13 plot /index<br />

14 sic rename window-1.pol my-window-1.pol<br />

15 sic delete co21-base.30m<br />

16 file out co21-base.30m new<br />

17 for i 1 to found<br />

18 get n<br />

19 base 1<br />

20 write<br />

21 next<br />

22 file in co21.bas<br />

23 find<br />

24 load<br />

25 plot /index<br />

1. Makes <strong>class</strong> quiet.<br />

2. Turn off nearly all output messages.<br />

3. Open an image window (necessary to plot 2D images).<br />

4. Change the orientation to portrait.<br />

5. Title in short format.<br />

6. Set arcsecond units.<br />

7. Open the file.<br />

8. Build an index according to offsets.<br />

9. Build a 2D array.<br />

10. Display the whole index.<br />

11. Define a polygon interactively to set spectral windows. By default the polygon is stored in<br />

a file window-1.pol.<br />

12. Substract a 1st order polynom to all records.<br />

13. Display the result.<br />

14. Change the polygon filename (to avoid overwritting it next time).

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

Saved successfully!

Ooh no, something went wrong!