carta-frontend/utilities
Index
Classes
Functions
- add2D
- angle2D
- autoDetecting
- average2D
- binarySearchByX
- binning
- booleanFiltering
- buildSwappedZWcsSettings
- ceilToPower
- clamp
- closestCatalogIndexToCursor
- closestPointIndexToCursor
- closestPointOnLine
- closeTo
- copyToClipboard
- copyToFP32Texture
- createFP32Texture
- createTextureFromArray
- cross2D
- Distinct
- divide2D
- doesLineSegmentIntersectRect
- doRectsIntersect
- doSelectionRectAndRegionPointsIntersect
- doSelectionRectAndRulerPathsIntersect
- dot2D
- equalIfBothFinite
- exportScreenshot
- exportTsvFile
- exportTxtFile
- filterProcessedColumnData
- findAutoSelectedCatalogAxisColumn
- findDeep
- floorToPower
- formattedArcsec
- formattedExponential
- formattedFrequency
- formattedNotation
- frequencyFromVelocity
- frequencyStringFromVelocity
- gaussian
- getAngleInRad
- getApproximateEllipsePoints
- getApproximatePolygonPoints
- getCatalogDataTypeDisplayName
- getColorForTheme
- getColorsForValues
- getColorsFromHex
- getComparisonOperatorAndValue
- getDataTypeString
- getEstimatedPoints
- getFormattedWCSPoint
- getHasFilter
- getHeaderNumericValue
- getIndexByValue
- getInitIndexMap
- getInterpolatedPathAtDistance
- getMovedSimpleShapeSide
- getNextRegionOpacity
- getPasteRegionOffset
- getPasteShiftDelta
- getPathSegments
- getPercentiles
- getPixelSizes
- getPixelValueFromWCS
- getRectCorners
- getRectFromPoints
- getReferencePixel
- getRegionCenterFromPoints
- getRegionPixelProperties
- getRegionSelectionPoints
- getRegionSelectionSegments
- GetRequiredTiles
- getResizedSimpleShapeFromCenter
- getResizedSimpleShapeFromCorner
- getRotatedBoxPoints
- getShaderFromString
- getShaderProgram
- getSimpleShapeAnchorName
- getSimpleShapeAnchorPointIndex
- getSimpleShapeAnchorSizeScale
- getSimpleShapePointSelectionOrder
- getSortedIndexMap
- getSwappedDirAxisInfo
- getTimestamp
- getTransformedChannel
- getTransformedChannelList
- getTransformedRegionProperties
- getUnformattedWCSPoint
- getUnixTimestamp
- getValueFromArcsecString
- getVariablePrecision
- hanningSmoothing
- histogram
- histogramGaussianFit
- initWebGL
- initWebGL2
- isAstBad
- isAstBadPoint
- isAutoColor
- isCatalogAxisDataType
- isExcludedCoordinateName
- isPointInPolygon
- isPointInRect
- isRectangleRegionType
- isTextRegionType
- isWCSStringFormatValid
- LayerToMip
- length2D
- lineSegmentsIntersect
- loadImageTexture
- lorentzian
- magDir2D
- mapToObject
- midpoint2D
- minMax2D
- minMaxArray
- minMaxPointArrayX
- minMaxPointArrayY
- minMaxPointArrayZ
- MipToLayer
- multiply2D
- normal2D
- normalising
- normalize2D
- numericFiltering
- offsetPointsToAvoidCollision
- parseBoolean
- parseNumber
- perpVector2D
- pixelToFluxDensityUnit
- pointDistance
- pointDistanceSquared
- polarizationAngle
- polarizedIntensity
- polygonPerimeter
- profilePreprocessing
- rotate2D
- rotateAboutPoint2D
- round2D
- roundToPower
- scale2D
- scaleAboutPoint2D
- scaleAndRotateAboutPoint2D
- scaleValue
- scaleValueInverse
- setAstStringSystem
- setAstSystem
- simplePolygonPointTest
- simplePolygonTest
- smoothStep
- smoothStepOffset
- stringFiltering
- subtract2D
- TileSort
- TileSortEncoded
- toExponential
- toFixed
- toFormattedNotationByDiff
- transformPoint
- translateRegionPoints
- trimFitsComment
- trimTrailingDecimals
- usesSimpleShapeBoxSize
- velocityFromFrequency
- velocityStringFromFrequency
- wavelengthToFrequency
Interfaces
Type Aliases
Variables
- AUTO_COLOR_OPTIONS
- COLOR_MAPS_ALL
- COLOR_MAPS_MONO
- COLOR_MAPS_SELECTED
- DEFAULT_COLOR
- GL2
- MIN_EDITED_REGION_DIMENSION
- NUMBER_FORMAT_LABEL
- PASTE_OFFSET
- SELECTABLE_COLORS
- SIMPLE_SHAPE_BOTTOM_LEFT_POINT_INDEX
- SIMPLE_SHAPE_BOTTOM_POINT_INDEX
- SIMPLE_SHAPE_BOTTOM_RIGHT_POINT_INDEX
- SIMPLE_SHAPE_LEFT_POINT_INDEX
- SIMPLE_SHAPE_RIGHT_POINT_INDEX
- SIMPLE_SHAPE_ROTATION_POINT_INDEX
- SIMPLE_SHAPE_TOP_LEFT_POINT_INDEX
- SIMPLE_SHAPE_TOP_POINT_INDEX
- SIMPLE_SHAPE_TOP_RIGHT_POINT_INDEX
- SPEED_OF_LIGHT
- SUPPORTED_AUTO_COLORS_REGEX
- SUPPORTED_COLORS
- SWATCH_COLORS
- TEMPLATE_NODES
Type Aliases
ColumnArray
LineSegment2D
Rect2D
height
width
x
y
SimpleShapeAnchor
TypedArray
VizierResource
coosys
description
id
name
table
Variables
constAUTO_COLOR_OPTIONS
constCOLOR_MAPS_ALL
constCOLOR_MAPS_MONO
Some commonly used single-color gradients.
constCOLOR_MAPS_SELECTED
The selected colormaps shown in the option.
constDEFAULT_COLOR
constGL2
Type declaration
Returns WebGL2RenderingContext
constMIN_EDITED_REGION_DIMENSION
constNUMBER_FORMAT_LABEL
constPASTE_OFFSET
constSELECTABLE_COLORS
constSIMPLE_SHAPE_BOTTOM_LEFT_POINT_INDEX
constSIMPLE_SHAPE_BOTTOM_POINT_INDEX
constSIMPLE_SHAPE_BOTTOM_RIGHT_POINT_INDEX
constSIMPLE_SHAPE_LEFT_POINT_INDEX
constSIMPLE_SHAPE_RIGHT_POINT_INDEX
constSIMPLE_SHAPE_ROTATION_POINT_INDEX
constSIMPLE_SHAPE_TOP_LEFT_POINT_INDEX
constSIMPLE_SHAPE_TOP_POINT_INDEX
constSIMPLE_SHAPE_TOP_RIGHT_POINT_INDEX
constSPEED_OF_LIGHT
constSUPPORTED_AUTO_COLORS_REGEX
constSUPPORTED_COLORS
constSWATCH_COLORS
constTEMPLATE_NODES
Type declaration
WebGL2ErrorMessage: any
WebGLErrorMessage: any
All provided colormaps.