Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Type aliases

Functions

Type aliases

PywwtMessage

PywwtSpreadSheetLayerSetting

PywwtSpreadSheetLayerSetting: ["altColumn", string | number] | ["altType", string] | ["altUnit", string] | ["astronomical", boolean] | ["barChartBitmask", number] | ["beginRange", Date] | ["cartesianCustomScale", number] | ["cartesianScale", string] | ["color", string] | ["colorMapColumn", string | number] | ["colorMapperName", string] | ["coordinatesType", string] | ["decay", number] | ["dynamicColor", boolean] | ["dynamicData", boolean] | ["enabled", boolean] | ["endDateColumn", string | number] | ["endRange", Date] | ["fadeSpan", number] | ["geometryColumn", string | number] | ["hyperlinkColumn", string | number] | ["hyperlinkFormat", string] | ["latColumn", string | number] | ["lngColumn", string | number] | ["markerColumn", string | number] | ["markerIndex", number] | ["markerScale", string] | ["name", string] | ["nameColumn", string | number] | ["normalizeColorMap", boolean] | ["normalizeColorMapMax", number] | ["normalizeColorMapMin", number] | ["normalizeSize", boolean] | ["normalizeSizeClip", boolean] | ["normalizeSizeMax", number] | ["normalizeSizeMin", number] | ["opacity", number] | ["opened", boolean] | ["plotType", string] | ["pointScaleType", number] | ["raUnits", string] | ["referenceFrame", string] | ["scaleFactor", number] | ["showFarSide", boolean] | ["sizeColumn", string | number] | ["startDateColumn", string | number] | ["timeSeries", boolean] | ["version", number] | ["xAxisColumn", string | number] | ["xAxisReverse", boolean] | ["yAxisColumn", string | number] | ["yAxisReverse", boolean] | ["zAxisColumn", string | number] | ["zAxisReverse", boolean]

Spreadsheet/table layer setting values as serialized in pywwt. Enumerations are given stringy values, columns are mapped from indices to names, etc.

Functions

applyBaseUrlIfApplicable

  • applyBaseUrlIfApplicable(o: any, baseurl: string): void
  • If the input object is a classic pywwt message, rewrite any relative URLs that it contains.

    The motivation for this function is to allow data exchange from a Jupyter(Lab) server to the WWT research app. It is possible to publish data by hooking into the Jupyter server, but that layer of code doesn't always know the URL at which it is exposed to the world. So, such layers need to supply relative URLs in their messages, and then the JavaScript layer needs to modify those messages to turn them into absolute URLs. That's what this function enables. The input is modified in-place.

    Parameters

    • o: any
    • baseurl: string

    Returns void

isAddLinePointMessage

isAddPolygonPointMessage

isCenterOnCoordinatesMessage

isClearAnnotationsMessage

isCreateAnnotationMessage

isCreateFitsLayerMessage

isCreateImageSetLayerMessage

isCreateTableLayerMessage

isLoadImageCollectionCompletedMessage

isLoadImageCollectionMessage

isLoadTourMessage

isModifyAnnotationMessage

isModifyFitsLayerMessage

isModifySettingMessage

isModifyTableLayerMessage

isPauseTimeMessage

isPauseTourMessage

isPywwtSpreadSheetLayerSetting

isRemoveAnnotationMessage

isRemoveImageSetLayerMessage

isRemoveTableLayerMessage

isResumeTimeMessage

isResumeTourMessage

isSetBackgroundByNameMessage

isSetCircleCenterMessage

isSetDatetimeMessage

isSetFitsLayerColormapMessage

isSetForegroundByNameMessage

isSetForegroundOpacityMessage

isSetLayerOrderMessage

isSetViewerModeMessage

isStretchFitsLayerMessage

isTrackObjectMessage

isUpdateTableLayerMessage

Generated using TypeDoc