SpectralProfileWidgetStore
Hierarchy
- RegionWidgetStore
- SpectralProfileWidgetStore
Index
Constructors
Properties
- channel
- channelValueRange
- cursorX
- fileId
- fittingStore
- intensityUnit
- isHighlighted
- isMouseMoveIntoLinePlots
- isStreamingData
- keep
- lineColorMap
- linePlotInitXYBoundaries
- linePlotPointSize
- lineWidth
- markerTextVisible
- maskRange
- maxX
- maxY
- meanRmsVisible
- minX
- minY
- momentMask
- momentRegionId
- plotType
- primaryLineColor
- profileSelectionStore
- regionIdMap
- secondaryAxisCursorInfoVisible
- selectedMoments
- selectingMode
- settingsTabId
- smoothingStore
- type
- PRIMARY_LINE_KEY
Accessors
- effectiveFrame
- effectiveRegion
- effectiveRegionId
- effectiveRegionInfo
- frameOptions
- intensityOptions
- isAutoScaledX
- isAutoScaledY
- isEffectiveFrameEqualToActiveFrame
- isIntensityConvertible
- isMomentRegionValid
- isSelectingMomentChannelRange
- isSelectingMomentMaskRange
- matchesSelectedRegion
- momentRegionInfo
- momentRegionOptions
- plotData
- profileNum
- selectedRange
- transformedSpectralLines
- yUnit
Methods
- addSpectralLines
- clearFrameEntry
- clearMomentRangeSelectingMode
- clearProfileColors
- clearRegionMap
- clearSelectedMoments
- clearSpectralLines
- clearXBounds
- clearXYBounds
- clearYBounds
- deselectMoment
- getProfileColor
- init
- initXYBoundaries
- isMomentSelected
- removeMomentByIndex
- removeProfileColor
- requestMoment
- requestingMomentCancelled
- selectFrame
- selectMoment
- selectMomentRegion
- setChannel
- setCursor
- setFileId
- setHighlighted
- setKeep
- setLinePlotPointSize
- setLineWidth
- setMarkerTextVisible
- setMeanRmsVisible
- setMomentMask
- setMomentRangeSelectingMode
- setMouseMoveIntoLinePlots
- setMultiProfileIntensityUnit
- setPlotType
- setProfileColor
- setRegionId
- setSecondaryAxisCursorInfoVisible
- setSelectedChannelRange
- setSelectedMaskRange
- setSettingsTabId
- setSpectralCoordinate
- setSpectralCoordinateSecondary
- setSpectralSystem
- setXBounds
- setXYBounds
- setYBounds
- toConfig
- updateStreamingDataStatus
- CalculateRequirementsArray
- CalculateRequirementsMap
- DiffSpectralRequirements
Constructors
constructor
Parameters
coordinate: string = "z"
Returns SpectralProfileWidgetStore
Properties
channel
channelValueRange
cursorX
fileId
readonlyfittingStore
intensityUnit
isHighlighted
isMouseMoveIntoLinePlots
isStreamingData
keep
lineColorMap
linePlotInitXYBoundaries
Type declaration
maxXVal: number
maxYVal: number
minXVal: number
minYVal: number
linePlotPointSize
lineWidth
markerTextVisible
maskRange
maxX
maxY
meanRmsVisible
minX
minY
momentMask
momentRegionId
plotType
primaryLineColor
readonlyprofileSelectionStore
regionIdMap
secondaryAxisCursorInfoVisible
selectedMoments
selectingMode
settingsTabId
readonlysmoothingStore
type
publicstaticreadonlyPRIMARY_LINE_KEY
Accessors
effectiveFrame
Returns FrameStore
effectiveRegion
Returns RegionStore
effectiveRegionId
Returns number
effectiveRegionInfo
Returns string
frameOptions
Returns OptionProps[]
intensityOptions
Returns string[]
isAutoScaledX
Returns boolean
isAutoScaledY
Returns boolean
isEffectiveFrameEqualToActiveFrame
Returns boolean
isIntensityConvertible
Returns boolean
isMomentRegionValid
Returns boolean
isSelectingMomentChannelRange
Returns boolean
isSelectingMomentMaskRange
Returns boolean
matchesSelectedRegion
Returns boolean
momentRegionInfo
Returns string
momentRegionOptions
Returns OptionProps[]
plotData
Returns MultiPlotData
profileNum
Returns number
selectedRange
Returns { center: number; isHorizontal: boolean; width: number }
center: number
isHorizontal: boolean
width: number
transformedSpectralLines
Returns SpectralLine[]
yUnit
Returns string
Methods
addSpectralLines
Parameters
spectralLines: SpectralLine[]
Returns void
clearFrameEntry
Parameters
fileId: number
Returns void
clearMomentRangeSelectingMode
Returns void
clearProfileColors
Returns void
clearRegionMap
Returns void
clearSelectedMoments
Returns void
clearSpectralLines
Returns void
clearXBounds
Returns void
clearXYBounds
Returns void
clearYBounds
Returns void
deselectMoment
Parameters
deselected: Moment
Moment in CARTA.Moment.
Returns void
getProfileColor
Parameters
lineKey: LineKey
Returns string
publicinit
Parameters
widgetSettings: any
Returns void
initXYBoundaries
Parameters
minXVal: number
maxXVal: number
minYVal: number
maxYVal: number
Returns void
isMomentSelected
Parameters
momentType: Moment
Returns boolean
removeMomentByIndex
Parameters
removeIndex: number
Returns void
removeProfileColor
Parameters
lineKey: LineKey
Returns void
requestMoment
Request the moment maps.
Returns void
requestingMomentCancelled
Cancel the moment maps request.
Returns void
publicselectFrame
Parameters
fileId: number
Returns void
selectMoment
Add moments to generate maps.
Parameters
selected: Moment
Moment in CARTA.Moment.
Returns void
selectMomentRegion
Select region for generating moment maps.
Parameters
regionId: number
Region ID number.
Returns void
setChannel
Parameters
channel: number
Returns void
setCursor
Parameters
cursorVal: number
Returns void
setFileId
Parameters
fileId: number
Returns void
setHighlighted
Parameters
isHighlighted: boolean
Returns void
setKeep
Keep previous moment maps.
Parameters
bool: boolean
A boolean. Set true to keep previous moment maps.
Returns void
setLinePlotPointSize
Parameters
val: number
Returns void
setLineWidth
Parameters
val: number
Returns void
setMarkerTextVisible
Parameters
val: boolean
Returns void
setMeanRmsVisible
Parameters
val: boolean
Returns void
setMomentMask
Mask for generating moment maps.
Parameters
momentMask: MomentMask
enum CARTA.MomentMask.
Returns void
setMomentRangeSelectingMode
Parameters
mode: MomentSelectingMode
Returns void
setMouseMoveIntoLinePlots
Parameters
val: boolean
Returns void
setMultiProfileIntensityUnit
Parameters
intensityUnitStr: string
Returns void
setPlotType
Parameters
val: PlotType
Returns void
setProfileColor
Parameters
lineKey: LineKey
color: string
Returns void
setRegionId
Set region for the spectral profiler.
Parameters
fileId: number
File ID number.
regionId: number
Region ID number.
Returns void
setSecondaryAxisCursorInfoVisible
Parameters
val: boolean
Returns void
setSelectedChannelRange
Set the channel range for generating moment maps.
Parameters
min: number
Number of first channel.
max: number
Number of last channel.
Returns void
setSelectedMaskRange
Parameters
min: number
max: number
Returns void
setSettingsTabId
Parameters
tabId: SpectralProfilerSettingsTabs
Returns void
setSpectralCoordinate
Set spectral coordinates.
Parameters
coordStr: string
A string of
<i>Spectral type (unit)</i>like Frequency (GHz).
Returns void
setSpectralCoordinateSecondary
Parameters
coordStr: string
Returns void
setSpectralSystem
Set the spectral system.
Parameters
specsys: SpectralSystem
Spectral system SpectralSystem.
Returns void
setXBounds
Parameters
minVal: number
maxVal: number
Returns void
setXYBounds
Parameters
minX: number
maxX: number
minY: number
maxY: number
Returns void
setYBounds
Parameters
minVal: number
maxVal: number
Returns void
publictoConfig
Returns { linePlotPointSize: number; lineWidth: number; maxXVal: number; maxYVal: number; meanRmsVisible: boolean; minXVal: number; minYVal: number; plotType: PlotType; primaryLineColor: string }
linePlotPointSize: number
lineWidth: number
maxXVal: number
maxYVal: number
meanRmsVisible: boolean
minXVal: number
minYVal: number
plotType: PlotType
primaryLineColor: string
updateStreamingDataStatus
Parameters
val: boolean
Returns void
publicstaticCalculateRequirementsArray
Parameters
widgetsMap: Map<string, RegionWidgetStore>
Returns Map<number, number[]>
publicstaticCalculateRequirementsMap
Parameters
widgetsMap: Map<string, SpectralProfileWidgetStore>
Returns Map<number, Map<number, SetSpectralRequirements>>
publicstaticDiffSpectralRequirements
Parameters
originalRequirements: Map<number, Map<number, SetSpectralRequirements>>
updatedRequirements: Map<number, Map<number, SetSpectralRequirements>>
Returns SetSpectralRequirements[]
Delete moments to generate maps.