Skip to main content
Version: 4.1.0

SpectralProfileSelectionStore

Index

Constructors

constructor

  • new SpectralProfileSelectionStore(widgetStore: SpectralProfileWidgetStore, coordinate: string): SpectralProfileSelectionStore
  • Parameters

    • widgetStore: SpectralProfileWidgetStore
    • coordinate: string

    Returns SpectralProfileSelectionStore

Properties

activeProfileCategory

activeProfileCategory: MultiProfileCategory

selectedCoordinates

selectedCoordinates: string[]

selectedRegionIds

selectedRegionIds: number[]

selectedStatsTypes

selectedStatsTypes: StatsType[]

Accessors

coordinateOptions

  • get coordinateOptions(): LineOption[]
  • Returns LineOption[]

effectiveRegionId

  • get effectiveRegionId(): number
  • Returns number

frameOptions

  • get frameOptions(): LineOption[]
  • Returns LineOption[]

isCoordinatesIncludingNonIntensityUnit

  • get isCoordinatesIncludingNonIntensityUnit(): boolean
  • Returns boolean

isCoordinatesPFtotalPFlinearOnly

  • get isCoordinatesPFtotalPFlinearOnly(): boolean
  • Returns boolean

isCoordinatesPangleOnly

  • get isCoordinatesPangleOnly(): boolean
  • Returns boolean

isSameCoordinatesUnit

  • get isSameCoordinatesUnit(): boolean
  • Returns boolean

isSameStatsTypeUnit

  • get isSameStatsTypeUnit(): boolean
  • Returns boolean

isSelectingActiveFrame

  • get isSelectingActiveFrame(): boolean
  • Returns boolean

isSelectingActiveRegion

  • get isSelectingActiveRegion(): boolean
  • Returns boolean

isShowingProfilesOfMultiImages

  • get isShowingProfilesOfMultiImages(): boolean
  • Returns boolean

isSingleProfileMode

  • get isSingleProfileMode(): boolean
  • Returns boolean

isStatsTypeFluxDensityOnly

  • get isStatsTypeFluxDensityOnly(): boolean
  • Returns boolean

isStatsTypeSelectionAvailable

  • get isStatsTypeSelectionAvailable(): boolean
  • Returns boolean

isStatsTypeSumSqOnly

  • get isStatsTypeSumSqOnly(): boolean
  • Returns boolean

profileOptions

  • get profileOptions(): LineOption[]
  • Returns LineOption[]

profileOrderedKeys

  • get profileOrderedKeys(): LineKey[]
  • Returns LineKey[]

profiles

  • get profiles(): { channelSecondaryValues: number[]; channelValues: number[]; colorKey: string; comments: string[]; data: ProcessedSpectralProfile; intensityConfig: IntensityConfig; intensityUnit: string; label: { image: string; plot: string } }[]
  • Returns { channelSecondaryValues: number[]; channelValues: number[]; colorKey: string; comments: string[]; data: ProcessedSpectralProfile; intensityConfig: IntensityConfig; intensityUnit: string; label: { image: string; plot: string } }[]

profilesPlotName

  • get profilesPlotName(): { image: string; plot: string }
  • Returns { image: string; plot: string }

    • image: string
    • plot: string

regionOptions

  • get regionOptions(): LineOption[]
  • Returns LineOption[]

selectedFrame

  • get selectedFrame(): FrameStore
  • Returns FrameStore

selectedFrameFileId

  • get selectedFrameFileId(): number
  • Returns number

selectedFrameWidgetFileId

  • get selectedFrameWidgetFileId(): number
  • Returns number

statsTypeOptions

  • get statsTypeOptions(): LineOption[]
  • Returns LineOption[]

Methods

publicgetFormattedSpectralConfigs

  • getFormattedSpectralConfigs(): SpectralConfig[]
  • Returns SpectralConfig[]

removeSelectedRegionMultiMode

  • removeSelectedRegionMultiMode(regionId: number): void
  • Parameters

    • regionId: number

    Returns void

selectCoordinateMultiMode

  • selectCoordinateMultiMode(coordinate: string, itemIndex: number): void
  • Parameters

    • coordinate: string
    • itemIndex: number

    Returns void

selectCoordinateSingleMode

  • selectCoordinateSingleMode(coordinate: string): void
  • Parameters

    • coordinate: string

    Returns void

selectFrame

  • selectFrame(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

selectRegionMultiMode

  • selectRegionMultiMode(regionId: number, itemIndex: number): void
  • Parameters

    • regionId: number
    • itemIndex: number

    Returns void

selectRegionSingleMode

  • selectRegionSingleMode(regionId: number): void
  • Parameters

    • regionId: number

    Returns void

selectStatMultiMode

  • selectStatMultiMode(statsType: StatsType, itemIndex: number): void
  • Parameters

    • statsType: StatsType
    • itemIndex: number

    Returns void

selectStatSingleMode

  • selectStatSingleMode(statsType: StatsType): void
  • Parameters

    • statsType: StatsType

    Returns void

setActiveProfileCategory

  • setActiveProfileCategory(profileCategory: MultiProfileCategory): void
  • Parameters

    • profileCategory: MultiProfileCategory

    Returns void