Members
-
<constant> ActionScope
enum can be 'GROUP', 'SINGLE', 'LIST'
. -
enum can be 'GROUP', 'SINGLE', 'LIST'
- Source:
-
<constant> Band
A Band in an image plot must be enum 'RED', 'GREEN', 'BLUE', 'NO_BAND'
. -
A Band in an image plot must be enum 'RED', 'GREEN', 'BLUE', 'NO_BAND'
- Source:
-
<constant> parsePt
Parse a point
-
- Source:
-
<constant> RequestType
web plot request type
-
can be 'SERVICE', 'FILE', 'URL', 'ALL_SKY', 'HiPS', 'BLANK', 'PROCESSOR', 'RAWDATASET_PROCESSOR', 'TRY_FILE_THEN_URL', 'WORKSPACE'
- Source:
-
<constant> RotateType
The type of rotation can be 'NORTH', 'ANGLE', 'UNROTATE'
. -
The type of rotation can be 'NORTH', 'ANGLE', 'UNROTATE'
- Source:
-
<constant> ServiceType
service type
-
can be 'IRIS', 'ISSA', 'DSS', 'SDSS', 'TWOMASS', 'MSX', 'DSS_OR_IRIS', 'WISE', 'ATLAS','ZTF', 'PTF', 'NONE'
- Source:
-
<constant> TitleOptions
title options
-
can be 'NONE', 'PLOT_DESC', 'FILE_NAME', 'HEADER_KEY', 'PLOT_DESC_PLUS', 'SERVICE_OBS_DATE'
- Source:
-
<constant> UserZoomTypes
can be 'UP','DOWN', 'FIT', 'FILL', 'ONE', 'LEVEL', 'WCS_MATCH_PREV'
. -
can be 'UP','DOWN', 'FIT', 'FILL', 'ONE', 'LEVEL', 'WCS_MATCH_PREV'
- Source:
-
<constant> ZoomType
zoom type
-
can be 'STANDARD', 'LEVEL', 'FULL_SCREEN', 'TO_WIDTH_HEIGHT', 'TO_WIDTH', 'TO_HEIGHT', 'ARCSEC_PER_SCREEN_PIX'
- Source:
Methods
-
getColumnType(tableModel, colName)
Returns the column data type with the given name
. -
Returns the column data type with the given name
Parameters:
Name Type Description tableModelTableModel colNamestring - Source:
Returns:
- Type
- string
-
getDistanceCoords(plot, pt, x, y)
Return a Imge point the represents the passed Image point with a distance in World coordinates added to it.
-
Parameters:
Name Type Description plotWebPlot the plot
ptImagePt the x and y coordinate in image coordinates
xthe x distance away from the point in world coordinates
ythe y distance away from the point in world coordinates
- Source:
Returns:
the new point
- Type
- ImagePt
-
makeDevicePt(x, y)
A point on the physical space of the image display area
-
Parameters:
Name Type Description xnumber | string the x, string is converted to number
ynumber | string the y, string is converted to number
- Source:
Returns:
- Type
- DevicePt
-
makeFitsImagePt(x, y)
A image point in a FITS file with FITS based offset Standard
-
Parameters:
Name Type Description xnumber | string the x, string is converted to number
ynumber | string the y, string is converted to number
- Source:
Returns:
- Type
- FitsImagePt
-
makeImagePt(x, y)
A point in the image file
-
Parameters:
Name Type Description xnumber | string the x, string is converted to number
ynumber | string the y, string is converted to number
- Source:
Returns:
- Type
- ImagePt
-
makeScreenPt(x, y)
A point of the display image
-
Parameters:
Name Type Description xnumber | string the x, string is converted to number
ynumber | string the y, string is converted to number
- Source:
Returns:
- Type
- ScreenPt
-
makeWorldPt(lon, lat [, coordSys] [, objName] [, resolver])
A point on the sky with a coordinate system
-
Parameters:
Name Type Argument Description lonnumber | string longitude in degrees, strings are converted to numbers
latnumber | string latitude in degrees, strings are converted to numbers
coordSysCoordinateSys <optional>
The coordinate system of this worldPt
objNameString <optional>
object name used to create this worldPt
resolver<optional>
the resolver used to create this worldPt
- Source:
Returns:
- Type
- WorldPt
-
makeZeroBasedImagePt(x, y)
A image point in a Zero based standard, can be offset with the LVT1 and LTV2 headers
-
Parameters:
Name Type Description xnumber | string the x, string is converted to number
ynumber | string the y, string is converted to number
- Source:
Returns:
- Type
- ImagePt
-
pointEquals(p1, p2)
Test if two points are equals. They must be the same coordinate system and have the same values to be equal. Two points that are null or undefined are also considered equal. If both points are WorldPt and are equal in values and coordinate system but have a different resolver and object names, * they are still considered equal.
-
Parameters:
Name Type Description p1Point the first point
p2Point the second point
- Source:
Returns:
true if equals
-
TableWatchFunc(tbl_id, action, cancelSelf, params)
Table watcher function
-
Like a normal watch with following exceptions:
- one started per table
- tbl_id is first parameter.
- The params object with always include a options and a sharedData property. They may be undefined.
- The options object should be thought of as read only. It should not be modified.
- It is call the first time with the action undefined. This can be for initialization. The table will beloaded
Parameters:
Name Type Description tbl_idString the table id
actionAction the action
cancelSelffunction function to cancel, should be call when table is removed
paramsObject params contents are created by the watcher with two exceptions, params will always contain:
- options - The options object is the same as passed to dispatchAddTableTypeWatcherDef
- sharedData - if the definition contains a shared data object it will be passed. sharedData provides a way for all the watcher with the same definition to share some state. This should only be used if absolutely necessary
- Source:
-
TestWatchFunc(table, action, options)
Test to see if we should watch this table
. -
Test to see if we should watch this table
Parameters:
Name Type Description tableTableModel actionAction optionsObject - Source:
Returns:
true if we should watch
- Type
- boolean
Type Definitions
-
Action
-
Type:
- Object
- Source:
Properties:
Name Type Description typeString the action constant, a unique string identifying this action
payloadObject object with anything, the data
-
ActivateParams
-
Type:
- Object
- Source:
Properties:
Name Type Description imageViewerIdstring chartViewerIdstring tableGroupViewerIdstring converterIdstring -
AppDataStore
Information about the core of the application
-
Type:
- Object
- Source:
Properties:
Name Type Description isReadyboolean : false,
connectionsObject.<String, Array> channel:[] ... keyed by channel, contains an array of connId(s).
activeTargetWorldPt rootUrlPathstring taskCountersArray commandStateObject preferences,Object.<String, String> appOptionsObject : {}
menuObject alertsObject ie. system notification messages
searchesSearchInfo define searches available to this application.
-
ApplicationState
-
Type:
- Object
- Source:
Properties:
Name Type Description allPlotsVisRoot image plotting store (Controller: ImagePlotCntlr.js)
table_spaceTableSpace table data store (Controller: TablesCntlr.js)
chartsObject information about 2D plots (Controller: ChartsCntlr.js)
fieldGroupFieldGroupStore field group data for form and dialog input (Controller: FieldGroupCntlr.js)
readoutObject mouse readout information (Controller: ReadoutCntlr.js)
app_dataAppDataStore general application information (Controller: AppDataCntlr.js)
drawLayersObject information about the drawing layers e.g. select tool, catalogs overlays, regions, etc
imageMultiViewViewer data about the various image viewers (Controller: MultiViewCntlr.js)
externalAccessObject controls communication events with eternal applications (Controller: ExternalAccessCntlr.js)
layoutObject information about application layout (Controller: LayoutCntlr.js)
tblstatsObject stats for histogram, etc (Controller: TableStatsCntlr.js)
dialogOrComponentObject hold information about dialog visibility and other components (Controller: ComponentCntlr.js)
-
AppProps
A property object used for customizing the application
-
Type:
- Object
- Source:
Properties:
Name Type Argument Default Description templateString <optional>
UI template to display. API mode if not given
viewsstring <optional>
some template may have multiple views. If not given, the default view of the template will be used.
divstring <optional>
app ID of a div to place the viewer in.
appTitlestring <optional>
title of this application.
showUserInfoboolean <optional>
false show user information. This is used when authentication is available
showViewsSwitchboolean <optional>
show/hide the swith views buttons
rightButtonsArray.<function()> <optional>
function(s) returning a button to be displayed on the top-right of the result page.
menuObject custom menu bar
Properties
Name Type Description labelstring button's label
actionstring action to fire on button clicked
typestring use 'COMMAND' for actions that's not drop-down related.
-
BandState
-
Type:
- Object
- Source:
Properties:
Name Type Description workingFitsFileStroriginalFitsFileStruploadFileNameStrimageIdxoriginalImageIdxplotRequestSerializerangeValuesSerializedirectFileAccessDatamultiImageFiletileCompresscubeCntcubePlaneNumber -
ClientTile
-
Type:
- Object
- Source:
Properties:
Name Type Description tileAttributesObject dataUrlString widthnumber width of this tile
heightnumber height of this tile
indexnumber index of this tile
urlstring original file key to use in the service to retrieve this tile
xnumber pixel offset of this tile
ynumber pixel offset of this tile
-
ColsDescription
An object that describe a single column in a table
-
Type:
- Object
- Source:
Properties:
Name Type Description colNamestring name of the column
colIdxnumber column index for the column
unitstring unit for the column
-
ConnectorInterface
Return value of useFieldGroupConnector. This object contains the view components properties (viewProps) and the fireValueChange. Simple pass the viewProps to the component and call fireValueChange when the view component has a value change call.
-
Type:
- Object
- Source:
Properties:
Name Type Description fireValueChange-function Call with the value of the view changes. The parameter is an object the should contains as least a value property plus anything else that is appropriate to pass
viewPropsObject all the properties passed to useFieldGroupConnector with the connection properties removed. This object should contain all the properties to pass on the the view component
fieldKeyString the passed fieldKey, you don't usually need to access this value
groupKeyString the passed groupKey, you don't usually need to access this value
-
CoordColsDescription
And object that describes a pairs of columns in a table that makes up a coordinate
-
Type:
- Object
- Source:
Properties:
Name Type Description typestring content type of the columns, 'center'
lonColstring name of the longitudinal column
latColstring name of the latitudinal column
lonIdxnumber column index for the longitudinal column
latIdxnumber column index for the latitudinal column
csysCoordinateSys the coordinate system to use
-
CoordinateSys
coordinate system
-
value is one of the following constants; EQ_J2000, EQ_B2000, EQ_B1950, GALACTIC, SUPERGALACTIC, ECL_J2000, ECL_B1950, PIXEL, SCREEN_PIXEL, UNDEFINED,
Type:
- Object
- Source:
-
CoverageOptions
options of coverage
-
Type:
- Object
- Source:
Properties:
Name Type Description titlestring tipstring coverageTypestring one of 'GUESS', 'BOX', 'REGION', 'ALL', or 'X' default is 'ALL'
overlayPositionstring search position point to overlay, e.g '149.08;68.739;EQ_J2000'
symbolstring | Object.<String, String> symbol name one of 'X','SQUARE','CROSS','DIAMOND','DOT','CIRCLE','BOXCIRCLE', 'ARROW'
symbolSizestring | Object.<String, Number> a number of the symbol size or an object keyed by table id and value the symbol size
colorstring | Object.<String, String> a color the symbol size or an object keyed by table id and color
fovMaxFitsSizenumber how big this fits image can be (in degrees)
fovDegMinSizenumber minimum field of view size in degrees
fovDegFallOvernumber the field of view size to determine when to move between and HiPS and an image
multiCoverageboolean overlay more than one table on the coverage
gridOnstring one of 'FALSE','TRUE','TRUE_LABELS_FALSE'
-
DataProductsConvertType
-
Type:
- Object
- Source:
Properties:
Name Type Description tableMatches,function function to test if the table fits the template form: tableMatches(TableModel): boolean
createfunction create the converter based on this template. The converter is created by a function that is passed a table and the converter template. It then may return a new converter template that could be optionally customized to the table. form: create(TableModel,DataProductsConvertType): DataProductsConvertType
threeColorboolean supports three color images
hasRelatedBandsboolean supports groups of related images
canGridboolean support grids of images
maxPlotnumber total number of images that can be created at a time, i.e. page size
getSingleDataProductfunction pass table,rowNum,activate params return a activate function required
getGridDataProductfunction pass(table, array of plotrows, and activateParams) return activate function. Only required if canGrid is true
getRelatedDataProduct,function pass (table, row, threeColorOps, highlightPlotId, activateParams) , return activate function. Only required if hasRelatedBands is true
threeColorBandsObject definition of the three color plot request
-
DataProductsDisplayType
-
Type:
- Object
- Source:
Properties:
Name Type Description displayTypestring activatefunction menuObject -
DevicePt
a rendered point on the device screen, including rotation, flipping, etc
-
Type:
- Object
- Source:
Properties:
Name Type Description xNumber yNumber typeString constant must be 'DevicePt'
-
Dimension
-
Type:
- Object
- Source:
Properties:
Name Type Description widthnumber heightnumber -
DownloadRequest
Download request.
-
Download request. Below is a list of predefined parameters available for a download request. All of the options are optional. These parameters let you control what data and how it will be returned.
Type:
- object
- Source:
Properties:
Name Type Description FilePrefixnumber BaseFileNamenumber Titlestring TitlePrefixstring Emailstring MaxBundleSizestring DataSourceobject tableRequestTableRequest selectionInfostring -
DrawLayerRoot
The state of the Drawing layers store.
-
Type:
- Object
- Source:
Properties:
Name Type Description drawLayerAryArray.<DrawLayer> the array of all the drawing layers
allowedActionsArray.<string> the actions the go to the drawing layers by default
-
FieldGroup
-
Type:
- Object
- Source:
Properties:
Name Type Description groupKeyString fieldsArray.<FieldGroupField> reducerFuncfunction keepStateboolean mountedboolean field is mounted
wrapperGroupKeyString fieldGroupValidboolean -
FieldGroupField
-
Type:
- Object
- Source:
Properties:
Name Type Description fieldKeyString the field id, must be unique in the group
groupKeyString the group id, must be unique
valueString | Promise | * the value, can be anything including promise, typically a string
validboolean the group id, must be unique
validatorfunction mountedboolean field is mounted
nullAllowed,boolean default to true
-
FieldGroupStore
-
Type:
- Object.<String, FieldGroup>
- Source:
-
FireflyOptions
An object that is defined in the html that has configuration options for Firefly
-
Type:
- Object
- Source:
Properties:
Name Type Description MenuItemKeysObject an object the references MenuItemKeys.js that can turn on or off buttons on the image tool bar
imageTabsArray.<string> specifies the order of the time in the image dialog e.g. - [ 'fileUpload', 'url', '2mass', 'wise', 'sdss', 'msx', 'dss', 'iras' ]
irsaCatalogFilterstring | function a function or a predefined key that specifies how the catalogs are filter in the UI
catalogSpacialOpstring two values undefined or 'polygonWhenPlotExist'. when catalogSpacialOp === 'polygonWhenPlotExist' then the catalog panel will show the polygon option as default when possible
imageMasterSourcesArray.<string> default - ['ALL'], source to build image master data from
imageMasterSourcesOrderArray.<string> for the image dialog sort order of the projects, anything not listed is put on bottom
-
FitsHeader
-
Type:
- Array.<{}>
- Source:
Properties:
Name Type Description heightnumber -
FitsImagePt
a point in FITS standard image file coordinates
-
Type:
- Object
- Source:
Properties:
Name Type Description xNumber yNumber typeString constant must be 'ImagePt'
-
footprintInfo
Footprint Info.
-
Footprint Info. The data object containing footprint info.
Type:
- object
- Source:
Properties:
Name Type Description footprintstring name of footprint project, such as 'HST', 'WFIRST', etc. or footprint file at the server
instrumentstring name of instrument for the footprint
relocateBystring name of instrument for the footprint from the server, method of relocation for the uploaded footprint
fromFilestring filename, not including the extension, of the uploaded file
fromRegionAryArray.<string> array or string of region description
-
Group
Table group info
. -
Table group info
Type:
- object
-
HiPSAllSkyCacheInfo
-
Type:
- Object
- Source:
Properties:
Name Type Description urlstring order3Image single image with the all order 3 allsky
order2ArrayArray.<Canvas> array of order 2 image tiles, each index if the tile number
-
HiPSDeviceTileData
-
Type:
- Object
- Source:
Properties:
Name Type Description tileNumbernumber HiPS pixel number
nsidenumber healpix level
devPtCornersArray.<DevicePt> the target corners of the tile in device coordinates
dxnumber x offset into image
dynumber y offset into image
-
HipsImageConversionSettings
Parameters to do conversion between hips and images
-
Type:
- Object
- Source:
Properties:
Name Type Description hipsRequestRootWebPlotParams | WebPlotRequest a request object that contains the base parameter to display a HiPS
imageRequestRootWebPlotParams | WebPlotRequest a request object that contains the base parameter to display an image. It must be a service type.
fovDegFallOvernumber The field of view size to determine when to move between and HiPS and an image
fovMaxFitsSizenumber how big this fits image can be
autoConvertOnZoomboolean do auto convert on zoom
-
HiPSTile
a single hips image tile url computed by: NorderK/DirD/NpixN{.ext} where K= nOrder N= tileNumber D=(N/10000)*10000 (integer division)
-
Type:
- Object
- Source:
Properties:
Name Type Description cornersArray.<WorldPt> (maybe) in worldPt
devPtCornersArray.<devpt> (maybe) in screenPt (keep here?)
urlstring root url (maybe, don't know if necessary)
-
HistogramOptions
shallow object with histogram parameters
-
Type:
- Object
- Source:
Properties:
Name Type Argument Default Description sourcestring <optional>
location of the ipac table, url or file path; ignored when histogram view is added to table
tbl_idstring <optional>
table id of the table this plot is connected to
chartTitlestring <optional>
title of the chart
colstring column or expression to use for histogram, can contain multiple column names ex. log(col) or (col1-col2)/col3
numBinsnumber <optional>
50 number of bins for fixed bins algorithm (default)
falsePositiveRatenumber <optional>
false positive rate for bayesian blocks algorithm
xOptionsstring <optional>
comma separated list of x axis options: flip,log
yOptionsstring <optional>
comma separated list of y axis options: flip,log
-
ImageContainer
Always contains key image and then anything else to specify the state
. -
Always contains key image and then anything else to specify the state
Type:
- Object
- Source:
Properties:
Name Type Description imageObject srcObject dataUrlString tileAttributesObject canCompressObject -
ImageMasterData
need summary
-
Type:
- Object
- Source:
Properties:
Name Type Description projectstring name of project or mission
subProjectstring subproject name or null
titlestring description of the image
wavelengthnumber the actual wavelength value
wavelengthDescstring description of the wavelength
helpUrlstring full url to help for this data
tooltipstring one line of helpful text
imageIdstring a unique id for the list of image data
projectTypeKeystring as of key such as 'galactic', 'extra-galactic, solar-system'
projectTypeDescstring description of the project type
minRangeDegnumber for radius search, smallest radius accepted
maxRangeDegnumber for radius search, largest radius accepted
plotRequestParamsobject a plot request object for WebPlotParams or WebPlotRequest
-
ImagePt
a point in image file coordinates
-
Type:
- Object
- Source:
Properties:
Name Type Description xNumber yNumber typeString constant must be 'ImagePt'
-
ImageTile
a single image tile
-
Type:
- Object
- Source:
Properties:
Name Type Description widthnumber width of this tile
heightnumber height of this tile
indexnumber index of this tile
urlstring file key to use in the service to retrieve this tile
xnumber pixel offset of this tile
ynumber pixel offset of this tile
-
ImageTileData
The information about all the image tiles
-
Type:
- Object
- Source:
Properties:
Name Type Description imagesArray.<ImageTile> screenWidthnumber width of all the tiles
screenHeightnumber height of all the tiles
templateNameString template name (not used)
zfactnumber zoom factor
thumbnailImageThumbnailImage information about the thumbnail
-
LINK
Table link info
. -
Table link info
Type:
- object
- Source:
Properties:
Name Type Description IDstring ID used to reference this LINK.
hrefstring href of this LINK.
valuestring text of this LINK.
titlestring title/label of this LINK.
rolestring role, see VOTable content-role
typestring type, see VOTable content-type
actionstring see VOTable LINK action
-
MouseReadoutType
-
Type:
- Object
- Source:
Properties:
Name Type Description readoutKey:String unique key represent this readout type
matches:function function to test if this readout should be used form: tableMatches(WebPlot): boolean
createImmediateReadout:function function to create a readout object
createAsyncReadout:function function to create a readout by calling the server to get data, returns a promise with a readout
hasAsyncReadout:function function to test readout should be used make async calls: hasAsyncReadout(WebPlot): boolean
-
MultiViewerRoot
-
Type:
- Array.<Viewer>
- Source:
-
PARAM
PARAM may have everything TableColumn has plus 'value'
. -
PARAM may have everything TableColumn has plus 'value'
Type:
- object
- Source:
Properties:
Name Type Description valuestring value of this PARAM
-
PlotView
There is one PlotView object for each react ImageViewer.
-
There is one PlotView object for each react ImageViewer. A PlotView is uniquely identified by the plotId. The plot id will not change for the life time of the plotView. A plot view can be connected to a plot group. That is done by the plotGroupId. There will be several plotViews in a plot group.
PlotView is mostly about the viewing of the plot. The plot data is contained in a WebPlot. A plotView can have an array of WebPlots. The array length will only be one for normals fits files and n for multi image fits and cube fits files. plots[primeIdx] refers to the plot currently showing in the plot view.
Type:
- Object
- Source:
Properties:
Name Type Description plotId,String immutable
plotGroupId,String immutable
drawingSubGroupId,String immutable
plotsArray.<WebPlot> all the plots that this plotView can show, usually the image in the fits file
plottingStatus,String end user description of the what is doing on
serverCall,String one of 'success', 'working', 'fail'
primeIdx,number which of the plots array is active
scrollXnumber scroll position X
scrollYnumber scroll position Y
viewDimObject size of viewable area (div size: offsetWidth & offsetHeight)
menuItemKeysObject which toolbar button are enables for this plotView
overlayPlotViewsObject optionsObject rotationnumber if > 0 then the plot is rotated by this many degrees
flipYboolean if true, the the plot is flipped on the Y axis
plotViewCtxPlotViewContextData -
PlotViewContextData
Various properties about this PlotView
. -
Various properties about this PlotView
Type:
- Object
- Source:
Properties:
Name Type Description userCanDeletePlotsboolean true if this plotView can be deleted by the user
zoomLockingEnabledboolean the plot will automaticly adjust the zoom when resized
zoomLockingTypeUserZoomTypes the type of zoom lockeing
lastCollapsedZoomLevelnumber used for returning from expanded mode, keeps recode of the level before expanded
hipsImageConversionHipsImageConversionSettings if defined, then plotview can convert between hips and image
plotCounternumber index of how many plots, used for making next ID
-
Point
a Point
-
Type:
- Object
- Source:
Properties:
Name Type Description xNumber yNumber typeString one of 'RenderedPt', 'ScreenPt', 'ImagePt', 'ImageWorkSpacePt', 'WorldPt', 'ProjectionPt', 'OffsetPt'
-
ProcessedTiles
-
Type:
- Object
- Source:
Properties:
Name Type Description plotIdstring plotImageIdstring imageOverlayIdstring zoomFactornumber clientTileAryArray.<ClientTile> -
PVCreateOptions
Object used for creating the PlotView
. -
Object used for creating the PlotView
Type:
- Object
- Source:
Properties:
Name Type Description hipsImageConversionHipsImageConversionSettings If object is defined and populated correctly then the PlotView will convert between HiPS and Image
menuItemKeysObject defines which menu items shows on the toolbar
userCanDeletePlotsboolean default to true, defines if a PlotView can be deleted by the user
-
PvNewPlotInfo
Main part of the payload of successful call to the server
-
Type:
- Object
- Source:
Properties:
Name Type Description plotId,String requestKey,String plotAryArray.<WebPlot> overlayPlotViewsArray.<OverPlotView> -
REF
reference to another object, i.e TableColumn, PARAM, LINK
. -
reference to another object, i.e TableColumn, PARAM, LINK
Type:
- object
- Source:
Properties:
Name Type Description refstring ID if the referenced object
UCDstring UCD, see VOTable
utypestring utype, see VOTable
-
RegionColDescription
An object that describes the column which is ObsCore defined 's_region'
-
Type:
- Object
- Source:
Properties:
Name Type Description typestring content type of the column, 'region'
regionColstring name of the column
regionIdxnumber column index for the column
unitstring unit of the measurement of the region
-
RegionSelectMode
shallow object with the rendering parameters for selected region
-
Type:
- Object
- Source:
Properties:
Name Type Argument Default Description selectStylestring <optional>
'UprightBox' rendering style for the selected region including 'UprightBox', 'DottedOverlay', 'SolidOverlay', 'DottedReplace', and 'SolidReplace'
selectColorstring <optional>
'#DAA520' rendering color for the selected region, CSS color values, such as '#DAA520' 'red'. are valid for rendering.
lineWidthint <optional>
0 rendering line width for the selected region. 0 or less means the line width is the same as that of the selected region
-
RelatedData
overlay data that is associated with the image data
-
Type:
- Object
- Source:
Properties:
Name Type Description relatedDataIdstring a globally unique id made from the plotId and the dataKey - this is added by the client and does not come from the server
dataKeystring should be a unique string key an array of plot of RelatedData, that is all RelatedData array entries for a plot should have a unqiue dataKey
dataTypestring one of 'IMAGE_OVERLAY', 'IMAGE_MASK', 'TABLE'
descstring user description of the data
searchParamsObject.<string, string> map of search parameters to get the related data
availableMaskObject.<string, string> only used for masks- key is the bit number, value is the description
-
ScreenPt
a point on the image screen
-
Type:
- Object
- Source:
Properties:
Name Type Description xNumber yNumber typeString constant must be 'ScreenPt'
-
TableColumn
Table column information.
-
Table column information.
Type:
- object
- Source:
Properties:
Name Type Description namestring name of the column
labelstring display name of the column
typestring data type
unitsstring data units
nullStringstring string used to represent null value
descstring description of the column
widthnumber max width needed to display data.
prefWidthnumber preferred width, regardless of the data.
sortableboolean true if undefined
filterableboolean true if undefined
visibilitystring show, hide, or hidden. hidden columns are not viewable by users.
sortByColsstring for multi-columns sorting. column names separated by comma(',').
enumValsstring contains only values in this list. values are seprated by comma(',')
IDstring ID used to reference this column.
precisionstring applies only to floating point numbers. A string Tn where T is either F, E, or G If T is not present, it defaults to F. When T is F or E, n is the number of significant figures after the decimal point. When T is G, n is the number of significant digits
UCDstring UCD of this column.
utypestring UType of this column.
refstring refer to this column for declarations.
valuestring static value of this column for all of the rows in this table
maxValuestring maximum value.
minValuestring minimum value.
linksArray.<LINK> links if any.
-
TableGroup
Table group.
-
Table group. Define a group of tables used by the UI.
Type:
- Object
- Source:
Properties:
Name Type Description namestring unique name of this group
activestring tbl_id of the active table in this group
tablesObject.<string, TableGroupItem> a map of TableGroupItem(s) keyed by tbl_id
-
TableGroupItem
Table group item.
-
Table group item. Contains enough key information to identify the table data as well as the UI data associate with this item.
Type:
- Object
- Source:
Properties:
Name Type Description tbl_groupstring table group name
tbl_idstring unique id of the table data
tbl_ui_idstring unique id of the table's UI data
titlestring title or label of the table
removableboolean true if this item can be removed from group.
optionsObject.<string, *> table options, ie. selectable, expandable
-
TableKeywords
The full list of meta info for this table.
-
The full list of meta info for this table. It includes the original meta from source, comments, duplicates, and additional meta inserted
Type:
- object
- Source:
Properties:
Name Type Description keystring meta key
valuestring meta value
isKeywordboolean true if this entry is from the original source.
-
TableMeta
Table meta information.
-
Table meta information. Below is only a small set of predefined meta used by table. The meta information in this object are used by many components for many reasons. ie catalog overlay.
Type:
- object
- Source:
Properties:
Name Type Description Loading-Statusstring COMPLETED or INPROGRESS
resultSetIDstring ID for this table. If sorted or filtered, a new one will be generated.
sourcestring path of the original table source before any operations were performed. ie sort, filter, etc. this may not be fully supported.
relatedColsstring highlight related rows based on this column's value.
-
TableModel
Table model.
-
Table model. The top level table data object with meta info.
Type:
- object
- Source:
Properties:
Name Type Description tbl_idstring unique ID of this table.
titlestring title, used on label.
requestTableRequest the request used to create this table
keywordsTableKeywords a list of all meta from the original source, including comments and duplicates
tableMetaTableMeta additional meta added and keywords as key/value pair. comments and duplicates are no longer here.
tableDataTableData table's meta information stored as key/value pair.
totalRowsnumber total number of rows.
highlightedRownumber the current highlighted row index. index is natural order starting from 0.
selectInfoobject selection information. use SelectInfo.newInstance take advantage of helper's functions.
isFetchingboolean true if data is being fetched and not ready for display.
errorstring error message if the request fail to create a table.
groupsArray.<Group> groups is any.
linksArray.<Link> links is any.
paramsArray.<PARAM> params is any.
-
TableRequest
Table request.
-
Table request. Below is a list of predefined parameters available for table request. All of the options are optional. These parameters let you control what data and how it will be returned.
Type:
- object
- Source:
Properties:
Name Type Description startIdxnumber the starting index to fetch. defaults to zero.
pageSizenumber the number of rows per page. defaults to 100.
filtersstring list of conditions separted by comma(,). Format: (col_name|index) operator value. operator is one of '> < = ! >= <= IN'. See DataGroupQueryStatement.java doc for more details.
sortInfostring sort information. Format: (ASC|DESC),col_name[,col_name]*
inclColsstring list of columns to select. Column names separted by comma(,)
META_INFOobject meta information passed as key/value pair to server then returned as tableMeta.
usestring one of 'catalog_overlay', 'catalog_primary', 'data_primary'.
tbl_idstring unique id of the table. auto-create if not given.
-
TableSpace
Top level store for table related data.
-
Top level store for table related data. It's mounted as 'table_space' under the application state
Type:
- object
- Source:
Properties:
Name Type Description dataObject.<string, TableModel> repository for table model; keyed by tbl_id
resultsObject.<string, TableGroup> repository for table group information; keyed by tbl_group name
uiObject.<string, Object> repository for table UI state; keyed by tbl_ui_id
-
TblOptions
Available options when a table is added.
-
Available options when a table is added.
Type:
- object
- Source:
Properties:
Name Type Argument Default Description tbl_groupstring <optional>
the group this table belongs to. Defaults to 'main'.
backgroundableboolean <optional>
false true if this search can be sent to background. Defaults to false.
titlestring <optional>
title of this table.
setAsActiveboolean <optional>
true make this the active table once it's added to the UI.
pageSizenumber <optional>
the starting page size. Will use the request's pageSize if not given.
selectableboolean <optional>
true expandableboolean <optional>
true removableboolean <optional>
true true if this table can be removed from view.
borderboolean <optional>
true showToolbarboolean <optional>
true when false, showFilters, showTitle, showPaging, showSave, and showFilterButton will be false as well.
showFiltersboolean <optional>
false showTitleboolean <optional>
true showPagingboolean <optional>
true enable/disable paging feature. When false, all data will be displayed.
showSaveboolean <optional>
true showFilterButtonboolean <optional>
true showInfoButtonboolean <optional>
false when true, shows additional information about table, if available
showOptionButtonboolean <optional>
true showUnitsboolean <optional>
true allowUnitsboolean <optional>
true enable/disable the use of units in a table.
leftButtonsArray.<function()> <optional>
an array of functions that returns a button-like component laid out on the left side of this table header.
rightButtonsArray.<function()> <optional>
an array of functions that returns a button-like component laid out on the right side of this table header.
-
TblOptions
-
Type:
- object
- Source:
Properties:
Name Type Description tbl_groupstring the group this table belongs to. Defaults to 'main'.
pageSizenumber the starting page size. Will use the request's pageSize if not given.
removableboolean true if this table can be removed from view. Defaults to true.
backgroundableboolean true if this search can be sent to background. Defaults to false.
showUnitsboolean defaults to false
showTypesboolean defaults to false
showFiltersboolean defaults to false
selectableboolean defaults to true
expandableboolean defaults to true
showToolbarboolean defaults to true
showTitleboolean defaults to true
showPagingboolean defaults to true
showSaveboolean defaults to true
showOptionButtonboolean defaults to true
showFilterButtonboolean defaults to true
showInfoButtonboolean defaults to false
borderboolean defaults to true
help_idboolean link to help if applicable
leftButtonsArray.<function()> an array of functions that returns a button-like component laid out on the left side of this table header. Function will be called with table's state.
rightButtonsArray.<function()> an array of functions that returns a button-like component laid out on the left side of this table header. Function will be called with table's state.
-
ThumbnailImage
the thumbnail information
-
Type:
- Object
- Source:
Properties:
Name Type Description widthnumber width of thumbnail
heightnumber height of thumbnail
urlstring file key to use in the service to retrieve this tile
-
Viewer
-
Type:
- Object
- Source:
Properties:
Name Type Description viewerId:EXPANDED_MODE_RESERVED,string itemIdAryArray.<string> layoutstring must be 'single' or 'grid'
canReceiveNewPlotsboolean NewPlotMode.create_replace.key,
reservedContainerboolean containerTypestring one of 'image', 'plot2d', 'wrapper'
mountedboolean if the react component using the store is mounted
layoutDetailObject | String may be any object, string, etc- Hint for the UI, can be any string but with 2 reserved GRID_RELATED, GRID_FULL
customData:object {}
-
VisRoot
The state of the Image visualization. The state contains an array of PlotView each have a plotId and tie to an Image Viewer, one might be active (PlotView.js) A PlotView has an array of WebPlots, one is primary (WebPlot.js) An ImageViewer shows the primary plot of a plotView. (ImageView.js)
-
Type:
- Object
- Source:
Properties:
Name Type Description activePlotIdString the id of the active plot
plotViewAryArray.<PlotView> view array
plotGroupAryArray.<PlotGroup> view array
plotRequestDefaultsobject can have multiple values
expandedModeExpandType status of expand mode
previousExpandedModeExpandType the value last time it was expanded
singleAutoPlayboolean true if auto play on in expanded mode
apiToolsViewboolean true if working in api mode
positionLockboolean plots are locked together for scrolling and rotation.
-
WaveLengthData
-
Type:
- Object
- Source:
Properties:
Name Type Description algorithmstring wlTypestring NNumber r_jArray.<number> pc_3jArray.<number> s_3Number lambda_rNumber restWAVnumber crpixnumber cdeltnumber crvalnumber -
WebPlot
This class contains plot information. Publicly this class operations in many coordinate system. Some include a Image coordinate system, a world coordinate system, and a screen coordinate system.
-
Type:
- Object
- Source:
- See:
Properties:
Name Type Description plotIdString plot id, id of the plotView, immutable
plotImageId,String plot image id, id of this WebPlot , immutable
serverImage,Object immutable
titleString the title
cubeCtxObject plotStatePlotState the plot state, immutable
dataWidthnumber the width of the image data
dataHeightnumber the height of the image data
zoomFactornumber the zoom factor
titlestring title of the plot
webFitsDataobject needs documentation
tileDataImageTileData object contains the image tile information
imageCoordSysCoordinateSys the image coordinate system
screenSizeDimension width/height in screen pixels
projectionProjection projection routines for this projections
wlDataObject data object to wave length conversions, if defined then this conversion is available
affTransObject the affine transform
viewDimObject size of viewable area (div size: offsetWidth & offsetHeight)
directFileAccessDataAryArray.<Object> object of parameters to get flux from the FITS file
-
WebPlotParams
object for web plot request
-
Below is a list of predefined parameters available for web plot request. Some parameters control how to get an image, a image can be retrieved from a service, a url, of a file on the server. Others control the zoom, stretch, and color, title, and default overlays. There are also parameters to pre-process an image, such as crop, rotate or flip.
Type:
- object
- Source:
Properties:
Name Type Description Typestring the request type, see available types at RequestType.
Filestring file name of a file on the server if Type=='File'
URLstring url reference to a fits file if Type=='URL'
Servicestring the service type if Type=='SERVICE', see available services at ServiceType
plotIdstring plot ID
plotGroupIdstring plot group ID
ObjectNameString object name that can be looked up by NED or Simbad
Resolverstring the object name resolver to use, options are: NED, Simbad, NedThenSimbad, SimbadThenNed, PTF.
SizeInDegstring the radius or side (in degrees) depending of the service type, used with Type=='SERVICE' or 'HiPS'
SurveyKeystring the survey, used with Type='SERVICE'
SurveyKeyBandstring the survey band, used with Type=='SERVICE' and Service='WISE', 'TWOMASS' or 'ATLAS'
WorldPtstring target for service request or HiPS request in serialized version
PlotIdstring plot Id
PlotGroupIdstring plot group id
Titlestring plot title
TitleOptionsstring title options, see available options at TitleOptions
PreTitlestring a String to append at the beginning of the title of the plot
PostTitlestring a String to append at the end of the title of the plot
hipsRootUrlstring HiPS root url or IVOID, e.g.: ivo://CDS/P/2MASS/J, used with Type='HiPS'
ZoomTypestring zoom type, see ZoomType
ZoomToWidthstring the width of the viewable area to determine the zoom level, used with ZoomType.TO_WIDTH_HEIGHT, ZoomType.TO_WIDTH
ZoomToHeightstring the height of the viewable area to determine the zoom level, used with ZoomType.TO_WIDTH_HEIGHT, ZoomType.TO_HEIGHT
InitZoomLevelstring initialize zoom level, used with ZoomType.LEVEL
ZoomArcsecPerScreenPixstring the arcseconds per screen pixel that will be used to determine the zoom level, Used with ZoomType.ARCSEC_PER_SCREEN_PIX
RotateNorthboolean plot should come up rotated north
RotateNorthTypeCoordinateSys set to coordinate system for rotate north, eq EQ_J2000 is the default
Rotateboolean set to rotate, if true, the angle should also be set
RotationAnglestring set the angle to rotate to
RotateFromNorthstring rotate angle from north
FlipYboolean set if this image should be flipped on the Y axis
FlipXboolean set if this image should be flipped on the X axis
PostCropboolean crop the image before returning it. If rotation is set then the crop will happen post rotation
PostCropAndCenterboolean crop and center the image before returning it. Note: SizeInDeg and WorldPt are required
PostCropAndCenterTypeCoordinateSys set to coordinate system for crop and center, eq EQ_J2000 is the default
CropPt1string one corner of the rectangle, in image coordinates, to crop out of the image.
CropPt2string second corner of the rectangle, in image coordinates, to crop out of the image.
CropWorldPt1string one corner of the rectangle, in world coordinates, to crop out of the image.
CropWorldPt2string second corner of the rectangle, in world coordinates, to crop out of the image.
OverlayPositionstring string of overlay position in world coordinates
ColorTablestring color table id, value 0 - 21 to represent different predefined color tables
RangeValuesstring a complex string for specify the stretch of this plot. Use the method firefly.serializeRangeValues() to produce this string
MultiImageIdxstring number index of image
MultiImageExtsstring image extension list. ex: '3,4,5' for extension 3, 4, 5
GridOnstring turn the coordinate grid on after the image is plotted, 'true' or 'false'
thumbnailSizenumber thumbnail size
ContinueOnFailboolean for 3 color, if this request fails then keep trying to make a plot with the other request
-
WorldPt
a point on the sky
-
Type:
- Object
- Source:
Properties:
Name Type Description xNumber yNumber typeString constant must be 'WorldPt'
cSysCoordinateSys the coordinate system constant
objNameString the object name the was used for name resolution, may not be defined
objNameResolver the resolver used to create this worldPt, may not be defined
-
XYPlotOptions
shallow object with XYPlot parameters
. -
shallow object with XYPlot parameters
Type:
- Object
- Source:
Properties:
Name Type Argument Description sourcestring <optional>
location of the ipac table, url or file path; ignored when XY plot view is added to table
tbl_idstring <optional>
table id of the table this plot is connected to
chartTitlestring <optional>
title of the chart
xColstring column or expression to use for x values, can contain multiple column names ex. log(col) or (col1-col2)/col3
yColstring column or expression to use for y values, can contain multiple column names ex. sin(col) or (col1-col2)/col3
plotStylestring <optional>
points, linepoints, line
xLabelstring <optional>
label to use with x axis
yLabelstring <optional>
label to use with y axis
xOptionsstring <optional>
comma separated list of x axis options: grid,flip,log
yOptionsstring <optional>
comma separated list of y axis options: grid,flip,log
xErrorstring <optional>
column or expression for X error
yErrorstring <optional>
column or expression for Y error
-
ZeroBasedImagePt
a point in Zero based image file coordinates, ca be offset by LTV1 and LTV2
-
Type:
- Object
- Source:
Properties:
Name Type Description xNumber yNumber typeString constant must be 'ImagePt'