Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | image |
value | in | Flux density to convert | |
Allowed: | Quantity | ||
major | in | Major axis of component | |
Allowed: | Quantity | ||
minor | in | Minor axis of component | |
Allowed: | Quantity | ||
type | in | Type of component | |
Allowed: | String from Gaussian, Disk | ||
Default: | Gaussian | ||
topeak | in | Convert to peak or integral flux desnity | |
Allowed: | Bool | ||
Default: | T |
This function interconverts between peak and integral flux density for a Gaussian or Disk component. The image must hold a restoring beam.
- im := image('in.im'); - p1 := dq.quantity('1mJy/beam') - i1 := im.convertflux(p1, major='30arcsec', minor='10arcsec', topeak=F); - p2 := im.convertflux(i1, major='30arcsec', minor='10arcsec', topeak=T) - print 'peak, integral, peak = ', p1, i1, p2 peak, integral, peak = [value=1, unit=mJy/beam] [value=0.000163961301, unit=Jy] [value=0.001, unit=Jy/beam]