gavo.stc package

Submodules

Module contents

Support for the IVOA Space-Time-Coordinate data model.

We’re dealing with a huge data model here that probably can’t be fully implemented in any sense of the word.

So, we have a stripped down data model in the form of an abstract syntax tree here (defined in the dm submodule). This can be built directly or from various input formats (XXXast submodules). From the AST, you can also build various output formats (XXXgen submodules).

All other operations should be performed on the AST.

Note that this is slow as a dog. I doubt we’ll ever see performant STC implementations. This is really intended for one-shot transformations, e.g. into functions or a query language. Don’t do any transformations in serious loops.

gavo.stc.getSTCX(ast, rootElement)[source]