astro.services.vo package

Submodules

astro.services.vo.AwVO module

astro.services.vo.HtmlVOConeSearch module

astro.services.vo.HtmlVOConeSearchPlastic module

astro.services.vo.HtmlVODataSearch module

astro.services.vo.HtmlVODefault module

astro.services.vo.HtmlVORegistry module

astro.services.vo.HtmlVOSIAP module

astro.services.vo.Poly module

class astro.services.vo.Poly.Edge(P1, P2)

Bases: object

len()
class astro.services.vo.Poly.Point(x, y)

Bases: object

exception astro.services.vo.Poly.PolyError

Bases: Exception

class astro.services.vo.Poly.Polygon(P)

Bases: object

addPoint(P)
checkInside(P)
getPoint(num)
class astro.services.vo.Poly.Vector(P1, P2)

Bases: object

len()
astro.services.vo.Poly.angleVector(V1, V2)

astro.services.vo.VORes module

class astro.services.vo.VORes.RegDB(fileVO='Registry/VOmain', fileVOContact='Registry/VOContact', fileVORelationship='Registry/VORelationship', fileVOContentType='Registry/VOContentType', fileVOContentLevel='Registry/VOContentLevel', fileVOInterface='Registry/VOInterface', fileVOInterfaceParam='Registry/VOInterfaceParam', fileVOInterfaceResult='Registry/VOInterfaceResult', fileVOSubject='Registry/VOSubject', fileVOSpectralCoverage='Registry/VOSpectralCoverage', fileVOSIA='Registry/VOSIA')

Bases: object

DBclose()
DBopen()
DBopennew(o_type)
newwriteVO(VORes)
readVO(VOarr)
static read_file(rec_arr, inp_rdr)
updateVO(inp_arr)
writeVO(VORes)
class astro.services.vo.VORes.VORes(res_type)

Bases: object

printVO()
setContact(contactName, contactEmail, contactPhone=None, contactAddress=None)
setContentLevel(inp_val)
setContentType(inp_val)
setDescription(descr)
setInterface(inp_iID, inp_qtype, inp_itype, inp_URLtype, inp_URL)
setInterfaceParam(inp_iID, inp_param)
setInterfaceResult(inp_iID, inp_param)
setPublisher(inp_publisher, inp_publisherID)
setRelationship(rtype, relatedID, relatedName)
setSIAAttr(inp_siatype)
setSource(inp_s)
setSpectralCoverage(inp_s)
setStatus(cr_Time, up_Time, status)
setSubject(inp_s)
setTitle(inp_title, inp_shortName, inp_ID)
setreferenceURL(inp_URL)
update_record(inp_record)
exception astro.services.vo.VORes.VOResError

Bases: Exception

class astro.services.vo.VORes.VOResXML(inp, out_str='', encoding='UTF-8', vi_loc='http://www.ivoa.net/xml/RegistryInterface/v1.0', vr_loc='http://www.ivoa.net/xml/VOResource/v1.0', vs_loc='http://www.ivoa.net/xml/VODataService/v1.0', sia_loc='http://www.ivoa.net/xml/SIA/v1.0', xsi_loc='http://www.w3.org/2001/XMLSchema-instance', schema_loc='http://www.ivoa.net/xml/VOResource/v1.0')

Bases: astro.services.vo.VORes.VORes, astro.services.vo.VORes.myXMLGenerator

VOResXMLOut()
class astro.services.vo.VORes.myXMLGenerator(out_str, encoding='UTF-8')

Bases: xml.sax.handler.ContentHandler

characters(content)
endElement(name)
endElementNS(name, qname)
endPrefixMapping(prefix)
ignorableWhitespace(content)
processingInstruction(target, data)
startDocument()
startElement(name, attrs)
startElementNS(name, qname, attrs)
startPrefixMapping(prefix, uri)
astro.services.vo.VORes.ret_VOID(VO_inparr, VO_retarr, VOID)
astro.services.vo.VORes.ret_VOProject(VO_inparr, VO_retarr, VO_awproject)
astro.services.vo.VORes.ret_VOResType(VO_inparr, VO_retarr, VO_restype)
astro.services.vo.VORes.ret_VOReskey(VO_inparr, VO_retarr, VO_key)

astro.services.vo.VOTable module

astro.services.vo.voHtmlTemplate module

Module contents