FrameStore
Index
Constructors
Properties
- animationChannelRange
- center
- channel
- channelSecondaryValues
- channelValues
- colorbarLabelCustomText
- colorbarStore
- contourConfig
- contourStores
- currentCompressionQuality
- currentFrameView
- cursorInfo
- cursorMoving
- cursorValue
- defaultWcsSystem
- fittingLog
- fittingModelImage
- fittingResidualImage
- fittingResult
- fittingResultRegionParams
- frameInfo
- generatedPVRegionId
- intensityUnit
- isOffsetCoord
- isRequestPVCancelling
- isRequestingMoments
- isRequestingPV
- momentImages
- moving
- offsetCenter
- overlayBeamSettings
- pixelUnitSizeArcsec
- pointShapeCache
- previewPVRasterData
- previewViewHeight
- previewViewWidth
- pvImages
- rasterScalingReference
- renderConfig
- requestingMomentsProgress
- requestingPVProgress
- requiredChannel
- requiredFrameViewForRegionRender
- requiredStokes
- restFreqStore
- secondaryRasterScalingImages
- secondarySpatialImages
- secondarySpectralImages
- spatialReference
- spatialTransformAST
- spectralCoordsSupported
- spectralReference
- spectralSystem
- spectralSystemsSupported
- spectralType
- spectralTypeSecondary
- spectralUnit
- spectralUnitSecondary
- stokes
- stokesFiles
- titleCustomText
- updatePreviewDataGenerator
- validWcs
- vectorOverlayConfig
- vectorOverlayStore
- wcsInfo
- wcsInfo3D
- wcsInfoForTransformation
- wcsInfoShifted
- zoomLevel
- zooming
Accessors
- aspectRatio
- beamAllChannels
- beamProperties
- centerMovement
- centerWCS
- channelInfo
- channelType
- channelValueBounds
- contourProgress
- coordinateOptions
- coordinateOptionsZ
- depthAxisInfo
- depthNumber
- dimension
- dirX
- dirXLabel
- dirXNumber
- dirY
- dirYLabel
- dirYNumber
- filename
- fovSize
- fovSizeWCS
- hasLinearStokes
- hasSquarePixels
- hasStokes
- hasVisibleBeam
- headerRestFreq
- headerUnit
- id
- intensityConfig
- isCoordChannel
- isCoordChannelSecondary
- isCoordVelocity
- isCursorValueCurrent
- isPVImage
- isPreview
- isRenderable
- isRestFreqEditable
- isSecondarySpectralPropsEqual
- isSpectralChannel
- isSpectralCoordinateConvertible
- isSpectralPropsEqual
- isSpectralSystemConvertible
- isSwappedZ
- isUVImage
- isXY
- isYX
- maxMip
- nativeSpectralCoordinate
- numChannels
- offsetCenterWCS
- polarizationInfo
- polarizations
- previewCursorValue
- regionSet
- renderConfigSiblings
- renderHeight
- renderWidth
- renderedAxesNumbers
- requiredFrameView
- requiredPolarization
- requiredPolarizationIndex
- requiredPolarizationInfo
- requiredUnit
- sharedRegions
- spatialSiblings
- spatialTransform
- spectral
- spectralAxis
- spectralCoordinate
- spectralCoordinateSecondary
- spectralInfo
- spectralLabel
- spectralNumber
- spectralSiblings
- spectralUnitStr
- stokesInfo
- stokesNumber
- stokesOptions
- transformedWcsInfo
- unitFrameView
- uvAxis
Methods
- addFittingModelImage
- addFittingResidualImage
- addMomentImage
- addPvImage
- addSecondaryRasterScalingImage
- addSecondarySpatialImage
- addSecondarySpectralImage
- applyContours
- applyVectorOverlay
- clearContours
- clearRasterScalingReference
- clearSpatialReference
- clearSpectralReference
- clearVectorOverlay
- convertFreqMHzToSettingWCS
- convertToNativeWCS
- endMoving
- findChannelIndexByValue
- fitZoom
- genRegionWcsProperties
- getCatalogControlMap
- getControlMap
- getCursorInfo
- getImagePosFromWCS
- getImageXValueFromArcsec
- getImageYValueFromArcsec
- getRegion
- getRegionProperties
- getRegionWcsProperties
- getWCSFromImagePos
- getWcsSizeInArcsec
- incrementChannels
- onResizePreviewWidget
- removeCatalogControlMap
- removeControlMap
- removeMomentImage
- removePvImage
- removeSecondaryRasterScalingImage
- removeSecondarySpatialImage
- removeSecondarySpectralImage
- resetFitting
- resetMomentRequestState
- resetPvRequestState
- setAnimationRange
- setCenter
- setCenterWcs
- setChannel
- setChannels
- setColorbarLabelCustomText
- setCursorPosition
- setCursorValue
- setFittingLog
- setFittingResult
- setFittingResultRegionParams
- setFrameInfo
- setGeneratedPVRegionId
- setIntensityUnit
- setIsRequestPVCancelling
- setIsRequestingMoments
- setIsRequestingPV
- setOffsetCenter
- setOffsetCenterWcs
- setPreviewPVRasterData
- setRasterScalingReference
- setSpatialReference
- setSpectralCoordinate
- setSpectralCoordinateSecondary
- setSpectralCoordinateToRadioVelocity
- setSpectralReference
- setSpectralSystem
- setStokes
- setStokesByIndex
- setStokesFiles
- setTitleCustomText
- setZoom
- startMoving
- toggleOffsetCoord
- updateCursorRegion
- updateFromContourData
- updateFromVectorOverlayData
- updateOffsetCenter
- updatePreviewData
- updateRequestingMomentsProgress
- updateRequestingPvProgress
- updateSpectralVsDirectionWcs
- updateWcsSystem
- zoomToPoint
- zoomToSizeX
- zoomToSizeXWcs
- zoomToSizeY
- zoomToSizeYWcs
Constructors
constructor
Parameters
frameInfo: FrameInfo
Returns FrameStore
Properties
animationChannelRange
center
channel
channelSecondaryValues
channelValues
colorbarLabelCustomText
publicreadonlycolorbarStore
publicreadonlycontourConfig
contourStores
currentCompressionQuality
currentFrameView
cursorInfo
cursorMoving
cursorValue
Type declaration
channel: number
position: Point2D
value: number
publicreadonlydefaultWcsSystem
fittingLog
fittingModelImage
fittingResidualImage
fittingResult
fittingResultRegionParams
publicframeInfo
generatedPVRegionId
intensityUnit
isOffsetCoord
isRequestPVCancelling
isRequestingMoments
isRequestingPV
momentImages
moving
offsetCenter
View center for the relative coordinate in pixel coordinates
overlayBeamSettings
publicreadonlypixelUnitSizeArcsec
publicpointShapeCache
previewPVRasterData
previewViewHeight
previewViewWidth
pvImages
rasterScalingReference
publicreadonlyrenderConfig
requestingMomentsProgress
requestingPVProgress
requiredChannel
publicrequiredFrameViewForRegionRender
requiredStokes
publicrestFreqStore
secondaryRasterScalingImages
secondarySpatialImages
secondarySpectralImages
spatialReference
publicspatialTransformAST
publicspectralCoordsSupported
spectralReference
spectralSystem
publicspectralSystemsSupported
spectralType
spectralTypeSecondary
spectralUnit
spectralUnitSecondary
stokes
stokesFiles
titleCustomText
publicupdatePreviewDataGenerator
publicreadonlyvalidWcs
publicreadonlyvectorOverlayConfig
publicreadonlyvectorOverlayStore
publicwcsInfo
publicreadonlywcsInfo3D
publicreadonlywcsInfoForTransformation
publicwcsInfoShifted
zoomLevel
zooming
Accessors
aspectRatio
Returns number
beamAllChannels
Returns IBeam[]
beamProperties
Returns { angle: number; majorAxis: number; minorAxis: number; overlayBeamSettings: OverlayBeamStore; x: number; y: number }
angle: number
majorAxis: number
minorAxis: number
overlayBeamSettings: OverlayBeamStore
x: number
y: number
centerMovement
Returns Point2D
centerWCS
Returns WCSPoint2D
channelInfo
Returns ChannelInfo
channelType
Returns string
channelValueBounds
Returns FloatBounds
contourProgress
Returns number
coordinateOptions
Returns { label: string; value: string }[]
coordinateOptionsZ
Returns { label: string; value: string }[]
depthAxisInfo
Returns string
depthNumber
Returns number
dimension
Returns string
dirX
Returns number
dirXLabel
Returns string
dirXNumber
Returns number
dirY
Returns number
dirYLabel
Returns string
dirYNumber
Returns number
filename
Returns string
fovSize
Returns Point2D
fovSizeWCS
Returns WCSPoint2D
hasLinearStokes
Returns boolean
hasSquarePixels
Returns boolean
hasStokes
Returns boolean
hasVisibleBeam
Returns boolean
headerRestFreq
Returns number
headerUnit
Returns string
id
The unique identifier of the frame.
Returns number
intensityConfig
Returns IntensityConfig
isCoordChannel
Returns boolean
isCoordChannelSecondary
Returns boolean
isCoordVelocity
Returns boolean
isCursorValueCurrent
Returns boolean
isPVImage
Returns boolean
isPreview
Returns boolean
isRenderable
Returns boolean
isRestFreqEditable
Returns boolean
isSecondarySpectralPropsEqual
Returns boolean
isSpectralChannel
Returns boolean
isSpectralCoordinateConvertible
Returns boolean
isSpectralPropsEqual
Returns boolean
isSpectralSystemConvertible
Returns boolean
isSwappedZ
Returns boolean
isUVImage
Returns boolean
isXY
Returns boolean
isYX
Returns boolean
maxMip
Returns number
nativeSpectralCoordinate
Returns string
numChannels
Returns number
offsetCenterWCS
Returns WCSPoint2D
polarizationInfo
Returns string[]
polarizations
Returns POLARIZATIONS[]
previewCursorValue
regionSet
Returns RegionSetStore
renderConfigSiblings
Returns FrameStore[]
renderHeight
Returns number
renderWidth
Returns number
renderedAxesNumbers
Returns [number, number]
requiredFrameView
Returns FrameView
requiredPolarization
Returns number
requiredPolarizationIndex
Returns number
requiredPolarizationInfo
Returns string
requiredUnit
Returns string
sharedRegions
Returns boolean
spatialSiblings
Returns FrameStore[]
spatialTransform
Returns Transform2D
spectral
Returns number
spectralAxis
Returns { specsys: string; type: SpectralTypeSet; valid: boolean; value: number }
specsys: string
type: SpectralTypeSet
valid: boolean
value: number
spectralCoordinate
Returns string
spectralCoordinateSecondary
Returns string
spectralInfo
Returns SpectralInfo
spectralLabel
Returns string
spectralNumber
Returns number
spectralSiblings
Returns FrameStore[]
spectralUnitStr
Returns string
stokesInfo
Returns string[]
stokesNumber
Returns number
stokesOptions
Returns { label: string; value: number }[]
transformedWcsInfo
Returns any
unitFrameView
Returns FrameView
uvAxis
Returns number
Methods
addFittingModelImage
Parameters
frame: FrameStore
Returns void
addFittingResidualImage
Parameters
frame: FrameStore
Returns void
addMomentImage
Parameters
frame: FrameStore
Returns void
addPvImage
Parameters
frame: FrameStore
Returns void
addSecondaryRasterScalingImage
Parameters
frame: FrameStore
Returns void
addSecondarySpatialImage
Parameters
frame: FrameStore
Returns void
addSecondarySpectralImage
Parameters
frame: FrameStore
Returns void
applyContours
Returns void
applyVectorOverlay
Returns void
clearContours
Parameters
updateBackend: boolean = true
Returns void
clearRasterScalingReference
Returns void
clearSpatialReference
Returns void
clearSpectralReference
Returns void
clearVectorOverlay
Parameters
updateBackend: boolean = true
Returns void
publicconvertFreqMHzToSettingWCS
Parameters
value: number
Returns number
publicconvertToNativeWCS
Parameters
value: number
Returns number
endMoving
Returns void
publicfindChannelIndexByValue
Parameters
x: number
Returns number
fitZoom
Returns number
publicgenRegionWcsProperties
Parameters
regionType: RegionType
controlPoints: Point2D[]
rotation: number
regionId: number = -1
Returns string
publicgetCatalogControlMap
Parameters
frame: FrameStore
Returns CatalogControlMap
publicgetControlMap
Parameters
frame: FrameStore
Returns ControlMap
publicgetCursorInfo
getImagePosFromWCS
Converts positions from WCS coordinates to image coordinates.
Parameters
wcsList: WCSPoint2D[]
An array of positions in WCS coordinates.
Returns Point2D[]
An array of corresponding positions in image coordinates.
publicgetImageXValueFromArcsec
Parameters
arcsecValue: number
Returns number
publicgetImageYValueFromArcsec
Parameters
arcsecValue: number
Returns number
publicgetRegion
Parameters
regionId: number
Returns RegionStore
publicgetRegionProperties
Parameters
regionId: number
Returns string[]
publicgetRegionWcsProperties
Parameters
region: RegionStore
Returns string
getWCSFromImagePos
Converts positions from image coordinates to WCS coordinates.
Parameters
posList: Point2D[]
An array of positions in image coordinates.
Returns WCSPoint2D[]
An array of corresponding positions in WCS coordinates.
publicgetWcsSizeInArcsec
incrementChannels
Parameters
deltaChannel: number
deltaStokes: number
wrap: boolean = true
Returns void
onResizePreviewWidget
Parameters
width: number
height: number
Returns void
publicremoveCatalogControlMap
Parameters
frame: FrameStore
Returns void
publicremoveControlMap
Parameters
frame: FrameStore
Returns void
removeMomentImage
Returns void
removePvImage
Returns void
removeSecondaryRasterScalingImage
Parameters
frame: FrameStore
Returns void
removeSecondarySpatialImage
Parameters
frame: FrameStore
Returns void
removeSecondarySpectralImage
Parameters
frame: FrameStore
Returns void
resetFitting
Returns void
resetMomentRequestState
Returns void
resetPvRequestState
Returns void
setAnimationRange
Parameters
range: NumberRange
Returns void
setCenter
Set the view center in the pixel coordinates.
Parameters
x: number
x-axis value in the pixel coordinates.
y: number
y-axis value in the pixel coordinates.
enableSpatialTransform: boolean = true
enable spatial coordinates transform.
Returns boolean
- true if offset center is setted succesfully
setCenterWcs
Set the view center in WCS coordinate.
Parameters
wcsX: string
x-axis value in the WCS coordinate
wcsY: string
y-axis value in the WCS coordinate
Returns boolean
- false
setChannel
Sets the channel of the frame.
Parameters
channel: number
The channel index to set.
recursive: boolean = true
Whether to update channels of spectrally matched frames.
Returns void
setChannels
Sets the channel and the Stokes parameter of the frame.
Parameters
channel: number
The channel index to set.
stokes: number
The Stokes parameter to set. Standard polarization requires the polarization index (eg. "I": 0). Computed polarization requires the polarization value (eg. "Pangle": 17).
recursive: boolean
Whether to update channels of spectrally matched frames.
Returns void
setColorbarLabelCustomText
Parameters
text: string
Returns void
setCursorPosition
Parameters
posImageSpace: Point2D
Returns void
setCursorValue
Parameters
position: Point2D
channel: number
value: number
Returns void
setFittingLog
Parameters
log: string
Returns void
setFittingResult
Parameters
results: string
Returns void
setFittingResultRegionParams
Parameters
params: { points: Point2D[]; rotation: number }[]
Returns void
setFrameInfo
Parameters
frameInfo: FrameInfo
Returns void
setGeneratedPVRegionId
Parameters
regionId: number
Returns void
setIntensityUnit
Parameters
intensityUnitStr: string
Returns void
setIsRequestPVCancelling
Parameters
val: boolean
Returns void
setIsRequestingMoments
Parameters
val: boolean
Returns void
setIsRequestingPV
Parameters
val: boolean
Returns void
setOffsetCenter
Set the offset center and update the displayed coordinates.
Parameters
x: number
x-axis value in the pixel coordinates.
y: number
y-axis value in the pixel coordinates.
enableSpatialTransform: boolean = true
enable spatial coordinates transform.
Returns boolean
- true if offset center is setted succesfully
setOffsetCenterWcs
Set the offset center in WCS coordinates.
Parameters
wcsX: string
x-axis value in the WCS coordinates.
wcsY: string
y-axis value in the WCS coordinates.
Returns boolean
- false
setPreviewPVRasterData
Parameters
previewPVRasterData: Float32Array
skipUpdatePreviewData: boolean = false
Returns void
setRasterScalingReference
Parameters
frame: FrameStore
Returns void
setSpatialReference
Parameters
frame: FrameStore
Returns boolean
setSpectralCoordinate
Parameters
coordStr: string
alignSpectralSiblings: boolean = true
Returns boolean
setSpectralCoordinateSecondary
Parameters
coordStr: string
alignSpectralSiblings: boolean = true
Returns boolean
setSpectralCoordinateToRadioVelocity
Returns void
setSpectralReference
Parameters
frame: FrameStore
Returns boolean
setSpectralSystem
Parameters
spectralSystem: SpectralSystem
alignSpectralSiblings: boolean = true
Returns boolean
setStokes
Sets the Stokes parameter of the frame. Required for carta-python. If the provided
polarization
value is not found in the frame, the function will return without making any changes.Parameters
polarization: POLARIZATIONS
The polarization value.
recursive: boolean = false
Whether to update channels of spectrally matched frames.
Returns void
setStokesByIndex
Sets the Stokes parameter of the frame by the index. If the provided
polarizationIndex
is not a valid index or exceeds the range, the function will return without making any changes.Parameters
polarizationIndex: number
The index of the polarization value.
recursive: boolean = false
Whether to update channels of spectrally matched frames.
Returns void
setStokesFiles
Parameters
stokesFiles: StokesFile[]
Returns void
setTitleCustomText
Parameters
text: string
Returns void
setZoom
Parameters
zoom: number
absolute: boolean = false
Returns void
startMoving
Returns void
toggleOffsetCoord
Toggle of the offset coordinates. This function initially sets the current view center (instead of the image center) as the offset center.
Returns void
updateCursorRegion
Parameters
pos: Point2D
Returns void
updateFromContourData
Parameters
contourImageData: ContourImageData
Returns void
updateFromVectorOverlayData
Parameters
vectorOverlayData: IVectorOverlayTileData
Returns void
updateOffsetCenter
Returns void
publicupdatePreviewData
Parameters
previewData: PvPreviewData
Returns Generator<void, void, unknown>
updateRequestingMomentsProgress
Parameters
progress: number
Returns void
updateRequestingPvProgress
Parameters
progress: number
Returns void
publicupdateSpectralVsDirectionWcs
Returns void
updateWcsSystem
Parameters
formatStringX: string
formatStyingY: string
explicitSystem: SystemType
Returns void
zoomToPoint
Parameters
x: number
y: number
zoom: number
absolute: boolean = false
Returns void
zoomToSizeX
Parameters
x: number
Returns boolean
zoomToSizeXWcs
Parameters
wcsX: string
Returns boolean
zoomToSizeY
Parameters
y: number
Returns boolean
zoomToSizeYWcs
Parameters
wcsY: string
Returns boolean
View center in pixel coordinates