Home | Trees | Indices | Help |
|
---|
|
Generating VOTables from internal data representations.
This is glue code to the more generic GAVO votable library. In particular, it governs the application of base.SerManagers and their column descriptions (which are what is passed around as colDescs in this module to come up with VOTable FIELDs and the corresponding values.
You should access this module through formats.votable.
Classes | |
Error | |
VOTableContext A context object for writing VOTables. |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
tableEncoders =
|
|
STC_FRAMES_TO_COOSYS =
|
|
COLUMN_REF_UTYPES =
|
|
__package__ =
|
Function Details |
adds attributes and children to element from colDesc. element can be a V.FIELD or a V.PARAM *instance* and is changed in place. This function returns None to remind people we're changing in place here. |
returns a VOTable colType for a rscdef column-type thing. This function lets you make PARAM and FIELD elements (colType) from column or param instances. |
returns a votable.V.VOTABLE object representing data. data can be an rsc.Data or an rsc.Table. data can be a data or a table instance, tablecoding any key in votable.tableEncoders. You may pass a VOTableContext object; if you don't a context with all defaults will be used. A deprecated alternative is to directly pass VOTableContext constructor arguments as additional keyword arguments. Don't do this, though, we'll probably remove the option to do so at some point. You will usually pass the result to votable.write. The object returned contains DelayedTables, i.e., most of the content will only be realized at render time. |
writes ``data`` to the ``outputFile``. data can be a table or ``Data`` item. ``ctx`` can be a ``VOTableContext`` instance; alternatively, ``VOTableContext`` constructor arguments can be passed in as ``kwargs``. |
returns a string containing a VOTable representation of data. ``kwargs`` can be constructor arguments for VOTableContext. |
Variables Details |
tableEncoders
|
STC_FRAMES_TO_COOSYS
|
COLUMN_REF_UTYPES
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |