Skip to main content
Version: 4.1.0

AppStore

Index

Properties

Accessors

Methods

Properties

activeFrame

activeFrame: FrameStore

activeLayer

activeLayer: ImageViewLayer

activeWorkspace

activeWorkspace: Workspace

readonlyalertStore

alertStore: AlertStore

readonlyanimatorStore

animatorStore: AnimatorStore

readonlyapiService

apiService: ApiService

astReady

astReady: boolean

readonlybackendService

backendService: BackendService

cartaComputeReady

cartaComputeReady: boolean

readonlycatalogStore

catalogStore: CatalogStore

contourDataSource

contourDataSource: FrameStore

cursorFrozen

cursorFrozen: boolean

cursorMirror

cursorMirror: boolean = false

readonlydialogStore

dialogStore: DialogStore

readonlyfileBrowserStore

fileBrowserStore: FileBrowserStore

fileLoading

fileLoading: boolean

fileSaving

fileSaving: boolean

frames

frames: FrameStore[]

readonlyhelpStore

helpStore: HelpStore

hoveredFrame

hoveredFrame: FrameStore

readonlyimageFittingStore

imageFittingStore: ImageFittingStore

imageRatio

imageRatio: number

isExportingImage

isExportingImage: boolean

isLoadingMultipleFiles

isLoadingMultipleFiles: boolean = false

readonlylayoutStore

layoutStore: LayoutStore

loadingWorkspace

loadingWorkspace: boolean

readonlylogStore

logStore: LogStore

momentToMatch

momentToMatch: boolean

newRelease

newRelease: string = ""

readonlyoverlayStore

overlayStore: OverlayStore

readonlypreferenceStore

preferenceStore: PreferenceStore

previewFrames

previewFrames: ObservableMap<number, FrameStore>

rasterScalingReference

rasterScalingReference: FrameStore

regionHistograms

regionHistograms: Map<number, ObservableMap<number, ObservableMap<number, IRegionHistogramData>>>

regionStats

regionStats: Map<number, ObservableMap<number, ObservableMap<number, RegionStatsData>>>

resumingSession

resumingSession: boolean

readonlyscriptingService

scriptingService: ScriptingService

showNewRelease

showNewRelease: boolean = false

readonlysnippetStore

snippetStore: SnippetStore

spatialProfiles

spatialProfiles: Map<string, SpatialProfileStore>

spatialReference

spatialReference: FrameStore

spectralMatchingType

spectralMatchingType: SpectralType

spectralProfiles

spectralProfiles: Map<number, ObservableMap<number, SpectralProfileStore>>

spectralReference

spectralReference: FrameStore

splashScreenVisible

splashScreenVisible: boolean = true

syncContourToFrame

syncContourToFrame: boolean

syncFrameToContour

syncFrameToContour: boolean

systemTheme

systemTheme: string

taskCurrentTime

taskCurrentTime: number

taskProgress

taskProgress: number

taskStartTime

taskStartTime: number

readonlytelemetryService

telemetryService: TelemetryService

readonlytileService

tileService: TileService

toolbarExpanded

toolbarExpanded: boolean

username

username: string = ""

readonlywidgetsStore

widgetsStore: WidgetsStore

publicstaticreadonlyDEFAULT_STATS_TYPES

DEFAULT_STATS_TYPES: any[] = ...

Accessors

activeFrameFileId

  • get activeFrameFileId(): number
  • Returns number

activeFrameIndex

  • get activeFrameIndex(): number
  • Returns number

appendFileDisabled

  • get appendFileDisabled(): boolean
  • Returns boolean

catalogNextFileId

  • get catalogNextFileId(): number
  • Returns number

catalogNum

  • get catalogNum(): number
  • Returns number

contourFrames

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

currentImagePage

  • get currentImagePage(): number
  • Returns number

darkTheme

  • get darkTheme(): boolean
  • Returns boolean

estimatedTaskRemainingTime

  • get estimatedTaskRemainingTime(): number
  • Returns number

frameChannels

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

frameLockedToContour

  • get frameLockedToContour(): boolean
  • Returns boolean

frameMap

  • get frameMap(): Map<number, FrameStore>
  • Returns Map<number, FrameStore>

frameNames

  • get frameNames(): IOptionProps[]
  • Returns IOptionProps[]

frameNum

  • get frameNum(): number
  • Returns number

frameOptions

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

frameStokes

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

imagePanelMode

  • get imagePanelMode(): ImagePanelMode
  • Returns ImagePanelMode

imagesPerPage

  • get imagesPerPage(): number
  • Returns number

modifierString

  • get modifierString(): ctrl + | cmd + | alt +
  • Returns ctrl + | cmd + | alt +

numImageColumns

  • get numImageColumns(): number
  • Returns number

numImagePages

  • get numImagePages(): number
  • Returns number

numImageRows

  • get numImageRows(): number
  • Returns number

openFileDisabled

  • get openFileDisabled(): boolean
  • Returns boolean

pixelRatio

  • get pixelRatio(): number
  • Returns number

selectedRegion

  • get selectedRegion(): RegionStore
  • Returns RegionStore

spatialAndSpectalMatchedFileIds

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

vectorOverlayFrames

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

visibleFrames

  • get visibleFrames(): FrameStore[]
  • Returns FrameStore[]

staticInstance

  • get Instance(): AppStore
  • Returns AppStore

Methods

addFrame

  • addFrame(ack: IOpenFileAck, directory: string, lelExpr: boolean, hdu: string, generated?: boolean, setAsActive?: boolean, updateStartingDirectory?: boolean): boolean
  • Adds a frame to the frame array based on the provided parameters.


    Parameters

    • ack: IOpenFileAck

      The ack message received after opening a file.

    • directory: string

      The path to the parent directory of the file.

    • lelExpr: boolean

      Whether the file is opened with an image arithmetic (CASA lattice expression) string.

    • hdu: string

      The Header Data Unit (HDU) identifier of the file.

    • generated: boolean = false

      Whether the frame is a generated in-memory image. Used for the telemetry message.

    • setAsActive: boolean = true

      Whether the frame should be set as the active frame.

    • updateStartingDirectory: boolean = true

      Whether to update the starting directory in the file browser. Required for carta-python.

    Returns boolean

    Whether the frame was successfully added.

addPreviewFrame

  • addPreviewFrame(ack: any, directory: string, hdu: string): FrameStore
  • Parameters

    • ack: any
    • directory: string
    • hdu: string

    Returns FrameStore

addRegionsInBatch

  • addRegionsInBatch(frame: FrameStore, regions: [string, IRegionInfo][], regionStyleMap: Map<string, IRegionStyle>, startIndex: number, count: number): void
  • Parameters

    • frame: FrameStore
    • regions: [string, IRegionInfo][]
    • regionStyleMap: Map<string, IRegionStyle>
    • startIndex: number
    • count: number

    Returns void

appendCatalog

  • appendCatalog(directory: string, file: string, previewDataSize: number, type: CatalogFileType): Generator<Promise<IOpenCatalogFileAck>, number, unknown>
  • Parameters

    • directory: string
    • file: string
    • previewDataSize: number
    • type: CatalogFileType

    Returns Generator<Promise<IOpenCatalogFileAck>, number, unknown>

appendConcatFile

  • appendConcatFile(stokesFiles: IStokesFile[], directory: string, hdu: string): Promise<any>
  • Parameters

    • stokesFiles: IStokesFile[]
    • directory: string
    • hdu: string

    Returns Promise<any>

appendFile

  • appendFile(path: string, filename?: string, hdu?: string, imageArithmetic?: boolean, setAsActive?: boolean, updateStartingDirectory?: boolean): Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown>
  • Appends a file at the given path to the list of existing open files.

    @example
    // Append a file with the given path and filename
    const file = await appendFile("/path/to/directory", "example.fits");

    Parameters

    • path: string

      The path to the parent directory of the file to open, or of the file itself.

    • optionalfilename: string

      The filename of the file to open.

    • optionalhdu: string

      The Header Data Unit (HDU) to open. If left blank, the first image HDU will be opened.

    • imageArithmetic: boolean = false

      Whether to treat the filename as an image arithmetic (CASA lattice expression) string.

    • setAsActive: boolean = true

      Whether to set the appended file as the active frame.

    • updateStartingDirectory: boolean = true

      Whether to update the starting directory in the file browser. Required for carta-python.

    Returns Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown>

    A promise that resolves to the FrameStore of the opened file.

cancelCubeHistogramRequest

  • cancelCubeHistogramRequest(fileId?: number): void
  • Parameters

    • fileId: number = -1

    Returns void

cancelRequestingMoment

  • cancelRequestingMoment(fileId?: number): void
  • Parameters

    • fileId: number = -1

    Returns void

cancelRequestingPV

  • cancelRequestingPV(fileId?: number, previewId?: number): void
  • Parameters

    • fileId: number = -1
    • optionalpreviewId: number

    Returns void

clearRasterScalingReference

  • clearRasterScalingReference(): void
  • Returns void

clearSpatialReference

  • clearSpatialReference(): void
  • Returns void

clearSpectralReference

  • clearSpectralReference(): void
  • Returns void

closeCurrentFile

  • closeCurrentFile(confirmClose?: boolean): void
  • Closes the currently active image.


    Parameters

    • confirmClose: boolean = false

      Flag indicating whether to display a confirmation dialog before closing.

    Returns void

closeFile

  • closeFile(frame: FrameStore, confirmClose?: boolean): Generator<Promise<boolean>, void, unknown>
  • Parameters

    • frame: FrameStore
    • confirmClose: boolean = true

    Returns Generator<Promise<boolean>, void, unknown>

closeOtherFiles

  • closeOtherFiles(frame: FrameStore, confirmClose?: boolean): void
  • Parameters

    • frame: FrameStore
    • confirmClose: boolean = true

    Returns void

closeWorkspace

  • closeWorkspace(): void
  • Returns void

decreaseImageRatio

  • decreaseImageRatio(): void
  • Returns void

delay

  • delay(time: number): Promise<unknown>
  • Parameters

    • time: number

    Returns Promise<unknown>

deleteRegion

  • deleteRegion(region: RegionStore): void
  • Parameters

    • region: RegionStore

    Returns void

deleteSelectedRegion

  • deleteSelectedRegion(): void
  • Returns void

deleteWorkspace

  • deleteWorkspace(name: string): Promise<void>
  • Parameters

    • name: string

    Returns Promise<void>

endFileLoading

  • endFileLoading(): void
  • Returns void

endFileSaving

  • endFileSaving(): void
  • Returns void

exportImage

  • exportImage(imageRatio: number): void
  • Parameters

    • imageRatio: number

    Returns void

exportRegions

  • exportRegions(directory: string, file: string, coordType: CoordinateType, fileType: any, exportRegions: number[], targetFrame?: FrameStore): Generator<Promise<IExportRegionAck>, void, unknown>
  • Exports specified regions and saves a region file to the provided directory.


    Parameters

    • directory: string

      The directory where the region file will be saved.

    • file: string

      The filename of the region file.

    • coordType: CoordinateType

      The coordinate system used in the exported region file.

    • fileType: any

      The type of the exported region file.

    • exportRegions: number[]

      The indices of the regions to be exported.

    • optionaltargetFrame: FrameStore

      The target frame containing the regions. If not provided, the active frame is used.

    Returns Generator<Promise<IExportRegionAck>, void, unknown>

fetchParameter

  • fetchParameter(val: any): any
  • Parameters

    • val: any

    Returns any

publicgetAppContainer

  • getAppContainer(): HTMLElement
  • Returns HTMLElement

getFileList

  • getFileList(directory: string): Promise<IFileListResponse>
  • Parameters

    • directory: string

    Returns Promise<IFileListResponse>

getFrame

  • getFrame(fileId: number): FrameStore
  • Parameters

    • fileId: number

    Returns FrameStore

getFrameIndex

  • getFrameIndex(fileId: number): number
  • Parameters

    • fileId: number

    Returns number

getFrameName

  • getFrameName(fileId: number): string
  • Parameters

    • fileId: number

    Returns string

getImageDataUrl

  • getImageDataUrl(backgroundColor: string): string
  • Parameters

    • backgroundColor: string

    Returns string

handleCatalogFilterStream

  • handleCatalogFilterStream(catalogFilter: CatalogFilterResponse): void
  • Parameters

    • catalogFilter: CatalogFilterResponse

    Returns void

handleContourImageStream

  • handleContourImageStream(contourImageData: ContourImageData): void
  • Parameters

    • contourImageData: ContourImageData

    Returns void

handleErrorStream

  • handleErrorStream(errorData: ErrorData): void
  • Parameters

    • errorData: ErrorData

    Returns void

handleFileProgressStream

  • handleFileProgressStream(fileProgress: ListProgress): void
  • Parameters

    • fileProgress: ListProgress

    Returns void

handleFittingProgressStream

  • handleFittingProgressStream(fittingProgress: FittingProgress): void
  • Parameters

    • fittingProgress: FittingProgress

    Returns void

handleMomentProgressStream

  • handleMomentProgressStream(momentProgress: MomentProgress): void
  • Parameters

    • momentProgress: MomentProgress

    Returns void

handlePvPreviewStream

  • handlePvPreviewStream(pvPreviewData: PvPreviewData): void
  • Parameters

    • pvPreviewData: PvPreviewData

    Returns void

handlePvProgressStream

  • handlePvProgressStream(pvProgress: PvProgress): void
  • Parameters

    • pvProgress: PvProgress

    Returns void

handleRegionHistogramStream

  • handleRegionHistogramStream(regionHistogramData: RegionHistogramData): void
  • Parameters

    • regionHistogramData: RegionHistogramData

    Returns void

handleRegionStatsStream

  • handleRegionStatsStream(regionStatsData: RegionStatsData): void
  • Parameters

    • regionStatsData: RegionStatsData

    Returns void

handleScriptingRequest

  • handleScriptingRequest(request: IScriptingRequest): void
  • Parameters

    • request: IScriptingRequest

    Returns void

handleSpatialProfileStream

  • handleSpatialProfileStream(spatialProfileData: ISpatialProfileData): void
  • Parameters

    • spatialProfileData: ISpatialProfileData

    Returns void

handleSpectralProfileStream

  • handleSpectralProfileStream(spectralProfileData: SpectralProfileData): void
  • Parameters

    • spectralProfileData: SpectralProfileData

    Returns void

handleThemeChange

  • handleThemeChange(darkMode: boolean): void
  • Parameters

    • darkMode: boolean

    Returns void

handleTileStream

  • handleTileStream(tileStreamDetails: TileStreamDetails): void
  • Parameters

    • tileStreamDetails: TileStreamDetails

    Returns void

handleVectorTileStream

  • handleVectorTileStream(vectorTileData: IVectorOverlayTileData): void
  • Parameters

    • vectorTileData: IVectorOverlayTileData

    Returns void

hideSplashScreen

  • hideSplashScreen(): void
  • Returns void

importRegion

  • importRegion(directory: string, file: string, type: any, targetFrame?: FrameStore): Generator<Promise<IImportRegionAck>, void, unknown>
  • Imports a region file to the active frame or a specified frame. Supported file types are CRTF and DS9.


    Parameters

    • directory: string

      The directory containing the region file.

    • file: string

      The filename of the region file.

    • type: any

      The type of the region file (CRTF or DS9_REG).

    • optionaltargetFrame: FrameStore

      The frame to which the regions should be imported. If not provided, the active frame is used. If the frame is spatially matched, the reference frame is used.

    Returns Generator<Promise<IImportRegionAck>, void, unknown>

loadConcatStokes

  • loadConcatStokes(stokesFiles: IStokesFile[], directory: string, hdu: string): Promise<any>
  • Parameters

    • stokesFiles: IStokesFile[]
    • directory: string
    • hdu: string

    Returns Promise<any>

loadDefaultFiles

  • loadDefaultFiles(): Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown> | Generator<Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown> | Promise<Workspace>, boolean, Workspace & FrameStore>, void, unknown>
  • Returns Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown> | Generator<Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown> | Promise<Workspace>, boolean, Workspace & FrameStore>, void, unknown>

loadFile

  • loadFile(path: string, filename: string, hdu: string, imageArithmetic: boolean, setAsActive?: boolean, updateStartingDirectory?: boolean): Generator<Promise<IOpenFileAck>, FrameStore, unknown>
  • Loads a file at the given path and adds it as a frame to the application.

    @throws

    If there is an error loading the file.


    Parameters

    • path: string

      The path to the parent directory of the file to load, or of the file itself.

    • filename: string

      The filename of the file to load.

    • hdu: string

      The Header Data Unit (HDU) to load. If left blank, the first image HDU will be loaded.

    • imageArithmetic: boolean

      Whether to treat the file as an image arithmetic (CASA lattice expression) string.

    • setAsActive: boolean = true

      Whether the loaded frame should be set as the active frame.

    • updateStartingDirectory: boolean = true

      Whether to update the starting directory in the file browser. Required for carta-python.

    Returns Generator<Promise<IOpenFileAck>, FrameStore, unknown>

    The added frame.

publicloadWorkspace

  • loadWorkspace(name: string, isKey?: boolean): Generator<Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown> | Promise<Workspace>, boolean, Workspace & FrameStore>
  • Parameters

    • name: string
    • isKey: boolean = false

    Returns Generator<Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown> | Promise<Workspace>, boolean, Workspace & FrameStore>

nextFrame

  • nextFrame(): void
  • Returns void

onReconnectAlertClosed

  • onReconnectAlertClosed(): Promise<void>
  • Returns Promise<void>

openConcatFile

  • openConcatFile(stokesFiles: IStokesFile[], directory: string, hdu: string): Promise<any>
  • Parameters

    • stokesFiles: IStokesFile[]
    • directory: string
    • hdu: string

    Returns Promise<any>

openFile

  • openFile(path: string, filename?: string, hdu?: string, imageArithmetic?: boolean, updateStartingDirectory?: boolean): Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown>
  • Closes all existing files and opens a file at the given path.

    @example
    // Open a file with the given path and filename
    const openedFile = await openFile("/path/to/directory", "example.fits");

    Parameters

    • path: string

      The path to the parent directory of the file to open, or of the file itself.

    • optionalfilename: string

      The filename of the file to open.

    • optionalhdu: string

      The Header Data Unit (HDU) to open. If left blank, the first image HDU will be opened.

    • optionalimageArithmetic: boolean

      Whether to treat the filename as an image arithmetic (CASA lattice expression) string.

    • updateStartingDirectory: boolean = true

      Whether to update the starting directory in the file browser. Required for carta-python.

    Returns Generator<Generator<Promise<IOpenFileAck>, FrameStore, unknown>, any, unknown>

    A promise that resolves to the FrameStore of the opened file.

prevFrame

  • prevFrame(): void
  • Returns void

recalculateRequirements

  • recalculateRequirements(): void
  • Returns void

removeAllFrames

  • removeAllFrames(): void
  • Returns void

removeCatalog

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

    • fileId: number
    • catalogWidgetId: string
    • optionalcatalogComponentId: string

    Returns void

removeFrame

  • removeFrame(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

removePreviewFrame

  • removePreviewFrame(previewId: number): void
  • Parameters

    • previewId: number

    Returns void

reorderFrame

  • reorderFrame(oldIndex: number, newIndex: number, length: number): void
  • Parameters

    • oldIndex: number
    • newIndex: number
    • length: number

    Returns void

requestCubeHistogram

  • requestCubeHistogram(fileId?: number): void
  • Parameters

    • fileId: number = -1

    Returns void

requestFitting

  • requestFitting(message: IFittingRequest): Generator<Promise<IFittingResponse>, void, unknown>
  • Parameters

    • message: IFittingRequest

    Returns Generator<Promise<IFittingResponse>, void, unknown>

requestMoment

  • requestMoment(message: IMomentRequest, frame: FrameStore): Generator<Promise<IMomentResponse>, void, unknown>
  • Parameters

    • message: IMomentRequest
    • frame: FrameStore

    Returns Generator<Promise<IMomentResponse>, void, unknown>

requestPV

  • requestPV(message: IPvRequest, frame: FrameStore, keepExisting: boolean): Generator<Promise<IPvResponse>, void, unknown>
  • Parameters

    • message: IPvRequest
    • frame: FrameStore
    • keepExisting: boolean

    Returns Generator<Promise<IPvResponse>, void, unknown>

requestPreviewPV

  • requestPreviewPV(message: IPvRequest, frame: FrameStore, id: string): Generator<Promise<IPvResponse>, void, unknown>
  • Parameters

    • message: IPvRequest
    • frame: FrameStore
    • id: string

    Returns Generator<Promise<IPvResponse>, void, unknown>

publicresetCursorRegionSpectralProfileProgress

  • resetCursorRegionSpectralProfileProgress(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

resetImageRatio

  • resetImageRatio(): void
  • Returns void

publicresetRegionSpectralProfileProgress

  • resetRegionSpectralProfileProgress(regionId: number): void
  • Parameters

    • regionId: number

    Returns void

restartTaskProgress

  • restartTaskProgress(): void
  • Returns void

saveFile

  • saveFile(directory: string, filename: string, fileType: FileType, regionId?: number, channels?: number[], stokes?: number[], shouldDropDegenerateAxes?: boolean, restFreq?: number): Generator<Promise<ISaveFileAck>, any, unknown>
  • Parameters

    • directory: string
    • filename: string
    • fileType: FileType
    • optionalregionId: number
    • optionalchannels: number[]
    • optionalstokes: number[]
    • optionalshouldDropDegenerateAxes: boolean
    • optionalrestFreq: number

    Returns Generator<Promise<ISaveFileAck>, any, unknown>

publicsaveWorkspace

  • saveWorkspace(name: string): Generator<Promise<Workspace> | Promise<string | false>, boolean, unknown>
  • Parameters

    • name: string

    Returns Generator<Promise<Workspace> | Promise<string | false>, boolean, unknown>

sendCatalogFilter

  • sendCatalogFilter(catalogFilter: CatalogFilterRequest): void
  • Parameters

    • catalogFilter: CatalogFilterRequest

    Returns void

setActiveFrame

  • setActiveFrame(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

setActiveFrameById

  • setActiveFrameById(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

setActiveFrameByIndex

  • setActiveFrameByIndex(index: number): void
  • Parameters

    • index: number

    Returns void

publicsetAppContainer

  • setAppContainer(container: HTMLElement): void
  • Parameters

    • container: HTMLElement

    Returns void

setAstReady

  • setAstReady(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setAutoTheme

  • setAutoTheme(): void
  • Returns void

setCanvasUpdated

  • setCanvasUpdated(): void
  • Returns void

setChannelsByFrame

  • setChannelsByFrame(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

setContourDataSource

  • setContourDataSource(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

setCursorFrozen

  • setCursorFrozen(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setDarkTheme

  • setDarkTheme(): void
  • Returns void

setHoveredFrame

  • setHoveredFrame(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

setImageRatio

  • setImageRatio(val: number): void
  • Parameters

    • val: number

    Returns void

setImageViewDimensions

  • setImageViewDimensions(w: number, h: number): void
  • Parameters

    • w: number
    • h: number

    Returns void

setIsCanvasUpdated

  • setIsCanvasUpdated(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setIsExportingImage

  • setIsExportingImage(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setLightTheme

  • setLightTheme(): void
  • Returns void

setLoadingMultipleFiles

  • setLoadingMultipleFiles(isLoadingMultipleFiles: boolean): void
  • Parameters

    • isLoadingMultipleFiles: boolean

    Returns void

setMatchingEnabled

  • setMatchingEnabled(spatial: boolean, spectral: boolean): void
  • Parameters

    • spatial: boolean
    • spectral: boolean

    Returns void

setRasterScalingMatchingEnabled

  • setRasterScalingMatchingEnabled(frame: FrameStore, val: boolean): void
  • Parameters

    • frame: FrameStore
    • val: boolean

    Returns void

setRasterScalingReference

  • setRasterScalingReference(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

setShowNewRelease

  • setShowNewRelease(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setSpatialMatchingEnabled

  • setSpatialMatchingEnabled(frame: FrameStore, val: boolean): void
  • Parameters

    • frame: FrameStore
    • val: boolean

    Returns void

setSpatialReference

  • setSpatialReference(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

setSpectralMatchingEnabled

  • setSpectralMatchingEnabled(frame: FrameStore, val: boolean): void
  • Parameters

    • frame: FrameStore
    • val: boolean

    Returns void

setSpectralMatchingType

  • setSpectralMatchingType(spectralMatchingType: SpectralType): void
  • Parameters

    • spectralMatchingType: SpectralType

    Returns void

setSpectralReference

  • setSpectralReference(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

setTheme

  • setTheme(theme: string): void
  • Parameters

    • theme: string

    Returns void

setToolbarExpanded

  • setToolbarExpanded(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setUsername

  • setUsername(username: string): void
  • Parameters

    • username: string

    Returns void

shiftFrame

  • shiftFrame(delta: number): void
  • Parameters

    • delta: number

    Returns void

showSplashScreen

  • showSplashScreen(): void
  • Returns void

startFileLoading

  • startFileLoading(): void
  • Returns void

startFileSaving

  • startFileSaving(): void
  • Returns void

toggleActiveLayer

  • toggleActiveLayer(): void
  • Returns void

toggleCursorFrozen

  • toggleCursorFrozen(): void
  • Returns void

toggleCursorMirror

  • toggleCursorMirror(): void
  • Returns void

toggleFrameContourLock

  • toggleFrameContourLock(): void
  • Returns void

toggleMomentToMatch

  • toggleMomentToMatch(): void
  • Returns void

toggleRasterScalingMatching

  • toggleRasterScalingMatching(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

toggleSpatialMatching

  • toggleSpatialMatching(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

toggleSpectralMatching

  • toggleSpectralMatching(frame: FrameStore): void
  • Parameters

    • frame: FrameStore

    Returns void

toggleToolbarExpanded

  • toggleToolbarExpanded(): void
  • Returns void

updateActiveLayer

  • updateActiveLayer(layer: ImageViewLayer): void
  • Parameters

    • layer: ImageViewLayer

    Returns void

updateCatalogProfile

  • updateCatalogProfile(fileId: number, frame: FrameStore): string
  • Parameters

    • fileId: number
    • frame: FrameStore

    Returns string

updateChannels

  • updateChannels(updates: ChannelUpdate[]): void
  • Parameters

    • updates: ChannelUpdate[]

    Returns void

updateLayerPixelRatio

  • updateLayerPixelRatio(layerRef: any): void
  • Parameters

    • layerRef: any

    Returns void

updateTaskProgress

  • updateTaskProgress(progress: number): void
  • Parameters

    • progress: number

    Returns void

waitForImageData

  • waitForImageData(): Promise<void>
  • Returns Promise<void>