carta-frontend/utilities
Index
Classes
Enumerations
Functions
- add2D
- angle2D
- autoDetecting
- average2D
- binarySearchByX
- binning
- booleanFiltering
- buildSwappedZWcsSettings
- ceilToPower
- clamp
- closestCatalogIndexToCursor
- closestPointIndexToCursor
- closestPointOnLine
- closeTo
- convertFreqMHzToSettingWCS
- convertFreqMHzToSettingWCSArray
- convertMjdToUtc
- convertMjdUtcToScale
- convertRestFrameSpectralValue
- convertSettingWCSToFreqMHz
- convertSettingWCSToFreqMHzArray
- convertToNativeWCS
- copyToClipboard
- copyToFP32Texture
- createFP32Texture
- createScalingParameters
- createTextureFromArray
- cross2D
- Distinct
- divide2D
- doesLineSegmentIntersectRect
- doRectsIntersect
- doSelectionRectAndRegionPointsIntersect
- doSelectionRectAndRulerPathsIntersect
- dot2D
- equalIfBothFinite
- exportScreenshot
- exportTsvFile
- exportTxtFile
- filterProcessedColumnData
- findDeep
- floorToPower
- formatIsoUtcTickLabels
- formatMjdUtcAsIso
- formatMjdUtcAsIsoInScale
- formattedArcsec
- formattedExponential
- formattedFrequency
- formattedNotation
- formatTimeSeriesTickLabels
- frequencyFromVelocity
- frequencyStringFromVelocity
- gaussian
- getAngleInRad
- getApproximateEllipsePoints
- getApproximatePolygonPoints
- getAutoSelectedCatalogAxisColumn
- getCatalogAxisEligibility
- getCatalogDataTypeDisplayName
- getColorForTheme
- getColorsForValues
- getColorsFromHex
- getComparisonOperatorAndValue
- getCoordinateDescriptorFromUnits
- getDataTypeString
- getDefaultScalingParameter
- getDegreesPerCatalogUnit
- getDiscreteSliderTicks
- getEstimatedPoints
- getFormattedWCSPoint
- getHasFilter
- getHeaderNumericValue
- getIndexByValue
- getInitIndexMap
- getInterpolatedPathAtDistance
- getMovedSimpleShapeSide
- getNextRegionOpacity
- getPasteRegionOffset
- getPasteShiftDelta
- getPathSegments
- getPercentiles
- getPixelScale
- getPixelSizes
- getPixelValueFromWCS
- getRectCorners
- getRectFromPoints
- getReferencePixel
- getRegionCenterFromPoints
- getRegionPixelProperties
- getRegionSelectionPoints
- getRegionSelectionSegments
- GetRequiredTiles
- getResizedSimpleShapeFromCenter
- getResizedSimpleShapeFromCorner
- getRestFrameSpectralTransform
- getRotatedBoxPoints
- getScalingForParameterPreference
- getScalingParameter
- getScalingParameterConfig
- getShaderFromString
- getShaderProgram
- getSimpleShapeAnchorName
- getSimpleShapeAnchorPointIndex
- getSimpleShapeAnchorSizeScale
- getSimpleShapePointSelectionOrder
- getSortedIndexMap
- getSwappedDirAxisInfo
- getTimeLabelFormatName
- getTimeSeriesTickLabelResult
- getTimestamp
- getTransformedChannel
- getTransformedChannelList
- getTransformedRegionProperties
- getUnformattedWCSPoint
- getUnixTimestamp
- getValueFromArcsecString
- getVariablePrecision
- hanningSmoothing
- hasCoordinateValuesToInspect
- histogram
- histogramGaussianFit
- initWebGL
- initWebGL2
- isAstBad
- isAstBadPoint
- isAutoColor
- isCatalogLatitudeAxis
- isCatalogNumericDataType
- isExcludedCoordinateName
- isPointInPolygon
- isPointInRect
- isRectangleRegionType
- isRestFrameSpectralType
- isScriptingMap
- isStringColumnType
- isSupportedFrameScaling
- isTextRegionType
- isValidIanaTimeZone
- isValidRedshift
- isValidVelocity
- isWCSStringFormatValid
- LayerToMip
- length2D
- lineSegmentsIntersect
- loadImageTexture
- lorentzian
- magDir2D
- mapTimeSysToAstScale
- mapToObject
- markAsScriptingMap
- midpoint2D
- minMax2D
- minMaxArray
- minMaxPointArrayX
- minMaxPointArrayY
- minMaxPointArrayZ
- MipToLayer
- multiply2D
- normal2D
- normalising
- normalize2D
- normalizeCatalogUnits
- normalizeDateObsString
- numericFiltering
- observedFrequencyFactorFromRedshift
- observedFrequencyFactorFromVelocity
- offsetPointsToAvoidCollision
- parseBoolean
- parseCoordinateValue
- parseIsoInScaleToMjdUtc
- parseIsoUtcToMjdUtc
- parseNumber
- parseObsDateToMjdUtc
- parseReturnPath
- perpVector2D
- pixelToFluxDensityUnit
- pointDistance
- pointDistanceSquared
- polarizationAngle
- polarizedIntensity
- polygonPerimeter
- profilePreprocessing
- rankCatalogAxisColumns
- recognizeCoordinateString
- redshiftFromRelativisticVelocity
- redshiftFromRestFrameShift
- redshiftFromVelocity
- rejectOutOfRangeLatitude
- relativisticVelocityFromRedshift
- resolveDescriptorForAxis
- restFrameShiftValidationMessage
- restFrequencyFactorFromRedshift
- rotate2D
- rotateAboutPoint2D
- round2D
- roundToPower
- sanitizeScalingParameter
- scale2D
- scaleAboutPoint2D
- scaleAndRotateAboutPoint2D
- scaleValue
- scaleValueInverse
- scalingParametersFromConfig
- scalingParametersToConfig
- setAstCatalogSystem
- setAstStringSystem
- setAstSystem
- simplePolygonPointTest
- simplePolygonTest
- smoothStep
- smoothStepOffset
- sniffCoordinateDescriptor
- speedOfLightForSpectralUnit
- stringFiltering
- subtract2D
- TileSort
- TileSortEncoded
- toExponential
- toFixed
- toFormattedNotationByDiff
- transformPoint
- translateRegionPoints
- trimFitsComment
- trimTrailingDecimals
- usesSimpleShapeBoxSize
- velocityFromFrequency
- velocityFromRedshift
- velocityStringFromFrequency
- wavelengthToFrequency
Interfaces
- CatalogAxisEligibilityResult
- CoordinateDescriptor
- ProcessedColumnData
- ProcessedContourData
- ProcessedContourSet
- ProcessedSpatialProfile
- ProcessedSpectralProfile
- RegionClipboardData
- RegionClipboardItem
- RegionTransformSource
- ResolvedCoordinateDescriptor
- ScalingParameterConfig
- ScalingParameters
- SwappedDirAxisInfo
- SwappedZWcsSettings
- TimeLabelResult
- TimeLabelSettings
- TimeLabelValue
Type Aliases
Variables
- AUTO_COLOR_OPTIONS
- CATALOG_ARCMIN_UNITS
- CATALOG_ARCSEC_UNITS
- CATALOG_DEGREE_UNITS
- CATALOG_HOUR_UNITS
- CATALOG_MIRROR_URLS
- CATALOG_MIRRORS_BY_DATABASE
- CATALOG_RADIAN_UNITS
- COLOR_MAPS_ALL
- COLOR_MAPS_MONO
- COLOR_MAPS_SELECTED
- COORDINATE_SNIFF_SAMPLE_SIZE
- COORDINATE_SNIFF_SCAN_LIMIT
- DEFAULT_COLOR
- GL2
- MIN_EDITED_REGION_DIMENSION
- NUMBER_FORMAT_LABEL
- PARAMETERIZED_SCALINGS
- PASTE_OFFSET
- POWER_ALPHA_EPSILON
- SCALING_PARAMETER_KEYS
- 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
- SPEED_OF_LIGHT_KMS
- SUPPORTED_AUTO_COLORS_REGEX
- SUPPORTED_COLORS
- SUPPORTED_SCALING_TYPES
- SWATCH_COLORS
- TEMPLATE_NODES
- TRANSPARENT_COLOR
Type Aliases
CatalogCoordinateSystem
epoch
equinox
system
CatalogMirror
ColumnArray
CoordinateFieldUnit
CoordinateFormatKind
LineSegment2D
Rect2D
height
width
x
y
ReturnPath
SimpleShapeAnchor
StructuredReturnPath
TypedArray
VizierResource
coosys
description
id
name
table
Variables
constAUTO_COLOR_OPTIONS
constCATALOG_ARCMIN_UNITS
constCATALOG_ARCSEC_UNITS
constCATALOG_DEGREE_UNITS
constCATALOG_HOUR_UNITS
constCATALOG_MIRROR_URLS
constCATALOG_MIRRORS_BY_DATABASE
Type declaration
SIMBAD: readonly SimbadMirror[]
VizieR: readonly VizierMirror[]
constCATALOG_RADIAN_UNITS
constCOLOR_MAPS_ALL
All provided colormaps.
constCOLOR_MAPS_MONO
Some commonly used single-color gradients.
constCOLOR_MAPS_SELECTED
The selected colormaps shown in the option.
constCOORDINATE_SNIFF_SAMPLE_SIZE
constCOORDINATE_SNIFF_SCAN_LIMIT
constDEFAULT_COLOR
constGL2
Type declaration
Returns WebGL2RenderingContext
constMIN_EDITED_REGION_DIMENSION
constNUMBER_FORMAT_LABEL
constPARAMETERIZED_SCALINGS
constPASTE_OFFSET
constPOWER_ALPHA_EPSILON
constSCALING_PARAMETER_KEYS
The serialised name of each scaling that takes a parameter. These names are part of the stored format, so they are written out rather than derived from the enum.
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
Speed of light in metres per second.
constSPEED_OF_LIGHT_KMS
Speed of light in kilometres per second.
constSUPPORTED_AUTO_COLORS_REGEX
constSUPPORTED_COLORS
constSUPPORTED_SCALING_TYPES
constSWATCH_COLORS
constTEMPLATE_NODES
Type declaration
WebGL2ErrorMessage: any
WebGLErrorMessage: any
How the first sexagesimal field is scaled.
Ambiguousmeans the evidence available at recognition time cannot decide it: a bare "12:30:00" is 12 hours or 12 degrees depending on which axis the column ends up feeding, and nothing in the value itself says which. It is narrowed by resolveDescriptorForAxis once an axis is known.