Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: bimacalibrater.setsolve - Function Up: bimacalibrater - Tool Previous: bimacalibrater.setjy - Function


bimacalibrater.setdata - Function



Package bima
Module bimacalibrater
Tool bimacalibrater


Set the data parameters selection for subsequent processing


Synopsis
setdata(sources, mode, nchan, start, step, mstart, mstep, uvrange, sourcenames, msselect)


Description
This function is a wrapper around the calibrater tool's sedata function. The difference being that multiple sources can be specified, although the specified data selection will be the same for all of them. The sources parameter takes a list of source nicknames and/or a list of roles (acceptable roles are 'all','targets','phcals','pbcals','fcals'; see getsourcenames for details). The sourcenames parameter allows selection of sources in multisource datasets. These names are read from the SOURCE subtable of the Measurement Set and the appropriate FIELD_ID selection is appended to the msselect string.



Arguments

sources   Nicknames of sources on which to run calibrater.setdata()
    Allowed: Vector of strings (nicknames or roles of sources)
    Default: 'phcals'
mode   Type of processing: channel or velocity
    Allowed: 'channel'|'velocity'
nchan   Number of channels to select
    Allowed: Int
    Default: 1
start   Start channel (1-relative)
    Allowed: Int
step   Step in channel number
    Allowed: Int
mstart   Start velocity (e.g. '20Km/s')
    Allowed: Quantity
mstep   Step in velocity (e.g. '100m/s'
    Allowed: Quantity
uvrange   UV range (in klambda) (e.g. [0, 50])
    Allowed: Vector of Doubles
    Default: 0 (all data)
sourcenames   List of sources to select (only useful for multisource datasets; see above
    Allowed: Vector of strings
    Default: ' '
msselect   TAQL selection string
    Allowed: String


Returns
T or fail


Example
- bc := bimacalibrater(['sgrb2.ms','sgra.ms'],
+ '1733-130.ms',targetnames=['sgrb','sgra'],phcalnames='1733'); 
- bc.setjy(fluxdensity=[5,0,0,0]);
T
- bc.setdata('1733',mode='channel',uvrange=[10,50]);
T





next up previous contents index
Next: bimacalibrater.setsolve - Function Up: bimacalibrater - Tool Previous: bimacalibrater.setjy - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01