casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
solar_system_setjy Namespace Reference

Functions

def solar_system_fd
def brightness_Mars_int
def brightness_planet_int
def nearest_index
def interpolate_list
def integrate_Tb

Function Documentation

def solar_system_setjy.brightness_Mars_int (   MJDs,
  frequencies 
)
Planck brightness for Mars.  this one is different because
the model is tabulated vs. frequency *and* time.
inputs:
    MJDs = list of MJD times
    frequencies = list of [start, stop] frequencies for
                which to calculate the integrated model.
                example: [ [ 224.234567e9, 224.236567e9 ] ]

Definition at line 358 of file solar_system_setjy.py.

def solar_system_setjy.brightness_planet_int (   source_name,
  frequency 
)
brightness temperature for supported planets.  integrates over
a tabulated model.  inputs:
    source_name = source name string
    frequency = list of [start, stop] frequencies for
                which to calculate the integrated model.
                example: [ 224.234567e9, 224.236567e9 ]

Definition at line 465 of file solar_system_setjy.py.

def solar_system_setjy.integrate_Tb (   freqs,
  Tbs,
  frequency 
)

Definition at line 593 of file solar_system_setjy.py.

def solar_system_setjy.interpolate_list (   freqs,
  Tbs,
  frequency 
)

Definition at line 536 of file solar_system_setjy.py.

References listvis_regression.array, and irc_cs_task_regression.max.

def solar_system_setjy.nearest_index (   input_list,
  value 
)
find the index of the list input_list that is closest to value

Definition at line 523 of file solar_system_setjy.py.

References irc_cs_task_regression.max.

def solar_system_setjy.solar_system_fd (   source_name,
  MJDs,
  frequencies,
  observatory,
  casalog = None 
)
find flux density for solar system bodies:
    Venus - Butler et al. 2001
    Mars - Butler et al. 2012
    Jupiter - Orton et al. 2012
    Uranus - Orton & Hofstadter 2012 (modified ESA4)
    Neptune - Orton & Hofstadter 2012 (modified ESA3)
    Io - Butler et al. 2012
    Europa - Butler et al. 2012
    Ganymede - Butler et al. 2012
    Titan - Gurwell et al. 2012
    Callisto - Butler et al. 2012
    Ceres - Keihm et al. 2012
    Juno - ?
    Pallas - Keihm et al. 2012
    Vesta - Keihm et al. 2012
    Hygeia - Keihm et al. 2012

inputs:
    source_name = source name string.  example: "Venus"
    MJDs = list of MJD times (day + fraction).  example:
           [ 56018.232, 56018.273 ]
           must be sorted in ascending order.
    frequencies = list of [start, stop] frequencies for
                  which to calculate the integrated model.
                  example:
                  [ [ 224.234567e9, 224.236567e9 ],
                    [ 224.236567e9, 224.238567e9 ] ]
    observatory = observatory name string.  example: "ALMA"

returned is a list, first element is the return status:
    0 -> success
    1 -> Error: unsupported body
    2 -> Error: unsupported frequency or time for body
    3 -> Error: Tb model file not found
    4 -> Error: ephemeris table not found, or time out of range
         (note - the case where the MJD times span two ephemeris
          files is not supported)
    5 -> Error: unknown observatory
second element is a list of flux densities, one per time and
    frequency range, frequency changes fastest.
third element is list of uncertainties (if known; 0 if unknown),
    one per time and frequency range, frequency changes fastest.
fourth element is a list of major axis, minor axis, and PAs in
    asec and deg, one per MJD time.
fifth element is a list of CASA directions, one per MJD time.

bjb
nrao
spring/summer/fall 2012

Definition at line 38 of file solar_system_setjy.py.