Skip to main content
Version: 4.1.0

CatalogStore

Index

Properties

catalogCounts

catalogCounts: Map<number, number>

catalogPlots

catalogPlots: Map<string, ObservableMap<number, string>>

catalogProfileStores

catalogProfileStores: Map<number, CatalogProfileStore | CatalogOnlineQueryProfileStore>

catalogProfiles

catalogProfiles: Map<string, number>

catalogWidgets

catalogWidgets: Map<number, string>

imageAssociatedCatalogId

imageAssociatedCatalogId: Map<number, number[]>

Accessors

activeCatalogFiles

  • get activeCatalogFiles(): number[]
  • Returns number[]

catalogGLData

  • get catalogGLData(): Map<number, CatalogOverlayCoords>
  • Returns Map<number, CatalogOverlayCoords>

visibleCatalogFiles

  • get visibleCatalogFiles(): Map<FrameStore, number[]>
  • Returns Map<FrameStore, number[]>

staticInstance

  • get Instance(): CatalogStore
  • Returns CatalogStore

Methods

addCatalog

  • addCatalog(fileId: number, size: number): void
  • Parameters

    • fileId: number
    • size: number

    Returns void

clearCatalogPlotsByComponentId

  • clearCatalogPlotsByComponentId(componentId: string): void
  • Parameters

    • componentId: string

    Returns void

clearCatalogPlotsByFileId

  • clearCatalogPlotsByFileId(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

clearCatalogPlotsByWidgetId

  • clearCatalogPlotsByWidgetId(widgetId: string): void
  • Parameters

    • widgetId: string

    Returns void

clearImageCoordsData

  • clearImageCoordsData(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

closeAssociatedCatalog

  • closeAssociatedCatalog(imageFileId: number): void
  • Parameters

    • imageFileId: number

    Returns void

convertToImageCoordinate

  • convertToImageCoordinate(fileId: number, xData: number[], yData: number[], wcsInfo: FrameSet, xUnit: string, yUnit: string, catalogFrame: CatalogSystemType, subsetEndIndex: number, subsetDataSize: number): void
  • Parameters

    • fileId: number
    • xData: number[]
    • yData: number[]
    • wcsInfo: FrameSet
    • xUnit: string
    • yUnit: string
    • catalogFrame: CatalogSystemType
    • subsetEndIndex: number
    • subsetDataSize: number

    Returns void

getAssociatedIdByWidgetId

  • getAssociatedIdByWidgetId(catalogPlotWidgetId: string): { catalogFileId: number; catalogPlotComponentId: string }
  • Parameters

    • catalogPlotWidgetId: string

    Returns { catalogFileId: number; catalogPlotComponentId: string }

    • catalogFileId: number
    • catalogPlotComponentId: string

getCatalogFileNames

  • getCatalogFileNames(fileIds: number[]): Map<number, string>
  • Parameters

    • fileIds: number[]

    Returns Map<number, string>

getCatalogWidgetStore

  • getCatalogWidgetStore(fileId: number): CatalogWidgetStore
  • Parameters

    • fileId: number

    Returns CatalogWidgetStore

getFrameIdByCatalogId

  • getFrameIdByCatalogId(catalogId: number): number
  • Parameters

    • catalogId: number

    Returns number

getFrameMinMaxPoints

  • getFrameMinMaxPoints(frameId: number): { maxX: number; maxY: number; minX: number; minY: number }
  • Parameters

    • frameId: number

    Returns { maxX: number; maxY: number; minX: number; minY: number }

    • maxX: number
    • maxY: number
    • minX: number
    • minY: number

getImageIdByCatalog

  • getImageIdByCatalog(catalogFileId: number): any
  • Parameters

    • catalogFileId: number

    Returns any

removeCatalog

  • removeCatalog(fileId: number, catalogComponentId?: string): void
  • Parameters

    • fileId: number
    • optionalcatalogComponentId: string

    Returns void

resetActiveCatalogFile

  • resetActiveCatalogFile(imageFileId: number): void
  • Parameters

    • imageFileId: number

    Returns void

setCatalogPlots

  • setCatalogPlots(componentId: string, fileId: number, widgetId: string): void
  • Parameters

    • componentId: string
    • fileId: number
    • widgetId: string

    Returns void

updateCatalogProfiles

  • updateCatalogProfiles(catalogFileId: number): void
  • Parameters

    • catalogFileId: number

    Returns void

updateImageAssociatedCatalogId

  • updateImageAssociatedCatalogId(activeFrameIndex: number, associatedCatalogFiles: number[]): void
  • Parameters

    • activeFrameIndex: number
    • associatedCatalogFiles: number[]

    Returns void