Info

class astropy.io.votable.tree.Info(ID=None, name=None, value=None, id=None, xtype=None, ref=None, unit=None, ucd=None, utype=None, config={}, pos=None, **extra) [edit on github][source]

Bases: astropy.io.votable.tree.SimpleElementWithContent, astropy.io.votable.tree._IDProperty, astropy.io.votable.tree._XtypeProperty, astropy.io.votable.tree._UtypeProperty

INFO elements: arbitrary key-value pairs for extensions to the standard.

The keyword arguments correspond to setting members of the same name, documented below.

Attributes Summary

name [required] The key of the key-value pair.
value [required] The value of the key-value pair. (Always stored
content The content inside the INFO element.
ref Refer to another INFO element by ID, defined previously in the document.
unit A string specifying the units for the INFO.

Methods Summary

to_xml(w, **kwargs)

Attributes Documentation

name[source]

[required] The key of the key-value pair.

value[source]

[required] The value of the key-value pair. (Always stored as a string or unicode string).

content[source]

The content inside the INFO element.

ref[source]

Refer to another INFO element by ID, defined previously in the document.

unit[source]

A string specifying the units for the INFO.

Methods Documentation

to_xml(w, **kwargs) [edit on github][source]

Page Contents