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


next up previous contents index
Next: types.addmeta - Function Up: types - Tool Previous: types.untyped - Function


types.meta - Function



Package utility
Module tasking
Tool types


Return meta information for a type of tool


Synopsis
meta(class, ctors, addhelp)


Description
The type information read from the meta-information file is returned in a record.



Arguments

class   Class or type of tool
    Allowed: String
ctors   Show constructors
    Allowed: Boolean
    Default: F
addhelp   Add the help information?
    Allowed: Boolean
    Default: T


Example
- types.meta('imager', T, F)
[imager=[data=[toolname=[type=string, default=myimager,
parameters=[ptype=string, allowunset=F, default=myimager,
value=myimager, dir=in, dlformat=toolname, listname=toolname],
help=[text=Glish name for the constructed tool]],
filename=[type=table, default=, parameters=[ptype=table,
popt=Measurement Set, allowunset=F, default=, value=, dir=in,
dlformat=filename, listname=filename]]], gui=autogui, cli=autocli,
group=basic, title=Construct an imager tool],
imagertester=[data=[toolname=[type=string, default=myimager,
parameters=[ptype=string, allowunset=F, default=myimager,
value=myimager, dir=in, dlformat=toolname, listname=toolname],
help=[text=Glish name for the constructed tool]],
filename=[type=table, default=3C273XC1.ms, parameters=[ptype=table,
popt=Measurement Set, allowunset=F, default=3C273XC1.ms,
value=3C273XC1.ms, dir=in, dlformat=filename, listname=filename],
help=[text=Name of MS to create]], size=[type=integer, default=256,
parameters=[ptype=scalar, allowunset=F, default=256, value=256,
dir=in, dlformat=size, listname=size], help=[text=Number of pixels on
a side]], cell=[type=string, default=0.7arcsec,
parameters=[ptype=quantity, popt=[i_am_unset=i_am_unset],
allowunset=F, default=0.7arcsec, value=0.7arcsec, dir=in,
dlformat=cell, listname=cell]], stokes=[type=string, default=IV,
parameters=[ptype=choice, popt=I IV IQUV, allowunset=F, default=IV,
value=IV, dir=in, dlformat=stokes, listname=stokes], help=[text=Stokes
parameters to image (e.g. ' IQUV' )]], coordinates=[type=string,
default=b1950, parameters=[ptype=choice, popt=b1950 gal, allowunset=F,
default=b1950, value=b1950, dir=in, dlformat=coordinates,
listname=coordinates], help=[text=Coordinate system to use e.g. '
j2000,' gal' ]]], gui=autogui, cli=autocli, group=basic,
title=Construct an imager tool for testing]]  
- field_names(types.meta('imager', F, F).advise)
data gui cli group title



Returns
Record




next up previous contents index
Next: types.addmeta - Function Up: types - Tool Previous: types.untyped - 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-10-15