aces.holography.cmpmod

File cmpmod.py

Defines the class ComponentModel that reads, writes and generates model visibilities for difmap component models.

10 March 2016

Module Contents

Classes

MComponent

ComponentModel

Attributes

__author__

C

DEG2RAD

RAD2DEG

MAS2RAD

RAD2MAS

M_DELT

M_GAUS

M_DISK

M_ELLI

M_RING

M_RECT

M_SZ

M_FLUX

M_CENT

M_MAJOR

M_RATIO

M_PHI

M_SPCIND

aces.holography.cmpmod.__author__ = 'Emil Lenc <emil.lenc@csiro.au>'[source]
aces.holography.cmpmod.C = 299792458[source]
aces.holography.cmpmod.DEG2RAD[source]
aces.holography.cmpmod.RAD2DEG[source]
aces.holography.cmpmod.MAS2RAD[source]
aces.holography.cmpmod.RAD2MAS[source]
aces.holography.cmpmod.M_DELT = 0[source]
aces.holography.cmpmod.M_GAUS = 1[source]
aces.holography.cmpmod.M_DISK = 2[source]
aces.holography.cmpmod.M_ELLI = 3[source]
aces.holography.cmpmod.M_RING = 4[source]
aces.holography.cmpmod.M_RECT = 5[source]
aces.holography.cmpmod.M_SZ = 6[source]
aces.holography.cmpmod.M_FLUX = 1[source]
aces.holography.cmpmod.M_CENT = 2[source]
aces.holography.cmpmod.M_MAJOR = 4[source]
aces.holography.cmpmod.M_RATIO = 8[source]
aces.holography.cmpmod.M_PHI = 16[source]
aces.holography.cmpmod.M_SPCIND = 32[source]
class aces.holography.cmpmod.MComponent(mtype, flux, x, y, major, ratio, phi, freq0, spcind, vpar)[source]

Bases: object

class aces.holography.cmpmod.ComponentModel[source]
add(component)[source]
read(file)[source]
dump()[source]
write(file)[source]
getmodvis(uvw, freq)[source]
dump_ccal(freq)[source]
write_ccal(freq, file)[source]