24.01.2013 Views

Image Analysis with CASA - ESO

Image Analysis with CASA - ESO

Image Analysis with CASA - ESO

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.

Mathematical operations on images<br />

immath – perform mathematical operations on or between images<br />

Examples:<br />

Divide an image by another, <strong>with</strong> a threshold on one image:<br />

<strong>CASA</strong>>immath( imagename = ['img1.image','img2.image']<br />

exp = 'IM0/IM1[IM1>0.007]',<br />

outfile = 'div.image')<br />

Select a single plane of a cube and subtract and subtract it from all planes:<br />

<strong>CASA</strong>>immath( imagename = 'cube.image',<br />

exp = 'IM0',<br />

chans = '77',<br />

outfile = 'chan77.image')<br />

<strong>CASA</strong>>immath( imagename = ['cube.image','chan77.image']<br />

exp = 'IM0­IM1',<br />

outfile = 'cube­minus­chan77.image')<br />

15

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

Saved successfully!

Ooh no, something went wrong!