Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/TCC/html/namespacetcc_1_1msg_1_1format_obj_fields.html
Дата изменения: Tue Sep 15 02:25:41 2015
Дата индексирования: Sun Apr 10 05:15:52 2016
Кодировка:

Поисковые слова: southern cross
lsst.tcc: tcc.msg.formatObjFields Namespace Reference
lsst.tcc  1.2.2-3-g89ecb63
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Functions | Variables
tcc.msg.formatObjFields Namespace Reference

Classes

class  MoveItemKW
 

Functions

def formatChebyCoeff
 Format cheby coeffs. More...
 
def formatCoordSys
 Format a coordinate system. More...
 
def formatMag
 Format a magnitude. More...
 
def formatPVT
 Format a single PVT. More...
 
def formatPVTList
 Format a sequence of PVTs. More...
 
def formatPVTCoord
 Format a PVTCoord. More...
 
def formatPxPMRadVel
 Format a pxPMRadVel. More...
 
def formatRotType
 Format rot type as a name; return "?" for unknown values. More...
 
def formatWrapPref
 Format wrap preference as a name; return "?" for unknown values. More...
 
def formatUseCheby
 Format boolean use cheby, either T or F. More...
 
def makeObjBlockWriter
 

Variables

list __all__
 
dictionary CoordSysNameKeyDict
 
dictionary RotTypeEnumKeyDict
 
tuple computedFields = set(["ObjZPMPos", "ObjNetPos", "ObjInstAng", "SpiderInstAng"])
 
tuple objFieldKWDict
 
tuple moveItemKW = MoveItemKW()
 
tuple writerFromObjBlock = makeObjBlockWriter()
 

Function Documentation

def tcc.msg.formatObjFields.formatChebyCoeff (   chebyCoeff)

Format cheby coeffs.

Parameters
[in]chebyCoeffa list of floats

Definition at line 36 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatCoordSys (   coordSys)

Format a coordinate system.

Parameters
[in]coordSysa coordConv.CoordSys

Definition at line 43 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatMag (   mag)

Format a magnitude.

Definition at line 64 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatPVT (   pvt)

Format a single PVT.

The format is:

pos, vel, time

where all values are shown in decimal format (rather than exponential notation):

  • pos and vel are shown to 7 digits after the decimal point (0.0003 arcsec resolution)
  • time is shown to 6 digits (a bit more than needed at sidereal tracking rates, but time is often known to the nearest microsecond)

Example: "25.123456, -3.7654321, 2314.123456"

Parameters
[in]pvta coordConv.PVT

Definition at line 69 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatPVTCoord (   pvtCoord)

Format a PVTCoord.

Parameters
[in]pvtCoorda coordConv.PVTCoord

Definition at line 98 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatPVTList (   pvtList)

Format a sequence of PVTs.

The format is: PVT(pos, vel, time) where all values are shown in decimal format (rather than exponential notation):

  • pos and vel are shown to 7 digits after the decimal point (0.0003 arcsec resolution)
  • time is shown to 6 digits (because time is commonly given to the nearest microsecond)
Parameters
[in]pvtListsequence of coordConv.PVT

Definition at line 85 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatPxPMRadVel (   pxPMRadVel)

Format a pxPMRadVel.

Parameters
[in]pxPMRadVela tcc.base.PxPMRadVel

Definition at line 107 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatRotType (   rotType)

Format rot type as a name; return "?" for unknown values.

Parameters
[in]rotTypea rotation type (a tcc.base.RotTypeEnum)

Definition at line 115 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatUseCheby (   useCheby)

Format boolean use cheby, either T or F.

Parameters
[in]useChebyobj (field on obj block)

Definition at line 129 of file formatObjFields.py.

def tcc.msg.formatObjFields.formatWrapPref (   wrapType)

Format wrap preference as a name; return "?" for unknown values.

Parameters
[in]wrapTypea wrap preference type (a tcc.base.WrapTypeEnum)

Definition at line 122 of file formatObjFields.py.

def tcc.msg.formatObjFields.makeObjBlockWriter ( )

Definition at line 213 of file formatObjFields.py.

Variable Documentation

list tcc.msg.formatObjFields.__all__
Initial value:
1 = ["CoordSysNameKeyDict", "RotTypeEnumKeyDict",
2  "formatCoordSys", "formatMag", "formatPVT", "formatPVTList", "formatPVTCoord",
3  "formatPxPMRadVel", "formatRotType", "formatWrapPref", "formatChebyCoeff", "formatUseCheby",
4  "moveItemKW", "writerFromObjBlock", "computedFields", "objFieldKWDict"]

Definition at line 10 of file formatObjFields.py.

tuple tcc.msg.formatObjFields.computedFields = set(["ObjZPMPos", "ObjNetPos", "ObjInstAng", "SpiderInstAng"])

Definition at line 139 of file formatObjFields.py.

dictionary tcc.msg.formatObjFields.CoordSysNameKeyDict
Initial value:
1 = {
2  "icrs": "ICRS",
3  "fk5": "FK5",
4  "fk4": "FK4",
5  "gal": "Gal",
6  "appgeo": "Geo",
7  "apptopo": "Topo",
8  "obs": "Obs",
9  "mount": "Mount",
10  "none": "None",
11 }

Definition at line 16 of file formatObjFields.py.

tuple tcc.msg.formatObjFields.moveItemKW = MoveItemKW()

Definition at line 247 of file formatObjFields.py.

tuple tcc.msg.formatObjFields.objFieldKWDict
Initial value:
1 = collections.OrderedDict((
2  ("ObjName",FieldKW("ObjName", "name", quoteStr)),
3  ("ObjSys", FieldKW("ObjSys", "userSys", formatCoordSys)),
4  ("ObjPos", FieldKW("ObjPos", "userPos", formatPVTList)),
5  ("ObjPM", FieldKW("ObjPM", "userPxPMRadVel", formatPxPMRadVel)),
6  ("ObjMag", FieldKW("ObjMag", "mag", formatMag)),
7  ("RotType", FieldKW("RotType", "rotType", formatRotType)),
8  ("RotPos", FieldKW("RotPos", "rotUser", formatPVT)),
9  ("ObjArcOff", FieldKW("ObjArcOff", "userArcOff", formatPVTList)),
10  ("Boresight", FieldKW("Boresight", "objInstXY", formatPVTList)),
11  ("GuideOff", FieldKW("GuideOff", "guideOff", formatPVTList)),
12  ("CalibOff", FieldKW("CalibOff", "calibOff", formatPVTList)),
13  ("AzWrapPref", FieldKW("AzWrapPref", "azWrapPref", formatWrapPref)),
14  ("RotWrapPref", FieldKW("RotWrapPref", "rotWrapPref", formatWrapPref)),
15  ("UseCheby", FieldKW("UseCheby", "useCheby", formatUseCheby)),
16  ("ChebyCoeffsUser1", FieldKW("ChebyCoeffsUser1", "chebyUser1", formatChebyCoeff)),
17  ("ChebyCoeffsUser2", FieldKW("ChebyCoeffsUser2", "chebyUser2", formatChebyCoeff)),
18  ("ChebyCoeffsDist", FieldKW("ChebyCoeffsDist", "chebyDist", formatChebyCoeff)),
19  ### keywords below are strictly computed fields
20  ("ObjZPMPos", FieldKW("ObjZPMPos", "zpmUserPos", formatPVTCoord)),
21  ("ObjNetPos", FieldKW("ObjNetPos", "netUserPos", formatPVTCoord)),
22  ("ObjInstAng", FieldKW("ObjInstAng", "objUserInstAng", formatPVT)),
23  ("SpiderInstAng", FieldKW("SpiderInstAng", "spiderInstAng", formatPVT)),
24 
25 ))

Definition at line 141 of file formatObjFields.py.

dictionary tcc.msg.formatObjFields.RotTypeEnumKeyDict
Initial value:
1 = {
2  tcc.base.RotType_None: "None",
3  tcc.base.RotType_Object: "Obj",
4  tcc.base.RotType_Horizon: "Horiz",
5  tcc.base.RotType_Mount: "Mount",
6 }

Definition at line 29 of file formatObjFields.py.

tuple tcc.msg.formatObjFields.writerFromObjBlock = makeObjBlockWriter()

Definition at line 248 of file formatObjFields.py.